2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for Tango 6.1.1.
6 # Report bugs to <tango@esrf.fr>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir
-p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # Check that we are running under the correct shell.
249 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Remove one level of quotation (which was required for Make).
254 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
259 if test "X$1" = X--no-reexec
; then
260 # Discard the --no-reexec flag, and continue.
262 elif test "X$1" = X--fallback-echo
; then
263 # Avoid inline document here, it may be left over
265 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
266 # Yippee, $echo works!
269 # Restart under the correct shell.
270 exec $SHELL "$0" --no-reexec ${1+"$@"}
273 if test "X$1" = X--fallback-echo
; then
274 # used as fallback echo
282 # The HP-UX ksh and POSIX shell print the target directory to stdout
284 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
286 if test -z "$ECHO"; then
287 if test "X${echo_test_string+set}" != Xset
; then
288 # find a string as large as possible, as long as the shell can cope with it
289 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
292 echo_test_string
=`eval $cmd` &&
293 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
300 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
301 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
302 test "X$echo_testing_string" = "X$echo_test_string"; then
305 # The Solaris, AIX, and Digital Unix default echo programs unquote
306 # backslashes. This makes it impossible to quote backslashes using
307 # echo "$something" | sed 's/\\/\\\\/g'
309 # So, first we look for a working echo in the user's PATH.
311 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
312 for dir
in $PATH /usr
/ucb
; do
314 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
315 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
316 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
317 test "X$echo_testing_string" = "X$echo_test_string"; then
324 if test "X$echo" = Xecho
; then
325 # We didn't find a better echo, so look for alternatives.
326 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
327 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
328 test "X$echo_testing_string" = "X$echo_test_string"; then
329 # This shell has a builtin print -r that does the trick.
331 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
332 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
333 # If we have ksh, try running configure again with it.
334 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
335 export ORIGINAL_CONFIG_SHELL
336 CONFIG_SHELL
=/bin
/ksh
338 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
342 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
343 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
344 test "X$echo_testing_string" = "X$echo_test_string"; then
347 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
348 test "X$echo_testing_string" = 'X\t' &&
349 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
351 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
353 SHELL
="$CONFIG_SHELL"
355 echo="$CONFIG_SHELL $0 --fallback-echo"
356 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 echo="$CONFIG_SHELL $0 --fallback-echo"
362 # maybe with a smaller string...
365 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
366 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
373 if test "$prev" != 'sed 50q "$0"'; then
374 echo_test_string
=`eval $prev`
375 export echo_test_string
376 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
378 # Oops. We lost completely, so just stick with echo.
387 # Copy echo and quote the copy suitably for passing to libtool from
388 # the Makefile, instead of quoting the original, which is used later.
390 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
391 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397 tagnames
=${tagnames+${tagnames},}CXX
399 tagnames
=${tagnames+${tagnames},}F77
402 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
403 # so uname gets run too.
404 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
411 ac_default_prefix
=/usr
/local
412 ac_config_libobj_dir
=.
417 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 # This variable seems obsolete. It should probably be removed, and
421 # only ac_max_sed_lines should be used.
422 : ${ac_max_here_lines=38}
424 # Identity of this package.
426 PACKAGE_TARNAME
='tango'
427 PACKAGE_VERSION
='6.1.1'
428 PACKAGE_STRING
='Tango 6.1.1'
429 PACKAGE_BUGREPORT
='tango@esrf.fr'
431 # Factoring default headers for most tests.
432 ac_includes_default
="\
435 # include <sys/types.h>
438 # include <sys/stat.h>
449 # if !STDC_HEADERS && HAVE_MEMORY_H
455 # include <strings.h>
458 # include <inttypes.h>
468 ac_subdirs_all
="$ac_subdirs_all lib/cpp/log4tango"
469 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S EGREP JAVA TANGO_JAVA_ENABLED_TRUE TANGO_JAVA_ENABLED_FALSE DOXYGEN build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL ZLIB_LDFLAGS ZLIB_LIBS ZLIB_CPPFLAGS IDLCXXFLAGS CORBA_INCLUDES ORB_PREFIX ORB IDL IDLCXX IDLFLAGS ORB_INCLUDE_PREFIX IDL_H_SUFFIX IDL_H1_SUFFIX IDL_CLN_H IDL_CLN_H_SUFFIX IDL_CLN_H1_SUFFIX IDL_CLN_CPP IDL_CLN_CPP_SUFFIX IDL_CLN_O IDL_CLN_OBJ_SUFFIX IDL_SRV_H IDL_SRV_H_SUFFIX IDL_SRV_H1_SUFFIX IDL_SRV_CPP IDL_SRV_CPP_SUFFIX IDL_SRV_O IDL_SRV_OBJ_SUFFIX IDL_TIE_H_SUFFIX IDL_TIE_H1_SUFFIX IDL_TIE_CPP_SUFFIX ORB_COSNAMING_LIB HAVE_ORB_IDL DARWIN_ENABLED_TRUE DARWIN_ENABLED_FALSE ALLOCA MYSQLCLIENT_LDFLAGS MYSQLCLIENT_CFLAGS MYSQLCLIENT_LIBS MYSQL MYSQL_ADMIN MYSQL_ADMIN_PASSWD MYSQL_HOST TANGO_DB_NAME TANGO_DB_SERVER_ENABLED_TRUE TANGO_DB_SERVER_ENABLED_FALSE TANGO_DB_CREATE_ENABLED_TRUE TANGO_DB_CREATE_ENABLED_FALSE ac_aux_dir VERSION_INFO DATADIR subdirs LIBOBJS LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version
=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name
=s
,x
,x
,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir
='${exec_prefix}/bin'
498 sbindir
='${exec_prefix}/sbin'
499 libexecdir
='${exec_prefix}/libexec'
500 datadir
='${prefix}/share'
501 sysconfdir
='${prefix}/etc'
502 sharedstatedir
='${prefix}/com'
503 localstatedir
='${prefix}/var'
504 libdir
='${exec_prefix}/lib'
505 includedir
='${prefix}/include'
506 oldincludedir
='/usr/include'
507 infodir
='${prefix}/info'
508 mandir
='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
528 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
531 -build |
--build |
--buil |
--bui |
--bu)
532 ac_prev
=build_alias
;;
533 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
534 build_alias
=$ac_optarg ;;
536 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
537 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
538 ac_prev
=cache_file
;;
539 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
540 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
541 cache_file
=$ac_optarg ;;
544 cache_file
=config.cache
;;
546 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
548 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
550 datadir
=$ac_optarg ;;
552 -disable-* |
--disable-*)
553 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* |
--enable-*)
562 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
575 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
576 |
--exec |
--exe |
--ex)
577 ac_prev
=exec_prefix
;;
578 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
579 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
580 |
--exec=* |
--exe=* |
--ex=*)
581 exec_prefix
=$ac_optarg ;;
583 -gas |
--gas |
--ga |
--g)
584 # Obsolete; use --with-gas.
587 -help |
--help |
--hel |
--he |
-h)
589 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
590 ac_init_help
=recursive
;;
591 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
592 ac_init_help
=short
;;
594 -host |
--host |
--hos |
--ho)
595 ac_prev
=host_alias
;;
596 -host=* |
--host=* |
--hos=* |
--ho=*)
597 host_alias
=$ac_optarg ;;
599 -includedir |
--includedir |
--includedi |
--included |
--include \
600 |
--includ |
--inclu |
--incl |
--inc)
601 ac_prev
=includedir
;;
602 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
603 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
604 includedir
=$ac_optarg ;;
606 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
608 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
609 infodir
=$ac_optarg ;;
611 -libdir |
--libdir |
--libdi |
--libd)
613 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
616 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
617 |
--libexe |
--libex |
--libe)
618 ac_prev
=libexecdir
;;
619 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
620 |
--libexe=* |
--libex=* |
--libe=*)
621 libexecdir
=$ac_optarg ;;
623 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
624 |
--localstate |
--localstat |
--localsta |
--localst \
625 |
--locals |
--local |
--loca |
--loc |
--lo)
626 ac_prev
=localstatedir
;;
627 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
628 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
629 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
630 localstatedir
=$ac_optarg ;;
632 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
634 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
638 # Obsolete; use --without-fp.
641 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
642 |
--no-cr |
--no-c |
-n)
645 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
646 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
649 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
650 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
651 |
--oldin |
--oldi |
--old |
--ol |
--o)
652 ac_prev
=oldincludedir
;;
653 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
654 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
655 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
656 oldincludedir
=$ac_optarg ;;
658 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
660 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
663 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
664 |
--program-pre |
--program-pr |
--program-p)
665 ac_prev
=program_prefix
;;
666 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
667 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
668 program_prefix
=$ac_optarg ;;
670 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
671 |
--program-suf |
--program-su |
--program-s)
672 ac_prev
=program_suffix
;;
673 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
674 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
675 program_suffix
=$ac_optarg ;;
677 -program-transform-name |
--program-transform-name \
678 |
--program-transform-nam |
--program-transform-na \
679 |
--program-transform-n |
--program-transform- \
680 |
--program-transform |
--program-transfor \
681 |
--program-transfo |
--program-transf \
682 |
--program-trans |
--program-tran \
683 |
--progr-tra |
--program-tr |
--program-t)
684 ac_prev
=program_transform_name
;;
685 -program-transform-name=* |
--program-transform-name=* \
686 |
--program-transform-nam=* |
--program-transform-na=* \
687 |
--program-transform-n=* |
--program-transform-=* \
688 |
--program-transform=* |
--program-transfor=* \
689 |
--program-transfo=* |
--program-transf=* \
690 |
--program-trans=* |
--program-tran=* \
691 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
692 program_transform_name
=$ac_optarg ;;
694 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
695 |
-silent |
--silent |
--silen |
--sile |
--sil)
698 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
700 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
702 sbindir
=$ac_optarg ;;
704 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
705 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
706 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
708 ac_prev
=sharedstatedir
;;
709 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
710 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
711 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
713 sharedstatedir
=$ac_optarg ;;
715 -site |
--site |
--sit)
717 -site=* |
--site=* |
--sit=*)
720 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
722 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
725 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
726 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
727 ac_prev
=sysconfdir
;;
728 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
729 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
730 sysconfdir
=$ac_optarg ;;
732 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
733 ac_prev
=target_alias
;;
734 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
735 target_alias
=$ac_optarg ;;
737 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
740 -version |
--version |
--versio |
--versi |
--vers |
-V)
744 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package
=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* |
--without-*)
757 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package
=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
770 |
--x-incl |
--x-inc |
--x-in |
--x-i)
771 ac_prev
=x_includes
;;
772 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
773 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
774 x_includes
=$ac_optarg ;;
776 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
777 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
778 ac_prev
=x_libraries
;;
779 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
780 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
781 x_libraries
=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var
in exec_prefix prefix
818 eval ac_val
=$
`echo $ac_var`
820 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val
=$
`echo $ac_var`
832 [\\/$
]* | ?
:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x
; then
847 if test "x$build_alias" = x
; then
848 cross_compiling
=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
859 test "$silent" = yes && exec 6>/dev
/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted
=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir
=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted
=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set
=${build_alias+set}
899 ac_env_build_alias_value
=$build_alias
900 ac_cv_env_build_alias_set
=${build_alias+set}
901 ac_cv_env_build_alias_value
=$build_alias
902 ac_env_host_alias_set
=${host_alias+set}
903 ac_env_host_alias_value
=$host_alias
904 ac_cv_env_host_alias_set
=${host_alias+set}
905 ac_cv_env_host_alias_value
=$host_alias
906 ac_env_target_alias_set
=${target_alias+set}
907 ac_env_target_alias_value
=$target_alias
908 ac_cv_env_target_alias_set
=${target_alias+set}
909 ac_cv_env_target_alias_value
=$target_alias
910 ac_env_CXX_set
=${CXX+set}
911 ac_env_CXX_value
=$CXX
912 ac_cv_env_CXX_set
=${CXX+set}
913 ac_cv_env_CXX_value
=$CXX
914 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value
=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
922 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value
=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
926 ac_env_CXXCPP_set
=${CXXCPP+set}
927 ac_env_CXXCPP_value
=$CXXCPP
928 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
929 ac_cv_env_CXXCPP_value
=$CXXCPP
930 ac_env_CC_set
=${CC+set}
932 ac_cv_env_CC_set
=${CC+set}
933 ac_cv_env_CC_value
=$CC
934 ac_env_CFLAGS_set
=${CFLAGS+set}
935 ac_env_CFLAGS_value
=$CFLAGS
936 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
937 ac_cv_env_CFLAGS_value
=$CFLAGS
938 ac_env_CPP_set
=${CPP+set}
939 ac_env_CPP_value
=$CPP
940 ac_cv_env_CPP_set
=${CPP+set}
941 ac_cv_env_CPP_value
=$CPP
942 ac_env_F77_set
=${F77+set}
943 ac_env_F77_value
=$F77
944 ac_cv_env_F77_set
=${F77+set}
945 ac_cv_env_F77_value
=$F77
946 ac_env_FFLAGS_set
=${FFLAGS+set}
947 ac_env_FFLAGS_value
=$FFLAGS
948 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value
=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures Tango 6.1.1 to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1017 --build=BUILD configure
for building on BUILD
[guessed
]
1018 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1022 if test -n "$ac_init_help"; then
1023 case $ac_init_help in
1024 short | recursive
) echo "Configuration of Tango 6.1.1:";;
1029 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1030 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1031 --disable-dependency-tracking speeds up one-time build
1032 --enable-dependency-tracking do not reject slow dependency extractors
1033 --enable-static[=PKGS
]
1034 build static libraries
[default
=no
]
1035 --enable-java enable installation of Java applications
1036 --enable-shared[=PKGS
]
1037 build shared libraries
[default
=yes]
1038 --enable-fast-install[=PKGS
]
1039 optimize
for fast installation
[default
=yes]
1040 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --enable-dbserver enable installation of Tango database server
1042 --enable-dbcreate enable an creation of the Tango database schema
1045 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1046 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1047 --with-java path to java interpreter
1048 --with-doxygen path to doxygen utility
1049 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1050 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1053 include additional configurations
[automatic
]
1054 --with-zlib=DIR root directory path of zlib installation defaults to
1055 /usr
/local or
/usr
if not found
in /usr
/local
1056 --with-omni prefix to omniORB installation
(default
: $OMNI_ROOT)
1057 --with-mysqlclient-prefix=PFX
1058 Prefix where mysqlclient is installed
1059 --with-mysqlclient-include=DIR
1060 Directory pointing to mysqlclient include files
1061 --with-mysqlclient-lib=LIB
1062 Directory pointing to mysqlclient library
(Note
:
1063 -include and
-lib do override paths found with
1065 --with-mysql-ho the
host of the mysql database
(default
: <blank
>)
1066 --with-mysql-admin super user of your mysql database
(default
: <blank
>)
1067 --with-mysql-admin-passwd
1068 super user password of your mysql database
(default
:
1070 --with-tango-db-name the name of the tango database
(default tango
)
1072 Some influential environment variables
:
1073 CXX C
++ compiler
command
1074 CXXFLAGS C
++ compiler flags
1075 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1076 nonstandard directory
<lib dir
>
1077 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1078 headers
in a nonstandard directory
<include dir
>
1079 CXXCPP C
++ preprocessor
1080 CC C compiler
command
1081 CFLAGS C compiler flags
1083 F77 Fortran
77 compiler
command
1084 FFLAGS Fortran
77 compiler flags
1086 Use these variables to override the choices made by
`configure' or to help
1087 it to find libraries and programs with nonstandard names/locations.
1089 Report bugs to <tango@esrf.fr>.
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1096 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097 test -d $ac_dir || continue
1100 if test "$ac_dir" != .; then
1101 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1105 ac_dir_suffix= ac_top_builddir=
1109 .) # No --srcdir option. We are building in place.
1111 if test -z "$ac_top_builddir"; then
1114 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1116 [\\/]* | ?:[\\/]* ) # Absolute path.
1117 ac_srcdir=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir=$srcdir ;;
1120 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1124 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1125 # the directories may not exist.
1127 .) ac_abs_builddir="$ac_dir";;
1130 .) ac_abs_builddir=`pwd`;;
1131 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1132 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135 case $ac_abs_builddir in
1136 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1138 case ${ac_top_builddir}. in
1139 .) ac_abs_top_builddir=$ac_abs_builddir;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1141 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144 case $ac_abs_builddir in
1145 .) ac_abs_srcdir=$ac_srcdir;;
1148 .) ac_abs_srcdir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1150 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153 case $ac_abs_builddir in
1154 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1156 case $ac_top_srcdir in
1157 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1159 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 # Check for guested configure; otherwise get Cygnus style configure.
1165 if test -f $ac_srcdir/configure.gnu; then
1167 $SHELL $ac_srcdir/configure.gnu --help=recursive
1168 elif test -f $ac_srcdir/configure; then
1170 $SHELL $ac_srcdir/configure --help=recursive
1171 elif test -f $ac_srcdir/configure.ac ||
1172 test -f $ac_srcdir/configure.in; then
1174 $ac_configure --help
1176 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 test -n "$ac_init_help" && exit 0
1183 if $ac_init_version; then
1185 Tango configure 6.1.1
1186 generated by GNU Autoconf 2.59
1188 Copyright (C) 2003 Free Software Foundation, Inc.
1189 This configure script is free software; the Free Software Foundation
1190 gives unlimited permission to copy, distribute and modify it.
1196 This file contains any messages produced by compilers while
1197 running configure, to aid debugging if configure makes a mistake.
1199 It was created by Tango $as_me 6.1.1, which was
1200 generated by GNU Autoconf 2.59. Invocation command line was
1211 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1212 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1213 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1214 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1215 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1217 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1218 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1220 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1221 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1222 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1223 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1224 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1225 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1226 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1234 test -z "$as_dir" && as_dir=.
1235 echo "PATH: $as_dir"
1250 # Keep a trace of the command line.
1251 # Strip out --no-create and --no-recursion so they do not pile up.
1252 # Strip out --silent because we don't want to record it for future runs.
1253 # Also quote any args containing shell meta-characters.
1254 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_must_keep_next=false
1265 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1269 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1273 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1275 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1276 if test $ac_must_keep_next = true; then
1277 ac_must_keep_next=false # Got value, back to normal.
1280 *=* | --config-cache | -C | -disable-* | --disable-* \
1281 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283 | -with-* | --with-* | -without-* | --without-* | --x)
1284 case "$ac_configure_args0 " in
1285 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288 -* ) ac_must_keep_next=true ;;
1291 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292 # Get rid of the leading space.
1298 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1299 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1301 # When interrupted or exit'd, cleanup temporary files, and complete
1302 # config.log. We remove comments because anyway the quotes in there
1303 # would cause problems or look ugly.
1304 # WARNING: Be sure not to use single quotes in there, as some shells,
1305 # such as our DU 5.0 friend, will then `close
' the trap.
1306 trap 'exit_status
=$?
1307 # Save into config.log some information that might help in debugging.
1312 ## ---------------- ##
1313 ## Cache variables. ##
1314 ## ---------------- ##
1317 # The following way of writing the cache mishandles newlines in values,
1320 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335 ## ----------------- ##
1336 ## Output variables. ##
1337 ## ----------------- ##
1340 for ac_var
in $ac_subst_vars
1342 eval ac_val
=$
`echo $ac_var`
1343 echo "$ac_var='"'"'$ac_val'"'"'"
1347 if test -n "$ac_subst_files"; then
1354 for ac_var
in $ac_subst_files
1356 eval ac_val
=$
`echo $ac_var`
1357 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -s confdefs.h
; then
1369 sed "/^$/d" confdefs.h |
sort
1372 test "$ac_signal" != 0 &&
1373 echo "$as_me: caught signal $ac_signal"
1374 echo "$as_me: exit $exit_status"
1376 rm -f core
*.core
&&
1377 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1380 for ac_signal in 1 2 13 15; do
1381 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386 rm -rf conftest* confdefs.h
1387 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390 # Predefined preprocessor variables.
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_NAME "$PACKAGE_NAME"
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_STRING "$PACKAGE_STRING"
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417 # Let the site file select an alternate cache file if it wants to.
1418 # Prefer explicitly selected file to automatically selected ones.
1419 if test -z "$CONFIG_SITE"; then
1420 if test "x$prefix" != xNONE; then
1421 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1423 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426 for ac_site_file in $CONFIG_SITE; do
1427 if test -r "$ac_site_file"; then
1428 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 echo "$as_me: loading site script $ac_site_file" >&6;}
1430 sed 's
/^
/|
/' "$ac_site_file" >&5
1435 if test -r "$cache_file"; then
1436 # Some versions of bash will fail to source /dev/null (special
1437 # files actually), so we avoid doing that.
1438 if test -f "$cache_file"; then
1439 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 echo "$as_me: loading cache $cache_file" >&6;}
1442 [\\/]* | ?:[\\/]* ) . $cache_file;;
1443 *) . ./$cache_file;;
1447 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448 echo "$as_me: creating cache $cache_file" >&6;}
1452 # Check that the precious variables saved in the cache have kept the same
1454 ac_cache_corrupted=false
1455 for ac_var in `(set) 2>&1 |
1456 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1457 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458 eval ac_new_set=\$ac_env_${ac_var}_set
1459 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460 eval ac_new_val="\$ac_env_${ac_var}_value"
1461 case $ac_old_set,$ac_new_set in
1463 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1464 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1465 ac_cache_corrupted=: ;;
1467 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1472 if test "x$ac_old_val" != "x$ac_new_val"; then
1473 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1474 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1475 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476 echo "$as_me: former value: $ac_old_val" >&2;}
1477 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478 echo "$as_me: current value: $ac_new_val" >&2;}
1479 ac_cache_corrupted=:
1482 # Pass precious variables to config.status.
1483 if test "$ac_new_set" = set; then
1485 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1487 *) ac_arg=$ac_var=$ac_new_val ;;
1489 case " $ac_configure_args " in
1490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1495 if $ac_cache_corrupted; then
1496 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1499 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500 { (exit 1); exit 1; }; }
1504 ac_cpp='$CPP $CPPFLAGS'
1505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1506 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1541 for ac_dir in config $srcdir/config; do
1542 if test -f $ac_dir/install-sh; then
1544 ac_install_sh="$ac_aux_dir/install-sh -c"
1546 elif test -f $ac_dir/install.sh; then
1548 ac_install_sh="$ac_aux_dir/install.sh -c"
1550 elif test -f $ac_dir/shtool; then
1552 ac_install_sh="$ac_aux_dir/shtool install -c"
1556 if test -z "$ac_aux_dir"; then
1557 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1558 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1559 { (exit 1); exit 1; }; }
1561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1563 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1566 am__api_version="1.9"
1567 # Find a good install program. We prefer a C program (faster),
1568 # so one script is as good as another. But avoid the broken or
1569 # incompatible versions:
1570 # SysV /etc/install, /usr/sbin/install
1571 # SunOS /usr/etc/install
1572 # IRIX /sbin/install
1574 # AmigaOS /C/install, which installs bootblocks on floppy discs
1575 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1578 # OS/2's system install, which has a completely different semantic
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir
=.
1591 # Account for people who put trailing slashes in PATH elements.
1593 .
/ | .
// |
/cC
/* | \
1594 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1595 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1598 # OSF1 and SCO ODT 3.0 have their own names for install.
1599 # Don't use installbsd from OSF since it installs stuff as root
1601 for ac_prog
in ginstall scoinst
install; do
1602 for ac_exec_ext
in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1604 if test $ac_prog = install &&
1605 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1606 # AIX install. It has an incompatible calling convention.
1608 elif test $ac_prog = install &&
1609 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1610 # program-specific install script used by HP pwplus--don't use.
1613 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1625 if test "${ac_cv_path_install+set}" = set; then
1626 INSTALL
=$ac_cv_path_install
1628 # As a last resort, use the slow shell script. We don't cache a
1629 # path for INSTALL within a source directory, because that will
1630 # break other packages using the cache if that directory is
1631 # removed, or if the path is relative.
1632 INSTALL
=$ac_install_sh
1635 echo "$as_me:$LINENO: result: $INSTALL" >&5
1636 echo "${ECHO_T}$INSTALL" >&6
1638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1639 # It thinks the first close brace ends the variable substitution.
1640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1644 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1646 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1647 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1650 echo timestamp
> conftest.
file
1651 # Do `set' in a subshell so we don't clobber the current shell's
1652 # arguments. Must try -L first in case configure is actually a
1653 # symlink; some systems play weird games with the mod time of symlinks
1654 # (eg FreeBSD returns the mod time of the symlink's containing
1657 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1658 if test "$*" = "X"; then
1660 set X
`ls -t $srcdir/configure conftest.file`
1663 if test "$*" != "X $srcdir/configure conftest.file" \
1664 && test "$*" != "X conftest.file $srcdir/configure"; then
1666 # If neither matched, then we have a broken ls. This can happen
1667 # if, for instance, CONFIG_SHELL is bash and it inherits a
1668 # broken ls alias from the environment. This has actually
1669 # happened. Such a system could not be considered "sane".
1670 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1671 alias in your environment" >&5
1672 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1673 alias in your environment" >&2;}
1674 { (exit 1); exit 1; }; }
1677 test "$2" = conftest.
file
1683 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1684 Check your system clock" >&5
1685 echo "$as_me: error: newly created file is older than distributed files!
1686 Check your system clock" >&2;}
1687 { (exit 1); exit 1; }; }
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1691 test "$program_prefix" != NONE
&&
1692 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1693 # Use a double $ so make ignores it.
1694 test "$program_suffix" != NONE
&&
1695 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1696 # Double any \ or $. echo might interpret backslashes.
1697 # By default was `s,x,x', remove it if useless.
1698 cat <<\_ACEOF
>conftest.
sed
1699 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1701 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir
=`cd $ac_aux_dir && pwd`
1707 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710 am_missing_run
="$MISSING --run "
1713 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1718 # We used to keeping the `.' as first argument, in order to
1719 # allow $(mkdir_p) to be used without argument. As in
1720 # $(mkdir_p) $(somedir)
1721 # where $(somedir) is conditionally defined. However this is wrong
1723 # 1. if the package is installed by a user who cannot write `.'
1724 # make install will fail,
1725 # 2. the above comment should most certainly read
1726 # $(mkdir_p) $(DESTDIR)$(somedir)
1727 # so it does not work when $(somedir) is undefined and
1728 # $(DESTDIR) is not.
1729 # To support the latter case, we have to write
1730 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1731 # so the `.' trick is pointless.
1732 mkdir_p
='mkdir -p --'
1734 # On NextStep and OpenStep, the `mkdir' command does not
1735 # recognize any option. It will interpret all options as
1736 # directories to create, and then abort because `.' already
1738 for d
in .
/-p .
/--version;
1740 test -d $d && rmdir $d
1742 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1743 if test -f "$ac_aux_dir/mkinstalldirs"; then
1744 mkdir_p
='$(mkinstalldirs)'
1746 mkdir_p
='$(install_sh) -d'
1750 for ac_prog
in gawk mawk nawk
awk
1752 # Extract the first word of "$ac_prog", so it can be a program name with args.
1753 set dummy
$ac_prog; ac_word
=$2
1754 echo "$as_me:$LINENO: checking for $ac_word" >&5
1755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756 if test "${ac_cv_prog_AWK+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 if test -n "$AWK"; then
1760 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1766 test -z "$as_dir" && as_dir
=.
1767 for ac_exec_ext
in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 ac_cv_prog_AWK
="$ac_prog"
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 if test -n "$AWK"; then
1780 echo "$as_me:$LINENO: result: $AWK" >&5
1781 echo "${ECHO_T}$AWK" >&6
1783 echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6
1787 test -n "$AWK" && break
1790 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1792 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1793 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 cat >conftest.
make <<\_ACEOF
1798 @
echo 'ac_maketemp="$(MAKE)"'
1800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1801 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1802 if test -n "$ac_maketemp"; then
1803 eval ac_cv_prog_make_
${ac_make}_set
=yes
1805 eval ac_cv_prog_make_
${ac_make}_set
=no
1809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1810 echo "$as_me:$LINENO: result: yes" >&5
1811 echo "${ECHO_T}yes" >&6
1814 echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 SET_MAKE
="MAKE=${MAKE-make}"
1819 rm -rf .tst
2>/dev
/null
1820 mkdir .tst
2>/dev
/null
1821 if test -d .tst
; then
1826 rmdir .tst
2>/dev
/null
1828 # test to see if srcdir already configured
1829 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1830 test -f $srcdir/config.status
; then
1831 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1832 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # test whether we have cygpath
1837 if test -z "$CYGPATH_W"; then
1838 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1839 CYGPATH_W
='cygpath -w'
1846 # Define the identity of the package.
1847 PACKAGE
=$PACKAGE_TARNAME
1848 VERSION
=$PACKAGE_VERSION
1851 cat >>confdefs.h
<<_ACEOF
1852 #define PACKAGE "$PACKAGE"
1856 cat >>confdefs.h
<<_ACEOF
1857 #define VERSION "$VERSION"
1860 # Some tools Automake needs.
1862 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1865 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1868 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1871 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1874 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1876 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1878 # Installed binaries are usually stripped using `strip' when the user
1879 # run `make install-strip'. However `strip' might not be the right
1880 # tool to use in cross-compilation environments, therefore Automake
1881 # will honor the `STRIP' environment variable to overrule this program.
1882 if test "$cross_compiling" != no
; then
1883 if test -n "$ac_tool_prefix"; then
1884 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1885 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_STRIP+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 if test -n "$STRIP"; then
1892 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1898 test -z "$as_dir" && as_dir
=.
1899 for ac_exec_ext
in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1910 STRIP
=$ac_cv_prog_STRIP
1911 if test -n "$STRIP"; then
1912 echo "$as_me:$LINENO: result: $STRIP" >&5
1913 echo "${ECHO_T}$STRIP" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1920 if test -z "$ac_cv_prog_STRIP"; then
1922 # Extract the first word of "strip", so it can be a program name with args.
1923 set dummy strip
; ac_word
=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$ac_ct_STRIP"; then
1930 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir
=.
1937 for ac_exec_ext
in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_ac_ct_STRIP
="strip"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1949 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1950 if test -n "$ac_ct_STRIP"; then
1951 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1952 echo "${ECHO_T}$ac_ct_STRIP" >&6
1954 echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1960 STRIP
="$ac_cv_prog_STRIP"
1964 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1966 # We need awk for the "check" target. The system "awk" is bad on
1968 # Always define AMTAR for backward compatibility.
1970 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1972 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1979 ac_config_headers
="$ac_config_headers ac_config.h.tmp"
1990 ac_cpp
='$CXXCPP $CPPFLAGS'
1991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1994 if test -n "$ac_tool_prefix"; then
1995 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1998 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1999 echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2001 if test "${ac_cv_prog_CXX+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 if test -n "$CXX"; then
2005 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 for ac_exec_ext
in '' $ac_executable_extensions; do
2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 if test -n "$CXX"; then
2025 echo "$as_me:$LINENO: result: $CXX" >&5
2026 echo "${ECHO_T}$CXX" >&6
2028 echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6
2032 test -n "$CXX" && break
2035 if test -z "$CXX"; then
2037 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2039 # Extract the first word of "$ac_prog", so it can be a program name with args.
2040 set dummy
$ac_prog; ac_word
=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$ac_ct_CXX"; then
2047 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2066 if test -n "$ac_ct_CXX"; then
2067 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2068 echo "${ECHO_T}$ac_ct_CXX" >&6
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2074 test -n "$ac_ct_CXX" && break
2076 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2082 # Provide some information about the compiler.
2083 echo "$as_me:$LINENO:" \
2084 "checking for C++ compiler version" >&5
2085 ac_compiler
=`set X $ac_compile; echo $2`
2086 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2087 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }
2091 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2092 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }
2096 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2097 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); }
2102 cat >conftest.
$ac_ext <<_ACEOF
2105 cat confdefs.h
>>conftest.
$ac_ext
2106 cat >>conftest.
$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2117 ac_clean_files_save
=$ac_clean_files
2118 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2119 # Try to create an executable without -o first, disregard a.out.
2120 # It will help us diagnose broken compilers, and finding out an intuition
2122 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2123 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2124 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2125 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2126 (eval $ac_link_default) 2>&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; then
2130 # Find the output, starting from the most likely. This scheme is
2131 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2134 # Be careful to initialize this variable, since it used to be cached.
2135 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2137 # b.out is created by i960 compilers.
2138 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2140 test -f "$ac_file" ||
continue
2142 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2145 # This is the source file.
2148 # We found the default executable, but exeext='' is most
2152 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2153 # FIXME: I believe we export ac_cv_exeext for Libtool,
2154 # but it would be cool to find out if it's true. Does anybody
2155 # maintain Libtool? --akim.
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.
$ac_ext >&5
2166 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2167 See \`config.log' for more details." >&5
2168 echo "$as_me: error: C++ compiler cannot create executables
2169 See \`config.log' for more details." >&2;}
2170 { (exit 77); exit 77; }; }
2173 ac_exeext
=$ac_cv_exeext
2174 echo "$as_me:$LINENO: result: $ac_file" >&5
2175 echo "${ECHO_T}$ac_file" >&6
2177 # Check the compiler produces executables we can run. If not, either
2178 # the compiler is broken, or we cross compile.
2179 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2180 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2181 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2182 # If not cross compiling, check that we can run a simple program.
2183 if test "$cross_compiling" != yes; then
2184 if { ac_try
='./$ac_file'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 if test "$cross_compiling" = maybe
; then
2195 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2196 If you meant to cross compile, use \`--host'.
2197 See \`config.log' for more details." >&5
2198 echo "$as_me: error: cannot run C++ compiled programs.
2199 If you meant to cross compile, use \`--host'.
2200 See \`config.log' for more details." >&2;}
2201 { (exit 1); exit 1; }; }
2205 echo "$as_me:$LINENO: result: yes" >&5
2206 echo "${ECHO_T}yes" >&6
2208 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2209 ac_clean_files
=$ac_clean_files_save
2210 # Check the compiler produces executables we can run. If not, either
2211 # the compiler is broken, or we cross compile.
2212 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2213 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2214 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2215 echo "${ECHO_T}$cross_compiling" >&6
2217 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2218 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2220 (eval $ac_link) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; then
2224 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2225 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2226 # work properly (i.e., refer to `conftest.exe'), while it won't with
2228 for ac_file
in conftest.exe conftest conftest.
*; do
2229 test -f "$ac_file" ||
continue
2231 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2232 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2239 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2240 See \`config.log' for more details." >&5
2241 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2242 See \`config.log' for more details." >&2;}
2243 { (exit 1); exit 1; }; }
2246 rm -f conftest
$ac_cv_exeext
2247 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2248 echo "${ECHO_T}$ac_cv_exeext" >&6
2250 rm -f conftest.
$ac_ext
2251 EXEEXT
=$ac_cv_exeext
2253 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2254 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2255 if test "${ac_cv_objext+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 cat >conftest.
$ac_ext <<_ACEOF
2261 cat confdefs.h
>>conftest.
$ac_ext
2262 cat >>conftest.
$ac_ext <<_ACEOF
2263 /* end confdefs.h. */
2273 rm -f conftest.o conftest.obj
2274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275 (eval $ac_compile) 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; then
2279 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2281 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2282 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2290 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2291 See \`config.log' for more details." >&5
2292 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2293 See \`config.log' for more details." >&2;}
2294 { (exit 1); exit 1; }; }
2297 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2299 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2300 echo "${ECHO_T}$ac_cv_objext" >&6
2301 OBJEXT
=$ac_cv_objext
2303 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2304 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2305 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 cat >conftest.
$ac_ext <<_ACEOF
2311 cat confdefs.h
>>conftest.
$ac_ext
2312 cat >>conftest.
$ac_ext <<_ACEOF
2313 /* end confdefs.h. */
2326 rm -f conftest.
$ac_objext
2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328 (eval $ac_compile) 2>conftest.er1
2330 grep -v '^ *+' conftest.er1
>conftest.err
2332 cat conftest.err
>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); } &&
2335 { ac_try
='test -z "$ac_cxx_werror_flag"
2336 || test ! -s conftest.err'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; } &&
2342 { ac_try
='test -s conftest.$ac_objext'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2356 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2359 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2360 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2361 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2362 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2363 ac_save_CXXFLAGS
=$CXXFLAGS
2365 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2366 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2367 if test "${ac_cv_prog_cxx_g+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 rm -f conftest.
$ac_objext
2386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2387 (eval $ac_compile) 2>conftest.er1
2389 grep -v '^ *+' conftest.er1
>conftest.err
2391 cat conftest.err
>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); } &&
2394 { ac_try
='test -z "$ac_cxx_werror_flag"
2395 || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2407 ac_cv_prog_cxx_g
=yes
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2417 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2418 if test "$ac_test_CXXFLAGS" = set; then
2419 CXXFLAGS
=$ac_save_CXXFLAGS
2420 elif test $ac_cv_prog_cxx_g = yes; then
2421 if test "$GXX" = yes; then
2427 if test "$GXX" = yes; then
2433 for ac_declaration
in \
2435 'extern "C" void std::exit (int) throw (); using std::exit;' \
2436 'extern "C" void std::exit (int); using std::exit;' \
2437 'extern "C" void exit (int) throw ();' \
2438 'extern "C" void exit (int);' \
2441 cat >conftest.
$ac_ext <<_ACEOF
2444 cat confdefs.h
>>conftest.
$ac_ext
2445 cat >>conftest.
$ac_ext <<_ACEOF
2446 /* end confdefs.h. */
2457 rm -f conftest.
$ac_objext
2458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2459 (eval $ac_compile) 2>conftest.er1
2461 grep -v '^ *+' conftest.er1
>conftest.err
2463 cat conftest.err
>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } &&
2466 { ac_try
='test -z "$ac_cxx_werror_flag"
2467 || test ! -s conftest.err'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; } &&
2473 { ac_try
='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2487 cat >conftest.
$ac_ext <<_ACEOF
2490 cat confdefs.h
>>conftest.
$ac_ext
2491 cat >>conftest.
$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2502 rm -f conftest.
$ac_objext
2503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2504 (eval $ac_compile) 2>conftest.er1
2506 grep -v '^ *+' conftest.er1
>conftest.err
2508 cat conftest.err
>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); } &&
2511 { ac_try
='test -z "$ac_cxx_werror_flag"
2512 || test ! -s conftest.err'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; } &&
2518 { ac_try
='test -s conftest.$ac_objext'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; }; then
2526 echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.
$ac_ext >&5
2530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2533 if test -n "$ac_declaration"; then
2534 echo '#ifdef __cplusplus' >>confdefs.h
2535 echo $ac_declaration >>confdefs.h
2536 echo '#endif' >>confdefs.h
2540 ac_cpp
='$CPP $CPPFLAGS'
2541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 DEPDIR
="${am__leading_dot}deps"
2546 ac_config_commands
="$ac_config_commands depfiles"
2549 am_make
=${MAKE-make}
2550 cat > confinc
<< 'END'
2555 # If we don't find an include directive, just comment out the code.
2556 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2557 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2561 # First try GNU make style include.
2562 echo "include confinc" > confmf
2563 # We grep out `Entering directory' and `Leaving directory'
2564 # messages which can occur if `w' ends up in MAKEFLAGS.
2565 # In particular we don't look at `^make:' because GNU make might
2566 # be invoked under some other name (usually "gmake"), in which
2567 # case it prints its new name instead of `make'.
2568 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2573 # Now try BSD make style include.
2574 if test "$am__include" = "#"; then
2575 echo '.include "confinc"' > confmf
2576 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2577 am__include
=.include
2584 echo "$as_me:$LINENO: result: $_am_result" >&5
2585 echo "${ECHO_T}$_am_result" >&6
2586 rm -f confinc confmf
2588 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2589 if test "${enable_dependency_tracking+set}" = set; then
2590 enableval
="$enable_dependency_tracking"
2593 if test "x$enable_dependency_tracking" != xno
; then
2594 am_depcomp
="$ac_aux_dir/depcomp"
2599 if test "x$enable_dependency_tracking" != xno; then
2610 depcc
="$CXX" am_compiler_list
=
2612 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2613 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2614 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2618 # We make a subdir and do the tests there. Otherwise we can end up
2619 # making bogus files that we don't know about and never remove. For
2620 # instance it was reported that on HP-UX the gcc test will end up
2621 # making a dummy file named `D' -- because `-MD' means `put the output
2624 # Copy depcomp to subdir because otherwise we won't find it if we're
2625 # using a relative directory.
2626 cp "$am_depcomp" conftest.dir
2628 # We will build objects and dependencies in a subdirectory because
2629 # it helps to detect inapplicable dependency modes. For instance
2630 # both Tru64's cc and ICC support -MD to output dependencies as a
2631 # side effect of compilation, but ICC will put the dependencies in
2632 # the current directory while Tru64 will put them in the object
2636 am_cv_CXX_dependencies_compiler_type
=none
2637 if test "$am_compiler_list" = ""; then
2638 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2640 for depmode
in $am_compiler_list; do
2641 # Setup a source with many dependencies, because some compilers
2642 # like to wrap large dependency lists on column 80 (with \), and
2643 # we should not choose a depcomp mode which is confused by this.
2645 # We need to recreate these files for each test, as the compiler may
2646 # overwrite some of them when testing with obscure command lines.
2647 # This happens at least with the AIX C compiler.
2649 for i
in 1 2 3 4 5 6; do
2650 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2651 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2652 # Solaris 8's {/usr,}/bin/sh.
2653 touch sub
/conftst
$i.h
2655 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2659 # after this tag, mechanisms are not by side-effect, so they'll
2660 # only be used when explicitly requested
2661 if test "x$enable_dependency_tracking" = xyes
; then
2669 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2670 # mode. It turns out that the SunPro C++ compiler does not properly
2671 # handle `-M -o', and we need to detect this.
2672 if depmode
=$depmode \
2673 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2674 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2675 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2676 >/dev
/null
2>conftest.err
&&
2677 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2678 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2679 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2680 # icc doesn't choke on unknown options, it will just issue warnings
2681 # or remarks (even with -Werror). So we grep stderr for any message
2682 # that says an option was ignored or not supported.
2683 # When given -MP, icc 7.0 and 7.1 complain thusly:
2684 # icc: Command line warning: ignoring option '-M'; no argument required
2685 # The diagnosis changed in icc 8.0:
2686 # icc: Command line remark: option '-MP' not supported
2687 if (grep 'ignoring option' conftest.err ||
2688 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2689 am_cv_CXX_dependencies_compiler_type
=$depmode
2698 am_cv_CXX_dependencies_compiler_type
=none
2702 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2703 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2704 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2709 test "x$enable_dependency_tracking" != xno \
2710 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2711 am__fastdepCXX_TRUE
=
2712 am__fastdepCXX_FALSE
='#'
2714 am__fastdepCXX_TRUE
='#'
2715 am__fastdepCXX_FALSE
=
2719 ac_cpp
='$CXXCPP $CPPFLAGS'
2720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2723 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2724 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2725 if test -z "$CXXCPP"; then
2726 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2727 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 # Double quotes because CXXCPP needs to be expanded
2730 for CXXCPP
in "$CXX -E" "/lib/cpp"
2733 for ac_cxx_preproc_warn_flag
in '' yes
2735 # Use a header file that comes with gcc, so configuring glibc
2736 # with a fresh cross-compiler works.
2737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2738 # <limits.h> exists even on freestanding compilers.
2739 # On the NeXT, cc -E runs the code through the compiler's parser,
2740 # not just through cpp. "Syntax error" is here to catch this case.
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2748 # include <limits.h>
2750 # include <assert.h>
2754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2757 grep -v '^ *+' conftest.er1
>conftest.err
2759 cat conftest.err
>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } >/dev
/null
; then
2762 if test -s conftest.err
; then
2763 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2764 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2771 if test -z "$ac_cpp_err"; then
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.
$ac_ext >&5
2777 # Broken: fails on valid input.
2780 rm -f conftest.err conftest.
$ac_ext
2782 # OK, works on sane cases. Now check whether non-existent headers
2783 # can be detected and how.
2784 cat >conftest.
$ac_ext <<_ACEOF
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2790 #include <ac_nonexistent.h>
2792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2795 grep -v '^ *+' conftest.er1
>conftest.err
2797 cat conftest.err
>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } >/dev
/null
; then
2800 if test -s conftest.err
; then
2801 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2802 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2809 if test -z "$ac_cpp_err"; then
2810 # Broken: success on invalid input.
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2816 # Passes both tests.
2820 rm -f conftest.err conftest.
$ac_ext
2823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2824 rm -f conftest.err conftest.
$ac_ext
2825 if $ac_preproc_ok; then
2830 ac_cv_prog_CXXCPP
=$CXXCPP
2833 CXXCPP
=$ac_cv_prog_CXXCPP
2835 ac_cv_prog_CXXCPP
=$CXXCPP
2837 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2838 echo "${ECHO_T}$CXXCPP" >&6
2840 for ac_cxx_preproc_warn_flag
in '' yes
2842 # Use a header file that comes with gcc, so configuring glibc
2843 # with a fresh cross-compiler works.
2844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2845 # <limits.h> exists even on freestanding compilers.
2846 # On the NeXT, cc -E runs the code through the compiler's parser,
2847 # not just through cpp. "Syntax error" is here to catch this case.
2848 cat >conftest.
$ac_ext <<_ACEOF
2851 cat confdefs.h
>>conftest.
$ac_ext
2852 cat >>conftest.
$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2855 # include <limits.h>
2857 # include <assert.h>
2861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2864 grep -v '^ *+' conftest.er1
>conftest.err
2866 cat conftest.err
>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } >/dev
/null
; then
2869 if test -s conftest.err
; then
2870 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2871 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2878 if test -z "$ac_cpp_err"; then
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.
$ac_ext >&5
2884 # Broken: fails on valid input.
2887 rm -f conftest.err conftest.
$ac_ext
2889 # OK, works on sane cases. Now check whether non-existent headers
2890 # can be detected and how.
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2897 #include <ac_nonexistent.h>
2899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2902 grep -v '^ *+' conftest.er1
>conftest.err
2904 cat conftest.err
>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); } >/dev
/null
; then
2907 if test -s conftest.err
; then
2908 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2909 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2916 if test -z "$ac_cpp_err"; then
2917 # Broken: success on invalid input.
2920 echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.
$ac_ext >&5
2923 # Passes both tests.
2927 rm -f conftest.err conftest.
$ac_ext
2930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2931 rm -f conftest.err conftest.
$ac_ext
2932 if $ac_preproc_ok; then
2935 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2936 See \`config.log' for more details." >&5
2937 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2938 See \`config.log' for more details." >&2;}
2939 { (exit 1); exit 1; }; }
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2948 ac_cpp
='$CPP $CPPFLAGS'
2949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_CC+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$CC"; then
2961 ac_cv_prog_CC
="$CC" # Let the user override the test.
2963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir
=.
2968 for ac_exec_ext
in '' $ac_executable_extensions; do
2969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 if test -n "$CC"; then
2981 echo "$as_me:$LINENO: result: $CC" >&5
2982 echo "${ECHO_T}$CC" >&6
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2989 if test -z "$ac_cv_prog_CC"; then
2991 # Extract the first word of "gcc", so it can be a program name with args.
2992 set dummy gcc
; ac_word
=$2
2993 echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 if test -n "$ac_ct_CC"; then
2999 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir
=.
3006 for ac_exec_ext
in '' $ac_executable_extensions; do
3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_ac_ct_CC
="gcc"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3018 if test -n "$ac_ct_CC"; then
3019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3020 echo "${ECHO_T}$ac_ct_CC" >&6
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3031 if test -z "$CC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3034 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_CC+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$CC"; then
3041 ac_cv_prog_CC
="$CC" # Let the user override the test.
3043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir
=.
3048 for ac_exec_ext
in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 echo "$as_me:$LINENO: result: $CC" >&5
3062 echo "${ECHO_T}$CC" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3069 if test -z "$ac_cv_prog_CC"; then
3071 # Extract the first word of "cc", so it can be a program name with args.
3072 set dummy cc
; ac_word
=$2
3073 echo "$as_me:$LINENO: checking for $ac_word" >&5
3074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 if test -n "$ac_ct_CC"; then
3079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3085 test -z "$as_dir" && as_dir
=.
3086 for ac_exec_ext
in '' $ac_executable_extensions; do
3087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3088 ac_cv_prog_ac_ct_CC
="cc"
3089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3098 if test -n "$ac_ct_CC"; then
3099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3100 echo "${ECHO_T}$ac_ct_CC" >&6
3102 echo "$as_me:$LINENO: result: no" >&5
3103 echo "${ECHO_T}no" >&6
3112 if test -z "$CC"; then
3113 # Extract the first word of "cc", so it can be a program name with args.
3114 set dummy cc
; ac_word
=$2
3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117 if test "${ac_cv_prog_CC+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC
="$CC" # Let the user override the test.
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3131 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3132 ac_prog_rejected
=yes
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 if test $ac_prog_rejected = yes; then
3143 # We found a bogon in the path, so make sure we never use it.
3144 set dummy
$ac_cv_prog_CC
3146 if test $# != 0; then
3147 # We chose a different compiler from the bogus one.
3148 # However, it has the same basename, so the bogon will be chosen
3149 # first if we set CC to just the basename; use the full file name.
3151 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3157 if test -n "$CC"; then
3158 echo "$as_me:$LINENO: result: $CC" >&5
3159 echo "${ECHO_T}$CC" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3166 if test -z "$CC"; then
3167 if test -n "$ac_tool_prefix"; then
3170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3171 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3172 echo "$as_me:$LINENO: checking for $ac_word" >&5
3173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3174 if test "${ac_cv_prog_CC+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 if test -n "$CC"; then
3178 ac_cv_prog_CC
="$CC" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 if test -n "$CC"; then
3198 echo "$as_me:$LINENO: result: $CC" >&5
3199 echo "${ECHO_T}$CC" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3205 test -n "$CC" && break
3208 if test -z "$CC"; then
3212 # Extract the first word of "$ac_prog", so it can be a program name with args.
3213 set dummy
$ac_prog; ac_word
=$2
3214 echo "$as_me:$LINENO: checking for $ac_word" >&5
3215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 if test -n "$ac_ct_CC"; then
3220 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3226 test -z "$as_dir" && as_dir
=.
3227 for ac_exec_ext
in '' $ac_executable_extensions; do
3228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3229 ac_cv_prog_ac_ct_CC
="$ac_prog"
3230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3239 if test -n "$ac_ct_CC"; then
3240 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3241 echo "${ECHO_T}$ac_ct_CC" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3247 test -n "$ac_ct_CC" && break
3256 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3257 See \`config.log' for more details." >&5
3258 echo "$as_me: error: no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details." >&2;}
3260 { (exit 1); exit 1; }; }
3262 # Provide some information about the compiler.
3263 echo "$as_me:$LINENO:" \
3264 "checking for C compiler version" >&5
3265 ac_compiler
=`set X $ac_compile; echo $2`
3266 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3267 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }
3271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3272 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }
3276 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3277 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }
3282 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3283 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3284 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3305 rm -f conftest.
$ac_objext
3306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3307 (eval $ac_compile) 2>conftest.er1
3309 grep -v '^ *+' conftest.er1
>conftest.err
3311 cat conftest.err
>&5
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); } &&
3314 { ac_try
='test -z "$ac_c_werror_flag"
3315 || test ! -s conftest.err'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try
='test -s conftest.$ac_objext'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.
$ac_ext >&5
3334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3335 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3338 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3339 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3340 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3341 ac_test_CFLAGS
=${CFLAGS+set}
3342 ac_save_CFLAGS
=$CFLAGS
3344 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3345 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3346 if test "${ac_cv_prog_cc_g+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 cat >conftest.
$ac_ext <<_ACEOF
3352 cat confdefs.h
>>conftest.
$ac_ext
3353 cat >>conftest.
$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3364 rm -f conftest.
$ac_objext
3365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3366 (eval $ac_compile) 2>conftest.er1
3368 grep -v '^ *+' conftest.er1
>conftest.err
3370 cat conftest.err
>&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } &&
3373 { ac_try
='test -z "$ac_c_werror_flag"
3374 || test ! -s conftest.err'
3375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); }; } &&
3380 { ac_try
='test -s conftest.$ac_objext'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; }; then
3388 echo "$as_me: failed program was:" >&5
3389 sed 's/^/| /' conftest.
$ac_ext >&5
3393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3395 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3396 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3397 if test "$ac_test_CFLAGS" = set; then
3398 CFLAGS
=$ac_save_CFLAGS
3399 elif test $ac_cv_prog_cc_g = yes; then
3400 if test "$GCC" = yes; then
3406 if test "$GCC" = yes; then
3412 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3413 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3414 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 ac_cv_prog_cc_stdc
=no
3419 cat >conftest.
$ac_ext <<_ACEOF
3422 cat confdefs.h
>>conftest.
$ac_ext
3423 cat >>conftest.
$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3427 #include <sys/types.h>
3428 #include <sys/stat.h>
3429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3430 struct buf { int x; };
3431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3432 static char *e (p, i)
3438 static char *f (char * (*g) (char **, int), char **p, ...)
3443 s = g (p, va_arg (v,int));
3448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3449 function prototypes and stuff, but not '\xHH' hex character constants.
3450 These don't provoke an error unfortunately, instead are silently treated
3451 as 'x'. The following induces an error, until -std1 is added to get
3452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3453 array size at least. It's necessary to write '\x00'==0 to get something
3454 that's true only with -std1. */
3455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3457 int test (int i, double x);
3458 struct s1 {int (*f) (int a);};
3459 struct s2 {int (*f) (double a);};
3460 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3466 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3471 # Don't try gcc -ansi; that turns off useful extensions and
3472 # breaks some systems' header files.
3473 # AIX -qlanglvl=ansi
3474 # Ultrix and OSF/1 -std1
3475 # HP-UX 10.20 and later -Ae
3476 # HP-UX older versions -Aa -D_HPUX_SOURCE
3477 # SVR4 -Xc -D__EXTENSIONS__
3478 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3480 CC
="$ac_save_CC $ac_arg"
3481 rm -f conftest.
$ac_objext
3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>conftest.er1
3485 grep -v '^ *+' conftest.er1
>conftest.err
3487 cat conftest.err
>&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try
='test -z "$ac_c_werror_flag"
3491 || test ! -s conftest.err'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; } &&
3497 { ac_try
='test -s conftest.$ac_objext'
3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; }; then
3503 ac_cv_prog_cc_stdc
=$ac_arg
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.
$ac_ext >&5
3510 rm -f conftest.err conftest.
$ac_objext
3512 rm -f conftest.
$ac_ext conftest.
$ac_objext
3517 case "x$ac_cv_prog_cc_stdc" in
3519 echo "$as_me:$LINENO: result: none needed" >&5
3520 echo "${ECHO_T}none needed" >&6 ;;
3522 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3523 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3524 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3527 # Some people use a C++ compiler to compile C. Since we use `exit',
3528 # in C++ we need to declare it. In case someone uses the same compiler
3529 # for both compiling C and C++ we need to have the C++ compiler decide
3530 # the declaration of exit, since it's the most demanding environment.
3531 cat >conftest.
$ac_ext <<_ACEOF
3536 rm -f conftest.
$ac_objext
3537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3538 (eval $ac_compile) 2>conftest.er1
3540 grep -v '^ *+' conftest.er1
>conftest.err
3542 cat conftest.err
>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } &&
3545 { ac_try
='test -z "$ac_c_werror_flag"
3546 || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest.$ac_objext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3558 for ac_declaration
in \
3560 'extern "C" void std::exit (int) throw (); using std::exit;' \
3561 'extern "C" void std::exit (int); using std::exit;' \
3562 'extern "C" void exit (int) throw ();' \
3563 'extern "C" void exit (int);' \
3566 cat >conftest.
$ac_ext <<_ACEOF
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3582 rm -f conftest.
$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3586 grep -v '^ *+' conftest.er1
>conftest.err
3588 cat conftest.err
>&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try
='test -z "$ac_c_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try
='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.
$ac_ext >&5
3611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3612 cat >conftest.
$ac_ext <<_ACEOF
3615 cat confdefs.h
>>conftest.
$ac_ext
3616 cat >>conftest.
$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3627 rm -f conftest.
$ac_objext
3628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3629 (eval $ac_compile) 2>conftest.er1
3631 grep -v '^ *+' conftest.er1
>conftest.err
3633 cat conftest.err
>&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); } &&
3636 { ac_try
='test -z "$ac_c_werror_flag"
3637 || test ! -s conftest.err'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; } &&
3643 { ac_try
='test -s conftest.$ac_objext'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; }; then
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.
$ac_ext >&5
3655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3658 if test -n "$ac_declaration"; then
3659 echo '#ifdef __cplusplus' >>confdefs.h
3660 echo $ac_declaration >>confdefs.h
3661 echo '#endif' >>confdefs.h
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.
$ac_ext >&5
3669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3671 ac_cpp
='$CPP $CPPFLAGS'
3672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3676 depcc
="$CC" am_compiler_list
=
3678 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3679 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3680 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3684 # We make a subdir and do the tests there. Otherwise we can end up
3685 # making bogus files that we don't know about and never remove. For
3686 # instance it was reported that on HP-UX the gcc test will end up
3687 # making a dummy file named `D' -- because `-MD' means `put the output
3690 # Copy depcomp to subdir because otherwise we won't find it if we're
3691 # using a relative directory.
3692 cp "$am_depcomp" conftest.dir
3694 # We will build objects and dependencies in a subdirectory because
3695 # it helps to detect inapplicable dependency modes. For instance
3696 # both Tru64's cc and ICC support -MD to output dependencies as a
3697 # side effect of compilation, but ICC will put the dependencies in
3698 # the current directory while Tru64 will put them in the object
3702 am_cv_CC_dependencies_compiler_type
=none
3703 if test "$am_compiler_list" = ""; then
3704 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3706 for depmode
in $am_compiler_list; do
3707 # Setup a source with many dependencies, because some compilers
3708 # like to wrap large dependency lists on column 80 (with \), and
3709 # we should not choose a depcomp mode which is confused by this.
3711 # We need to recreate these files for each test, as the compiler may
3712 # overwrite some of them when testing with obscure command lines.
3713 # This happens at least with the AIX C compiler.
3715 for i
in 1 2 3 4 5 6; do
3716 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3717 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3718 # Solaris 8's {/usr,}/bin/sh.
3719 touch sub
/conftst
$i.h
3721 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3725 # after this tag, mechanisms are not by side-effect, so they'll
3726 # only be used when explicitly requested
3727 if test "x$enable_dependency_tracking" = xyes
; then
3735 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3736 # mode. It turns out that the SunPro C++ compiler does not properly
3737 # handle `-M -o', and we need to detect this.
3738 if depmode
=$depmode \
3739 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3740 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3741 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3742 >/dev
/null
2>conftest.err
&&
3743 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3744 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3745 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3746 # icc doesn't choke on unknown options, it will just issue warnings
3747 # or remarks (even with -Werror). So we grep stderr for any message
3748 # that says an option was ignored or not supported.
3749 # When given -MP, icc 7.0 and 7.1 complain thusly:
3750 # icc: Command line warning: ignoring option '-M'; no argument required
3751 # The diagnosis changed in icc 8.0:
3752 # icc: Command line remark: option '-MP' not supported
3753 if (grep 'ignoring option' conftest.err ||
3754 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3755 am_cv_CC_dependencies_compiler_type
=$depmode
3764 am_cv_CC_dependencies_compiler_type
=none
3768 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3769 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3770 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3775 test "x$enable_dependency_tracking" != xno \
3776 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3778 am__fastdepCC_FALSE
='#'
3780 am__fastdepCC_TRUE
='#'
3781 am__fastdepCC_FALSE
=
3786 ac_cpp
='$CPP $CPPFLAGS'
3787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3790 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3791 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3792 # On Suns, sometimes $CPP names a directory.
3793 if test -n "$CPP" && test -d "$CPP"; then
3796 if test -z "$CPP"; then
3797 if test "${ac_cv_prog_CPP+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 # Double quotes because CPP needs to be expanded
3801 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3804 for ac_c_preproc_warn_flag
in '' yes
3806 # Use a header file that comes with gcc, so configuring glibc
3807 # with a fresh cross-compiler works.
3808 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3809 # <limits.h> exists even on freestanding compilers.
3810 # On the NeXT, cc -E runs the code through the compiler's parser,
3811 # not just through cpp. "Syntax error" is here to catch this case.
3812 cat >conftest.
$ac_ext <<_ACEOF
3815 cat confdefs.h
>>conftest.
$ac_ext
3816 cat >>conftest.
$ac_ext <<_ACEOF
3817 /* end confdefs.h. */
3819 # include <limits.h>
3821 # include <assert.h>
3825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1
>conftest.err
3830 cat conftest.err
>&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev
/null
; then
3833 if test -s conftest.err
; then
3834 ac_cpp_err
=$ac_c_preproc_warn_flag
3835 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3842 if test -z "$ac_cpp_err"; then
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.
$ac_ext >&5
3848 # Broken: fails on valid input.
3851 rm -f conftest.err conftest.
$ac_ext
3853 # OK, works on sane cases. Now check whether non-existent headers
3854 # can be detected and how.
3855 cat >conftest.
$ac_ext <<_ACEOF
3858 cat confdefs.h
>>conftest.
$ac_ext
3859 cat >>conftest.
$ac_ext <<_ACEOF
3860 /* end confdefs.h. */
3861 #include <ac_nonexistent.h>
3863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1
>conftest.err
3868 cat conftest.err
>&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } >/dev
/null
; then
3871 if test -s conftest.err
; then
3872 ac_cpp_err
=$ac_c_preproc_warn_flag
3873 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3880 if test -z "$ac_cpp_err"; then
3881 # Broken: success on invalid input.
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.
$ac_ext >&5
3887 # Passes both tests.
3891 rm -f conftest.err conftest.
$ac_ext
3894 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3895 rm -f conftest.err conftest.
$ac_ext
3896 if $ac_preproc_ok; then
3908 echo "$as_me:$LINENO: result: $CPP" >&5
3909 echo "${ECHO_T}$CPP" >&6
3911 for ac_c_preproc_warn_flag
in '' yes
3913 # Use a header file that comes with gcc, so configuring glibc
3914 # with a fresh cross-compiler works.
3915 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3916 # <limits.h> exists even on freestanding compilers.
3917 # On the NeXT, cc -E runs the code through the compiler's parser,
3918 # not just through cpp. "Syntax error" is here to catch this case.
3919 cat >conftest.
$ac_ext <<_ACEOF
3922 cat confdefs.h
>>conftest.
$ac_ext
3923 cat >>conftest.
$ac_ext <<_ACEOF
3924 /* end confdefs.h. */
3926 # include <limits.h>
3928 # include <assert.h>
3932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3935 grep -v '^ *+' conftest.er1
>conftest.err
3937 cat conftest.err
>&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); } >/dev
/null
; then
3940 if test -s conftest.err
; then
3941 ac_cpp_err
=$ac_c_preproc_warn_flag
3942 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3949 if test -z "$ac_cpp_err"; then
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.
$ac_ext >&5
3955 # Broken: fails on valid input.
3958 rm -f conftest.err conftest.
$ac_ext
3960 # OK, works on sane cases. Now check whether non-existent headers
3961 # can be detected and how.
3962 cat >conftest.
$ac_ext <<_ACEOF
3965 cat confdefs.h
>>conftest.
$ac_ext
3966 cat >>conftest.
$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3968 #include <ac_nonexistent.h>
3970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3971 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3973 grep -v '^ *+' conftest.er1
>conftest.err
3975 cat conftest.err
>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); } >/dev
/null
; then
3978 if test -s conftest.err
; then
3979 ac_cpp_err
=$ac_c_preproc_warn_flag
3980 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3987 if test -z "$ac_cpp_err"; then
3988 # Broken: success on invalid input.
3991 echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.
$ac_ext >&5
3994 # Passes both tests.
3998 rm -f conftest.err conftest.
$ac_ext
4001 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4002 rm -f conftest.err conftest.
$ac_ext
4003 if $ac_preproc_ok; then
4006 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4007 See \`config.log' for more details." >&5
4008 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4009 See \`config.log' for more details." >&2;}
4010 { (exit 1); exit 1; }; }
4014 ac_cpp
='$CPP $CPPFLAGS'
4015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4018 for ac_prog
in gawk mawk nawk
awk
4020 # Extract the first word of "$ac_prog", so it can be a program name with args.
4021 set dummy
$ac_prog; ac_word
=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_prog_AWK+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 if test -n "$AWK"; then
4028 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_AWK
="$ac_prog"
4038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 if test -n "$AWK"; then
4048 echo "$as_me:$LINENO: result: $AWK" >&5
4049 echo "${ECHO_T}$AWK" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4055 test -n "$AWK" && break
4057 # Find a good install program. We prefer a C program (faster),
4058 # so one script is as good as another. But avoid the broken or
4059 # incompatible versions:
4060 # SysV /etc/install, /usr/sbin/install
4061 # SunOS /usr/etc/install
4062 # IRIX /sbin/install
4064 # AmigaOS /C/install, which installs bootblocks on floppy discs
4065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4068 # OS/2's system install, which has a completely different semantic
4069 # ./install, which can be erroneously created by make from ./install.sh.
4070 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4071 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4072 if test -z "$INSTALL"; then
4073 if test "${ac_cv_path_install+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir
=.
4081 # Account for people who put trailing slashes in PATH elements.
4083 .
/ | .
// |
/cC
/* | \
4084 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4085 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4088 # OSF1 and SCO ODT 3.0 have their own names for install.
4089 # Don't use installbsd from OSF since it installs stuff as root
4091 for ac_prog
in ginstall scoinst
install; do
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4094 if test $ac_prog = install &&
4095 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4096 # AIX install. It has an incompatible calling convention.
4098 elif test $ac_prog = install &&
4099 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4100 # program-specific install script used by HP pwplus--don't use.
4103 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4115 if test "${ac_cv_path_install+set}" = set; then
4116 INSTALL
=$ac_cv_path_install
4118 # As a last resort, use the slow shell script. We don't cache a
4119 # path for INSTALL within a source directory, because that will
4120 # break other packages using the cache if that directory is
4121 # removed, or if the path is relative.
4122 INSTALL
=$ac_install_sh
4125 echo "$as_me:$LINENO: result: $INSTALL" >&5
4126 echo "${ECHO_T}$INSTALL" >&6
4128 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4129 # It thinks the first close brace ends the variable substitution.
4130 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4132 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4134 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4135 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4136 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4138 if test "$LN_S" = "ln -s"; then
4139 echo "$as_me:$LINENO: result: yes" >&5
4140 echo "${ECHO_T}yes" >&6
4142 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4143 echo "${ECHO_T}no, using $LN_S" >&6
4145 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4146 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4147 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4148 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 cat >conftest.
make <<\_ACEOF
4153 @
echo 'ac_maketemp="$(MAKE)"'
4155 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4156 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4157 if test -n "$ac_maketemp"; then
4158 eval ac_cv_prog_make_
${ac_make}_set
=yes
4160 eval ac_cv_prog_make_
${ac_make}_set
=no
4164 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4165 echo "$as_me:$LINENO: result: yes" >&5
4166 echo "${ECHO_T}yes" >&6
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4171 SET_MAKE
="MAKE=${MAKE-make}"
4177 echo "$as_me:$LINENO: checking whether using Sun Worckshop C++ compiler" >&5
4178 echo $ECHO_N "checking whether using Sun Worckshop C++ compiler... $ECHO_C" >&6
4179 if test "${rssh_cv_check_sunpro_cc+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_cpp
='$CXXCPP $CPPFLAGS'
4186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4190 cat >conftest.
$ac_ext <<_ACEOF
4193 cat confdefs.h
>>conftest.
$ac_ext
4194 cat >>conftest.
$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4201 # include "error: this is not Sun Workshop."
4208 rm -f conftest.
$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try
='test -z "$ac_cxx_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try
='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 rssh_cv_check_sunpro_cc
=yes
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 rssh_cv_check_sunpro_cc
=no
4237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4239 ac_cpp
='$CPP $CPPFLAGS'
4240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4245 echo "$as_me:$LINENO: result: $rssh_cv_check_sunpro_cc" >&5
4246 echo "${ECHO_T}$rssh_cv_check_sunpro_cc" >&6
4247 if test ${rssh_cv_check_sunpro_cc} = yes
4256 if test "x$rssh_cv_check_sunpro_cc" = "xyes"; then
4260 # Check whether --enable-static or --disable-static was given.
4261 if test "${enable_static+set}" = set; then
4262 enableval
="$enable_static"
4263 p
=${PACKAGE-default}
4265 yes) enable_static
=yes ;;
4266 no
) enable_static
=no
;;
4269 # Look at the argument we got. We use all the common list separators.
4270 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4271 for pkg
in $enableval; do
4273 if test "X$pkg" = "X$p"; then
4287 if test "$CXX" = "c++" -o "$CXX" = "g++"
4291 echo "$as_me:$LINENO: checking for egrep" >&5
4292 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4293 if test "${ac_cv_prog_egrep+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4297 then ac_cv_prog_egrep
='grep -E'
4298 else ac_cv_prog_egrep
='egrep'
4301 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4302 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4303 EGREP
=$ac_cv_prog_egrep
4306 echo "$as_me:$LINENO: checking for gcc compiler release (at least version 3.2.0)" >&5
4307 echo $ECHO_N "checking for gcc compiler release (at least version 3.2.0)... $ECHO_C" >&6
4308 if test "${ac_cv_gcc_version_3_2_0+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 if test x
$GCC = x
; then
4312 ac_cv_gcc_version_3_2_0
=no
4315 cat >conftest.
$ac_ext <<_ACEOF
4318 cat confdefs.h
>>conftest.
$ac_ext
4319 cat >>conftest.
$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4321 #define HAVE_GCC_VERSION(MAJOR, MINOR, MICRO, DATE) \
4322 (__GNUC__ > (MAJOR) \
4323 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ > (MINOR)) \
4324 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ == (MINOR) \
4325 && __GNUC_PATCHLEVEL__ > (MICRO)) \
4326 || (__GNUC__ == (MAJOR) && __GNUC_MINOR__ == (MINOR) \
4327 && __GNUC_PATCHLEVEL__ == (MICRO) && ${ac_gcc_date}L >= (DATE)))
4328 #if HAVE_GCC_VERSION(3,2,0,0)
4332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4333 $EGREP "yes" >/dev
/null
2>&1; then
4334 ac_cv_gcc_version_3_2_0
=yes
4336 ac_cv_gcc_version_3_2_0
=no
4343 echo "$as_me:$LINENO: result: $ac_cv_gcc_version_3_2_0" >&5
4344 echo "${ECHO_T}$ac_cv_gcc_version_3_2_0" >&6
4345 if test x
$ac_cv_gcc_version_3_2_0 = xyes
; then
4347 cat >>confdefs.h
<<_ACEOF
4348 #define HAVE_GCC_VERSION_3_2_0 1
4353 if test "x$ac_cv_gcc_version_3_2_0" = "xno"; then
4354 { { echo "$as_me:$LINENO: error: Not supported gcc release. Should be 3.2.0 or above. Please update !" >&5
4355 echo "$as_me: error: Not supported gcc release. Should be 3.2.0 or above. Please update !" >&2;}
4356 { (exit -1); exit -1; }; }
4363 # Check whether --enable-java or --disable-java was given.
4364 if test "${enable_java+set}" = set; then
4365 enableval
="$enable_java"
4372 # Check whether --with-java or --without-java was given.
4373 if test "${with_java+set}" = set; then
4374 withval
="$with_java"
4379 if test "x$enable_java" = "xyes" ; then
4380 if test "x$with_java" = "xno" -o -z "$with_java"; then
4384 if test "x$with_java" = "xyes"; then
4385 # Extract the first word of "java", so it can be a program name with args.
4386 set dummy java
; ac_word
=$2
4387 echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4389 if test "${ac_cv_path_JAVA+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 ac_cv_path_JAVA
="$JAVA" # Let the user override the test with a path.
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_exec_ext
in '' $ac_executable_extensions; do
4403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 ac_cv_path_JAVA
="$as_dir/$ac_word$ac_exec_ext"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 JAVA
=$ac_cv_path_JAVA
4416 if test -n "$JAVA"; then
4417 echo "$as_me:$LINENO: result: $JAVA" >&5
4418 echo "${ECHO_T}$JAVA" >&6
4420 echo "$as_me:$LINENO: result: no" >&5
4421 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for java release (at least version 1.5)" >&5
4426 echo $ECHO_N "checking for java release (at least version 1.5)... $ECHO_C" >&6
4427 if test "${ac_cv_java_version_1_5+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -x $JAVA -a -f $JAVA; then
4432 VERS
=`$JAVA -version 2>&1 | grep version | cut -d '"' -f 2`
4435 JAVA_MAJOR
=`echo $VERS | cut -d '.' -f 1`
4436 JAVA_MINOR
=`echo $VERS | cut -d '.' -f 2`
4437 JAVA_MICRO
=`echo $VERS | cut -d '.' -f 3`
4440 if test $JAVA_MAJOR -lt 1; then
4441 ac_cv_java_version_1_5
=no
4443 if test $JAVA_MINOR -lt 5; then
4444 ac_cv_java_version_1_5
=no
4446 ac_cv_java_version_1_5
=yes
4450 ac_cv_java_version_1_5
=no
4454 echo "$as_me:$LINENO: result: $ac_cv_java_version_1_5" >&5
4455 echo "${ECHO_T}$ac_cv_java_version_1_5" >&6
4457 if test "x$ac_cv_java_version_1_5" = "xno"; then
4458 { echo "$as_me:$LINENO: WARNING: Not supported java release. Should be 1.5.x or above. Java will be disabled for this build!" >&5
4459 echo "$as_me: WARNING: Not supported java release. Should be 1.5.x or above. Java will be disabled for this build!" >&2;}
4473 if test x
"$enable_java" != x
"no"; then
4474 TANGO_JAVA_ENABLED_TRUE
=
4475 TANGO_JAVA_ENABLED_FALSE
='#'
4477 TANGO_JAVA_ENABLED_TRUE
='#'
4478 TANGO_JAVA_ENABLED_FALSE
=
4485 # Check whether --with-doxygen or --without-doxygen was given.
4486 if test "${with_doxygen+set}" = set; then
4487 withval
="$with_doxygen"
4488 DOXYGEN
=${with_doxygen}
4490 # Extract the first word of "doxygen", so it can be a program name with args.
4491 set dummy doxygen
; ac_word
=$2
4492 echo "$as_me:$LINENO: checking for $ac_word" >&5
4493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4494 if test "${ac_cv_path_DOXYGEN+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4509 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 DOXYGEN
=$ac_cv_path_DOXYGEN
4521 if test -n "$DOXYGEN"; then
4522 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
4523 echo "${ECHO_T}$DOXYGEN" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 if test -z "$DOXYGEN"; then
4532 DOXYGEN
=NOT_INSTALLED
4536 # Check whether --enable-shared or --disable-shared was given.
4537 if test "${enable_shared+set}" = set; then
4538 enableval
="$enable_shared"
4539 p
=${PACKAGE-default}
4541 yes) enable_shared
=yes ;;
4542 no
) enable_shared
=no
;;
4545 # Look at the argument we got. We use all the common list separators.
4546 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4547 for pkg
in $enableval; do
4549 if test "X$pkg" = "X$p"; then
4560 # Check whether --enable-fast-install or --disable-fast-install was given.
4561 if test "${enable_fast_install+set}" = set; then
4562 enableval
="$enable_fast_install"
4563 p
=${PACKAGE-default}
4565 yes) enable_fast_install
=yes ;;
4566 no
) enable_fast_install
=no
;;
4568 enable_fast_install
=no
4569 # Look at the argument we got. We use all the common list separators.
4570 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4571 for pkg
in $enableval; do
4573 if test "X$pkg" = "X$p"; then
4574 enable_fast_install
=yes
4581 enable_fast_install
=yes
4584 # Make sure we can run config.sub.
4585 $ac_config_sub sun4
>/dev
/null
2>&1 ||
4586 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4587 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4588 { (exit 1); exit 1; }; }
4590 echo "$as_me:$LINENO: checking build system type" >&5
4591 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4592 if test "${ac_cv_build+set}" = set; then
4593 echo $ECHO_N "(cached) $ECHO_C" >&6
4595 ac_cv_build_alias
=$build_alias
4596 test -z "$ac_cv_build_alias" &&
4597 ac_cv_build_alias
=`$ac_config_guess`
4598 test -z "$ac_cv_build_alias" &&
4599 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4600 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4601 { (exit 1); exit 1; }; }
4602 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
4603 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4604 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4605 { (exit 1); exit 1; }; }
4608 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4609 echo "${ECHO_T}$ac_cv_build" >&6
4611 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4612 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4613 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4616 echo "$as_me:$LINENO: checking host system type" >&5
4617 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4618 if test "${ac_cv_host+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 ac_cv_host_alias
=$host_alias
4622 test -z "$ac_cv_host_alias" &&
4623 ac_cv_host_alias
=$ac_cv_build_alias
4624 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
4625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4626 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4627 { (exit 1); exit 1; }; }
4630 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4631 echo "${ECHO_T}$ac_cv_host" >&6
4633 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4634 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4635 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4638 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4639 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4640 if test "${lt_cv_path_SED+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 # Loop through the user's path and test for sed and gsed.
4644 # Then use that list of sed's as ones to test for truncation.
4645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4649 test -z "$as_dir" && as_dir
=.
4650 for lt_ac_prog
in sed gsed
; do
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4653 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4661 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4662 # along with /bin/sed that truncates output.
4663 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4664 test ! -f $lt_ac_sed && continue
4665 cat /dev
/null
> conftest.
in
4667 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4668 # Check for GNU sed and select it if it is found.
4669 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4670 lt_cv_path_SED
=$lt_ac_sed
4674 cat conftest.
in conftest.
in >conftest.tmp
4675 mv conftest.tmp conftest.
in
4676 cp conftest.
in conftest.
nl
4678 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4679 cmp -s conftest.out conftest.
nl ||
break
4680 # 10000 chars as input seems more than enough
4681 test $lt_ac_count -gt 10 && break
4682 lt_ac_count
=`expr $lt_ac_count + 1`
4683 if test $lt_ac_count -gt $lt_ac_max; then
4684 lt_ac_max
=$lt_ac_count
4685 lt_cv_path_SED
=$lt_ac_sed
4694 echo "$as_me:$LINENO: result: $SED" >&5
4695 echo "${ECHO_T}$SED" >&6
4698 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4699 if test "${with_gnu_ld+set}" = set; then
4700 withval
="$with_gnu_ld"
4701 test "$withval" = no || with_gnu_ld
=yes
4706 if test "$GCC" = yes; then
4707 # Check if gcc -print-prog-name=ld gives a path.
4708 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4709 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4712 # gcc leaves a trailing carriage return which upsets mingw
4713 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4715 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4718 # Accept absolute paths.
4720 re_direlt
='/[^/][^/]*/\.\./'
4721 # Canonicalize the pathname of ld
4722 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4723 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4724 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4726 test -z "$LD" && LD
="$ac_prog"
4729 # If it fails, then pretend we aren't using GCC.
4733 # If it is relative, then search for the first ld in PATH.
4737 elif test "$with_gnu_ld" = yes; then
4738 echo "$as_me:$LINENO: checking for GNU ld" >&5
4739 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4741 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4742 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4744 if test "${lt_cv_path_LD+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 if test -z "$LD"; then
4748 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4749 for ac_dir
in $PATH; do
4751 test -z "$ac_dir" && ac_dir
=.
4752 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4753 lt_cv_path_LD
="$ac_dir/$ac_prog"
4754 # Check to see if the program is GNU ld. I'd rather use --version,
4755 # but apparently some variants of GNU ld only accept -v.
4756 # Break only if it was the GNU/non-GNU ld that we prefer.
4757 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4758 *GNU
* |
*'with BFD'*)
4759 test "$with_gnu_ld" != no
&& break
4762 test "$with_gnu_ld" != yes && break
4769 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4774 if test -n "$LD"; then
4775 echo "$as_me:$LINENO: result: $LD" >&5
4776 echo "${ECHO_T}$LD" >&6
4778 echo "$as_me:$LINENO: result: no" >&5
4779 echo "${ECHO_T}no" >&6
4781 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4782 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4783 { (exit 1); exit 1; }; }
4784 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4785 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4786 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4790 case `$LD -v 2>&1 </dev/null` in
4791 *GNU
* |
*'with BFD'*)
4792 lt_cv_prog_gnu_ld
=yes
4795 lt_cv_prog_gnu_ld
=no
4799 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4800 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4801 with_gnu_ld
=$lt_cv_prog_gnu_ld
4804 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4805 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4806 if test "${lt_cv_ld_reload_flag+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 lt_cv_ld_reload_flag
='-r'
4811 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4812 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4813 reload_flag
=$lt_cv_ld_reload_flag
4814 case $reload_flag in
4816 *) reload_flag
=" $reload_flag" ;;
4818 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4821 if test "$GCC" = yes; then
4822 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4824 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4829 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4830 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4831 if test "${lt_cv_path_NM+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 if test -n "$NM"; then
4835 # Let the user override the test.
4838 lt_nm_to_check
="${ac_tool_prefix}nm"
4839 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4840 lt_nm_to_check
="$lt_nm_to_check nm"
4842 for lt_tmp_nm
in $lt_nm_to_check; do
4843 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4844 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4846 test -z "$ac_dir" && ac_dir
=.
4847 tmp_nm
="$ac_dir/$lt_tmp_nm"
4848 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4849 # Check to see if the nm accepts a BSD-compat flag.
4850 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4851 # nm: unknown option "B" ignored
4852 # Tru64's nm complains that /dev/null is an invalid object file
4853 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4854 */dev
/null
* |
*'Invalid file or object type'*)
4855 lt_cv_path_NM
="$tmp_nm -B"
4859 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4861 lt_cv_path_NM
="$tmp_nm -p"
4865 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4866 continue # so that we can try to find one that supports BSD flags
4875 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4878 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4879 echo "${ECHO_T}$lt_cv_path_NM" >&6
4882 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4883 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4884 if test "${lt_cv_deplibs_check_method+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4888 lt_cv_file_magic_test_file
=
4889 lt_cv_deplibs_check_method
='unknown'
4890 # Need to set the preceding variable on all platforms that support
4891 # interlibrary dependencies.
4892 # 'none' -- dependencies not supported.
4893 # `unknown' -- same as none, but documents that we really don't know.
4894 # 'pass_all' -- all dependencies passed with no checks.
4895 # 'test_compile' -- check by making test program.
4896 # 'file_magic [[regex]]' -- check by looking for files in library path
4897 # which responds to the $file_magic_cmd with a given extended regex.
4898 # If you have `file' or equivalent on your system and you're not sure
4899 # whether `pass_all' will *always* work, you probably want this one.
4903 lt_cv_deplibs_check_method
=pass_all
4907 lt_cv_deplibs_check_method
=pass_all
4911 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4912 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4913 lt_cv_file_magic_test_file
=/shlib
/libc.so
4917 # func_win32_libid is a shell function defined in ltmain.sh
4918 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4919 lt_cv_file_magic_cmd
='func_win32_libid'
4923 # Base MSYS/MinGW do not provide the 'file' command needed by
4924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4925 # unless we find 'file', for example because we are cross-compiling.
4926 if ( file / ) >/dev
/null
2>&1; then
4927 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4928 lt_cv_file_magic_cmd
='func_win32_libid'
4930 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4931 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4935 darwin
* | rhapsody
*)
4936 lt_cv_deplibs_check_method
=pass_all
4939 freebsd
* | dragonfly
*)
4940 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4943 # Not sure whether the presence of OpenBSD here was a mistake.
4944 # Let's accept both of them until this is cleared up.
4945 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4946 lt_cv_file_magic_cmd
=/usr
/bin
/file
4947 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4951 lt_cv_deplibs_check_method
=pass_all
4956 lt_cv_deplibs_check_method
=pass_all
4959 hpux10.20
* | hpux11
*)
4960 lt_cv_file_magic_cmd
=/usr
/bin
/file
4963 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4964 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4967 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4968 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4971 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4972 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4978 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4979 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4982 irix5
* | irix6
* | nonstopux
*)
4984 *-32|
*"-32 ") libmagic
=32-bit;;
4985 *-n32|
*"-n32 ") libmagic
=N32
;;
4986 *-64|
*"-64 ") libmagic
=64-bit;;
4987 *) libmagic
=never-match
;;
4989 lt_cv_deplibs_check_method
=pass_all
4992 # This must be Linux ELF.
4993 linux
* | k
*bsd
*-gnu)
4994 lt_cv_deplibs_check_method
=pass_all
4998 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4999 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5001 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5006 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5007 lt_cv_file_magic_cmd
=/usr
/bin
/file
5008 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5012 lt_cv_deplibs_check_method
=unknown
5016 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5017 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5019 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5023 osf3
* | osf4
* | osf5
*)
5024 lt_cv_deplibs_check_method
=pass_all
5028 lt_cv_deplibs_check_method
=pass_all
5032 lt_cv_deplibs_check_method
=pass_all
5036 case $host_vendor in
5038 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5039 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5042 lt_cv_deplibs_check_method
=pass_all
5045 lt_cv_file_magic_cmd
='/bin/file'
5046 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5049 lt_cv_file_magic_cmd
='/bin/file'
5050 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5051 lt_cv_file_magic_test_file
=/lib
/libc.so
5054 lt_cv_deplibs_check_method
=pass_all
5057 lt_cv_deplibs_check_method
=pass_all
5062 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5063 lt_cv_deplibs_check_method
=pass_all
5068 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5069 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5070 file_magic_cmd
=$lt_cv_file_magic_cmd
5071 deplibs_check_method
=$lt_cv_deplibs_check_method
5072 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5077 # If no C compiler was specified, use CC.
5080 # If no C compiler flags were specified, use CFLAGS.
5081 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5083 # Allow CC to be a program name with arguments.
5086 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5087 if test "${enable_libtool_lock+set}" = set; then
5088 enableval
="$enable_libtool_lock"
5091 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5093 # Some flags need to be propagated to the compiler or linker for good
5097 # Find out which ABI we are using.
5098 echo 'int i;' > conftest.
$ac_ext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100 (eval $ac_compile) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; then
5104 case `/usr/bin/file conftest.$ac_objext` in
5116 # Find out which ABI we are using.
5117 echo '#line 5117 "configure"' > conftest.
$ac_ext
5118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5119 (eval $ac_compile) 2>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; then
5123 if test "$lt_cv_prog_gnu_ld" = yes; then
5124 case `/usr/bin/file conftest.$ac_objext` in
5126 LD
="${LD-ld} -melf32bsmip"
5129 LD
="${LD-ld} -melf32bmipn32"
5132 LD
="${LD-ld} -melf64bmip"
5136 case `/usr/bin/file conftest.$ac_objext` in
5152 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5153 s390
*-*linux
*|sparc
*-*linux
*)
5154 # Find out which ABI we are using.
5155 echo 'int i;' > conftest.
$ac_ext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; then
5161 case `/usr/bin/file conftest.o` in
5164 x86_64-
*kfreebsd
*-gnu)
5165 LD
="${LD-ld} -m elf_i386_fbsd"
5168 LD
="${LD-ld} -m elf_i386"
5170 ppc64-
*linux
*|powerpc64-
*linux
*)
5171 LD
="${LD-ld} -m elf32ppclinux"
5174 LD
="${LD-ld} -m elf_s390"
5177 LD
="${LD-ld} -m elf32_sparc"
5183 x86_64-
*kfreebsd
*-gnu)
5184 LD
="${LD-ld} -m elf_x86_64_fbsd"
5187 LD
="${LD-ld} -m elf_x86_64"
5189 ppc
*-*linux
*|powerpc
*-*linux
*)
5190 LD
="${LD-ld} -m elf64ppc"
5193 LD
="${LD-ld} -m elf64_s390"
5196 LD
="${LD-ld} -m elf64_sparc"
5206 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5207 SAVE_CFLAGS
="$CFLAGS"
5208 CFLAGS
="$CFLAGS -belf"
5209 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5210 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5211 if test "${lt_cv_cc_needs_belf+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5215 ac_cpp
='$CPP $CPPFLAGS'
5216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5220 cat >conftest.
$ac_ext <<_ACEOF
5223 cat confdefs.h
>>conftest.
$ac_ext
5224 cat >>conftest.
$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5235 rm -f conftest.
$ac_objext conftest
$ac_exeext
5236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5237 (eval $ac_link) 2>conftest.er1
5239 grep -v '^ *+' conftest.er1
>conftest.err
5241 cat conftest.err
>&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); } &&
5244 { ac_try
='test -z "$ac_c_werror_flag"
5245 || test ! -s conftest.err'
5246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); }; } &&
5251 { ac_try
='test -s conftest$ac_exeext'
5252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); }; }; then
5257 lt_cv_cc_needs_belf
=yes
5259 echo "$as_me: failed program was:" >&5
5260 sed 's/^/| /' conftest.
$ac_ext >&5
5262 lt_cv_cc_needs_belf
=no
5264 rm -f conftest.err conftest.
$ac_objext \
5265 conftest
$ac_exeext conftest.
$ac_ext
5267 ac_cpp
='$CPP $CPPFLAGS'
5268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5273 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5274 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5275 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5276 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5277 CFLAGS
="$SAVE_CFLAGS"
5281 # Find out which ABI we are using.
5282 echo 'int i;' > conftest.
$ac_ext
5283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5284 (eval $ac_compile) 2>&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; then
5288 case `/usr/bin/file conftest.o` in
5290 case $lt_cv_prog_gnu_ld in
5291 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5292 *) LD
="${LD-ld} -64" ;;
5303 need_locks
="$enable_libtool_lock"
5306 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5307 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5308 if test "${ac_cv_header_stdc+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5330 rm -f conftest.
$ac_objext
5331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5332 (eval $ac_compile) 2>conftest.er1
5334 grep -v '^ *+' conftest.er1
>conftest.err
5336 cat conftest.err
>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); } &&
5339 { ac_try
='test -z "$ac_c_werror_flag"
5340 || test ! -s conftest.err'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; } &&
5346 { ac_try
='test -s conftest.$ac_objext'
5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; }; then
5352 ac_cv_header_stdc
=yes
5354 echo "$as_me: failed program was:" >&5
5355 sed 's/^/| /' conftest.
$ac_ext >&5
5357 ac_cv_header_stdc
=no
5359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5361 if test $ac_cv_header_stdc = yes; then
5362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5363 cat >conftest.
$ac_ext <<_ACEOF
5366 cat confdefs.h
>>conftest.
$ac_ext
5367 cat >>conftest.
$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5373 $EGREP "memchr" >/dev
/null
2>&1; then
5376 ac_cv_header_stdc
=no
5382 if test $ac_cv_header_stdc = yes; then
5383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5384 cat >conftest.
$ac_ext <<_ACEOF
5387 cat confdefs.h
>>conftest.
$ac_ext
5388 cat >>conftest.
$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5394 $EGREP "free" >/dev
/null
2>&1; then
5397 ac_cv_header_stdc
=no
5403 if test $ac_cv_header_stdc = yes; then
5404 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5405 if test "$cross_compiling" = yes; then
5408 cat >conftest.
$ac_ext <<_ACEOF
5411 cat confdefs.h
>>conftest.
$ac_ext
5412 cat >>conftest.
$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5415 #if ((' ' & 0x0FF) == 0x020)
5416 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5417 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5419 # define ISLOWER(c) \
5420 (('a' <= (c) && (c) <= 'i') \
5421 || ('j' <= (c) && (c) <= 'r') \
5422 || ('s' <= (c) && (c) <= 'z'))
5423 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5426 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5431 for (i = 0; i < 256; i++)
5432 if (XOR (islower (i), ISLOWER (i))
5433 || toupper (i) != TOUPPER (i))
5438 rm -f conftest
$ac_exeext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5440 (eval $ac_link) 2>&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; }; then
5451 echo "$as_me: program exited with status $ac_status" >&5
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.
$ac_ext >&5
5456 ac_cv_header_stdc
=no
5458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5462 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5463 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5464 if test $ac_cv_header_stdc = yes; then
5466 cat >>confdefs.h
<<\_ACEOF
5467 #define STDC_HEADERS 1
5472 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5482 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5483 inttypes.h stdint.h unistd.h
5485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5486 echo "$as_me:$LINENO: checking for $ac_header" >&5
5487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 cat >conftest.
$ac_ext <<_ACEOF
5494 cat confdefs.h
>>conftest.
$ac_ext
5495 cat >>conftest.
$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 $ac_includes_default
5499 #include <$ac_header>
5501 rm -f conftest.
$ac_objext
5502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503 (eval $ac_compile) 2>conftest.er1
5505 grep -v '^ *+' conftest.er1
>conftest.err
5507 cat conftest.err
>&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try
='test -z "$ac_c_werror_flag"
5511 || test ! -s conftest.err'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; } &&
5517 { ac_try
='test -s conftest.$ac_objext'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; }; then
5523 eval "$as_ac_Header=yes"
5525 echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.
$ac_ext >&5
5528 eval "$as_ac_Header=no"
5530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5535 cat >>confdefs.h
<<_ACEOF
5536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5545 for ac_header
in dlfcn.h
5547 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5549 echo "$as_me:$LINENO: checking for $ac_header" >&5
5550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557 # Is the header compilable?
5558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5560 cat >conftest.
$ac_ext <<_ACEOF
5563 cat confdefs.h
>>conftest.
$ac_ext
5564 cat >>conftest.
$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5566 $ac_includes_default
5567 #include <$ac_header>
5569 rm -f conftest.
$ac_objext
5570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5571 (eval $ac_compile) 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } &&
5578 { ac_try
='test -z "$ac_c_werror_flag"
5579 || test ! -s conftest.err'
5580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; } &&
5585 { ac_try
='test -s conftest.$ac_objext'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; }; then
5591 ac_header_compiler
=yes
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.
$ac_ext >&5
5596 ac_header_compiler
=no
5598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5600 echo "${ECHO_T}$ac_header_compiler" >&6
5602 # Is the header present?
5603 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 #include <$ac_header>
5613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5614 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5616 grep -v '^ *+' conftest.er1
>conftest.err
5618 cat conftest.err
>&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } >/dev
/null
; then
5621 if test -s conftest.err
; then
5622 ac_cpp_err
=$ac_c_preproc_warn_flag
5623 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5630 if test -z "$ac_cpp_err"; then
5631 ac_header_preproc
=yes
5633 echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.
$ac_ext >&5
5636 ac_header_preproc
=no
5638 rm -f conftest.err conftest.
$ac_ext
5639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5640 echo "${ECHO_T}$ac_header_preproc" >&6
5642 # So? What about this header?
5643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5649 ac_header_preproc
=yes
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5666 ## ---------------------------- ##
5667 ## Report this to tango@esrf.fr ##
5668 ## ---------------------------- ##
5671 sed "s/^/$as_me: WARNING: /" >&2
5674 echo "$as_me:$LINENO: checking for $ac_header" >&5
5675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5677 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 eval "$as_ac_Header=\$ac_header_preproc"
5681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5686 cat >>confdefs.h
<<_ACEOF
5687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5696 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5697 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5698 (test "X$CXX" != "Xg++"))) ; then
5700 ac_cpp
='$CXXCPP $CPPFLAGS'
5701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5704 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5705 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5706 if test -z "$CXXCPP"; then
5707 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 # Double quotes because CXXCPP needs to be expanded
5711 for CXXCPP
in "$CXX -E" "/lib/cpp"
5714 for ac_cxx_preproc_warn_flag
in '' yes
5716 # Use a header file that comes with gcc, so configuring glibc
5717 # with a fresh cross-compiler works.
5718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5719 # <limits.h> exists even on freestanding compilers.
5720 # On the NeXT, cc -E runs the code through the compiler's parser,
5721 # not just through cpp. "Syntax error" is here to catch this case.
5722 cat >conftest.
$ac_ext <<_ACEOF
5725 cat confdefs.h
>>conftest.
$ac_ext
5726 cat >>conftest.
$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5729 # include <limits.h>
5731 # include <assert.h>
5735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5738 grep -v '^ *+' conftest.er1
>conftest.err
5740 cat conftest.err
>&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } >/dev
/null
; then
5743 if test -s conftest.err
; then
5744 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5745 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5752 if test -z "$ac_cpp_err"; then
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5758 # Broken: fails on valid input.
5761 rm -f conftest.err conftest.
$ac_ext
5763 # OK, works on sane cases. Now check whether non-existent headers
5764 # can be detected and how.
5765 cat >conftest.
$ac_ext <<_ACEOF
5768 cat confdefs.h
>>conftest.
$ac_ext
5769 cat >>conftest.
$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5771 #include <ac_nonexistent.h>
5773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5776 grep -v '^ *+' conftest.er1
>conftest.err
5778 cat conftest.err
>&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); } >/dev
/null
; then
5781 if test -s conftest.err
; then
5782 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5783 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5790 if test -z "$ac_cpp_err"; then
5791 # Broken: success on invalid input.
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 # Passes both tests.
5801 rm -f conftest.err conftest.
$ac_ext
5804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5805 rm -f conftest.err conftest.
$ac_ext
5806 if $ac_preproc_ok; then
5811 ac_cv_prog_CXXCPP
=$CXXCPP
5814 CXXCPP
=$ac_cv_prog_CXXCPP
5816 ac_cv_prog_CXXCPP
=$CXXCPP
5818 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5819 echo "${ECHO_T}$CXXCPP" >&6
5821 for ac_cxx_preproc_warn_flag
in '' yes
5823 # Use a header file that comes with gcc, so configuring glibc
5824 # with a fresh cross-compiler works.
5825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5826 # <limits.h> exists even on freestanding compilers.
5827 # On the NeXT, cc -E runs the code through the compiler's parser,
5828 # not just through cpp. "Syntax error" is here to catch this case.
5829 cat >conftest.
$ac_ext <<_ACEOF
5832 cat confdefs.h
>>conftest.
$ac_ext
5833 cat >>conftest.
$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 # include <limits.h>
5838 # include <assert.h>
5842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } >/dev
/null
; then
5850 if test -s conftest.err
; then
5851 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5852 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5859 if test -z "$ac_cpp_err"; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5865 # Broken: fails on valid input.
5868 rm -f conftest.err conftest.
$ac_ext
5870 # OK, works on sane cases. Now check whether non-existent headers
5871 # can be detected and how.
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #include <ac_nonexistent.h>
5880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5883 grep -v '^ *+' conftest.er1
>conftest.err
5885 cat conftest.err
>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } >/dev
/null
; then
5888 if test -s conftest.err
; then
5889 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5890 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5897 if test -z "$ac_cpp_err"; then
5898 # Broken: success on invalid input.
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5904 # Passes both tests.
5908 rm -f conftest.err conftest.
$ac_ext
5911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5912 rm -f conftest.err conftest.
$ac_ext
5913 if $ac_preproc_ok; then
5916 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5917 See \`config.log' for more details." >&5
5918 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5919 See \`config.log' for more details." >&2;}
5920 { (exit 1); exit 1; }; }
5924 ac_cpp
='$CXXCPP $CPPFLAGS'
5925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5932 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5933 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5934 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5935 if test -n "$ac_tool_prefix"; then
5936 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5938 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5939 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5940 echo "$as_me:$LINENO: checking for $ac_word" >&5
5941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5942 if test "${ac_cv_prog_F77+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 if test -n "$F77"; then
5946 ac_cv_prog_F77
="$F77" # Let the user override the test.
5948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5952 test -z "$as_dir" && as_dir
=.
5953 for ac_exec_ext
in '' $ac_executable_extensions; do
5954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5955 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5965 if test -n "$F77"; then
5966 echo "$as_me:$LINENO: result: $F77" >&5
5967 echo "${ECHO_T}$F77" >&6
5969 echo "$as_me:$LINENO: result: no" >&5
5970 echo "${ECHO_T}no" >&6
5973 test -n "$F77" && break
5976 if test -z "$F77"; then
5978 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5980 # Extract the first word of "$ac_prog", so it can be a program name with args.
5981 set dummy
$ac_prog; ac_word
=$2
5982 echo "$as_me:$LINENO: checking for $ac_word" >&5
5983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5984 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5987 if test -n "$ac_ct_F77"; then
5988 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5994 test -z "$as_dir" && as_dir
=.
5995 for ac_exec_ext
in '' $ac_executable_extensions; do
5996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5997 ac_cv_prog_ac_ct_F77
="$ac_prog"
5998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6006 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6007 if test -n "$ac_ct_F77"; then
6008 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6009 echo "${ECHO_T}$ac_ct_F77" >&6
6011 echo "$as_me:$LINENO: result: no" >&5
6012 echo "${ECHO_T}no" >&6
6015 test -n "$ac_ct_F77" && break
6022 # Provide some information about the compiler.
6023 echo "$as_me:6023:" \
6024 "checking for Fortran 77 compiler version" >&5
6025 ac_compiler
=`set X $ac_compile; echo $2`
6026 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6027 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }
6031 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6032 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); }
6036 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6037 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }
6043 # If we don't use `.F' as extension, the preprocessor is not run on the
6044 # input file. (Note that this only needs to work for GNU compilers.)
6047 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6048 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6049 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat >conftest.
$ac_ext <<_ACEOF
6060 rm -f conftest.
$ac_objext
6061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6062 (eval $ac_compile) 2>conftest.er1
6064 grep -v '^ *+' conftest.er1
>conftest.err
6066 cat conftest.err
>&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); } &&
6069 { ac_try
='test -z "$ac_f77_werror_flag"
6070 || test ! -s conftest.err'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; } &&
6076 { ac_try
='test -s conftest.$ac_objext'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; }; then
6084 echo "$as_me: failed program was:" >&5
6085 sed 's/^/| /' conftest.
$ac_ext >&5
6089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6090 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
6093 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6094 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6096 ac_test_FFLAGS
=${FFLAGS+set}
6097 ac_save_FFLAGS
=$FFLAGS
6099 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6100 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6101 if test "${ac_cv_prog_f77_g+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 cat >conftest.
$ac_ext <<_ACEOF
6110 rm -f conftest.
$ac_objext
6111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6112 (eval $ac_compile) 2>conftest.er1
6114 grep -v '^ *+' conftest.er1
>conftest.err
6116 cat conftest.err
>&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); } &&
6119 { ac_try
='test -z "$ac_f77_werror_flag"
6120 || test ! -s conftest.err'
6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); }; } &&
6126 { ac_try
='test -s conftest.$ac_objext'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; }; then
6132 ac_cv_prog_f77_g
=yes
6134 echo "$as_me: failed program was:" >&5
6135 sed 's/^/| /' conftest.
$ac_ext >&5
6139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6142 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6143 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6144 if test "$ac_test_FFLAGS" = set; then
6145 FFLAGS
=$ac_save_FFLAGS
6146 elif test $ac_cv_prog_f77_g = yes; then
6147 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6153 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6160 G77
=`test $ac_compiler_gnu = yes && echo yes`
6162 ac_cpp
='$CPP $CPPFLAGS'
6163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6169 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6171 # find the maximum length of command line arguments
6172 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6173 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6174 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 # On DJGPP, this test can blow up pretty badly due to problems in libc
6183 # (any single argument exceeding 2000 bytes causes a buffer overrun
6184 # during glob expansion). Even if it were fixed, the result of this
6185 # check would be larger than it should be.
6186 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6190 # Under GNU Hurd, this test is not required because there is
6191 # no limit to the length of command line arguments.
6192 # Libtool will interpret -1 as no limit whatsoever
6193 lt_cv_sys_max_cmd_len
=-1;
6197 # On Win9x/ME, this test blows up -- it succeeds, but takes
6198 # about 5 minutes as the teststring grows exponentially.
6199 # Worse, since 9x/ME are not pre-emptively multitasking,
6200 # you end up with a "frozen" computer, even though with patience
6201 # the test eventually succeeds (with a max line length of 256k).
6202 # Instead, let's just punt: use the minimum linelength reported by
6203 # all of the supported platforms: 8192 (on NT/2K/XP).
6204 lt_cv_sys_max_cmd_len
=8192;
6208 # On AmigaOS with pdksh, this test takes hours, literally.
6209 # So we just punt and use a minimum line length of 8192.
6210 lt_cv_sys_max_cmd_len
=8192;
6213 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6214 # This has been around since 386BSD, at least. Likely further.
6215 if test -x /sbin
/sysctl
; then
6216 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6217 elif test -x /usr
/sbin
/sysctl
; then
6218 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6220 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6222 # And add a safety zone
6223 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6224 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6228 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6229 lt_cv_sys_max_cmd_len
=196608
6233 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6234 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6235 # nice to cause kernel panics so lets avoid the loop below.
6236 # First set a reasonable default.
6237 lt_cv_sys_max_cmd_len
=16384
6239 if test -x /sbin
/sysconfig
; then
6240 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6241 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6246 lt_cv_sys_max_cmd_len
=102400
6248 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6249 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6250 if test -n "$kargmax"; then
6251 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6253 lt_cv_sys_max_cmd_len
=32768
6257 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6258 if test -n "$lt_cv_sys_max_cmd_len"; then
6259 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6260 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6262 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6263 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6264 = "XX$teststring") >/dev
/null
2>&1 &&
6265 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6266 lt_cv_sys_max_cmd_len
=$new_result &&
6267 test $i != 17 # 1/2 MB should be enough
6270 teststring
=$teststring$teststring
6273 # Add a significant safety factor because C++ compilers can tack on massive
6274 # amounts of additional arguments before passing them to the linker.
6275 # It appears as though 1/2 is a usable value.
6276 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6283 if test -n $lt_cv_sys_max_cmd_len ; then
6284 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6285 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6287 echo "$as_me:$LINENO: result: none" >&5
6288 echo "${ECHO_T}none" >&6
6295 # Check for command to grab the raw symbol name followed by C symbol from nm.
6296 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6297 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6298 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 # These are sane defaults that work on at least a few old systems.
6303 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6305 # Character class describing NM global symbol codes.
6306 symcode
='[BCDEGRST]'
6308 # Regexp to match symbols that can be accessed directly from C.
6309 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6311 # Transform an extracted symbol line into a proper C declaration
6312 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6314 # Transform an extracted symbol line into symbol name and symbol address
6315 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6317 # Define system-specific variables.
6322 cygwin
* | mingw
* | pw32
*)
6323 symcode
='[ABCDGISTW]'
6325 hpux
*) # Its linker distinguishes data from code symbols
6326 if test "$host_cpu" = ia64
; then
6327 symcode
='[ABCDEGRST]'
6329 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6330 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6332 linux
* | k
*bsd
*-gnu)
6333 if test "$host_cpu" = ia64
; then
6334 symcode
='[ABCDGIRSTW]'
6335 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6336 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6340 symcode
='[BCDEGRST]'
6343 symcode
='[BCDEGQRST]'
6354 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6362 # Handle CRLF in mingw tool chain
6366 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6370 # If we're using GNU nm, then use its standard symbol codes.
6371 case `$NM -V 2>&1` in
6372 *GNU
* |
*'with BFD'*)
6373 symcode
='[ABCDGIRSTW]' ;;
6376 # Try without a prefix undercore, then with it.
6377 for ac_symprfx
in "" "_"; do
6379 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6380 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6382 # Write the raw and C identifiers.
6383 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6385 # Check to see that the pipe works correctly.
6389 cat > conftest.
$ac_ext <<EOF
6394 void nm_test_func(){}
6398 int main(){nm_test_var='a';nm_test_func();return(0);}
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; then
6406 # Now try to grab the symbols.
6408 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6409 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); } && test -s "$nlist"; then
6413 # Try sorting and uniquifying the output.
6414 if sort "$nlist" |
uniq > "$nlist"T
; then
6415 mv -f "$nlist"T
"$nlist"
6420 # Make sure that we snagged all the symbols we need.
6421 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6422 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6423 cat <<EOF > conftest.$ac_ext
6429 # Now generate the symbol file.
6430 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6432 cat <<EOF >> conftest.$ac_ext
6433 #if defined (__STDC__) && __STDC__
6434 # define lt_ptr_t void *
6436 # define lt_ptr_t char *
6440 /* The mapping between symbol names and symbols. */
6445 lt_preloaded_symbols[] =
6448 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6449 cat <<\EOF
>> conftest.
$ac_ext
6457 # Now try linking the two files.
6458 mv conftest.
$ac_objext conftstm.
$ac_objext
6459 lt_save_LIBS
="$LIBS"
6460 lt_save_CFLAGS
="$CFLAGS"
6461 LIBS
="conftstm.$ac_objext"
6462 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6464 (eval $ac_link) 2>&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6470 LIBS
="$lt_save_LIBS"
6471 CFLAGS
="$lt_save_CFLAGS"
6473 echo "cannot find nm_test_func in $nlist" >&5
6476 echo "cannot find nm_test_var in $nlist" >&5
6479 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6482 echo "$progname: failed program was:" >&5
6483 cat conftest.
$ac_ext >&5
6485 rm -f conftest
* conftst
*
6487 # Do not use the global_symbol_pipe unless it works.
6488 if test "$pipe_works" = yes; then
6491 lt_cv_sys_global_symbol_pipe
=
6497 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6498 lt_cv_sys_global_symbol_to_cdecl
=
6500 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6501 echo "$as_me:$LINENO: result: failed" >&5
6502 echo "${ECHO_T}failed" >&6
6504 echo "$as_me:$LINENO: result: ok" >&5
6505 echo "${ECHO_T}ok" >&6
6508 echo "$as_me:$LINENO: checking for objdir" >&5
6509 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6510 if test "${lt_cv_objdir+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 rm -f .libs
2>/dev
/null
6514 mkdir .libs
2>/dev
/null
6515 if test -d .libs
; then
6518 # MS-DOS does not allow filenames that begin with a dot.
6521 rmdir .libs
2>/dev
/null
6523 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6524 echo "${ECHO_T}$lt_cv_objdir" >&6
6525 objdir
=$lt_cv_objdir
6533 # AIX sometimes has problems with the GCC collect2 program. For some
6534 # reason, if we set the COLLECT_NAMES environment variable, the problems
6535 # vanish in a puff of smoke.
6536 if test "X${COLLECT_NAMES+set}" != Xset
; then
6538 export COLLECT_NAMES
6543 # Sed substitution that helps us do robust quoting. It backslashifies
6544 # metacharacters that are still active within double-quoted strings.
6545 Xsed
='sed -e 1s/^X//'
6546 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6548 # Same as above, but do not quote variable references.
6549 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6551 # Sed substitution to delay expansion of an escaped shell variable in a
6552 # double_quote_subst'ed string.
6553 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6555 # Sed substitution to avoid accidental globbing in evaled expressions
6556 no_glob_subst
='s/\*/\\\*/g'
6562 default_ofile
=libtool
6563 can_build_shared
=yes
6565 # All known linkers require a `.a' archive for static linking (except MSVC,
6566 # which needs '.lib').
6568 ltmain
="$ac_aux_dir/ltmain.sh"
6569 ofile
="$default_ofile"
6570 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6572 if test -n "$ac_tool_prefix"; then
6573 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6574 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6575 echo "$as_me:$LINENO: checking for $ac_word" >&5
6576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6577 if test "${ac_cv_prog_AR+set}" = set; then
6578 echo $ECHO_N "(cached) $ECHO_C" >&6
6580 if test -n "$AR"; then
6581 ac_cv_prog_AR
="$AR" # Let the user override the test.
6583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir
=.
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 if test -n "$AR"; then
6601 echo "$as_me:$LINENO: result: $AR" >&5
6602 echo "${ECHO_T}$AR" >&6
6604 echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6
6609 if test -z "$ac_cv_prog_AR"; then
6611 # Extract the first word of "ar", so it can be a program name with args.
6612 set dummy
ar; ac_word
=$2
6613 echo "$as_me:$LINENO: checking for $ac_word" >&5
6614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6615 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 if test -n "$ac_ct_AR"; then
6619 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 test -z "$as_dir" && as_dir
=.
6626 for ac_exec_ext
in '' $ac_executable_extensions; do
6627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_ac_ct_AR
="ar"
6629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
6638 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6639 if test -n "$ac_ct_AR"; then
6640 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6641 echo "${ECHO_T}$ac_ct_AR" >&6
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6652 if test -n "$ac_tool_prefix"; then
6653 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6654 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6655 echo "$as_me:$LINENO: checking for $ac_word" >&5
6656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6657 if test "${ac_cv_prog_RANLIB+set}" = set; then
6658 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 if test -n "$RANLIB"; then
6661 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir
=.
6668 for ac_exec_ext
in '' $ac_executable_extensions; do
6669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 RANLIB
=$ac_cv_prog_RANLIB
6680 if test -n "$RANLIB"; then
6681 echo "$as_me:$LINENO: result: $RANLIB" >&5
6682 echo "${ECHO_T}$RANLIB" >&6
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6689 if test -z "$ac_cv_prog_RANLIB"; then
6690 ac_ct_RANLIB
=$RANLIB
6691 # Extract the first word of "ranlib", so it can be a program name with args.
6692 set dummy ranlib
; ac_word
=$2
6693 echo "$as_me:$LINENO: checking for $ac_word" >&5
6694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6695 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6696 echo $ECHO_N "(cached) $ECHO_C" >&6
6698 if test -n "$ac_ct_RANLIB"; then
6699 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir
=.
6706 for ac_exec_ext
in '' $ac_executable_extensions; do
6707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6715 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
6718 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6719 if test -n "$ac_ct_RANLIB"; then
6720 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6721 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6727 RANLIB
=$ac_ct_RANLIB
6729 RANLIB
="$ac_cv_prog_RANLIB"
6732 if test -n "$ac_tool_prefix"; then
6733 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6734 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6735 echo "$as_me:$LINENO: checking for $ac_word" >&5
6736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6737 if test "${ac_cv_prog_STRIP+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 if test -n "$STRIP"; then
6741 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6747 test -z "$as_dir" && as_dir
=.
6748 for ac_exec_ext
in '' $ac_executable_extensions; do
6749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6750 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6759 STRIP
=$ac_cv_prog_STRIP
6760 if test -n "$STRIP"; then
6761 echo "$as_me:$LINENO: result: $STRIP" >&5
6762 echo "${ECHO_T}$STRIP" >&6
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6769 if test -z "$ac_cv_prog_STRIP"; then
6771 # Extract the first word of "strip", so it can be a program name with args.
6772 set dummy strip
; ac_word
=$2
6773 echo "$as_me:$LINENO: checking for $ac_word" >&5
6774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6775 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 if test -n "$ac_ct_STRIP"; then
6779 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir
=.
6786 for ac_exec_ext
in '' $ac_executable_extensions; do
6787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ac_ct_STRIP
="strip"
6789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6795 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6798 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6799 if test -n "$ac_ct_STRIP"; then
6800 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6801 echo "${ECHO_T}$ac_ct_STRIP" >&6
6803 echo "$as_me:$LINENO: result: no" >&5
6804 echo "${ECHO_T}no" >&6
6809 STRIP
="$ac_cv_prog_STRIP"
6814 old_CFLAGS
="$CFLAGS"
6816 # Set sane defaults for various variables
6817 test -z "$AR" && AR
=ar
6818 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6819 test -z "$AS" && AS
=as
6820 test -z "$CC" && CC
=cc
6821 test -z "$LTCC" && LTCC
=$CC
6822 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6823 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6824 test -z "$LD" && LD
=ld
6825 test -z "$LN_S" && LN_S
="ln -s"
6826 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6827 test -z "$NM" && NM
=nm
6828 test -z "$SED" && SED
=sed
6829 test -z "$OBJDUMP" && OBJDUMP
=objdump
6830 test -z "$RANLIB" && RANLIB
=:
6831 test -z "$STRIP" && STRIP
=:
6832 test -z "$ac_objext" && ac_objext
=o
6834 # Determine commands to create old-style static archives.
6835 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6836 old_postinstall_cmds
='chmod 644 $oldlib'
6837 old_postuninstall_cmds
=
6839 if test -n "$RANLIB"; then
6842 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6845 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6848 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6851 for cc_temp
in $compiler""; do
6853 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6854 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6859 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6862 # Only perform the check for file, if the check method requires it
6863 case $deplibs_check_method in
6865 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6866 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6867 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6868 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6869 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6876 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6877 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6878 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6879 for ac_dir
in $ac_dummy; do
6881 test -z "$ac_dir" && ac_dir
=.
6882 if test -f $ac_dir/${ac_tool_prefix}file; then
6883 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6884 if test -n "$file_magic_test_file"; then
6885 case $deplibs_check_method in
6887 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6888 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6889 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6890 $EGREP "$file_magic_regex" > /dev
/null
; then
6895 *** Warning: the command libtool uses to detect shared libraries,
6896 *** $file_magic_cmd, produces output that libtool cannot recognize.
6897 *** The result is that libtool may fail to recognize shared libraries
6898 *** as such. This will affect the creation of libtool libraries that
6899 *** depend on shared libraries, but programs linked with such libtool
6900 *** libraries will work regardless of this problem. Nevertheless, you
6901 *** may want to report the problem to your system manager and/or to
6902 *** bug-libtool@gnu.org
6912 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6917 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6918 if test -n "$MAGIC_CMD"; then
6919 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6920 echo "${ECHO_T}$MAGIC_CMD" >&6
6922 echo "$as_me:$LINENO: result: no" >&5
6923 echo "${ECHO_T}no" >&6
6926 if test -z "$lt_cv_path_MAGIC_CMD"; then
6927 if test -n "$ac_tool_prefix"; then
6928 echo "$as_me:$LINENO: checking for file" >&5
6929 echo $ECHO_N "checking for file... $ECHO_C" >&6
6930 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6938 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6939 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6940 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6941 for ac_dir
in $ac_dummy; do
6943 test -z "$ac_dir" && ac_dir
=.
6944 if test -f $ac_dir/file; then
6945 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6946 if test -n "$file_magic_test_file"; then
6947 case $deplibs_check_method in
6949 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6950 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6951 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6952 $EGREP "$file_magic_regex" > /dev
/null
; then
6957 *** Warning: the command libtool uses to detect shared libraries,
6958 *** $file_magic_cmd, produces output that libtool cannot recognize.
6959 *** The result is that libtool may fail to recognize shared libraries
6960 *** as such. This will affect the creation of libtool libraries that
6961 *** depend on shared libraries, but programs linked with such libtool
6962 *** libraries will work regardless of this problem. Nevertheless, you
6963 *** may want to report the problem to your system manager and/or to
6964 *** bug-libtool@gnu.org
6974 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6979 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6980 if test -n "$MAGIC_CMD"; then
6981 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6982 echo "${ECHO_T}$MAGIC_CMD" >&6
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
7000 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7001 if test "${enable_libtool_lock+set}" = set; then
7002 enableval
="$enable_libtool_lock"
7005 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7008 # Check whether --with-pic or --without-pic was given.
7009 if test "${with_pic+set}" = set; then
7015 test -z "$pic_mode" && pic_mode
=default
7017 # Use C for the default configuration in the libtool script
7021 ac_cpp
='$CPP $CPPFLAGS'
7022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7027 # Source file extension for C test sources.
7030 # Object file extension for compiled C test sources.
7034 # Code to be used in simple compile tests
7035 lt_simple_compile_test_code
="int some_variable = 0;"
7037 # Code to be used in simple link tests
7038 lt_simple_link_test_code
='int main(){return(0);}'
7041 # If no C compiler was specified, use CC.
7044 # If no C compiler flags were specified, use CFLAGS.
7045 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7047 # Allow CC to be a program name with arguments.
7051 # save warnings/boilerplate of simple test code
7052 ac_outfile
=conftest.
$ac_objext
7053 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7054 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7055 _lt_compiler_boilerplate
=`cat conftest.err`
7058 ac_outfile
=conftest.
$ac_objext
7059 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7060 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7061 _lt_linker_boilerplate
=`cat conftest.err`
7066 ## There is no encapsulation within the following macros, do not change
7067 ## the running order or otherwise move them around unless you know exactly
7068 ## what you are doing...
7070 lt_prog_compiler_no_builtin_flag
=
7072 if test "$GCC" = yes; then
7073 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7076 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7077 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7078 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 lt_cv_prog_compiler_rtti_exceptions
=no
7082 ac_outfile
=conftest.
$ac_objext
7083 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7084 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7085 # Insert the option either (1) after the last *FLAGS variable, or
7086 # (2) before a word containing "conftest.", or (3) at the end.
7087 # Note that $ac_compile itself does not contain backslashes and begins
7088 # with a dollar sign (not a hyphen), so the echo should work correctly.
7089 # The option is referenced via a variable to avoid confusing sed.
7090 lt_compile
=`echo "$ac_compile" | $SED \
7091 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7093 -e 's:$: $lt_compiler_flag:'`
7094 (eval echo "\"\$as_me:7094: $lt_compile\"" >&5)
7095 (eval "$lt_compile" 2>conftest.err
)
7097 cat conftest.err
>&5
7098 echo "$as_me:7098: \$? = $ac_status" >&5
7099 if (exit $ac_status) && test -s "$ac_outfile"; then
7100 # The compiler can only warn and ignore the option if not recognized
7101 # So say no if there are warnings other than the usual output.
7102 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7103 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7104 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7105 lt_cv_prog_compiler_rtti_exceptions
=yes
7111 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7112 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7114 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7115 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7122 lt_prog_compiler_wl
=
7123 lt_prog_compiler_pic
=
7124 lt_prog_compiler_static
=
7126 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7127 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7129 if test "$GCC" = yes; then
7130 lt_prog_compiler_wl
='-Wl,'
7131 lt_prog_compiler_static
='-static'
7135 # All AIX code is PIC.
7136 if test "$host_cpu" = ia64
; then
7137 # AIX 5 now supports IA64 processor
7138 lt_prog_compiler_static
='-Bstatic'
7143 # FIXME: we need at least 68020 code to build shared libraries, but
7144 # adding the `-m68020' flag to GCC prevents building anything better,
7146 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7149 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7150 # PIC is the default for these OSes.
7153 mingw
* | cygwin
* | pw32
* | os2
*)
7154 # This hack is so that the source file can tell whether it is being
7155 # built for inclusion in a dll (and should export symbols for example).
7156 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7157 # (--disable-auto-import) libraries
7158 lt_prog_compiler_pic
='-DDLL_EXPORT'
7161 darwin
* | rhapsody
*)
7162 # PIC is the default on this platform
7163 # Common symbols not allowed in MH_DYLIB files
7164 lt_prog_compiler_pic
='-fno-common'
7168 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7169 # Instead, we relocate shared libraries at runtime.
7173 # Just because we use GCC doesn't mean we suddenly get shared libraries
7174 # on systems that don't support them.
7175 lt_prog_compiler_can_build_shared
=no
7180 if test -d /usr
/nec
; then
7181 lt_prog_compiler_pic
=-Kconform_pic
7186 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7193 lt_prog_compiler_pic
='-fPIC'
7199 lt_prog_compiler_pic
='-fPIC'
7203 # PORTME Check for flag to pass linker flags through the system compiler.
7206 lt_prog_compiler_wl
='-Wl,'
7207 if test "$host_cpu" = ia64
; then
7208 # AIX 5 now supports IA64 processor
7209 lt_prog_compiler_static
='-Bstatic'
7211 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7215 # PIC is the default on this platform
7216 # Common symbols not allowed in MH_DYLIB files
7217 case $cc_basename in
7219 lt_prog_compiler_pic
='-qnocommon'
7220 lt_prog_compiler_wl
='-Wl,'
7225 mingw
* | cygwin
* | pw32
* | os2
*)
7226 # This hack is so that the source file can tell whether it is being
7227 # built for inclusion in a dll (and should export symbols for example).
7228 lt_prog_compiler_pic
='-DDLL_EXPORT'
7231 hpux9
* | hpux10
* | hpux11
*)
7232 lt_prog_compiler_wl
='-Wl,'
7233 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 lt_prog_compiler_pic
='+Z'
7243 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7244 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7247 irix5
* | irix6
* | nonstopux
*)
7248 lt_prog_compiler_wl
='-Wl,'
7249 # PIC (with -KPIC) is the default.
7250 lt_prog_compiler_static
='-non_shared'
7254 lt_prog_compiler_pic
='-KPIC'
7255 lt_prog_compiler_static
='-Bstatic'
7258 linux
* | k
*bsd
*-gnu)
7259 case $cc_basename in
7261 lt_prog_compiler_wl
='-Wl,'
7262 lt_prog_compiler_pic
='-KPIC'
7263 lt_prog_compiler_static
='-static'
7265 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7266 # Portland Group compilers (*not* the Pentium gcc compiler,
7267 # which looks to be a dead project)
7268 lt_prog_compiler_wl
='-Wl,'
7269 lt_prog_compiler_pic
='-fpic'
7270 lt_prog_compiler_static
='-Bstatic'
7273 lt_prog_compiler_wl
='-Wl,'
7274 # All Alpha code is PIC.
7275 lt_prog_compiler_static
='-non_shared'
7278 case `$CC -V 2>&1 | sed 5q` in
7281 lt_prog_compiler_pic
='-KPIC'
7282 lt_prog_compiler_static
='-Bstatic'
7283 lt_prog_compiler_wl
='-Wl,'
7286 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7287 lt_prog_compiler_pic
='-KPIC'
7288 lt_prog_compiler_static
='-Bstatic'
7289 lt_prog_compiler_wl
=''
7296 osf3
* | osf4
* | osf5
*)
7297 lt_prog_compiler_wl
='-Wl,'
7298 # All OSF/1 code is PIC.
7299 lt_prog_compiler_static
='-non_shared'
7303 lt_prog_compiler_static
='-non_shared'
7307 lt_prog_compiler_pic
='-KPIC'
7308 lt_prog_compiler_static
='-Bstatic'
7309 case $cc_basename in
7311 lt_prog_compiler_wl
='-Qoption ld ';;
7313 lt_prog_compiler_wl
='-Wl,';;
7318 lt_prog_compiler_wl
='-Qoption ld '
7319 lt_prog_compiler_pic
='-PIC'
7320 lt_prog_compiler_static
='-Bstatic'
7323 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7324 lt_prog_compiler_wl
='-Wl,'
7325 lt_prog_compiler_pic
='-KPIC'
7326 lt_prog_compiler_static
='-Bstatic'
7330 if test -d /usr
/nec
;then
7331 lt_prog_compiler_pic
='-Kconform_pic'
7332 lt_prog_compiler_static
='-Bstatic'
7336 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7337 lt_prog_compiler_wl
='-Wl,'
7338 lt_prog_compiler_pic
='-KPIC'
7339 lt_prog_compiler_static
='-Bstatic'
7343 lt_prog_compiler_wl
='-Wl,'
7344 lt_prog_compiler_can_build_shared
=no
7348 lt_prog_compiler_pic
='-pic'
7349 lt_prog_compiler_static
='-Bstatic'
7353 lt_prog_compiler_can_build_shared
=no
7358 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7359 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7362 # Check to make sure the PIC flag actually works.
7364 if test -n "$lt_prog_compiler_pic"; then
7366 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7367 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7368 if test "${lt_prog_compiler_pic_works+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7371 lt_prog_compiler_pic_works
=no
7372 ac_outfile
=conftest.
$ac_objext
7373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7374 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7375 # Insert the option either (1) after the last *FLAGS variable, or
7376 # (2) before a word containing "conftest.", or (3) at the end.
7377 # Note that $ac_compile itself does not contain backslashes and begins
7378 # with a dollar sign (not a hyphen), so the echo should work correctly.
7379 # The option is referenced via a variable to avoid confusing sed.
7380 lt_compile
=`echo "$ac_compile" | $SED \
7381 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7382 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7383 -e 's:$: $lt_compiler_flag:'`
7384 (eval echo "\"\$as_me:7384: $lt_compile\"" >&5)
7385 (eval "$lt_compile" 2>conftest.err
)
7387 cat conftest.err
>&5
7388 echo "$as_me:7388: \$? = $ac_status" >&5
7389 if (exit $ac_status) && test -s "$ac_outfile"; then
7390 # The compiler can only warn and ignore the option if not recognized
7391 # So say no if there are warnings other than the usual output.
7392 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7393 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7394 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7395 lt_prog_compiler_pic_works
=yes
7401 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7402 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7404 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7405 case $lt_prog_compiler_pic in
7407 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7410 lt_prog_compiler_pic
=
7411 lt_prog_compiler_can_build_shared
=no
7416 # For platforms which do not support PIC, -DPIC is meaningless:
7418 lt_prog_compiler_pic
=
7421 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7426 # Check to make sure the static flag actually works.
7428 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7429 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7430 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7431 if test "${lt_prog_compiler_static_works+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 lt_prog_compiler_static_works
=no
7435 save_LDFLAGS
="$LDFLAGS"
7436 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7437 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7438 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7439 # The linker can only warn and ignore the option if not recognized
7440 # So say no if there are warnings
7441 if test -s conftest.err
; then
7442 # Append any errors to the config.log.
7443 cat conftest.err
1>&5
7444 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7445 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7446 if diff conftest.exp conftest.er2
>/dev
/null
; then
7447 lt_prog_compiler_static_works
=yes
7450 lt_prog_compiler_static_works
=yes
7454 LDFLAGS
="$save_LDFLAGS"
7457 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7458 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7460 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7463 lt_prog_compiler_static
=
7467 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7468 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7469 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 lt_cv_prog_compiler_c_o
=no
7473 $rm -r conftest
2>/dev
/null
7477 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7479 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7480 # Insert the option either (1) after the last *FLAGS variable, or
7481 # (2) before a word containing "conftest.", or (3) at the end.
7482 # Note that $ac_compile itself does not contain backslashes and begins
7483 # with a dollar sign (not a hyphen), so the echo should work correctly.
7484 lt_compile
=`echo "$ac_compile" | $SED \
7485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7487 -e 's:$: $lt_compiler_flag:'`
7488 (eval echo "\"\$as_me:7488: $lt_compile\"" >&5)
7489 (eval "$lt_compile" 2>out
/conftest.err
)
7491 cat out
/conftest.err
>&5
7492 echo "$as_me:7492: \$? = $ac_status" >&5
7493 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7495 # The compiler can only warn and ignore the option if not recognized
7496 # So say no if there are warnings
7497 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7498 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7499 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7500 lt_cv_prog_compiler_c_o
=yes
7505 # SGI C++ compiler will create directory out/ii_files/ for
7506 # template instantiation
7507 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7508 $rm out
/* && rmdir out
7514 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7515 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7518 hard_links
="nottested"
7519 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7520 # do not overwrite the value of need_locks provided by the user
7521 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7522 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7525 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7527 ln conftest.a conftest.b
2>&5 || hard_links
=no
7528 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7529 echo "$as_me:$LINENO: result: $hard_links" >&5
7530 echo "${ECHO_T}$hard_links" >&6
7531 if test "$hard_links" = no
; then
7532 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7533 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7540 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7541 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7544 allow_undefined_flag
=
7545 enable_shared_with_static_runtimes
=no
7547 archive_expsym_cmds
=
7548 old_archive_From_new_cmds
=
7549 old_archive_from_expsyms_cmds
=
7550 export_dynamic_flag_spec
=
7551 whole_archive_flag_spec
=
7552 thread_safe_flag_spec
=
7553 hardcode_libdir_flag_spec
=
7554 hardcode_libdir_flag_spec_ld
=
7555 hardcode_libdir_separator
=
7558 hardcode_shlibpath_var
=unsupported
7559 link_all_deplibs
=unknown
7560 hardcode_automatic
=no
7563 always_export_symbols
=no
7564 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7565 # include_expsyms should be a list of space-separated symbols to be *always*
7566 # included in the symbol list
7568 # exclude_expsyms can be an extended regexp of symbols to exclude
7569 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7570 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7571 # as well as any symbol that contains `d'.
7572 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7573 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7574 # platforms (ab)use it in PIC code, but their linkers get confused if
7575 # the symbol is explicitly referenced. Since portable code cannot
7576 # rely on this symbol name, it's probably fine to never include it in
7577 # preloaded symbol tables.
7578 extract_expsyms_cmds
=
7579 # Just being paranoid about ensuring that cc_basename is set.
7580 for cc_temp
in $compiler""; do
7582 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7583 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7588 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7591 cygwin
* | mingw
* | pw32
*)
7592 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7593 # When not using gcc, we currently assume that we are using
7594 # Microsoft Visual C++.
7595 if test "$GCC" != yes; then
7600 # we just hope/assume this is gcc and not c89 (= MSVC++)
7609 if test "$with_gnu_ld" = yes; then
7610 # If archive_cmds runs LD, not CC, wlarc should be empty
7613 # Set some defaults for GNU ld with shared library support. These
7614 # are reset later if shared libraries are not supported. Putting them
7615 # here allows them to be overridden if necessary.
7616 runpath_var
=LD_RUN_PATH
7617 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7618 export_dynamic_flag_spec
='${wl}--export-dynamic'
7619 # ancient GNU ld didn't support --whole-archive et. al.
7620 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7621 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7623 whole_archive_flag_spec
=
7625 supports_anon_versioning
=no
7626 case `$LD -v 2>/dev/null` in
7627 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7628 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7629 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7630 *\
2.11.
*) ;; # other 2.11 versions
7631 *) supports_anon_versioning
=yes ;;
7634 # See if GNU ld supports shared libraries.
7636 aix3
* | aix4
* | aix5
*)
7637 # On AIX/PPC, the GNU linker is very broken
7638 if test "$host_cpu" != ia64
; then
7642 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7643 *** to be unable to reliably create shared libraries on AIX.
7644 *** Therefore, libtool is disabling shared libraries support. If you
7645 *** really care for shared libraries, you may want to modify your PATH
7646 *** so that a non-GNU linker is found, and then restart.
7653 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7654 hardcode_libdir_flag_spec
='-L$libdir'
7655 hardcode_minus_L
=yes
7657 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7658 # that the semantics of dynamic libraries on AmigaOS, at least up
7659 # to version 4, is to share data among multiple programs linked
7660 # with the same dynamic library. Since this doesn't match the
7661 # behavior of shared libraries on other platforms, we can't use
7667 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7668 allow_undefined_flag
=unsupported
7669 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7670 # support --undefined. This deserves some investigation. FIXME
7671 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7677 cygwin
* | mingw
* | pw32
*)
7678 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7679 # as there is no search path for DLLs.
7680 hardcode_libdir_flag_spec
='-L$libdir'
7681 allow_undefined_flag
=unsupported
7682 always_export_symbols
=no
7683 enable_shared_with_static_runtimes
=yes
7684 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7686 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7687 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7688 # If the export-symbols file already is a .def file (1st line
7689 # is EXPORTS), use it as is; otherwise, prepend...
7690 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7691 cp $export_symbols $output_objdir/$soname.def;
7693 echo EXPORTS > $output_objdir/$soname.def;
7694 cat $export_symbols >> $output_objdir/$soname.def;
7696 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7704 hardcode_shlibpath_var
=no
7705 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7706 export_dynamic_flag_spec
='${wl}-E'
7707 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7708 # Instead, shared libraries are loaded at an image base (0x10000000 by
7709 # default) and relocated if they conflict, which is a slow very memory
7710 # consuming and fragmenting process. To avoid this, we pick a random,
7711 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7712 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7713 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7714 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7717 gnu
* | linux
* | k
*bsd
*-gnu)
7718 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7720 case $cc_basename,$host_cpu in
7721 pgcc
*) # Portland Group C compiler
7722 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7723 tmp_addflag
=' $pic_flag'
7725 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7726 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7727 tmp_addflag
=' $pic_flag -Mnomain' ;;
7728 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7729 tmp_addflag
=' -i_dynamic' ;;
7730 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7731 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7732 ifc
* | ifort
*) # Intel Fortran compiler
7733 tmp_addflag
=' -nofor_main' ;;
7735 case `$CC -V 2>&1 | sed 5q` in
7736 *Sun\ C
*) # Sun C 5.9
7737 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
7738 tmp_sharedflag
='-G' ;;
7739 *Sun\ F
*) # Sun Fortran 8.3
7740 tmp_sharedflag
='-G' ;;
7742 tmp_sharedflag
='-shared' ;;
7744 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7746 if test $supports_anon_versioning = yes; then
7747 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7749 $echo "local: *; };" >> $output_objdir/$libname.ver~
7750 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7758 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7759 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7762 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7763 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7768 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7772 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7773 *** create shared libraries on Solaris systems. Therefore, libtool
7774 *** is disabling shared libraries support. We urge you to upgrade GNU
7775 *** binutils to release 2.9.1 or newer. Another option is to modify
7776 *** your PATH or compiler configuration so that the native linker is
7777 *** used, and then restart.
7780 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7781 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7782 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7788 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7789 case `$LD -v 2>&1` in
7790 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7794 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7795 *** reliably create shared libraries on SCO systems. Therefore, libtool
7796 *** is disabling shared libraries support. We urge you to upgrade GNU
7797 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7798 *** your PATH or compiler configuration so that the native linker is
7799 *** used, and then restart.
7804 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7805 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7806 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7807 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7816 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7819 hardcode_shlibpath_var
=no
7823 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7824 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7825 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7832 if test "$ld_shlibs" = no
; then
7834 hardcode_libdir_flag_spec
=
7835 export_dynamic_flag_spec
=
7836 whole_archive_flag_spec
=
7839 # PORTME fill in a description of your system's linker (not GNU ld)
7842 allow_undefined_flag
=unsupported
7843 always_export_symbols
=yes
7844 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7845 # Note: this linker hardcodes the directories in LIBPATH if there
7846 # are no directories specified by -L.
7847 hardcode_minus_L
=yes
7848 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7849 # Neither direct hardcoding nor static linking is supported with a
7851 hardcode_direct
=unsupported
7856 if test "$host_cpu" = ia64
; then
7857 # On IA64, the linker does run time linking by default, so we don't
7858 # have to do anything special.
7859 aix_use_runtimelinking
=no
7860 exp_sym_flag
='-Bexport'
7863 # If we're using GNU nm, then we don't want the "-C" option.
7864 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7865 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7866 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7868 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
7870 aix_use_runtimelinking
=no
7872 # Test if we are trying to use run time linking or normal
7873 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7874 # need to do runtime linking.
7875 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7876 for ld_flag
in $LDFLAGS; do
7877 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7878 aix_use_runtimelinking
=yes
7885 exp_sym_flag
='-bexport'
7886 no_entry_flag
='-bnoentry'
7889 # When large executables or shared objects are built, AIX ld can
7890 # have problems creating the table of contents. If linking a library
7891 # or program results in "error TOC overflow" add -mminimal-toc to
7892 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7893 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7897 hardcode_libdir_separator
=':'
7898 link_all_deplibs
=yes
7900 if test "$GCC" = yes; then
7901 case $host_os in aix4.
[012]|aix4.
[012].
*)
7902 # We only want to do this on AIX 4.2 and lower, the check
7903 # below for broken collect2 doesn't work under 4.3+
7904 collect2name
=`${CC} -print-prog-name=collect2`
7905 if test -f "$collect2name" && \
7906 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7908 # We have reworked collect2
7911 # We have old collect2
7912 hardcode_direct
=unsupported
7913 # It fails to find uninstalled libraries when the uninstalled
7914 # path is not listed in the libpath. Setting hardcode_minus_L
7915 # to unsupported forces relinking
7916 hardcode_minus_L
=yes
7917 hardcode_libdir_flag_spec
='-L$libdir'
7918 hardcode_libdir_separator
=
7922 shared_flag
='-shared'
7923 if test "$aix_use_runtimelinking" = yes; then
7924 shared_flag
="$shared_flag "'${wl}-G'
7928 if test "$host_cpu" = ia64
; then
7929 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7930 # chokes on -Wl,-G. The following line is correct:
7933 if test "$aix_use_runtimelinking" = yes; then
7934 shared_flag
='${wl}-G'
7936 shared_flag
='${wl}-bM:SRE'
7941 # It seems that -bexpall does not export symbols beginning with
7942 # underscore (_), so it is better to generate a list of symbols to export.
7943 always_export_symbols
=yes
7944 if test "$aix_use_runtimelinking" = yes; then
7945 # Warning - without using the other runtime loading flags (-brtl),
7946 # -berok will link without error, but may produce a broken library.
7947 allow_undefined_flag
='-berok'
7948 # Determine the default libpath from the value encoded in an empty executable.
7949 cat >conftest.
$ac_ext <<_ACEOF
7952 cat confdefs.h
>>conftest.
$ac_ext
7953 cat >>conftest.
$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7964 rm -f conftest.
$ac_objext conftest
$ac_exeext
7965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7966 (eval $ac_link) 2>conftest.er1
7968 grep -v '^ *+' conftest.er1
>conftest.err
7970 cat conftest.err
>&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); } &&
7973 { ac_try
='test -z "$ac_c_werror_flag"
7974 || test ! -s conftest.err'
7975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979 (exit $ac_status); }; } &&
7980 { ac_try
='test -s conftest$ac_exeext'
7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); }; }; then
7987 lt_aix_libpath_sed
='
7988 /Import File Strings/,/^$/ {
7994 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7995 # Check for a 64-bit object if we didn't find anything.
7996 if test -z "$aix_libpath"; then
7997 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8000 echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.
$ac_ext >&5
8004 rm -f conftest.err conftest.
$ac_objext \
8005 conftest
$ac_exeext conftest.
$ac_ext
8006 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8008 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8009 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8011 if test "$host_cpu" = ia64
; then
8012 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8013 allow_undefined_flag
="-z nodefs"
8014 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8016 # Determine the default libpath from the value encoded in an empty executable.
8017 cat >conftest.
$ac_ext <<_ACEOF
8020 cat confdefs.h
>>conftest.
$ac_ext
8021 cat >>conftest.
$ac_ext <<_ACEOF
8022 /* end confdefs.h. */
8032 rm -f conftest.
$ac_objext conftest
$ac_exeext
8033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8034 (eval $ac_link) 2>conftest.er1
8036 grep -v '^ *+' conftest.er1
>conftest.err
8038 cat conftest.err
>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try
='test -z "$ac_c_werror_flag"
8042 || test ! -s conftest.err'
8043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); }; } &&
8048 { ac_try
='test -s conftest$ac_exeext'
8049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); }; }; then
8055 lt_aix_libpath_sed
='
8056 /Import File Strings/,/^$/ {
8062 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8063 # Check for a 64-bit object if we didn't find anything.
8064 if test -z "$aix_libpath"; then
8065 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.
$ac_ext >&5
8072 rm -f conftest.err conftest.
$ac_objext \
8073 conftest
$ac_exeext conftest.
$ac_ext
8074 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8076 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8077 # Warning - without using the other run time loading flags,
8078 # -berok will link without error, but may produce a broken library.
8079 no_undefined_flag
=' ${wl}-bernotok'
8080 allow_undefined_flag
=' ${wl}-berok'
8081 # Exported symbols can be pulled into shared objects from archives
8082 whole_archive_flag_spec
='$convenience'
8083 archive_cmds_need_lc
=yes
8084 # This is similar to how AIX traditionally builds its shared libraries.
8085 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8091 archive_cmds
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8092 hardcode_libdir_flag_spec
='-L$libdir'
8093 hardcode_minus_L
=yes
8094 # see comment about different semantics on the GNU ld section
8099 export_dynamic_flag_spec
=-rdynamic
8102 cygwin
* | mingw
* | pw32
*)
8103 # When not using gcc, we currently assume that we are using
8104 # Microsoft Visual C++.
8105 # hardcode_libdir_flag_spec is actually meaningless, as there is
8106 # no search path for DLLs.
8107 hardcode_libdir_flag_spec
=' '
8108 allow_undefined_flag
=unsupported
8109 # Tell ltmain to make .lib files, not .a files.
8111 # Tell ltmain to make .dll files, not .so files.
8113 # FIXME: Setting linknames here is a bad hack.
8114 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8115 # The linker will automatically build a .lib file if we build a DLL.
8116 old_archive_From_new_cmds
='true'
8117 # FIXME: Should let the user specify the lib program.
8118 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8119 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8120 enable_shared_with_static_runtimes
=yes
8123 darwin
* | rhapsody
*)
8125 rhapsody
* | darwin1.
[012])
8126 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8129 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8130 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8132 case ${MACOSX_DEPLOYMENT_TARGET} in
8134 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8137 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8143 archive_cmds_need_lc
=no
8145 hardcode_automatic
=yes
8146 hardcode_shlibpath_var
=unsupported
8147 whole_archive_flag_spec
=''
8148 link_all_deplibs
=yes
8149 if test "$GCC" = yes ; then
8150 output_verbose_link_cmd
='echo'
8151 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8152 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8153 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8154 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8155 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8157 case $cc_basename in
8159 output_verbose_link_cmd
='echo'
8160 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8161 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8162 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8163 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8164 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8174 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8175 hardcode_libdir_flag_spec
='-L$libdir'
8176 hardcode_shlibpath_var
=no
8183 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8184 # support. Future versions do this automatically, but an explicit c++rt0.o
8185 # does not break anything, and helps significantly (at the cost of a little
8188 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8189 hardcode_libdir_flag_spec
='-R$libdir'
8191 hardcode_shlibpath_var
=no
8194 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8196 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8198 hardcode_minus_L
=yes
8199 hardcode_shlibpath_var
=no
8202 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8203 freebsd
* | dragonfly
*)
8204 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8205 hardcode_libdir_flag_spec
='-R$libdir'
8207 hardcode_shlibpath_var
=no
8211 if test "$GCC" = yes; then
8212 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8214 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8216 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8217 hardcode_libdir_separator
=:
8220 # hardcode_minus_L: Not really in the search PATH,
8221 # but as the default location of the library.
8222 hardcode_minus_L
=yes
8223 export_dynamic_flag_spec
='${wl}-E'
8227 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8228 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8230 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8232 if test "$with_gnu_ld" = no
; then
8233 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8234 hardcode_libdir_separator
=:
8237 export_dynamic_flag_spec
='${wl}-E'
8239 # hardcode_minus_L: Not really in the search PATH,
8240 # but as the default location of the library.
8241 hardcode_minus_L
=yes
8246 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8249 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8255 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8261 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8264 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8267 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8271 if test "$with_gnu_ld" = no
; then
8272 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8273 hardcode_libdir_separator
=:
8277 hardcode_libdir_flag_spec_ld
='+b $libdir'
8279 hardcode_shlibpath_var
=no
8283 export_dynamic_flag_spec
='${wl}-E'
8285 # hardcode_minus_L: Not really in the search PATH,
8286 # but as the default location of the library.
8287 hardcode_minus_L
=yes
8293 irix5
* | irix6
* | nonstopux
*)
8294 if test "$GCC" = yes; then
8295 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8297 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8298 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8300 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8301 hardcode_libdir_separator
=:
8302 link_all_deplibs
=yes
8306 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8307 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8309 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8311 hardcode_libdir_flag_spec
='-R$libdir'
8313 hardcode_shlibpath_var
=no
8317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8319 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8320 hardcode_libdir_separator
=:
8321 hardcode_shlibpath_var
=no
8325 if test -f /usr
/libexec
/ld.so
; then
8327 hardcode_shlibpath_var
=no
8328 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8329 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8330 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8331 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8332 export_dynamic_flag_spec
='${wl}-E'
8335 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8336 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8337 hardcode_libdir_flag_spec
='-R$libdir'
8340 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8341 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8351 hardcode_libdir_flag_spec
='-L$libdir'
8352 hardcode_minus_L
=yes
8353 allow_undefined_flag
=unsupported
8354 archive_cmds
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8355 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8359 if test "$GCC" = yes; then
8360 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8361 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8363 allow_undefined_flag
=' -expect_unresolved \*'
8364 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8366 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8367 hardcode_libdir_separator
=:
8370 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8371 if test "$GCC" = yes; then
8372 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8373 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8374 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8376 allow_undefined_flag
=' -expect_unresolved \*'
8377 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8378 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8379 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8381 # Both c and cxx compiler support -rpath directly
8382 hardcode_libdir_flag_spec
='-rpath $libdir'
8384 hardcode_libdir_separator
=:
8388 no_undefined_flag
=' -z text'
8389 if test "$GCC" = yes; then
8391 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8392 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8393 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8396 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8397 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8398 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8400 hardcode_libdir_flag_spec
='-R$libdir'
8401 hardcode_shlibpath_var
=no
8403 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8405 # The compiler driver will combine and reorder linker options,
8406 # but understands `-z linker_flag'. GCC discards it without `$wl',
8407 # but is careful enough not to reorder.
8408 # Supported since Solaris 2.6 (maybe 2.5.1?)
8409 if test "$GCC" = yes; then
8410 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8412 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8416 link_all_deplibs
=yes
8420 if test "x$host_vendor" = xsequent
; then
8421 # Use $CC to link under sequent, because it throws in some extra .o
8422 # files that make .init and .fini sections work.
8423 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8425 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8427 hardcode_libdir_flag_spec
='-L$libdir'
8429 hardcode_minus_L
=yes
8430 hardcode_shlibpath_var
=no
8434 case $host_vendor in
8436 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8437 hardcode_direct
=yes # is this really true???
8440 ## LD is ld it makes a PLAMLIB
8441 ## CC just makes a GrossModule.
8442 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8443 reload_cmds
='$CC -r -o $output$reload_objs'
8447 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8448 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8451 runpath_var
='LD_RUN_PATH'
8452 hardcode_shlibpath_var
=no
8456 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8457 hardcode_shlibpath_var
=no
8458 export_dynamic_flag_spec
='-Bexport'
8462 if test -d /usr
/nec
; then
8463 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8464 hardcode_shlibpath_var
=no
8465 runpath_var
=LD_RUN_PATH
8466 hardcode_runpath_var
=yes
8471 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8472 no_undefined_flag
='${wl}-z,text'
8473 archive_cmds_need_lc
=no
8474 hardcode_shlibpath_var
=no
8475 runpath_var
='LD_RUN_PATH'
8477 if test "$GCC" = yes; then
8478 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8481 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8482 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8486 sysv5
* | sco3.2v5
* | sco5v6
*)
8487 # Note: We can NOT use -z defs as we might desire, because we do not
8488 # link with -lc, and that would cause any symbols used from libc to
8489 # always be unresolved, which means just about no library would
8490 # ever link correctly. If we're not using GNU ld we use -z text
8491 # though, which does catch some bad symbols but isn't as heavy-handed
8493 no_undefined_flag
='${wl}-z,text'
8494 allow_undefined_flag
='${wl}-z,nodefs'
8495 archive_cmds_need_lc
=no
8496 hardcode_shlibpath_var
=no
8497 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8498 hardcode_libdir_separator
=':'
8499 link_all_deplibs
=yes
8500 export_dynamic_flag_spec
='${wl}-Bexport'
8501 runpath_var
='LD_RUN_PATH'
8503 if test "$GCC" = yes; then
8504 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8505 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8507 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8508 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8514 hardcode_libdir_flag_spec
='-L$libdir'
8515 hardcode_shlibpath_var
=no
8524 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8525 echo "${ECHO_T}$ld_shlibs" >&6
8526 test "$ld_shlibs" = no
&& can_build_shared
=no
8529 # Do we need to explicitly link libc?
8531 case "x$archive_cmds_need_lc" in
8533 # Assume -lc should be added
8534 archive_cmds_need_lc
=yes
8536 if test "$enable_shared" = yes && test "$GCC" = yes; then
8537 case $archive_cmds in
8539 # FIXME: we may have to deal with multi-command sequences.
8542 # Test whether the compiler implicitly links with -lc since on some
8543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8544 # to ld, don't add -lc before -lgcc.
8545 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8546 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8551 (eval $ac_compile) 2>&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } 2>conftest.err
; then
8557 libobjs
=conftest.
$ac_objext
8559 wl
=$lt_prog_compiler_wl
8560 pic_flag
=$lt_prog_compiler_pic
8566 lt_save_allow_undefined_flag
=$allow_undefined_flag
8567 allow_undefined_flag
=
8568 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8569 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }
8574 archive_cmds_need_lc
=no
8576 archive_cmds_need_lc
=yes
8578 allow_undefined_flag
=$lt_save_allow_undefined_flag
8580 cat conftest.err
1>&5
8583 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8584 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8591 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8592 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8594 libname_spec
='lib$name'
8602 shlibpath_overrides_runpath
=unknown
8604 dynamic_linker
="$host_os ld.so"
8605 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8607 if test "$GCC" = yes; then
8609 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8610 *) lt_awk_arg
="/^libraries:/" ;;
8612 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8613 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8614 # if the path contains ";" then we assume it to be the separator
8615 # otherwise default to the standard path separator (i.e. ":") - it is
8616 # assumed that no part of a normal pathname contains ";" but that should
8617 # okay in the real world where ";" in dirpaths is itself problematic.
8618 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8620 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8622 # Ok, now we have the path, separated by spaces, we can step through it
8623 # and add multilib dir if necessary.
8624 lt_tmp_lt_search_path_spec
=
8625 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8626 for lt_sys_path
in $lt_search_path_spec; do
8627 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8628 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8630 test -d "$lt_sys_path" && \
8631 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8634 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8635 BEGIN {RS=" "; FS="/|\n";} {
8638 for (lt_i = NF; lt_i > 0; lt_i--) {
8639 if ($lt_i != "" && $lt_i != ".") {
8640 if ($lt_i == "..") {
8643 if (lt_count == 0) {
8644 lt_foo="/" $lt_i lt_foo;
8651 if (lt_foo != "") { lt_freq[lt_foo]++; }
8652 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8654 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8656 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8658 need_lib_prefix
=unknown
8659 hardcode_into_libs
=no
8661 # when you set need_version to no, make sure it does not cause -set_version
8662 # flags to be left without arguments
8663 need_version
=unknown
8668 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8669 shlibpath_var
=LIBPATH
8671 # AIX 3 has no versioning support, so we append a major version to the name.
8672 soname_spec
='${libname}${release}${shared_ext}$major'
8679 hardcode_into_libs
=yes
8680 if test "$host_cpu" = ia64
; then
8681 # AIX 5 supports IA64
8682 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8683 shlibpath_var
=LD_LIBRARY_PATH
8685 # With GCC up to 2.95.x, collect2 would create an import file
8686 # for dependence libraries. The import file would start with
8687 # the line `#! .'. This would cause the generated library to
8688 # depend on `.', always an invalid library. This was fixed in
8689 # development snapshots of GCC prior to 3.0.
8691 aix4 | aix4.
[01] | aix4.
[01].
*)
8692 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8694 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8701 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8702 # soname into executable. Probably we can add versioning support to
8703 # collect2, so additional links can be useful in future.
8704 if test "$aix_use_runtimelinking" = yes; then
8705 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8706 # instead of lib<name>.a to let people know that these are not
8707 # typical AIX shared libraries.
8708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8710 # We preserve .a as extension for shared libraries through AIX4.2
8711 # and later when we are not doing run time linking.
8712 library_names_spec
='${libname}${release}.a $libname.a'
8713 soname_spec
='${libname}${release}${shared_ext}$major'
8715 shlibpath_var
=LIBPATH
8720 library_names_spec
='$libname.ixlibrary $libname.a'
8721 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8722 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8726 library_names_spec
='${libname}${shared_ext}'
8727 dynamic_linker
="$host_os ld.so"
8728 shlibpath_var
=LIBRARY_PATH
8734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8735 soname_spec
='${libname}${release}${shared_ext}$major'
8736 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8737 shlibpath_var
=LD_LIBRARY_PATH
8738 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8739 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8740 # the default ld.so.conf also contains /usr/contrib/lib and
8741 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8742 # libtool to hard-code these into programs
8745 cygwin
* | mingw
* | pw32
*)
8746 version_type
=windows
8751 case $GCC,$host_os in
8752 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8753 library_names_spec
='$libname.dll.a'
8754 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8755 postinstall_cmds
='base_file=`basename \${file}`~
8756 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8757 dldir=$destdir/`dirname \$dlpath`~
8758 test -d \$dldir || mkdir -p \$dldir~
8759 $install_prog $dir/$dlname \$dldir/$dlname~
8760 chmod a+x \$dldir/$dlname'
8761 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8762 dlpath=$dir/\$dldll~
8764 shlibpath_overrides_runpath
=yes
8768 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8769 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8770 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8773 # MinGW DLLs use traditional 'lib' prefix
8774 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8775 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8776 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8777 # It is most probably a Windows format PATH printed by
8778 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8779 # path with ; separators, and with drive letters. We can handle the
8780 # drive letters (cygwin fileutils understands them), so leave them,
8781 # especially as we might pass files found there to a mingw objdump,
8782 # which wouldn't understand a cygwinified path. Ahh.
8783 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8785 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8789 # pw32 DLLs use 'pw' prefix rather than 'lib'
8790 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8796 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8799 dynamic_linker
='Win32 ld.exe'
8800 # FIXME: first we should search . and the directory the executable is in
8804 darwin
* | rhapsody
*)
8805 dynamic_linker
="$host_os dyld"
8809 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8810 soname_spec
='${libname}${release}${major}$shared_ext'
8811 shlibpath_overrides_runpath
=yes
8812 shlibpath_var
=DYLD_LIBRARY_PATH
8813 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8815 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8816 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8824 soname_spec
='${libname}${release}${shared_ext}$major'
8825 shlibpath_var
=LD_LIBRARY_PATH
8832 freebsd
* | dragonfly
*)
8833 # DragonFly does not have aout. When/if they implement a new
8834 # versioning mechanism, adjust this.
8835 if test -x /usr
/bin
/objformat
; then
8836 objformat
=`/usr/bin/objformat`
8839 freebsd
[123]*) objformat
=aout
;;
8843 version_type
=freebsd-
$objformat
8844 case $version_type in
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8851 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8855 shlibpath_var
=LD_LIBRARY_PATH
8858 shlibpath_overrides_runpath
=yes
8860 freebsd3.
[01]* | freebsdelf3.
[01]*)
8861 shlibpath_overrides_runpath
=yes
8862 hardcode_into_libs
=yes
8864 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8865 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8866 shlibpath_overrides_runpath
=no
8867 hardcode_into_libs
=yes
8869 *) # from 4.6 on, and DragonFly
8870 shlibpath_overrides_runpath
=yes
8871 hardcode_into_libs
=yes
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 shlibpath_var
=LD_LIBRARY_PATH
8883 hardcode_into_libs
=yes
8886 hpux9
* | hpux10
* | hpux11
*)
8887 # Give a soname corresponding to the major version so that dld.sl refuses to
8888 # link against other versions.
8895 hardcode_into_libs
=yes
8896 dynamic_linker
="$host_os dld.so"
8897 shlibpath_var
=LD_LIBRARY_PATH
8898 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8900 soname_spec
='${libname}${release}${shared_ext}$major'
8901 if test "X$HPUX_IA64_MODE" = X32
; then
8902 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8904 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8906 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8910 hardcode_into_libs
=yes
8911 dynamic_linker
="$host_os dld.sl"
8912 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8913 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8915 soname_spec
='${libname}${release}${shared_ext}$major'
8916 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8917 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8921 dynamic_linker
="$host_os dld.sl"
8922 shlibpath_var
=SHLIB_PATH
8923 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8925 soname_spec
='${libname}${release}${shared_ext}$major'
8928 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8929 postinstall_cmds
='chmod 555 $lib'
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8937 soname_spec
='${libname}${release}${shared_ext}$major'
8938 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8939 shlibpath_var
=LD_LIBRARY_PATH
8940 shlibpath_overrides_runpath
=no
8941 hardcode_into_libs
=yes
8944 irix5
* | irix6
* | nonstopux
*)
8946 nonstopux
*) version_type
=nonstopux
;;
8948 if test "$lt_cv_prog_gnu_ld" = yes; then
8956 soname_spec
='${libname}${release}${shared_ext}$major'
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8959 irix5
* | nonstopux
*)
8963 case $LD in # libtool.m4 will add one of these switches to LD
8964 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8965 libsuff
= shlibsuff
= libmagic
=32-bit;;
8966 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8967 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8968 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8969 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8970 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8974 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8975 shlibpath_overrides_runpath
=no
8976 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8977 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8978 hardcode_into_libs
=yes
8981 # No shared lib support for Linux oldld, aout, or coff.
8982 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8986 # This must be Linux ELF.
8987 linux
* | k
*bsd
*-gnu)
8991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8992 soname_spec
='${libname}${release}${shared_ext}$major'
8993 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8994 shlibpath_var
=LD_LIBRARY_PATH
8995 shlibpath_overrides_runpath
=no
8996 # This implies no fast_install, which is unacceptable.
8997 # Some rework will be needed to allow for fast_install
8998 # before this can be enabled.
8999 hardcode_into_libs
=yes
9001 # Append ld.so.conf contents to the search path
9002 if test -f /etc
/ld.so.conf
; then
9003 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9004 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9007 # We used to test for /lib/ld.so.1 and disable shared libraries on
9008 # powerpc, because MkLinux only supported shared libraries with the
9009 # GNU dynamic linker. Since this was broken with cross compilers,
9010 # most powerpc-linux boxes support dynamic linking these days and
9011 # people can always --disable-shared, the test was removed, and we
9012 # assume the GNU/Linux dynamic linker is in use.
9013 dynamic_linker
='GNU/Linux ld.so'
9020 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9022 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9023 dynamic_linker
='NetBSD (a.out) ld.so'
9025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9026 soname_spec
='${libname}${release}${shared_ext}$major'
9027 dynamic_linker
='NetBSD ld.elf_so'
9029 shlibpath_var
=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath
=yes
9031 hardcode_into_libs
=yes
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9037 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=yes
9045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9046 soname_spec
='${libname}${release}${shared_ext}$major'
9047 shlibpath_var
=LD_LIBRARY_PATH
9048 shlibpath_overrides_runpath
=yes
9053 sys_lib_dlsearch_path_spec
="/usr/lib"
9055 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9057 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9058 *) need_version
=no
;;
9060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9061 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9062 shlibpath_var
=LD_LIBRARY_PATH
9063 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9065 openbsd2.
[89] | openbsd2.
[89].
*)
9066 shlibpath_overrides_runpath
=no
9069 shlibpath_overrides_runpath
=yes
9073 shlibpath_overrides_runpath
=yes
9078 libname_spec
='$name'
9081 library_names_spec
='$libname${shared_ext} $libname.a'
9082 dynamic_linker
='OS/2 ld.exe'
9083 shlibpath_var
=LIBPATH
9086 osf3
* | osf4
* | osf5
*)
9090 soname_spec
='${libname}${release}${shared_ext}$major'
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9092 shlibpath_var
=LD_LIBRARY_PATH
9093 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9094 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9106 soname_spec
='${libname}${release}${shared_ext}$major'
9107 shlibpath_var
=LD_LIBRARY_PATH
9108 shlibpath_overrides_runpath
=yes
9109 hardcode_into_libs
=yes
9110 # ldd complains unless libraries are executable
9111 postinstall_cmds
='chmod +x $lib'
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9117 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 shlibpath_overrides_runpath
=yes
9120 if test "$with_gnu_ld" = yes; then
9128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9129 soname_spec
='${libname}${release}${shared_ext}$major'
9130 shlibpath_var
=LD_LIBRARY_PATH
9131 case $host_vendor in
9133 shlibpath_overrides_runpath
=no
9135 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9136 runpath_var
=LD_RUN_PATH
9144 shlibpath_overrides_runpath
=no
9145 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9151 if test -d /usr
/nec
;then
9153 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9154 soname_spec
='$libname${shared_ext}.$major'
9155 shlibpath_var
=LD_LIBRARY_PATH
9159 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9160 version_type
=freebsd-elf
9163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9164 soname_spec
='${libname}${release}${shared_ext}$major'
9165 shlibpath_var
=LD_LIBRARY_PATH
9166 hardcode_into_libs
=yes
9167 if test "$with_gnu_ld" = yes; then
9168 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9169 shlibpath_overrides_runpath
=no
9171 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9172 shlibpath_overrides_runpath
=yes
9175 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9179 sys_lib_dlsearch_path_spec
='/usr/lib'
9184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9185 soname_spec
='${libname}${release}${shared_ext}$major'
9186 shlibpath_var
=LD_LIBRARY_PATH
9193 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9194 echo "${ECHO_T}$dynamic_linker" >&6
9195 test "$dynamic_linker" = no
&& can_build_shared
=no
9197 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9198 if test "$GCC" = yes; then
9199 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9202 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9203 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9205 if test -n "$hardcode_libdir_flag_spec" || \
9206 test -n "$runpath_var" || \
9207 test "X$hardcode_automatic" = "Xyes" ; then
9209 # We can hardcode non-existant directories.
9210 if test "$hardcode_direct" != no
&&
9211 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9212 # have to relink, otherwise we might link with an installed library
9213 # when we should be linking with a yet-to-be-installed one
9214 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9215 test "$hardcode_minus_L" != no
; then
9216 # Linking always hardcodes the temporary library directory.
9217 hardcode_action
=relink
9219 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9220 hardcode_action
=immediate
9223 # We cannot hardcode anything, or else we can only hardcode existing
9225 hardcode_action
=unsupported
9227 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9228 echo "${ECHO_T}$hardcode_action" >&6
9230 if test "$hardcode_action" = relink
; then
9231 # Fast installation is not supported
9232 enable_fast_install
=no
9233 elif test "$shlibpath_overrides_runpath" = yes ||
9234 test "$enable_shared" = no
; then
9235 # Fast installation is not necessary
9236 enable_fast_install
=needless
9241 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9242 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9243 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9244 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9245 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9246 echo "$as_me:$LINENO: result: yes" >&5
9247 echo "${ECHO_T}yes" >&6
9249 # FIXME - insert some real tests, host_os isn't really good enough
9252 if test -n "$STRIP" ; then
9253 striplib
="$STRIP -x"
9254 old_striplib
="$STRIP -S"
9255 echo "$as_me:$LINENO: result: yes" >&5
9256 echo "${ECHO_T}yes" >&6
9258 echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9269 if test "x$enable_dlopen" != xyes
; then
9270 enable_dlopen
=unknown
9271 enable_dlopen_self
=unknown
9272 enable_dlopen_self_static
=unknown
9279 lt_cv_dlopen
="load_add_on"
9281 lt_cv_dlopen_self
=yes
9285 lt_cv_dlopen
="LoadLibrary"
9290 lt_cv_dlopen
="dlopen"
9295 # if libdl is installed we need to link against it
9296 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9297 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9298 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9299 echo $ECHO_N "(cached) $ECHO_C" >&6
9301 ac_check_lib_save_LIBS
=$LIBS
9303 cat >conftest.
$ac_ext <<_ACEOF
9306 cat confdefs.h
>>conftest.
$ac_ext
9307 cat >>conftest.
$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9310 /* Override any gcc2 internal prototype to avoid an error. */
9314 /* We use char because int might match the return type of a gcc2
9315 builtin and then its argument prototype would still apply. */
9325 rm -f conftest.
$ac_objext conftest
$ac_exeext
9326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9327 (eval $ac_link) 2>conftest.er1
9329 grep -v '^ *+' conftest.er1
>conftest.err
9331 cat conftest.err
>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); } &&
9334 { ac_try
='test -z "$ac_c_werror_flag"
9335 || test ! -s conftest.err'
9336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; } &&
9341 { ac_try
='test -s conftest$ac_exeext'
9342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346 (exit $ac_status); }; }; then
9347 ac_cv_lib_dl_dlopen
=yes
9349 echo "$as_me: failed program was:" >&5
9350 sed 's/^/| /' conftest.
$ac_ext >&5
9352 ac_cv_lib_dl_dlopen
=no
9354 rm -f conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 LIBS
=$ac_check_lib_save_LIBS
9358 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9359 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9360 if test $ac_cv_lib_dl_dlopen = yes; then
9361 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9366 lt_cv_dlopen_self
=yes
9373 echo "$as_me:$LINENO: checking for shl_load" >&5
9374 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9375 if test "${ac_cv_func_shl_load+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 cat >conftest.
$ac_ext <<_ACEOF
9381 cat confdefs.h
>>conftest.
$ac_ext
9382 cat >>conftest.
$ac_ext <<_ACEOF
9383 /* end confdefs.h. */
9384 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9386 #define shl_load innocuous_shl_load
9388 /* System header to define __stub macros and hopefully few prototypes,
9389 which can conflict with char shl_load (); below.
9390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9391 <limits.h> exists even on freestanding compilers. */
9394 # include <limits.h>
9396 # include <assert.h>
9401 /* Override any gcc2 internal prototype to avoid an error. */
9406 /* We use char because int might match the return type of a gcc2
9407 builtin and then its argument prototype would still apply. */
9409 /* The GNU C library defines this for functions which it implements
9410 to always fail with ENOSYS. Some functions are actually named
9411 something starting with __ and the normal name is an alias. */
9412 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9415 char (*f) () = shl_load;
9424 return f != shl_load;
9429 rm -f conftest.
$ac_objext conftest
$ac_exeext
9430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9431 (eval $ac_link) 2>conftest.er1
9433 grep -v '^ *+' conftest.er1
>conftest.err
9435 cat conftest.err
>&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); } &&
9438 { ac_try
='test -z "$ac_c_werror_flag"
9439 || test ! -s conftest.err'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; } &&
9445 { ac_try
='test -s conftest$ac_exeext'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; }; then
9451 ac_cv_func_shl_load
=yes
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.
$ac_ext >&5
9456 ac_cv_func_shl_load
=no
9458 rm -f conftest.err conftest.
$ac_objext \
9459 conftest
$ac_exeext conftest.
$ac_ext
9461 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9462 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9463 if test $ac_cv_func_shl_load = yes; then
9464 lt_cv_dlopen
="shl_load"
9466 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9467 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9468 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 ac_check_lib_save_LIBS
=$LIBS
9473 cat >conftest.
$ac_ext <<_ACEOF
9476 cat confdefs.h
>>conftest.
$ac_ext
9477 cat >>conftest.
$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9480 /* Override any gcc2 internal prototype to avoid an error. */
9484 /* We use char because int might match the return type of a gcc2
9485 builtin and then its argument prototype would still apply. */
9495 rm -f conftest.
$ac_objext conftest
$ac_exeext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9497 (eval $ac_link) 2>conftest.er1
9499 grep -v '^ *+' conftest.er1
>conftest.err
9501 cat conftest.err
>&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } &&
9504 { ac_try
='test -z "$ac_c_werror_flag"
9505 || test ! -s conftest.err'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; } &&
9511 { ac_try
='test -s conftest$ac_exeext'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 ac_cv_lib_dld_shl_load
=yes
9519 echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.
$ac_ext >&5
9522 ac_cv_lib_dld_shl_load
=no
9524 rm -f conftest.err conftest.
$ac_objext \
9525 conftest
$ac_exeext conftest.
$ac_ext
9526 LIBS
=$ac_check_lib_save_LIBS
9528 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9529 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9530 if test $ac_cv_lib_dld_shl_load = yes; then
9531 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9533 echo "$as_me:$LINENO: checking for dlopen" >&5
9534 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9535 if test "${ac_cv_func_dlopen+set}" = set; then
9536 echo $ECHO_N "(cached) $ECHO_C" >&6
9538 cat >conftest.
$ac_ext <<_ACEOF
9541 cat confdefs.h
>>conftest.
$ac_ext
9542 cat >>conftest.
$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9544 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9546 #define dlopen innocuous_dlopen
9548 /* System header to define __stub macros and hopefully few prototypes,
9549 which can conflict with char dlopen (); below.
9550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9551 <limits.h> exists even on freestanding compilers. */
9554 # include <limits.h>
9556 # include <assert.h>
9561 /* Override any gcc2 internal prototype to avoid an error. */
9566 /* We use char because int might match the return type of a gcc2
9567 builtin and then its argument prototype would still apply. */
9569 /* The GNU C library defines this for functions which it implements
9570 to always fail with ENOSYS. Some functions are actually named
9571 something starting with __ and the normal name is an alias. */
9572 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9575 char (*f) () = dlopen;
9589 rm -f conftest.
$ac_objext conftest
$ac_exeext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 (eval $ac_link) 2>conftest.er1
9593 grep -v '^ *+' conftest.er1
>conftest.err
9595 cat conftest.err
>&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } &&
9598 { ac_try
='test -z "$ac_c_werror_flag"
9599 || test ! -s conftest.err'
9600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 (exit $ac_status); }; } &&
9605 { ac_try
='test -s conftest$ac_exeext'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; }; then
9611 ac_cv_func_dlopen
=yes
9613 echo "$as_me: failed program was:" >&5
9614 sed 's/^/| /' conftest.
$ac_ext >&5
9616 ac_cv_func_dlopen
=no
9618 rm -f conftest.err conftest.
$ac_objext \
9619 conftest
$ac_exeext conftest.
$ac_ext
9621 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9622 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9623 if test $ac_cv_func_dlopen = yes; then
9624 lt_cv_dlopen
="dlopen"
9626 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9627 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9628 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 ac_check_lib_save_LIBS
=$LIBS
9633 cat >conftest.
$ac_ext <<_ACEOF
9636 cat confdefs.h
>>conftest.
$ac_ext
9637 cat >>conftest.
$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9640 /* Override any gcc2 internal prototype to avoid an error. */
9644 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */
9655 rm -f conftest.
$ac_objext conftest
$ac_exeext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9657 (eval $ac_link) 2>conftest.er1
9659 grep -v '^ *+' conftest.er1
>conftest.err
9661 cat conftest.err
>&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try
='test -z "$ac_c_werror_flag"
9665 || test ! -s conftest.err'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try
='test -s conftest$ac_exeext'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 ac_cv_lib_dl_dlopen
=yes
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.
$ac_ext >&5
9682 ac_cv_lib_dl_dlopen
=no
9684 rm -f conftest.err conftest.
$ac_objext \
9685 conftest
$ac_exeext conftest.
$ac_ext
9686 LIBS
=$ac_check_lib_save_LIBS
9688 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9689 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9690 if test $ac_cv_lib_dl_dlopen = yes; then
9691 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9693 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9694 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9695 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 ac_check_lib_save_LIBS
=$LIBS
9700 cat >conftest.
$ac_ext <<_ACEOF
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9707 /* Override any gcc2 internal prototype to avoid an error. */
9711 /* We use char because int might match the return type of a gcc2
9712 builtin and then its argument prototype would still apply. */
9722 rm -f conftest.
$ac_objext conftest
$ac_exeext
9723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9724 (eval $ac_link) 2>conftest.er1
9726 grep -v '^ *+' conftest.er1
>conftest.err
9728 cat conftest.err
>&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); } &&
9731 { ac_try
='test -z "$ac_c_werror_flag"
9732 || test ! -s conftest.err'
9733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); }; } &&
9738 { ac_try
='test -s conftest$ac_exeext'
9739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_cv_lib_svld_dlopen
=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.
$ac_ext >&5
9749 ac_cv_lib_svld_dlopen
=no
9751 rm -f conftest.err conftest.
$ac_objext \
9752 conftest
$ac_exeext conftest.
$ac_ext
9753 LIBS
=$ac_check_lib_save_LIBS
9755 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9756 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9757 if test $ac_cv_lib_svld_dlopen = yes; then
9758 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9760 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9761 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9762 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 ac_check_lib_save_LIBS
=$LIBS
9767 cat >conftest.
$ac_ext <<_ACEOF
9770 cat confdefs.h
>>conftest.
$ac_ext
9771 cat >>conftest.
$ac_ext <<_ACEOF
9772 /* end confdefs.h. */
9774 /* Override any gcc2 internal prototype to avoid an error. */
9778 /* We use char because int might match the return type of a gcc2
9779 builtin and then its argument prototype would still apply. */
9789 rm -f conftest.
$ac_objext conftest
$ac_exeext
9790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9791 (eval $ac_link) 2>conftest.er1
9793 grep -v '^ *+' conftest.er1
>conftest.err
9795 cat conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try
='test -z "$ac_c_werror_flag"
9799 || test ! -s conftest.err'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; } &&
9805 { ac_try
='test -s conftest$ac_exeext'
9806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 (exit $ac_status); }; }; then
9811 ac_cv_lib_dld_dld_link
=yes
9813 echo "$as_me: failed program was:" >&5
9814 sed 's/^/| /' conftest.
$ac_ext >&5
9816 ac_cv_lib_dld_dld_link
=no
9818 rm -f conftest.err conftest.
$ac_objext \
9819 conftest
$ac_exeext conftest.
$ac_ext
9820 LIBS
=$ac_check_lib_save_LIBS
9822 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9823 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9824 if test $ac_cv_lib_dld_dld_link = yes; then
9825 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9846 if test "x$lt_cv_dlopen" != xno
; then
9852 case $lt_cv_dlopen in
9854 save_CPPFLAGS
="$CPPFLAGS"
9855 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9857 save_LDFLAGS
="$LDFLAGS"
9858 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9861 LIBS
="$lt_cv_dlopen_libs $LIBS"
9863 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9864 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9865 if test "${lt_cv_dlopen_self+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 if test "$cross_compiling" = yes; then :
9869 lt_cv_dlopen_self
=cross
9871 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9872 lt_status
=$lt_dlunknown
9873 cat > conftest.
$ac_ext <<EOF
9874 #line 9874 "configure"
9875 #include "confdefs.h"
9884 # define LT_DLGLOBAL RTLD_GLOBAL
9887 # define LT_DLGLOBAL DL_GLOBAL
9889 # define LT_DLGLOBAL 0
9893 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9894 find out it does not work in some platform. */
9895 #ifndef LT_DLLAZY_OR_NOW
9897 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9900 # define LT_DLLAZY_OR_NOW DL_LAZY
9903 # define LT_DLLAZY_OR_NOW RTLD_NOW
9906 # define LT_DLLAZY_OR_NOW DL_NOW
9908 # define LT_DLLAZY_OR_NOW 0
9916 extern "C" void exit (int);
9919 void fnord() { int i=42;}
9922 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9923 int status = $lt_dlunknown;
9927 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9928 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9929 /* dlclose (self); */
9937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9938 (eval $ac_link) 2>&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9942 (.
/conftest
; exit; ) >&5 2>/dev
/null
9945 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9946 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9947 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9950 # compilation failed
9951 lt_cv_dlopen_self
=no
9958 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9959 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9961 if test "x$lt_cv_dlopen_self" = xyes
; then
9962 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9963 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9964 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9965 if test "${lt_cv_dlopen_self_static+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 if test "$cross_compiling" = yes; then :
9969 lt_cv_dlopen_self_static
=cross
9971 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9972 lt_status
=$lt_dlunknown
9973 cat > conftest.
$ac_ext <<EOF
9974 #line 9974 "configure"
9975 #include "confdefs.h"
9984 # define LT_DLGLOBAL RTLD_GLOBAL
9987 # define LT_DLGLOBAL DL_GLOBAL
9989 # define LT_DLGLOBAL 0
9993 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9994 find out it does not work in some platform. */
9995 #ifndef LT_DLLAZY_OR_NOW
9997 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10000 # define LT_DLLAZY_OR_NOW DL_LAZY
10003 # define LT_DLLAZY_OR_NOW RTLD_NOW
10006 # define LT_DLLAZY_OR_NOW DL_NOW
10008 # define LT_DLLAZY_OR_NOW 0
10016 extern "C" void exit (int);
10019 void fnord() { int i=42;}
10022 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10023 int status = $lt_dlunknown;
10027 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10028 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10029 /* dlclose (self); */
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10042 (.
/conftest
; exit; ) >&5 2>/dev
/null
10044 case x
$lt_status in
10045 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10046 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10047 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10050 # compilation failed
10051 lt_cv_dlopen_self_static
=no
10058 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10059 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10062 CPPFLAGS
="$save_CPPFLAGS"
10063 LDFLAGS
="$save_LDFLAGS"
10068 case $lt_cv_dlopen_self in
10069 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10070 *) enable_dlopen_self
=unknown
;;
10073 case $lt_cv_dlopen_self_static in
10074 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10075 *) enable_dlopen_self_static
=unknown
;;
10080 # Report which library types will actually be built
10081 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10082 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10083 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10084 echo "${ECHO_T}$can_build_shared" >&6
10086 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10087 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10088 test "$can_build_shared" = "no" && enable_shared
=no
10090 # On AIX, shared libraries and static libraries use the same namespace, and
10091 # are all built from PIC.
10094 test "$enable_shared" = yes && enable_static
=no
10095 if test -n "$RANLIB"; then
10096 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10097 postinstall_cmds
='$RANLIB $lib'
10102 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10103 test "$enable_shared" = yes && enable_static
=no
10107 echo "$as_me:$LINENO: result: $enable_shared" >&5
10108 echo "${ECHO_T}$enable_shared" >&6
10110 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10111 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10112 # Make sure either enable_shared or enable_static is yes.
10113 test "$enable_shared" = yes || enable_static
=yes
10114 echo "$as_me:$LINENO: result: $enable_static" >&5
10115 echo "${ECHO_T}$enable_static" >&6
10117 # The else clause should only fire when bootstrapping the
10118 # libtool distribution, otherwise you forgot to ship ltmain.sh
10119 # with your package, and you will get complaints that there are
10120 # no rules to generate ltmain.sh.
10121 if test -f "$ltmain"; then
10122 # See if we are running on zsh, and set the options which allow our commands through
10123 # without removal of \ escapes.
10124 if test -n "${ZSH_VERSION+set}" ; then
10125 setopt NO_GLOB_SUBST
10127 # Now quote all the things that may contain metacharacters while being
10128 # careful not to overquote the AC_SUBSTed values. We take copies of the
10129 # variables and quote the copies for generation of the libtool script.
10130 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10132 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10133 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10134 deplibs_check_method reload_flag reload_cmds need_locks \
10135 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10136 lt_cv_sys_global_symbol_to_c_name_address \
10137 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10138 old_postinstall_cmds old_postuninstall_cmds \
10142 lt_prog_compiler_wl \
10143 lt_prog_compiler_pic \
10144 lt_prog_compiler_static \
10145 lt_prog_compiler_no_builtin_flag \
10146 export_dynamic_flag_spec \
10147 thread_safe_flag_spec \
10148 whole_archive_flag_spec \
10149 enable_shared_with_static_runtimes \
10151 old_archive_from_new_cmds \
10156 compiler_lib_search_path \
10158 archive_expsym_cmds \
10160 postuninstall_cmds \
10161 old_archive_from_expsyms_cmds \
10162 allow_undefined_flag \
10163 no_undefined_flag \
10164 export_symbols_cmds \
10165 hardcode_libdir_flag_spec \
10166 hardcode_libdir_flag_spec_ld \
10167 hardcode_libdir_separator \
10168 hardcode_automatic \
10170 module_expsym_cmds \
10171 lt_cv_prog_compiler_c_o \
10174 include_expsyms
; do
10177 old_archive_cmds | \
10178 old_archive_from_new_cmds | \
10180 archive_expsym_cmds | \
10182 module_expsym_cmds | \
10183 old_archive_from_expsyms_cmds | \
10184 export_symbols_cmds | \
10185 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10186 postinstall_cmds | postuninstall_cmds | \
10187 old_postinstall_cmds | old_postuninstall_cmds | \
10188 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
10189 # Double-quote double-evaled strings.
10190 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10193 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10199 *'\$0 --fallback-echo"')
10200 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10204 cfgfile
="${ofile}T"
10205 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10207 { echo "$as_me:$LINENO: creating $ofile" >&5
10208 echo "$as_me: creating $ofile" >&6;}
10210 cat <<__EOF__ >> "$cfgfile"
10213 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10214 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10215 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10217 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10218 # Free Software Foundation, Inc.
10220 # This file is part of GNU Libtool:
10221 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10223 # This program is free software; you can redistribute it and/or modify
10224 # it under the terms of the GNU General Public License as published by
10225 # the Free Software Foundation; either version 2 of the License, or
10226 # (at your option) any later version.
10228 # This program is distributed in the hope that it will be useful, but
10229 # WITHOUT ANY WARRANTY; without even the implied warranty of
10230 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10231 # General Public License for more details.
10233 # You should have received a copy of the GNU General Public License
10234 # along with this program; if not, write to the Free Software
10235 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10237 # As a special exception to the GNU General Public License, if you
10238 # distribute this file as part of a program that contains a
10239 # configuration script generated by Autoconf, you may include it under
10240 # the same distribution terms that you use for the rest of that program.
10242 # A sed program that does not truncate output.
10245 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10246 Xsed="$SED -e 1s/^X//"
10248 # The HP-UX ksh and POSIX shell print the target directory to stdout
10249 # if CDPATH is set.
10250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10252 # The names of the tagged configurations supported by this script.
10255 # ### BEGIN LIBTOOL CONFIG
10257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10259 # Shell to use when invoking shell scripts.
10262 # Whether or not to build shared libraries.
10263 build_libtool_libs=$enable_shared
10265 # Whether or not to build static libraries.
10266 build_old_libs=$enable_static
10268 # Whether or not to add -lc for building shared libraries.
10269 build_libtool_need_lc=$archive_cmds_need_lc
10271 # Whether or not to disallow shared libs when runtime libs are static
10272 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10274 # Whether or not to optimize for fast installation.
10275 fast_install=$enable_fast_install
10278 host_alias=$host_alias
10282 # The build system.
10283 build_alias=$build_alias
10287 # An echo program that does not interpret backslashes.
10292 AR_FLAGS=$lt_AR_FLAGS
10297 # LTCC compiler flags.
10298 LTCFLAGS=$lt_LTCFLAGS
10300 # A language-specific compiler.
10303 # Is the compiler the GNU C compiler?
10309 # The linker used to build libraries.
10312 # Whether we need hard or soft links.
10315 # A BSD-compatible nm program.
10318 # A symbol stripping program
10321 # Used to examine libraries when file_magic_cmd begins "file"
10322 MAGIC_CMD=$MAGIC_CMD
10324 # Used on cygwin: DLL creation program.
10327 # Used on cygwin: object dumper.
10330 # Used on cygwin: assembler.
10333 # The name of the directory that contains temporary libtool files.
10336 # How to create reloadable object files.
10337 reload_flag=$lt_reload_flag
10338 reload_cmds=$lt_reload_cmds
10340 # How to pass a linker flag through the compiler.
10341 wl=$lt_lt_prog_compiler_wl
10343 # Object file suffix (normally "o").
10344 objext="$ac_objext"
10346 # Old archive suffix (normally "a").
10349 # Shared library suffix (normally ".so").
10350 shrext_cmds='$shrext_cmds'
10352 # Executable file suffix (normally "").
10355 # Additional compiler flags for building library objects.
10356 pic_flag=$lt_lt_prog_compiler_pic
10359 # What is the maximum length of a command?
10360 max_cmd_len=$lt_cv_sys_max_cmd_len
10362 # Does compiler simultaneously support -c and -o options?
10363 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10365 # Must we lock files when doing compilation?
10366 need_locks=$lt_need_locks
10368 # Do we need the lib prefix for modules?
10369 need_lib_prefix=$need_lib_prefix
10371 # Do we need a version for libraries?
10372 need_version=$need_version
10374 # Whether dlopen is supported.
10375 dlopen_support=$enable_dlopen
10377 # Whether dlopen of programs is supported.
10378 dlopen_self=$enable_dlopen_self
10380 # Whether dlopen of statically linked programs is supported.
10381 dlopen_self_static=$enable_dlopen_self_static
10383 # Compiler flag to prevent dynamic linking.
10384 link_static_flag=$lt_lt_prog_compiler_static
10386 # Compiler flag to turn off builtin functions.
10387 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10389 # Compiler flag to allow reflexive dlopens.
10390 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10392 # Compiler flag to generate shared objects directly from archives.
10393 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10395 # Compiler flag to generate thread-safe objects.
10396 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10398 # Library versioning type.
10399 version_type=$version_type
10401 # Format of library name prefix.
10402 libname_spec=$lt_libname_spec
10404 # List of archive names. First name is the real one, the rest are links.
10405 # The last name is the one that the linker finds with -lNAME.
10406 library_names_spec=$lt_library_names_spec
10408 # The coded name of the library, if different from the real name.
10409 soname_spec=$lt_soname_spec
10411 # Commands used to build and install an old-style archive.
10413 old_archive_cmds=$lt_old_archive_cmds
10414 old_postinstall_cmds=$lt_old_postinstall_cmds
10415 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10417 # Create an old-style archive from a shared archive.
10418 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10420 # Create a temporary old-style archive to link instead of a shared archive.
10421 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10423 # Commands used to build and install a shared archive.
10424 archive_cmds=$lt_archive_cmds
10425 archive_expsym_cmds=$lt_archive_expsym_cmds
10426 postinstall_cmds=$lt_postinstall_cmds
10427 postuninstall_cmds=$lt_postuninstall_cmds
10429 # Commands used to build a loadable module (assumed same as above if empty)
10430 module_cmds=$lt_module_cmds
10431 module_expsym_cmds=$lt_module_expsym_cmds
10433 # Commands to strip libraries.
10434 old_striplib=$lt_old_striplib
10435 striplib=$lt_striplib
10437 # Dependencies to place before the objects being linked to create a
10439 predep_objects=$lt_predep_objects
10441 # Dependencies to place after the objects being linked to create a
10443 postdep_objects=$lt_postdep_objects
10445 # Dependencies to place before the objects being linked to create a
10447 predeps=$lt_predeps
10449 # Dependencies to place after the objects being linked to create a
10451 postdeps=$lt_postdeps
10453 # The library search path used internally by the compiler when linking
10454 # a shared library.
10455 compiler_lib_search_path=$lt_compiler_lib_search_path
10457 # Method to check whether dependent libraries are shared objects.
10458 deplibs_check_method=$lt_deplibs_check_method
10460 # Command to use when deplibs_check_method == file_magic.
10461 file_magic_cmd=$lt_file_magic_cmd
10463 # Flag that allows shared libraries with undefined symbols to be built.
10464 allow_undefined_flag=$lt_allow_undefined_flag
10466 # Flag that forces no undefined symbols.
10467 no_undefined_flag=$lt_no_undefined_flag
10469 # Commands used to finish a libtool library installation in a directory.
10470 finish_cmds=$lt_finish_cmds
10472 # Same as above, but a single script fragment to be evaled but not shown.
10473 finish_eval=$lt_finish_eval
10475 # Take the output of nm and produce a listing of raw symbols and C names.
10476 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10478 # Transform the output of nm in a proper C declaration
10479 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10481 # Transform the output of nm in a C name address pair
10482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10484 # This is the shared library runtime path variable.
10485 runpath_var=$runpath_var
10487 # This is the shared library path variable.
10488 shlibpath_var=$shlibpath_var
10490 # Is shlibpath searched before the hard-coded library search path?
10491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10493 # How to hardcode a shared library path into an executable.
10494 hardcode_action=$hardcode_action
10496 # Whether we should hardcode library paths into libraries.
10497 hardcode_into_libs=$hardcode_into_libs
10499 # Flag to hardcode \$libdir into a binary during linking.
10500 # This must work even if \$libdir does not exist.
10501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10503 # If ld is used when linking, flag to hardcode \$libdir into
10504 # a binary during linking. This must work even if \$libdir does
10506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10508 # Whether we need a single -rpath flag with a separated argument.
10509 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10511 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10512 # resulting binary.
10513 hardcode_direct=$hardcode_direct
10515 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10516 # resulting binary.
10517 hardcode_minus_L=$hardcode_minus_L
10519 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10520 # the resulting binary.
10521 hardcode_shlibpath_var=$hardcode_shlibpath_var
10523 # Set to yes if building a shared library automatically hardcodes DIR into the library
10524 # and all subsequent libraries and executables linked against it.
10525 hardcode_automatic=$hardcode_automatic
10527 # Variables whose values should be saved in libtool wrapper scripts and
10528 # restored at relink time.
10529 variables_saved_for_relink="$variables_saved_for_relink"
10531 # Whether libtool must link a program against all its dependency libraries.
10532 link_all_deplibs=$link_all_deplibs
10534 # Compile-time system search path for libraries
10535 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10537 # Run-time system search path for libraries
10538 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10540 # Fix the shell variable \$srcfile for the compiler.
10541 fix_srcfile_path=$lt_fix_srcfile_path
10543 # Set to yes if exported symbols are required.
10544 always_export_symbols=$always_export_symbols
10546 # The commands to list exported symbols.
10547 export_symbols_cmds=$lt_export_symbols_cmds
10549 # The commands to extract the exported symbol list from a shared archive.
10550 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10552 # Symbols that should not be listed in the preloaded symbols.
10553 exclude_expsyms=$lt_exclude_expsyms
10555 # Symbols that must always be exported.
10556 include_expsyms=$lt_include_expsyms
10558 # ### END LIBTOOL CONFIG
10565 cat <<\EOF
>> "$cfgfile"
10567 # AIX sometimes has problems with the GCC collect2 program. For some
10568 # reason, if we set the COLLECT_NAMES environment variable, the problems
10569 # vanish in a puff of smoke.
10570 if test "X${COLLECT_NAMES+set}" != Xset
; then
10572 export COLLECT_NAMES
10578 # We use sed instead of cat because bash on DJGPP gets confused if
10579 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10580 # text mode, it properly converts lines to CR/LF. This bash problem
10581 # is reportedly fixed, but why not run on old versions too?
10582 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
10584 mv -f "$cfgfile" "$ofile" || \
10585 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10589 # If there is no Makefile yet, we rely on a make rule to execute
10590 # `config.status --recheck' to rerun these tests and create the
10591 # libtool script then.
10592 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10593 if test -f "$ltmain_in"; then
10594 test -f Makefile
&& make "$ltmain"
10600 ac_cpp
='$CPP $CPPFLAGS'
10601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10608 # Check whether --with-tags or --without-tags was given.
10609 if test "${with_tags+set}" = set; then
10610 withval
="$with_tags"
10611 tagnames
="$withval"
10614 if test -f "$ltmain" && test -n "$tagnames"; then
10615 if test ! -f "${ofile}"; then
10616 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10617 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10620 if test -z "$LTCC"; then
10621 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10622 if test -z "$LTCC"; then
10623 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10624 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10627 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10630 if test -z "$LTCFLAGS"; then
10631 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10634 # Extract list of available tagged configurations in $ofile.
10635 # Note that this assumes the entire list is on one line.
10636 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10638 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
10639 for tagname
in $tagnames; do
10641 # Check whether tagname contains only valid characters
10642 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10644 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10645 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10646 { (exit 1); exit 1; }; }
10650 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
10652 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10653 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10654 { (exit 1); exit 1; }; }
10657 # Update the list of available tags.
10658 if test -n "$tagname"; then
10659 echo appending configuration tag
\"$tagname\" to
$ofile
10663 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10664 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10665 (test "X$CXX" != "Xg++"))) ; then
10667 ac_cpp
='$CXXCPP $CPPFLAGS'
10668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10675 archive_cmds_need_lc_CXX
=no
10676 allow_undefined_flag_CXX
=
10677 always_export_symbols_CXX
=no
10678 archive_expsym_cmds_CXX
=
10679 export_dynamic_flag_spec_CXX
=
10680 hardcode_direct_CXX
=no
10681 hardcode_libdir_flag_spec_CXX
=
10682 hardcode_libdir_flag_spec_ld_CXX
=
10683 hardcode_libdir_separator_CXX
=
10684 hardcode_minus_L_CXX
=no
10685 hardcode_shlibpath_var_CXX
=unsupported
10686 hardcode_automatic_CXX
=no
10688 module_expsym_cmds_CXX
=
10689 link_all_deplibs_CXX
=unknown
10690 old_archive_cmds_CXX
=$old_archive_cmds
10691 no_undefined_flag_CXX
=
10692 whole_archive_flag_spec_CXX
=
10693 enable_shared_with_static_runtimes_CXX
=no
10695 # Dependencies to place before and after the object being linked:
10696 predep_objects_CXX
=
10697 postdep_objects_CXX
=
10700 compiler_lib_search_path_CXX
=
10702 # Source file extension for C++ test sources.
10705 # Object file extension for compiled C++ test sources.
10709 # Code to be used in simple compile tests
10710 lt_simple_compile_test_code
="int some_variable = 0;"
10712 # Code to be used in simple link tests
10713 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10715 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10717 # If no C compiler was specified, use CC.
10720 # If no C compiler flags were specified, use CFLAGS.
10721 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10723 # Allow CC to be a program name with arguments.
10727 # save warnings/boilerplate of simple test code
10728 ac_outfile
=conftest.
$ac_objext
10729 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10730 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10731 _lt_compiler_boilerplate
=`cat conftest.err`
10734 ac_outfile
=conftest.
$ac_objext
10735 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10736 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10737 _lt_linker_boilerplate
=`cat conftest.err`
10741 # Allow CC to be a program name with arguments.
10746 lt_save_with_gnu_ld
=$with_gnu_ld
10747 lt_save_path_LD
=$lt_cv_path_LD
10748 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10749 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10751 $as_unset lt_cv_prog_gnu_ld
10753 if test -n "${lt_cv_path_LDCXX+set}"; then
10754 lt_cv_path_LD
=$lt_cv_path_LDCXX
10756 $as_unset lt_cv_path_LD
10758 test -z "${LDCXX+set}" || LD
=$LDCXX
10762 for cc_temp
in $compiler""; do
10764 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10765 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10770 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10773 # We don't want -fno-exception wen compiling C++ code, so set the
10774 # no_builtin_flag separately
10775 if test "$GXX" = yes; then
10776 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10778 lt_prog_compiler_no_builtin_flag_CXX
=
10781 if test "$GXX" = yes; then
10782 # Set up default GNU C++ configuration
10785 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10786 if test "${with_gnu_ld+set}" = set; then
10787 withval
="$with_gnu_ld"
10788 test "$withval" = no || with_gnu_ld
=yes
10793 if test "$GCC" = yes; then
10794 # Check if gcc -print-prog-name=ld gives a path.
10795 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10796 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10799 # gcc leaves a trailing carriage return which upsets mingw
10800 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10802 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10805 # Accept absolute paths.
10807 re_direlt
='/[^/][^/]*/\.\./'
10808 # Canonicalize the pathname of ld
10809 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
10810 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10811 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10813 test -z "$LD" && LD
="$ac_prog"
10816 # If it fails, then pretend we aren't using GCC.
10820 # If it is relative, then search for the first ld in PATH.
10821 with_gnu_ld
=unknown
10824 elif test "$with_gnu_ld" = yes; then
10825 echo "$as_me:$LINENO: checking for GNU ld" >&5
10826 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10828 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10829 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10831 if test "${lt_cv_path_LD+set}" = set; then
10832 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 if test -z "$LD"; then
10835 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10836 for ac_dir
in $PATH; do
10838 test -z "$ac_dir" && ac_dir
=.
10839 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10840 lt_cv_path_LD
="$ac_dir/$ac_prog"
10841 # Check to see if the program is GNU ld. I'd rather use --version,
10842 # but apparently some variants of GNU ld only accept -v.
10843 # Break only if it was the GNU/non-GNU ld that we prefer.
10844 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10845 *GNU
* |
*'with BFD'*)
10846 test "$with_gnu_ld" != no
&& break
10849 test "$with_gnu_ld" != yes && break
10856 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10860 LD
="$lt_cv_path_LD"
10861 if test -n "$LD"; then
10862 echo "$as_me:$LINENO: result: $LD" >&5
10863 echo "${ECHO_T}$LD" >&6
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10868 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10869 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10870 { (exit 1); exit 1; }; }
10871 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10872 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10873 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10877 case `$LD -v 2>&1 </dev/null` in
10878 *GNU
* |
*'with BFD'*)
10879 lt_cv_prog_gnu_ld
=yes
10882 lt_cv_prog_gnu_ld
=no
10886 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10887 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10888 with_gnu_ld
=$lt_cv_prog_gnu_ld
10892 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10893 # archiving commands below assume that GNU ld is being used.
10894 if test "$with_gnu_ld" = yes; then
10895 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10896 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10898 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
10899 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
10901 # If archive_cmds runs LD, not CC, wlarc should be empty
10902 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10903 # investigate it a little bit more. (MM)
10906 # ancient GNU ld didn't support --whole-archive et. al.
10907 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
10908 grep 'no-whole-archive' > /dev
/null
; then
10909 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10911 whole_archive_flag_spec_CXX
=
10917 # A generic and very simple default shared library creation
10918 # command for GNU C++ for the case where it uses the native
10919 # linker, instead of GNU ld. If possible, this setting should
10920 # overridden to take advantage of the native linker features on
10921 # the platform it is being used on.
10922 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10925 # Commands to make compiler produce verbose output that lists
10926 # what "hidden" libraries, object files and flags are used when
10927 # linking a shared library.
10928 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10936 # PORTME: fill in a description of your system's C++ link characteristics
10937 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10938 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10942 # FIXME: insert proper C++ library support
10946 if test "$host_cpu" = ia64
; then
10947 # On IA64, the linker does run time linking by default, so we don't
10948 # have to do anything special.
10949 aix_use_runtimelinking
=no
10950 exp_sym_flag
='-Bexport'
10953 aix_use_runtimelinking
=no
10955 # Test if we are trying to use run time linking or normal
10956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10957 # need to do runtime linking.
10958 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
10959 for ld_flag
in $LDFLAGS; do
10962 aix_use_runtimelinking
=yes
10970 exp_sym_flag
='-bexport'
10971 no_entry_flag
='-bnoentry'
10974 # When large executables or shared objects are built, AIX ld can
10975 # have problems creating the table of contents. If linking a library
10976 # or program results in "error TOC overflow" add -mminimal-toc to
10977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10980 archive_cmds_CXX
=''
10981 hardcode_direct_CXX
=yes
10982 hardcode_libdir_separator_CXX
=':'
10983 link_all_deplibs_CXX
=yes
10985 if test "$GXX" = yes; then
10986 case $host_os in aix4.
[012]|aix4.
[012].
*)
10987 # We only want to do this on AIX 4.2 and lower, the check
10988 # below for broken collect2 doesn't work under 4.3+
10989 collect2name
=`${CC} -print-prog-name=collect2`
10990 if test -f "$collect2name" && \
10991 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
10993 # We have reworked collect2
10996 # We have old collect2
10997 hardcode_direct_CXX
=unsupported
10998 # It fails to find uninstalled libraries when the uninstalled
10999 # path is not listed in the libpath. Setting hardcode_minus_L
11000 # to unsupported forces relinking
11001 hardcode_minus_L_CXX
=yes
11002 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11003 hardcode_libdir_separator_CXX
=
11007 shared_flag
='-shared'
11008 if test "$aix_use_runtimelinking" = yes; then
11009 shared_flag
="$shared_flag "'${wl}-G'
11013 if test "$host_cpu" = ia64
; then
11014 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11015 # chokes on -Wl,-G. The following line is correct:
11018 if test "$aix_use_runtimelinking" = yes; then
11019 shared_flag
='${wl}-G'
11021 shared_flag
='${wl}-bM:SRE'
11026 # It seems that -bexpall does not export symbols beginning with
11027 # underscore (_), so it is better to generate a list of symbols to export.
11028 always_export_symbols_CXX
=yes
11029 if test "$aix_use_runtimelinking" = yes; then
11030 # Warning - without using the other runtime loading flags (-brtl),
11031 # -berok will link without error, but may produce a broken library.
11032 allow_undefined_flag_CXX
='-berok'
11033 # Determine the default libpath from the value encoded in an empty executable.
11034 cat >conftest.
$ac_ext <<_ACEOF
11037 cat confdefs.h
>>conftest.
$ac_ext
11038 cat >>conftest.
$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11049 rm -f conftest.
$ac_objext conftest
$ac_exeext
11050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11051 (eval $ac_link) 2>conftest.er1
11053 grep -v '^ *+' conftest.er1
>conftest.err
11055 cat conftest.err
>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } &&
11058 { ac_try
='test -z "$ac_cxx_werror_flag"
11059 || test ! -s conftest.err'
11060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061 (eval $ac_try) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); }; } &&
11065 { ac_try
='test -s conftest$ac_exeext'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; }; then
11072 lt_aix_libpath_sed
='
11073 /Import File Strings/,/^$/ {
11079 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11080 # Check for a 64-bit object if we didn't find anything.
11081 if test -z "$aix_libpath"; then
11082 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11089 rm -f conftest.err conftest.
$ac_objext \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11093 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11095 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11097 if test "$host_cpu" = ia64
; then
11098 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11099 allow_undefined_flag_CXX
="-z nodefs"
11100 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11102 # Determine the default libpath from the value encoded in an empty executable.
11103 cat >conftest.
$ac_ext <<_ACEOF
11106 cat confdefs.h
>>conftest.
$ac_ext
11107 cat >>conftest.
$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11118 rm -f conftest.
$ac_objext conftest
$ac_exeext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11120 (eval $ac_link) 2>conftest.er1
11122 grep -v '^ *+' conftest.er1
>conftest.err
11124 cat conftest.err
>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try
='test -z "$ac_cxx_werror_flag"
11128 || test ! -s conftest.err'
11129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11130 (eval $ac_try) 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; } &&
11134 { ac_try
='test -s conftest$ac_exeext'
11135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11136 (eval $ac_try) 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; }; then
11141 lt_aix_libpath_sed
='
11142 /Import File Strings/,/^$/ {
11148 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11149 # Check for a 64-bit object if we didn't find anything.
11150 if test -z "$aix_libpath"; then
11151 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.
$ac_ext >&5
11158 rm -f conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11162 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11163 # Warning - without using the other run time loading flags,
11164 # -berok will link without error, but may produce a broken library.
11165 no_undefined_flag_CXX
=' ${wl}-bernotok'
11166 allow_undefined_flag_CXX
=' ${wl}-berok'
11167 # Exported symbols can be pulled into shared objects from archives
11168 whole_archive_flag_spec_CXX
='$convenience'
11169 archive_cmds_need_lc_CXX
=yes
11170 # This is similar to how AIX traditionally builds its shared libraries.
11171 archive_expsym_cmds_CXX
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11177 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11178 allow_undefined_flag_CXX
=unsupported
11179 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11180 # support --undefined. This deserves some investigation. FIXME
11181 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11188 case $cc_basename in
11190 # FIXME: insert proper C++ library support
11196 cygwin
* | mingw
* | pw32
*)
11197 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11198 # as there is no search path for DLLs.
11199 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11200 allow_undefined_flag_CXX
=unsupported
11201 always_export_symbols_CXX
=no
11202 enable_shared_with_static_runtimes_CXX
=yes
11204 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
11205 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11206 # If the export-symbols file already is a .def file (1st line
11207 # is EXPORTS), use it as is; otherwise, prepend...
11208 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11209 cp $export_symbols $output_objdir/$soname.def;
11211 echo EXPORTS > $output_objdir/$soname.def;
11212 cat $export_symbols >> $output_objdir/$soname.def;
11214 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11219 darwin
* | rhapsody
*)
11221 rhapsody
* | darwin1.
[012])
11222 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11225 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11226 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11228 case ${MACOSX_DEPLOYMENT_TARGET} in
11230 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11233 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11239 archive_cmds_need_lc_CXX
=no
11240 hardcode_direct_CXX
=no
11241 hardcode_automatic_CXX
=yes
11242 hardcode_shlibpath_var_CXX
=unsupported
11243 whole_archive_flag_spec_CXX
=''
11244 link_all_deplibs_CXX
=yes
11246 if test "$GXX" = yes ; then
11247 lt_int_apple_cc_single_mod
=no
11248 output_verbose_link_cmd
='echo'
11249 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
11250 lt_int_apple_cc_single_mod
=yes
11252 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11253 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11255 archive_cmds_CXX
='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11257 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11258 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11259 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11260 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11262 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11264 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11266 case $cc_basename in
11268 output_verbose_link_cmd
='echo'
11269 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11270 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11271 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11272 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11273 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11283 case $cc_basename in
11285 # FIXME: insert proper C++ library support
11289 # Green Hills C++ Compiler
11290 # FIXME: insert proper C++ library support
11294 # FIXME: insert proper C++ library support
11300 # C++ shared libraries reported to be fairly broken before switch to ELF
11304 archive_cmds_need_lc_CXX
=no
11306 freebsd
* | dragonfly
*)
11307 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11314 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11315 hardcode_libdir_separator_CXX
=:
11316 export_dynamic_flag_spec_CXX
='${wl}-E'
11317 hardcode_direct_CXX
=yes
11318 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11319 # but as the default
11320 # location of the library.
11322 case $cc_basename in
11324 # FIXME: insert proper C++ library support
11328 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11329 # Commands to make compiler produce verbose output that lists
11330 # what "hidden" libraries, object files and flags are used when
11331 # linking a shared library.
11333 # There doesn't appear to be a way to prevent this compiler from
11334 # explicitly linking system object files so we need to strip them
11335 # from the output so that they don't get included in the library
11337 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11340 if test "$GXX" = yes; then
11341 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11343 # FIXME: insert proper C++ library support
11350 if test $with_gnu_ld = no
; then
11351 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11352 hardcode_libdir_separator_CXX
=:
11357 export_dynamic_flag_spec_CXX
='${wl}-E'
11363 hardcode_direct_CXX
=no
11364 hardcode_shlibpath_var_CXX
=no
11367 hardcode_direct_CXX
=yes
11368 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11369 # but as the default
11370 # location of the library.
11374 case $cc_basename in
11376 # FIXME: insert proper C++ library support
11382 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11385 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11388 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11391 # Commands to make compiler produce verbose output that lists
11392 # what "hidden" libraries, object files and flags are used when
11393 # linking a shared library.
11395 # There doesn't appear to be a way to prevent this compiler from
11396 # explicitly linking system object files so we need to strip them
11397 # from the output so that they don't get included in the library
11399 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11402 if test "$GXX" = yes; then
11403 if test $with_gnu_ld = no
; then
11406 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11409 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11412 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11417 # FIXME: insert proper C++ library support
11424 hardcode_direct_CXX
=no
11425 hardcode_shlibpath_var_CXX
=no
11426 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11427 export_dynamic_flag_spec_CXX
='${wl}-E'
11428 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11429 # Instead, shared libraries are loaded at an image base (0x10000000 by
11430 # default) and relocated if they conflict, which is a slow very memory
11431 # consuming and fragmenting process. To avoid this, we pick a random,
11432 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11433 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11434 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11435 archive_expsym_cmds_CXX
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11438 case $cc_basename in
11441 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11443 # Archives containing C++ object files must be created using
11444 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11445 # necessary to make sure instantiated templates are included
11447 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11450 if test "$GXX" = yes; then
11451 if test "$with_gnu_ld" = no
; then
11452 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11454 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11457 link_all_deplibs_CXX
=yes
11460 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11461 hardcode_libdir_separator_CXX
=:
11463 linux
* | k
*bsd
*-gnu)
11464 case $cc_basename in
11466 # Kuck and Associates, Inc. (KAI) C++ Compiler
11468 # KCC will only create a shared library if the output file
11469 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11470 # to its proper name (with version) after linking.
11471 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11472 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11473 # Commands to make compiler produce verbose output that lists
11474 # what "hidden" libraries, object files and flags are used when
11475 # linking a shared library.
11477 # There doesn't appear to be a way to prevent this compiler from
11478 # explicitly linking system object files so we need to strip them
11479 # from the output so that they don't get included in the library
11481 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11483 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11484 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11486 # Archives containing C++ object files must be created using
11487 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11488 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11493 # version 8.0 and above of icpc choke on multiply defined symbols
11494 # if we add $predep_objects and $postdep_objects, however 7.1 and
11495 # earlier do not add the objects themselves.
11496 case `$CC -V 2>&1` in
11498 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11499 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11501 *) # Version 8.0 or newer
11504 ia64
*) tmp_idyn
=' -i_dynamic';;
11506 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11507 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11510 archive_cmds_need_lc_CXX
=no
11511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11512 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11513 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11516 # Portland Group C++ compiler
11517 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11518 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11520 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11521 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11522 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11526 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11527 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11529 runpath_var
=LD_RUN_PATH
11530 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11531 hardcode_libdir_separator_CXX
=:
11533 # Commands to make compiler produce verbose output that lists
11534 # what "hidden" libraries, object files and flags are used when
11535 # linking a shared library.
11537 # There doesn't appear to be a way to prevent this compiler from
11538 # explicitly linking system object files so we need to strip them
11539 # from the output so that they don't get included in the library
11541 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11544 case `$CC -V 2>&1 | sed 5q` in
11547 no_undefined_flag_CXX
=' -zdefs'
11548 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11549 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11550 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11551 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11553 # Not sure whether something based on
11554 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11556 output_verbose_link_cmd
='echo'
11558 # Archives containing C++ object files must be created using
11559 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11560 # necessary to make sure instantiated templates are included
11562 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11569 # FIXME: insert proper C++ library support
11573 # FIXME: insert proper C++ library support
11577 case $cc_basename in
11579 # FIXME: insert proper C++ library support
11583 # FIXME: insert proper C++ library support
11589 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11590 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11592 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11593 hardcode_direct_CXX
=yes
11594 hardcode_shlibpath_var_CXX
=no
11596 # Workaround some broken pre-1.5 toolchains
11597 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11600 # C++ shared libraries are fairly broken
11604 if test -f /usr
/libexec
/ld.so
; then
11605 hardcode_direct_CXX
=yes
11606 hardcode_shlibpath_var_CXX
=no
11607 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11608 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11609 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11610 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11611 export_dynamic_flag_spec_CXX
='${wl}-E'
11612 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11614 output_verbose_link_cmd
='echo'
11620 case $cc_basename in
11622 # Kuck and Associates, Inc. (KAI) C++ Compiler
11624 # KCC will only create a shared library if the output file
11625 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11626 # to its proper name (with version) after linking.
11627 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11629 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11630 hardcode_libdir_separator_CXX
=:
11632 # Archives containing C++ object files must be created using
11633 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11634 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11638 # Rational C++ 2.4.1
11639 # FIXME: insert proper C++ library support
11643 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11644 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11646 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11647 hardcode_libdir_separator_CXX
=:
11649 # Commands to make compiler produce verbose output that lists
11650 # what "hidden" libraries, object files and flags are used when
11651 # linking a shared library.
11653 # There doesn't appear to be a way to prevent this compiler from
11654 # explicitly linking system object files so we need to strip them
11655 # from the output so that they don't get included in the library
11657 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11660 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11661 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11662 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11664 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11665 hardcode_libdir_separator_CXX
=:
11667 # Commands to make compiler produce verbose output that lists
11668 # what "hidden" libraries, object files and flags are used when
11669 # linking a shared library.
11670 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11673 # FIXME: insert proper C++ library support
11680 case $cc_basename in
11682 # Kuck and Associates, Inc. (KAI) C++ Compiler
11684 # KCC will only create a shared library if the output file
11685 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11686 # to its proper name (with version) after linking.
11687 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11689 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11690 hardcode_libdir_separator_CXX
=:
11692 # Archives containing C++ object files must be created using
11693 # the KAI C++ compiler.
11694 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11697 # Rational C++ 2.4.1
11698 # FIXME: insert proper C++ library support
11702 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11703 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11704 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11705 echo "-hidden">> $lib.exp~
11706 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11709 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11710 hardcode_libdir_separator_CXX
=:
11712 # Commands to make compiler produce verbose output that lists
11713 # what "hidden" libraries, object files and flags are used when
11714 # linking a shared library.
11716 # There doesn't appear to be a way to prevent this compiler from
11717 # explicitly linking system object files so we need to strip them
11718 # from the output so that they don't get included in the library
11720 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11723 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11724 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11725 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11727 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11728 hardcode_libdir_separator_CXX
=:
11730 # Commands to make compiler produce verbose output that lists
11731 # what "hidden" libraries, object files and flags are used when
11732 # linking a shared library.
11733 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11736 # FIXME: insert proper C++ library support
11743 # FIXME: insert proper C++ library support
11747 case $cc_basename in
11750 # FIXME: insert proper C++ library support
11755 # FIXME: insert proper C++ library support
11759 # FIXME: insert proper C++ library support
11765 case $cc_basename in
11767 # Sun C++ 4.2, 5.x and Centerline C++
11768 archive_cmds_need_lc_CXX
=yes
11769 no_undefined_flag_CXX
=' -zdefs'
11770 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11771 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11772 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11774 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11775 hardcode_shlibpath_var_CXX
=no
11777 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11779 # The compiler driver will combine and reorder linker options,
11780 # but understands `-z linker_flag'.
11781 # Supported since Solaris 2.6 (maybe 2.5.1?)
11782 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11785 link_all_deplibs_CXX
=yes
11787 output_verbose_link_cmd
='echo'
11789 # Archives containing C++ object files must be created using
11790 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11791 # necessary to make sure instantiated templates are included
11793 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11796 # Green Hills C++ Compiler
11797 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11799 # The C++ compiler must be used to create the archive.
11800 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11803 # GNU C++ compiler with Solaris linker
11804 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11805 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11806 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11807 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11808 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11809 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11811 # Commands to make compiler produce verbose output that lists
11812 # what "hidden" libraries, object files and flags are used when
11813 # linking a shared library.
11814 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11816 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11818 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11819 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11820 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11822 # Commands to make compiler produce verbose output that lists
11823 # what "hidden" libraries, object files and flags are used when
11824 # linking a shared library.
11825 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11828 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11830 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11832 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11839 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11840 no_undefined_flag_CXX
='${wl}-z,text'
11841 archive_cmds_need_lc_CXX
=no
11842 hardcode_shlibpath_var_CXX
=no
11843 runpath_var
='LD_RUN_PATH'
11845 case $cc_basename in
11847 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11848 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11851 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11852 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11856 sysv5
* | sco3.2v5
* | sco5v6
*)
11857 # Note: We can NOT use -z defs as we might desire, because we do not
11858 # link with -lc, and that would cause any symbols used from libc to
11859 # always be unresolved, which means just about no library would
11860 # ever link correctly. If we're not using GNU ld we use -z text
11861 # though, which does catch some bad symbols but isn't as heavy-handed
11863 # For security reasons, it is highly recommended that you always
11864 # use absolute paths for naming shared libraries, and exclude the
11865 # DT_RUNPATH tag from executables and libraries. But doing so
11866 # requires that you compile everything twice, which is a pain.
11867 # So that behaviour is only enabled if SCOABSPATH is set to a
11868 # non-empty value in the environment. Most likely only useful for
11869 # creating official distributions of packages.
11870 # This is a hack until libtool officially supports absolute path
11871 # names for shared libraries.
11872 no_undefined_flag_CXX
='${wl}-z,text'
11873 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11874 archive_cmds_need_lc_CXX
=no
11875 hardcode_shlibpath_var_CXX
=no
11876 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11877 hardcode_libdir_separator_CXX
=':'
11878 link_all_deplibs_CXX
=yes
11879 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11880 runpath_var
='LD_RUN_PATH'
11882 case $cc_basename in
11884 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11885 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11888 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11889 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11894 case $cc_basename in
11896 # NonStop-UX NCC 3.20
11897 # FIXME: insert proper C++ library support
11901 # FIXME: insert proper C++ library support
11907 # FIXME: insert proper C++ library support
11911 # FIXME: insert proper C++ library support
11915 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11916 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11917 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11923 ## There is no encapsulation within the following macros, do not change
11924 ## the running order or otherwise move them around unless you know exactly
11925 ## what you are doing...
11927 cat > conftest.
$ac_ext <<EOF
11931 Foo (void) { a = 0; }
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938 (eval $ac_compile) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; then
11942 # Parse the compiler output and extract the necessary
11943 # objects, libraries and library flags.
11945 # Sentinel used to keep track of whether or not we are before
11946 # the conftest object file.
11947 pre_test_object_deps_done
=no
11949 # The `*' in the case matches for architectures that use `case' in
11950 # $output_verbose_cmd can trigger glob expansion during the loop
11951 # eval without this substitution.
11952 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11954 for p
in `eval $output_verbose_link_cmd`; do
11958 # Some compilers place space between "-{L,R}" and the path.
11959 # Remove the space.
11960 if test $p = "-L" \
11961 ||
test $p = "-R"; then
11968 if test "$pre_test_object_deps_done" = no
; then
11971 # Internal compiler library paths should come after those
11972 # provided the user. The postdeps already come after the
11973 # user supplied libs so there is no need to process them.
11974 if test -z "$compiler_lib_search_path_CXX"; then
11975 compiler_lib_search_path_CXX
="${prev}${p}"
11977 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11980 # The "-l" case would never come before the object being
11981 # linked, so don't bother handling this case.
11984 if test -z "$postdeps_CXX"; then
11985 postdeps_CXX
="${prev}${p}"
11987 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11993 # This assumes that the test object file only shows up
11994 # once in the compiler output.
11995 if test "$p" = "conftest.$objext"; then
11996 pre_test_object_deps_done
=yes
12000 if test "$pre_test_object_deps_done" = no
; then
12001 if test -z "$predep_objects_CXX"; then
12002 predep_objects_CXX
="$p"
12004 predep_objects_CXX
="$predep_objects_CXX $p"
12007 if test -z "$postdep_objects_CXX"; then
12008 postdep_objects_CXX
="$p"
12010 postdep_objects_CXX
="$postdep_objects_CXX $p"
12015 *) ;; # Ignore the rest.
12023 echo "libtool.m4: error: problem compiling CXX test program"
12026 $rm -f confest.
$objext
12028 # PORTME: override above test on systems where it is broken
12031 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12032 # hack all around it, let's just trust "g++" to DTRT.
12033 predep_objects_CXX
=
12034 postdep_objects_CXX
=
12039 case `$CC -V 2>&1 | sed 5q` in
12043 # The more standards-conforming stlport4 library is
12044 # incompatible with the Cstd library. Avoid specifying
12045 # it if it's in CXXFLAGS. Ignore libCrun as
12046 # -library=stlport4 depends on it.
12047 case " $CXX $CXXFLAGS " in
12048 *" -library=stlport4 "*)
12049 solaris_use_stlport4
=yes
12052 if test "$solaris_use_stlport4" != yes; then
12053 postdeps_CXX
='-library=Cstd -library=Crun'
12060 case $cc_basename in
12062 # The more standards-conforming stlport4 library is
12063 # incompatible with the Cstd library. Avoid specifying
12064 # it if it's in CXXFLAGS. Ignore libCrun as
12065 # -library=stlport4 depends on it.
12066 case " $CXX $CXXFLAGS " in
12067 *" -library=stlport4 "*)
12068 solaris_use_stlport4
=yes
12072 # Adding this requires a known-good setup of shared libraries for
12073 # Sun compiler versions before 5.6, else PIC objects from an old
12074 # archive will be linked into the output, leading to subtle bugs.
12075 if test "$solaris_use_stlport4" != yes; then
12076 postdeps_CXX
='-library=Cstd -library=Crun'
12084 case " $postdeps_CXX " in
12085 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12088 lt_prog_compiler_wl_CXX
=
12089 lt_prog_compiler_pic_CXX
=
12090 lt_prog_compiler_static_CXX
=
12092 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12093 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12095 # C++ specific cases for pic, static, wl, etc.
12096 if test "$GXX" = yes; then
12097 lt_prog_compiler_wl_CXX
='-Wl,'
12098 lt_prog_compiler_static_CXX
='-static'
12102 # All AIX code is PIC.
12103 if test "$host_cpu" = ia64
; then
12104 # AIX 5 now supports IA64 processor
12105 lt_prog_compiler_static_CXX
='-Bstatic'
12109 # FIXME: we need at least 68020 code to build shared libraries, but
12110 # adding the `-m68020' flag to GCC prevents building anything better,
12112 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12114 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12115 # PIC is the default for these OSes.
12117 mingw
* | cygwin
* | os2
* | pw32
*)
12118 # This hack is so that the source file can tell whether it is being
12119 # built for inclusion in a dll (and should export symbols for example).
12120 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12121 # (--disable-auto-import) libraries
12122 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12124 darwin
* | rhapsody
*)
12125 # PIC is the default on this platform
12126 # Common symbols not allowed in MH_DYLIB files
12127 lt_prog_compiler_pic_CXX
='-fno-common'
12130 # DJGPP does not support shared libraries at all
12131 lt_prog_compiler_pic_CXX
=
12134 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12135 # Instead, we relocate shared libraries at runtime.
12138 if test -d /usr
/nec
; then
12139 lt_prog_compiler_pic_CXX
=-Kconform_pic
12143 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12144 # not for PA HP-UX.
12149 lt_prog_compiler_pic_CXX
='-fPIC'
12154 lt_prog_compiler_pic_CXX
='-fPIC'
12160 # All AIX code is PIC.
12161 if test "$host_cpu" = ia64
; then
12162 # AIX 5 now supports IA64 processor
12163 lt_prog_compiler_static_CXX
='-Bstatic'
12165 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12169 case $cc_basename in
12171 # Green Hills C++ Compiler
12172 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12177 # PIC is the default on this platform
12178 # Common symbols not allowed in MH_DYLIB files
12179 case $cc_basename in
12181 lt_prog_compiler_pic_CXX
='-qnocommon'
12182 lt_prog_compiler_wl_CXX
='-Wl,'
12187 case $cc_basename in
12189 lt_prog_compiler_pic_CXX
='-KPIC'
12192 # Green Hills C++ Compiler
12193 lt_prog_compiler_pic_CXX
='-pic'
12199 freebsd
* | dragonfly
*)
12200 # FreeBSD uses GNU C++
12202 hpux9
* | hpux10
* | hpux11
*)
12203 case $cc_basename in
12205 lt_prog_compiler_wl_CXX
='-Wl,'
12206 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12207 if test "$host_cpu" != ia64
; then
12208 lt_prog_compiler_pic_CXX
='+Z'
12212 lt_prog_compiler_wl_CXX
='-Wl,'
12213 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12219 lt_prog_compiler_pic_CXX
='+Z'
12228 # This is c89, which is MS Visual C++ (no shared libs)
12229 # Anyone wants to do a port?
12231 irix5
* | irix6
* | nonstopux
*)
12232 case $cc_basename in
12234 lt_prog_compiler_wl_CXX
='-Wl,'
12235 lt_prog_compiler_static_CXX
='-non_shared'
12236 # CC pic flag -KPIC is the default.
12242 linux
* | k
*bsd
*-gnu)
12243 case $cc_basename in
12246 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12247 lt_prog_compiler_pic_CXX
='-fPIC'
12251 lt_prog_compiler_wl_CXX
='-Wl,'
12252 lt_prog_compiler_pic_CXX
='-KPIC'
12253 lt_prog_compiler_static_CXX
='-static'
12256 # Portland Group C++ compiler.
12257 lt_prog_compiler_wl_CXX
='-Wl,'
12258 lt_prog_compiler_pic_CXX
='-fpic'
12259 lt_prog_compiler_static_CXX
='-Bstatic'
12263 # Make sure the PIC flag is empty. It appears that all Alpha
12264 # Linux and Compaq Tru64 Unix objects are PIC.
12265 lt_prog_compiler_pic_CXX
=
12266 lt_prog_compiler_static_CXX
='-non_shared'
12269 case `$CC -V 2>&1 | sed 5q` in
12272 lt_prog_compiler_pic_CXX
='-KPIC'
12273 lt_prog_compiler_static_CXX
='-Bstatic'
12274 lt_prog_compiler_wl_CXX
='-Qoption ld '
12285 case $cc_basename in
12287 lt_prog_compiler_pic_CXX
='-W c,exportall'
12295 osf3
* | osf4
* | osf5
*)
12296 case $cc_basename in
12298 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12301 # Rational C++ 2.4.1
12302 lt_prog_compiler_pic_CXX
='-pic'
12305 # Digital/Compaq C++
12306 lt_prog_compiler_wl_CXX
='-Wl,'
12307 # Make sure the PIC flag is empty. It appears that all Alpha
12308 # Linux and Compaq Tru64 Unix objects are PIC.
12309 lt_prog_compiler_pic_CXX
=
12310 lt_prog_compiler_static_CXX
='-non_shared'
12319 case $cc_basename in
12321 # Sun C++ 4.2, 5.x and Centerline C++
12322 lt_prog_compiler_pic_CXX
='-KPIC'
12323 lt_prog_compiler_static_CXX
='-Bstatic'
12324 lt_prog_compiler_wl_CXX
='-Qoption ld '
12327 # Green Hills C++ Compiler
12328 lt_prog_compiler_pic_CXX
='-PIC'
12335 case $cc_basename in
12338 lt_prog_compiler_pic_CXX
='-pic'
12339 lt_prog_compiler_static_CXX
='-Bstatic'
12343 lt_prog_compiler_pic_CXX
='-pic'
12350 case $cc_basename in
12352 # NonStop-UX NCC 3.20
12353 lt_prog_compiler_pic_CXX
='-KPIC'
12359 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12360 case $cc_basename in
12362 lt_prog_compiler_wl_CXX
='-Wl,'
12363 lt_prog_compiler_pic_CXX
='-KPIC'
12364 lt_prog_compiler_static_CXX
='-Bstatic'
12371 lt_prog_compiler_can_build_shared_CXX
=no
12376 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12377 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12380 # Check to make sure the PIC flag actually works.
12382 if test -n "$lt_prog_compiler_pic_CXX"; then
12384 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12385 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12386 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 lt_prog_compiler_pic_works_CXX
=no
12390 ac_outfile
=conftest.
$ac_objext
12391 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12392 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12393 # Insert the option either (1) after the last *FLAGS variable, or
12394 # (2) before a word containing "conftest.", or (3) at the end.
12395 # Note that $ac_compile itself does not contain backslashes and begins
12396 # with a dollar sign (not a hyphen), so the echo should work correctly.
12397 # The option is referenced via a variable to avoid confusing sed.
12398 lt_compile
=`echo "$ac_compile" | $SED \
12399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12401 -e 's:$: $lt_compiler_flag:'`
12402 (eval echo "\"\$as_me:12402: $lt_compile\"" >&5)
12403 (eval "$lt_compile" 2>conftest.err
)
12405 cat conftest.err
>&5
12406 echo "$as_me:12406: \$? = $ac_status" >&5
12407 if (exit $ac_status) && test -s "$ac_outfile"; then
12408 # The compiler can only warn and ignore the option if not recognized
12409 # So say no if there are warnings other than the usual output.
12410 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12411 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12412 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12413 lt_prog_compiler_pic_works_CXX
=yes
12419 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12420 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12422 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12423 case $lt_prog_compiler_pic_CXX in
12425 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12428 lt_prog_compiler_pic_CXX
=
12429 lt_prog_compiler_can_build_shared_CXX
=no
12434 # For platforms which do not support PIC, -DPIC is meaningless:
12436 lt_prog_compiler_pic_CXX
=
12439 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12444 # Check to make sure the static flag actually works.
12446 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12447 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12448 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12449 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 lt_prog_compiler_static_works_CXX
=no
12453 save_LDFLAGS
="$LDFLAGS"
12454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12457 # The linker can only warn and ignore the option if not recognized
12458 # So say no if there are warnings
12459 if test -s conftest.err
; then
12460 # Append any errors to the config.log.
12461 cat conftest.err
1>&5
12462 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12464 if diff conftest.exp conftest.er2
>/dev
/null
; then
12465 lt_prog_compiler_static_works_CXX
=yes
12468 lt_prog_compiler_static_works_CXX
=yes
12472 LDFLAGS
="$save_LDFLAGS"
12475 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12476 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12478 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12481 lt_prog_compiler_static_CXX
=
12485 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12486 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12487 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 lt_cv_prog_compiler_c_o_CXX
=no
12491 $rm -r conftest
2>/dev
/null
12495 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12497 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12498 # Insert the option either (1) after the last *FLAGS variable, or
12499 # (2) before a word containing "conftest.", or (3) at the end.
12500 # Note that $ac_compile itself does not contain backslashes and begins
12501 # with a dollar sign (not a hyphen), so the echo should work correctly.
12502 lt_compile
=`echo "$ac_compile" | $SED \
12503 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12504 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12505 -e 's:$: $lt_compiler_flag:'`
12506 (eval echo "\"\$as_me:12506: $lt_compile\"" >&5)
12507 (eval "$lt_compile" 2>out
/conftest.err
)
12509 cat out
/conftest.err
>&5
12510 echo "$as_me:12510: \$? = $ac_status" >&5
12511 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12513 # The compiler can only warn and ignore the option if not recognized
12514 # So say no if there are warnings
12515 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12516 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12517 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12518 lt_cv_prog_compiler_c_o_CXX
=yes
12523 # SGI C++ compiler will create directory out/ii_files/ for
12524 # template instantiation
12525 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12526 $rm out
/* && rmdir out
12532 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12533 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12536 hard_links
="nottested"
12537 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12538 # do not overwrite the value of need_locks provided by the user
12539 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12540 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12543 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12545 ln conftest.a conftest.b
2>&5 || hard_links
=no
12546 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12547 echo "$as_me:$LINENO: result: $hard_links" >&5
12548 echo "${ECHO_T}$hard_links" >&6
12549 if test "$hard_links" = no
; then
12550 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12551 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12558 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12559 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12561 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12564 # If we're using GNU nm, then we don't want the "-C" option.
12565 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12566 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12567 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12569 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12573 export_symbols_cmds_CXX
="$ltdll_cmds"
12576 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12579 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12583 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12584 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12585 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12588 # Do we need to explicitly link libc?
12590 case "x$archive_cmds_need_lc_CXX" in
12592 # Assume -lc should be added
12593 archive_cmds_need_lc_CXX
=yes
12595 if test "$enable_shared" = yes && test "$GCC" = yes; then
12596 case $archive_cmds_CXX in
12598 # FIXME: we may have to deal with multi-command sequences.
12601 # Test whether the compiler implicitly links with -lc since on some
12602 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12603 # to ld, don't add -lc before -lgcc.
12604 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12605 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12607 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12610 (eval $ac_compile) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } 2>conftest.err
; then
12616 libobjs
=conftest.
$ac_objext
12618 wl
=$lt_prog_compiler_wl_CXX
12619 pic_flag
=$lt_prog_compiler_pic_CXX
12625 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12626 allow_undefined_flag_CXX
=
12627 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12628 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }
12633 archive_cmds_need_lc_CXX
=no
12635 archive_cmds_need_lc_CXX
=yes
12637 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12639 cat conftest.err
1>&5
12642 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12643 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12650 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12651 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12652 library_names_spec
=
12653 libname_spec
='lib$name'
12657 postuninstall_cmds
=
12661 shlibpath_overrides_runpath
=unknown
12663 dynamic_linker
="$host_os ld.so"
12664 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12666 need_lib_prefix
=unknown
12667 hardcode_into_libs
=no
12669 # when you set need_version to no, make sure it does not cause -set_version
12670 # flags to be left without arguments
12671 need_version
=unknown
12676 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12677 shlibpath_var
=LIBPATH
12679 # AIX 3 has no versioning support, so we append a major version to the name.
12680 soname_spec
='${libname}${release}${shared_ext}$major'
12687 hardcode_into_libs
=yes
12688 if test "$host_cpu" = ia64
; then
12689 # AIX 5 supports IA64
12690 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12691 shlibpath_var
=LD_LIBRARY_PATH
12693 # With GCC up to 2.95.x, collect2 would create an import file
12694 # for dependence libraries. The import file would start with
12695 # the line `#! .'. This would cause the generated library to
12696 # depend on `.', always an invalid library. This was fixed in
12697 # development snapshots of GCC prior to 3.0.
12699 aix4 | aix4.
[01] | aix4.
[01].
*)
12700 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12702 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12705 can_build_shared
=no
12709 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12710 # soname into executable. Probably we can add versioning support to
12711 # collect2, so additional links can be useful in future.
12712 if test "$aix_use_runtimelinking" = yes; then
12713 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12714 # instead of lib<name>.a to let people know that these are not
12715 # typical AIX shared libraries.
12716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12718 # We preserve .a as extension for shared libraries through AIX4.2
12719 # and later when we are not doing run time linking.
12720 library_names_spec
='${libname}${release}.a $libname.a'
12721 soname_spec
='${libname}${release}${shared_ext}$major'
12723 shlibpath_var
=LIBPATH
12728 library_names_spec
='$libname.ixlibrary $libname.a'
12729 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12730 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12734 library_names_spec
='${libname}${shared_ext}'
12735 dynamic_linker
="$host_os ld.so"
12736 shlibpath_var
=LIBRARY_PATH
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12743 soname_spec
='${libname}${release}${shared_ext}$major'
12744 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12745 shlibpath_var
=LD_LIBRARY_PATH
12746 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12747 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12748 # the default ld.so.conf also contains /usr/contrib/lib and
12749 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12750 # libtool to hard-code these into programs
12753 cygwin
* | mingw
* | pw32
*)
12754 version_type
=windows
12759 case $GCC,$host_os in
12760 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12761 library_names_spec
='$libname.dll.a'
12762 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12763 postinstall_cmds
='base_file=`basename \${file}`~
12764 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12765 dldir=$destdir/`dirname \$dlpath`~
12766 test -d \$dldir || mkdir -p \$dldir~
12767 $install_prog $dir/$dlname \$dldir/$dlname~
12768 chmod a+x \$dldir/$dlname'
12769 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12770 dlpath=$dir/\$dldll~
12772 shlibpath_overrides_runpath
=yes
12776 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12777 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12778 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12781 # MinGW DLLs use traditional 'lib' prefix
12782 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12783 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12784 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12785 # It is most probably a Windows format PATH printed by
12786 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12787 # path with ; separators, and with drive letters. We can handle the
12788 # drive letters (cygwin fileutils understands them), so leave them,
12789 # especially as we might pass files found there to a mingw objdump,
12790 # which wouldn't understand a cygwinified path. Ahh.
12791 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12793 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12797 # pw32 DLLs use 'pw' prefix rather than 'lib'
12798 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12804 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12807 dynamic_linker
='Win32 ld.exe'
12808 # FIXME: first we should search . and the directory the executable is in
12812 darwin
* | rhapsody
*)
12813 dynamic_linker
="$host_os dyld"
12814 version_type
=darwin
12817 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12818 soname_spec
='${libname}${release}${major}$shared_ext'
12819 shlibpath_overrides_runpath
=yes
12820 shlibpath_var
=DYLD_LIBRARY_PATH
12821 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12823 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12831 soname_spec
='${libname}${release}${shared_ext}$major'
12832 shlibpath_var
=LD_LIBRARY_PATH
12839 freebsd
* | dragonfly
*)
12840 # DragonFly does not have aout. When/if they implement a new
12841 # versioning mechanism, adjust this.
12842 if test -x /usr
/bin
/objformat
; then
12843 objformat
=`/usr/bin/objformat`
12846 freebsd
[123]*) objformat
=aout
;;
12847 *) objformat
=elf
;;
12850 version_type
=freebsd-
$objformat
12851 case $version_type in
12853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12858 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12862 shlibpath_var
=LD_LIBRARY_PATH
12865 shlibpath_overrides_runpath
=yes
12867 freebsd3.
[01]* | freebsdelf3.
[01]*)
12868 shlibpath_overrides_runpath
=yes
12869 hardcode_into_libs
=yes
12871 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12872 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12873 shlibpath_overrides_runpath
=no
12874 hardcode_into_libs
=yes
12876 *) # from 4.6 on, and DragonFly
12877 shlibpath_overrides_runpath
=yes
12878 hardcode_into_libs
=yes
12887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12888 soname_spec
='${libname}${release}${shared_ext}$major'
12889 shlibpath_var
=LD_LIBRARY_PATH
12890 hardcode_into_libs
=yes
12893 hpux9
* | hpux10
* | hpux11
*)
12894 # Give a soname corresponding to the major version so that dld.sl refuses to
12895 # link against other versions.
12902 hardcode_into_libs
=yes
12903 dynamic_linker
="$host_os dld.so"
12904 shlibpath_var
=LD_LIBRARY_PATH
12905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12907 soname_spec
='${libname}${release}${shared_ext}$major'
12908 if test "X$HPUX_IA64_MODE" = X32
; then
12909 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12911 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12913 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12917 hardcode_into_libs
=yes
12918 dynamic_linker
="$host_os dld.sl"
12919 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12920 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12922 soname_spec
='${libname}${release}${shared_ext}$major'
12923 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12924 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12928 dynamic_linker
="$host_os dld.sl"
12929 shlibpath_var
=SHLIB_PATH
12930 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12932 soname_spec
='${libname}${release}${shared_ext}$major'
12935 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12936 postinstall_cmds
='chmod 555 $lib'
12943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12944 soname_spec
='${libname}${release}${shared_ext}$major'
12945 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12946 shlibpath_var
=LD_LIBRARY_PATH
12947 shlibpath_overrides_runpath
=no
12948 hardcode_into_libs
=yes
12951 irix5
* | irix6
* | nonstopux
*)
12953 nonstopux
*) version_type
=nonstopux
;;
12955 if test "$lt_cv_prog_gnu_ld" = yes; then
12963 soname_spec
='${libname}${release}${shared_ext}$major'
12964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12966 irix5
* | nonstopux
*)
12967 libsuff
= shlibsuff
=
12970 case $LD in # libtool.m4 will add one of these switches to LD
12971 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12972 libsuff
= shlibsuff
= libmagic
=32-bit;;
12973 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12974 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12975 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12976 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12977 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12981 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12982 shlibpath_overrides_runpath
=no
12983 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12984 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12985 hardcode_into_libs
=yes
12988 # No shared lib support for Linux oldld, aout, or coff.
12989 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12993 # This must be Linux ELF.
12994 linux
* | k
*bsd
*-gnu)
12998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12999 soname_spec
='${libname}${release}${shared_ext}$major'
13000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13001 shlibpath_var
=LD_LIBRARY_PATH
13002 shlibpath_overrides_runpath
=no
13003 # This implies no fast_install, which is unacceptable.
13004 # Some rework will be needed to allow for fast_install
13005 # before this can be enabled.
13006 hardcode_into_libs
=yes
13008 # Append ld.so.conf contents to the search path
13009 if test -f /etc
/ld.so.conf
; then
13010 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13011 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13014 # We used to test for /lib/ld.so.1 and disable shared libraries on
13015 # powerpc, because MkLinux only supported shared libraries with the
13016 # GNU dynamic linker. Since this was broken with cross compilers,
13017 # most powerpc-linux boxes support dynamic linking these days and
13018 # people can always --disable-shared, the test was removed, and we
13019 # assume the GNU/Linux dynamic linker is in use.
13020 dynamic_linker
='GNU/Linux ld.so'
13027 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13029 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13030 dynamic_linker
='NetBSD (a.out) ld.so'
13032 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13033 soname_spec
='${libname}${release}${shared_ext}$major'
13034 dynamic_linker
='NetBSD ld.elf_so'
13036 shlibpath_var
=LD_LIBRARY_PATH
13037 shlibpath_overrides_runpath
=yes
13038 hardcode_into_libs
=yes
13043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13044 shlibpath_var
=LD_LIBRARY_PATH
13045 shlibpath_overrides_runpath
=yes
13052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13053 soname_spec
='${libname}${release}${shared_ext}$major'
13054 shlibpath_var
=LD_LIBRARY_PATH
13055 shlibpath_overrides_runpath
=yes
13060 sys_lib_dlsearch_path_spec
="/usr/lib"
13062 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13064 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13065 *) need_version
=no
;;
13067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13068 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13069 shlibpath_var
=LD_LIBRARY_PATH
13070 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13072 openbsd2.
[89] | openbsd2.
[89].
*)
13073 shlibpath_overrides_runpath
=no
13076 shlibpath_overrides_runpath
=yes
13080 shlibpath_overrides_runpath
=yes
13085 libname_spec
='$name'
13088 library_names_spec
='$libname${shared_ext} $libname.a'
13089 dynamic_linker
='OS/2 ld.exe'
13090 shlibpath_var
=LIBPATH
13093 osf3
* | osf4
* | osf5
*)
13097 soname_spec
='${libname}${release}${shared_ext}$major'
13098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13099 shlibpath_var
=LD_LIBRARY_PATH
13100 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13101 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13113 soname_spec
='${libname}${release}${shared_ext}$major'
13114 shlibpath_var
=LD_LIBRARY_PATH
13115 shlibpath_overrides_runpath
=yes
13116 hardcode_into_libs
=yes
13117 # ldd complains unless libraries are executable
13118 postinstall_cmds
='chmod +x $lib'
13123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13124 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13125 shlibpath_var
=LD_LIBRARY_PATH
13126 shlibpath_overrides_runpath
=yes
13127 if test "$with_gnu_ld" = yes; then
13135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13136 soname_spec
='${libname}${release}${shared_ext}$major'
13137 shlibpath_var
=LD_LIBRARY_PATH
13138 case $host_vendor in
13140 shlibpath_overrides_runpath
=no
13142 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13143 runpath_var
=LD_RUN_PATH
13151 shlibpath_overrides_runpath
=no
13152 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13158 if test -d /usr
/nec
;then
13160 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13161 soname_spec
='$libname${shared_ext}.$major'
13162 shlibpath_var
=LD_LIBRARY_PATH
13166 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13167 version_type
=freebsd-elf
13170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13171 soname_spec
='${libname}${release}${shared_ext}$major'
13172 shlibpath_var
=LD_LIBRARY_PATH
13173 hardcode_into_libs
=yes
13174 if test "$with_gnu_ld" = yes; then
13175 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13176 shlibpath_overrides_runpath
=no
13178 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13179 shlibpath_overrides_runpath
=yes
13182 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13186 sys_lib_dlsearch_path_spec
='/usr/lib'
13191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13192 soname_spec
='${libname}${release}${shared_ext}$major'
13193 shlibpath_var
=LD_LIBRARY_PATH
13200 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13201 echo "${ECHO_T}$dynamic_linker" >&6
13202 test "$dynamic_linker" = no
&& can_build_shared
=no
13204 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13205 if test "$GCC" = yes; then
13206 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13209 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13210 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13211 hardcode_action_CXX
=
13212 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13213 test -n "$runpath_var_CXX" || \
13214 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13216 # We can hardcode non-existant directories.
13217 if test "$hardcode_direct_CXX" != no
&&
13218 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13219 # have to relink, otherwise we might link with an installed library
13220 # when we should be linking with a yet-to-be-installed one
13221 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13222 test "$hardcode_minus_L_CXX" != no
; then
13223 # Linking always hardcodes the temporary library directory.
13224 hardcode_action_CXX
=relink
13226 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13227 hardcode_action_CXX
=immediate
13230 # We cannot hardcode anything, or else we can only hardcode existing
13232 hardcode_action_CXX
=unsupported
13234 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13235 echo "${ECHO_T}$hardcode_action_CXX" >&6
13237 if test "$hardcode_action_CXX" = relink
; then
13238 # Fast installation is not supported
13239 enable_fast_install
=no
13240 elif test "$shlibpath_overrides_runpath" = yes ||
13241 test "$enable_shared" = no
; then
13242 # Fast installation is not necessary
13243 enable_fast_install
=needless
13247 # The else clause should only fire when bootstrapping the
13248 # libtool distribution, otherwise you forgot to ship ltmain.sh
13249 # with your package, and you will get complaints that there are
13250 # no rules to generate ltmain.sh.
13251 if test -f "$ltmain"; then
13252 # See if we are running on zsh, and set the options which allow our commands through
13253 # without removal of \ escapes.
13254 if test -n "${ZSH_VERSION+set}" ; then
13255 setopt NO_GLOB_SUBST
13257 # Now quote all the things that may contain metacharacters while being
13258 # careful not to overquote the AC_SUBSTed values. We take copies of the
13259 # variables and quote the copies for generation of the libtool script.
13260 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13262 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13263 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13264 deplibs_check_method reload_flag reload_cmds need_locks \
13265 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13266 lt_cv_sys_global_symbol_to_c_name_address \
13267 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13268 old_postinstall_cmds old_postuninstall_cmds \
13272 lt_prog_compiler_wl_CXX \
13273 lt_prog_compiler_pic_CXX \
13274 lt_prog_compiler_static_CXX \
13275 lt_prog_compiler_no_builtin_flag_CXX \
13276 export_dynamic_flag_spec_CXX \
13277 thread_safe_flag_spec_CXX \
13278 whole_archive_flag_spec_CXX \
13279 enable_shared_with_static_runtimes_CXX \
13280 old_archive_cmds_CXX \
13281 old_archive_from_new_cmds_CXX \
13282 predep_objects_CXX \
13283 postdep_objects_CXX \
13286 compiler_lib_search_path_CXX \
13288 archive_expsym_cmds_CXX \
13289 postinstall_cmds_CXX \
13290 postuninstall_cmds_CXX \
13291 old_archive_from_expsyms_cmds_CXX \
13292 allow_undefined_flag_CXX \
13293 no_undefined_flag_CXX \
13294 export_symbols_cmds_CXX \
13295 hardcode_libdir_flag_spec_CXX \
13296 hardcode_libdir_flag_spec_ld_CXX \
13297 hardcode_libdir_separator_CXX \
13298 hardcode_automatic_CXX \
13300 module_expsym_cmds_CXX \
13301 lt_cv_prog_compiler_c_o_CXX \
13302 fix_srcfile_path_CXX \
13303 exclude_expsyms_CXX \
13304 include_expsyms_CXX
; do
13307 old_archive_cmds_CXX | \
13308 old_archive_from_new_cmds_CXX | \
13309 archive_cmds_CXX | \
13310 archive_expsym_cmds_CXX | \
13311 module_cmds_CXX | \
13312 module_expsym_cmds_CXX | \
13313 old_archive_from_expsyms_cmds_CXX | \
13314 export_symbols_cmds_CXX | \
13315 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13316 postinstall_cmds | postuninstall_cmds | \
13317 old_postinstall_cmds | old_postuninstall_cmds | \
13318 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13319 # Double-quote double-evaled strings.
13320 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13323 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13329 *'\$0 --fallback-echo"')
13330 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13336 cat <<__EOF__ >> "$cfgfile"
13337 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13339 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13341 # Shell to use when invoking shell scripts.
13344 # Whether or not to build shared libraries.
13345 build_libtool_libs=$enable_shared
13347 # Whether or not to build static libraries.
13348 build_old_libs=$enable_static
13350 # Whether or not to add -lc for building shared libraries.
13351 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13353 # Whether or not to disallow shared libs when runtime libs are static
13354 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13356 # Whether or not to optimize for fast installation.
13357 fast_install=$enable_fast_install
13360 host_alias=$host_alias
13364 # The build system.
13365 build_alias=$build_alias
13369 # An echo program that does not interpret backslashes.
13374 AR_FLAGS=$lt_AR_FLAGS
13379 # LTCC compiler flags.
13380 LTCFLAGS=$lt_LTCFLAGS
13382 # A language-specific compiler.
13383 CC=$lt_compiler_CXX
13385 # Is the compiler the GNU C compiler?
13391 # The linker used to build libraries.
13394 # Whether we need hard or soft links.
13397 # A BSD-compatible nm program.
13400 # A symbol stripping program
13403 # Used to examine libraries when file_magic_cmd begins "file"
13404 MAGIC_CMD=$MAGIC_CMD
13406 # Used on cygwin: DLL creation program.
13409 # Used on cygwin: object dumper.
13412 # Used on cygwin: assembler.
13415 # The name of the directory that contains temporary libtool files.
13418 # How to create reloadable object files.
13419 reload_flag=$lt_reload_flag
13420 reload_cmds=$lt_reload_cmds
13422 # How to pass a linker flag through the compiler.
13423 wl=$lt_lt_prog_compiler_wl_CXX
13425 # Object file suffix (normally "o").
13426 objext="$ac_objext"
13428 # Old archive suffix (normally "a").
13431 # Shared library suffix (normally ".so").
13432 shrext_cmds='$shrext_cmds'
13434 # Executable file suffix (normally "").
13437 # Additional compiler flags for building library objects.
13438 pic_flag=$lt_lt_prog_compiler_pic_CXX
13441 # What is the maximum length of a command?
13442 max_cmd_len=$lt_cv_sys_max_cmd_len
13444 # Does compiler simultaneously support -c and -o options?
13445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13447 # Must we lock files when doing compilation?
13448 need_locks=$lt_need_locks
13450 # Do we need the lib prefix for modules?
13451 need_lib_prefix=$need_lib_prefix
13453 # Do we need a version for libraries?
13454 need_version=$need_version
13456 # Whether dlopen is supported.
13457 dlopen_support=$enable_dlopen
13459 # Whether dlopen of programs is supported.
13460 dlopen_self=$enable_dlopen_self
13462 # Whether dlopen of statically linked programs is supported.
13463 dlopen_self_static=$enable_dlopen_self_static
13465 # Compiler flag to prevent dynamic linking.
13466 link_static_flag=$lt_lt_prog_compiler_static_CXX
13468 # Compiler flag to turn off builtin functions.
13469 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13471 # Compiler flag to allow reflexive dlopens.
13472 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13474 # Compiler flag to generate shared objects directly from archives.
13475 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13477 # Compiler flag to generate thread-safe objects.
13478 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13480 # Library versioning type.
13481 version_type=$version_type
13483 # Format of library name prefix.
13484 libname_spec=$lt_libname_spec
13486 # List of archive names. First name is the real one, the rest are links.
13487 # The last name is the one that the linker finds with -lNAME.
13488 library_names_spec=$lt_library_names_spec
13490 # The coded name of the library, if different from the real name.
13491 soname_spec=$lt_soname_spec
13493 # Commands used to build and install an old-style archive.
13495 old_archive_cmds=$lt_old_archive_cmds_CXX
13496 old_postinstall_cmds=$lt_old_postinstall_cmds
13497 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13499 # Create an old-style archive from a shared archive.
13500 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13502 # Create a temporary old-style archive to link instead of a shared archive.
13503 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13505 # Commands used to build and install a shared archive.
13506 archive_cmds=$lt_archive_cmds_CXX
13507 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13508 postinstall_cmds=$lt_postinstall_cmds
13509 postuninstall_cmds=$lt_postuninstall_cmds
13511 # Commands used to build a loadable module (assumed same as above if empty)
13512 module_cmds=$lt_module_cmds_CXX
13513 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13515 # Commands to strip libraries.
13516 old_striplib=$lt_old_striplib
13517 striplib=$lt_striplib
13519 # Dependencies to place before the objects being linked to create a
13521 predep_objects=$lt_predep_objects_CXX
13523 # Dependencies to place after the objects being linked to create a
13525 postdep_objects=$lt_postdep_objects_CXX
13527 # Dependencies to place before the objects being linked to create a
13529 predeps=$lt_predeps_CXX
13531 # Dependencies to place after the objects being linked to create a
13533 postdeps=$lt_postdeps_CXX
13535 # The library search path used internally by the compiler when linking
13536 # a shared library.
13537 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13539 # Method to check whether dependent libraries are shared objects.
13540 deplibs_check_method=$lt_deplibs_check_method
13542 # Command to use when deplibs_check_method == file_magic.
13543 file_magic_cmd=$lt_file_magic_cmd
13545 # Flag that allows shared libraries with undefined symbols to be built.
13546 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13548 # Flag that forces no undefined symbols.
13549 no_undefined_flag=$lt_no_undefined_flag_CXX
13551 # Commands used to finish a libtool library installation in a directory.
13552 finish_cmds=$lt_finish_cmds
13554 # Same as above, but a single script fragment to be evaled but not shown.
13555 finish_eval=$lt_finish_eval
13557 # Take the output of nm and produce a listing of raw symbols and C names.
13558 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13560 # Transform the output of nm in a proper C declaration
13561 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13563 # Transform the output of nm in a C name address pair
13564 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13566 # This is the shared library runtime path variable.
13567 runpath_var=$runpath_var
13569 # This is the shared library path variable.
13570 shlibpath_var=$shlibpath_var
13572 # Is shlibpath searched before the hard-coded library search path?
13573 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13575 # How to hardcode a shared library path into an executable.
13576 hardcode_action=$hardcode_action_CXX
13578 # Whether we should hardcode library paths into libraries.
13579 hardcode_into_libs=$hardcode_into_libs
13581 # Flag to hardcode \$libdir into a binary during linking.
13582 # This must work even if \$libdir does not exist.
13583 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13585 # If ld is used when linking, flag to hardcode \$libdir into
13586 # a binary during linking. This must work even if \$libdir does
13588 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13590 # Whether we need a single -rpath flag with a separated argument.
13591 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13593 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13594 # resulting binary.
13595 hardcode_direct=$hardcode_direct_CXX
13597 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13598 # resulting binary.
13599 hardcode_minus_L=$hardcode_minus_L_CXX
13601 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13602 # the resulting binary.
13603 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13605 # Set to yes if building a shared library automatically hardcodes DIR into the library
13606 # and all subsequent libraries and executables linked against it.
13607 hardcode_automatic=$hardcode_automatic_CXX
13609 # Variables whose values should be saved in libtool wrapper scripts and
13610 # restored at relink time.
13611 variables_saved_for_relink="$variables_saved_for_relink"
13613 # Whether libtool must link a program against all its dependency libraries.
13614 link_all_deplibs=$link_all_deplibs_CXX
13616 # Compile-time system search path for libraries
13617 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13619 # Run-time system search path for libraries
13620 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13622 # Fix the shell variable \$srcfile for the compiler.
13623 fix_srcfile_path=$lt_fix_srcfile_path
13625 # Set to yes if exported symbols are required.
13626 always_export_symbols=$always_export_symbols_CXX
13628 # The commands to list exported symbols.
13629 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13631 # The commands to extract the exported symbol list from a shared archive.
13632 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13634 # Symbols that should not be listed in the preloaded symbols.
13635 exclude_expsyms=$lt_exclude_expsyms_CXX
13637 # Symbols that must always be exported.
13638 include_expsyms=$lt_include_expsyms_CXX
13640 # ### END LIBTOOL TAG CONFIG: $tagname
13646 # If there is no Makefile yet, we rely on a make rule to execute
13647 # `config.status --recheck' to rerun these tests and create the
13648 # libtool script then.
13649 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13650 if test -f "$ltmain_in"; then
13651 test -f Makefile
&& make "$ltmain"
13657 ac_cpp
='$CPP $CPPFLAGS'
13658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13666 with_gnu_ldcxx
=$with_gnu_ld
13667 with_gnu_ld
=$lt_save_with_gnu_ld
13668 lt_cv_path_LDCXX
=$lt_cv_path_LD
13669 lt_cv_path_LD
=$lt_save_path_LD
13670 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13671 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13679 if test -n "$F77" && test "X$F77" != "Xno"; then
13682 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13683 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13687 archive_cmds_need_lc_F77
=no
13688 allow_undefined_flag_F77
=
13689 always_export_symbols_F77
=no
13690 archive_expsym_cmds_F77
=
13691 export_dynamic_flag_spec_F77
=
13692 hardcode_direct_F77
=no
13693 hardcode_libdir_flag_spec_F77
=
13694 hardcode_libdir_flag_spec_ld_F77
=
13695 hardcode_libdir_separator_F77
=
13696 hardcode_minus_L_F77
=no
13697 hardcode_automatic_F77
=no
13699 module_expsym_cmds_F77
=
13700 link_all_deplibs_F77
=unknown
13701 old_archive_cmds_F77
=$old_archive_cmds
13702 no_undefined_flag_F77
=
13703 whole_archive_flag_spec_F77
=
13704 enable_shared_with_static_runtimes_F77
=no
13706 # Source file extension for f77 test sources.
13709 # Object file extension for compiled f77 test sources.
13713 # Code to be used in simple compile tests
13714 lt_simple_compile_test_code
="\
13720 # Code to be used in simple link tests
13721 lt_simple_link_test_code
="\
13726 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13728 # If no C compiler was specified, use CC.
13731 # If no C compiler flags were specified, use CFLAGS.
13732 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13734 # Allow CC to be a program name with arguments.
13738 # save warnings/boilerplate of simple test code
13739 ac_outfile
=conftest.
$ac_objext
13740 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13741 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13742 _lt_compiler_boilerplate
=`cat conftest.err`
13745 ac_outfile
=conftest.
$ac_objext
13746 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13747 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13748 _lt_linker_boilerplate
=`cat conftest.err`
13752 # Allow CC to be a program name with arguments.
13757 for cc_temp
in $compiler""; do
13759 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13760 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13765 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13768 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13769 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13770 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13771 echo "${ECHO_T}$can_build_shared" >&6
13773 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13774 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13775 test "$can_build_shared" = "no" && enable_shared
=no
13777 # On AIX, shared libraries and static libraries use the same namespace, and
13778 # are all built from PIC.
13781 test "$enable_shared" = yes && enable_static
=no
13782 if test -n "$RANLIB"; then
13783 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13784 postinstall_cmds
='$RANLIB $lib'
13788 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13789 test "$enable_shared" = yes && enable_static
=no
13793 echo "$as_me:$LINENO: result: $enable_shared" >&5
13794 echo "${ECHO_T}$enable_shared" >&6
13796 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13797 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13798 # Make sure either enable_shared or enable_static is yes.
13799 test "$enable_shared" = yes || enable_static
=yes
13800 echo "$as_me:$LINENO: result: $enable_static" >&5
13801 echo "${ECHO_T}$enable_static" >&6
13806 lt_prog_compiler_wl_F77
=
13807 lt_prog_compiler_pic_F77
=
13808 lt_prog_compiler_static_F77
=
13810 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13811 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13813 if test "$GCC" = yes; then
13814 lt_prog_compiler_wl_F77
='-Wl,'
13815 lt_prog_compiler_static_F77
='-static'
13819 # All AIX code is PIC.
13820 if test "$host_cpu" = ia64
; then
13821 # AIX 5 now supports IA64 processor
13822 lt_prog_compiler_static_F77
='-Bstatic'
13827 # FIXME: we need at least 68020 code to build shared libraries, but
13828 # adding the `-m68020' flag to GCC prevents building anything better,
13830 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13833 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13834 # PIC is the default for these OSes.
13837 mingw
* | cygwin
* | pw32
* | os2
*)
13838 # This hack is so that the source file can tell whether it is being
13839 # built for inclusion in a dll (and should export symbols for example).
13840 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13841 # (--disable-auto-import) libraries
13842 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13845 darwin
* | rhapsody
*)
13846 # PIC is the default on this platform
13847 # Common symbols not allowed in MH_DYLIB files
13848 lt_prog_compiler_pic_F77
='-fno-common'
13852 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13853 # Instead, we relocate shared libraries at runtime.
13857 # Just because we use GCC doesn't mean we suddenly get shared libraries
13858 # on systems that don't support them.
13859 lt_prog_compiler_can_build_shared_F77
=no
13864 if test -d /usr
/nec
; then
13865 lt_prog_compiler_pic_F77
=-Kconform_pic
13870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13871 # not for PA HP-UX.
13877 lt_prog_compiler_pic_F77
='-fPIC'
13883 lt_prog_compiler_pic_F77
='-fPIC'
13887 # PORTME Check for flag to pass linker flags through the system compiler.
13890 lt_prog_compiler_wl_F77
='-Wl,'
13891 if test "$host_cpu" = ia64
; then
13892 # AIX 5 now supports IA64 processor
13893 lt_prog_compiler_static_F77
='-Bstatic'
13895 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13899 # PIC is the default on this platform
13900 # Common symbols not allowed in MH_DYLIB files
13901 case $cc_basename in
13903 lt_prog_compiler_pic_F77
='-qnocommon'
13904 lt_prog_compiler_wl_F77
='-Wl,'
13909 mingw
* | cygwin
* | pw32
* | os2
*)
13910 # This hack is so that the source file can tell whether it is being
13911 # built for inclusion in a dll (and should export symbols for example).
13912 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13915 hpux9
* | hpux10
* | hpux11
*)
13916 lt_prog_compiler_wl_F77
='-Wl,'
13917 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13918 # not for PA HP-UX.
13924 lt_prog_compiler_pic_F77
='+Z'
13927 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13928 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13931 irix5
* | irix6
* | nonstopux
*)
13932 lt_prog_compiler_wl_F77
='-Wl,'
13933 # PIC (with -KPIC) is the default.
13934 lt_prog_compiler_static_F77
='-non_shared'
13938 lt_prog_compiler_pic_F77
='-KPIC'
13939 lt_prog_compiler_static_F77
='-Bstatic'
13942 linux
* | k
*bsd
*-gnu)
13943 case $cc_basename in
13945 lt_prog_compiler_wl_F77
='-Wl,'
13946 lt_prog_compiler_pic_F77
='-KPIC'
13947 lt_prog_compiler_static_F77
='-static'
13949 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13950 # Portland Group compilers (*not* the Pentium gcc compiler,
13951 # which looks to be a dead project)
13952 lt_prog_compiler_wl_F77
='-Wl,'
13953 lt_prog_compiler_pic_F77
='-fpic'
13954 lt_prog_compiler_static_F77
='-Bstatic'
13957 lt_prog_compiler_wl_F77
='-Wl,'
13958 # All Alpha code is PIC.
13959 lt_prog_compiler_static_F77
='-non_shared'
13962 case `$CC -V 2>&1 | sed 5q` in
13965 lt_prog_compiler_pic_F77
='-KPIC'
13966 lt_prog_compiler_static_F77
='-Bstatic'
13967 lt_prog_compiler_wl_F77
='-Wl,'
13970 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13971 lt_prog_compiler_pic_F77
='-KPIC'
13972 lt_prog_compiler_static_F77
='-Bstatic'
13973 lt_prog_compiler_wl_F77
=''
13980 osf3
* | osf4
* | osf5
*)
13981 lt_prog_compiler_wl_F77
='-Wl,'
13982 # All OSF/1 code is PIC.
13983 lt_prog_compiler_static_F77
='-non_shared'
13987 lt_prog_compiler_static_F77
='-non_shared'
13991 lt_prog_compiler_pic_F77
='-KPIC'
13992 lt_prog_compiler_static_F77
='-Bstatic'
13993 case $cc_basename in
13994 f77
* | f90
* | f95
*)
13995 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13997 lt_prog_compiler_wl_F77
='-Wl,';;
14002 lt_prog_compiler_wl_F77
='-Qoption ld '
14003 lt_prog_compiler_pic_F77
='-PIC'
14004 lt_prog_compiler_static_F77
='-Bstatic'
14007 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14008 lt_prog_compiler_wl_F77
='-Wl,'
14009 lt_prog_compiler_pic_F77
='-KPIC'
14010 lt_prog_compiler_static_F77
='-Bstatic'
14014 if test -d /usr
/nec
;then
14015 lt_prog_compiler_pic_F77
='-Kconform_pic'
14016 lt_prog_compiler_static_F77
='-Bstatic'
14020 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14021 lt_prog_compiler_wl_F77
='-Wl,'
14022 lt_prog_compiler_pic_F77
='-KPIC'
14023 lt_prog_compiler_static_F77
='-Bstatic'
14027 lt_prog_compiler_wl_F77
='-Wl,'
14028 lt_prog_compiler_can_build_shared_F77
=no
14032 lt_prog_compiler_pic_F77
='-pic'
14033 lt_prog_compiler_static_F77
='-Bstatic'
14037 lt_prog_compiler_can_build_shared_F77
=no
14042 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14043 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14046 # Check to make sure the PIC flag actually works.
14048 if test -n "$lt_prog_compiler_pic_F77"; then
14050 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14051 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14052 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 lt_prog_compiler_pic_works_F77
=no
14056 ac_outfile
=conftest.
$ac_objext
14057 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14058 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14059 # Insert the option either (1) after the last *FLAGS variable, or
14060 # (2) before a word containing "conftest.", or (3) at the end.
14061 # Note that $ac_compile itself does not contain backslashes and begins
14062 # with a dollar sign (not a hyphen), so the echo should work correctly.
14063 # The option is referenced via a variable to avoid confusing sed.
14064 lt_compile
=`echo "$ac_compile" | $SED \
14065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14067 -e 's:$: $lt_compiler_flag:'`
14068 (eval echo "\"\$as_me:14068: $lt_compile\"" >&5)
14069 (eval "$lt_compile" 2>conftest.err
)
14071 cat conftest.err
>&5
14072 echo "$as_me:14072: \$? = $ac_status" >&5
14073 if (exit $ac_status) && test -s "$ac_outfile"; then
14074 # The compiler can only warn and ignore the option if not recognized
14075 # So say no if there are warnings other than the usual output.
14076 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14077 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14078 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14079 lt_prog_compiler_pic_works_F77
=yes
14085 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14086 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14088 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14089 case $lt_prog_compiler_pic_F77 in
14091 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14094 lt_prog_compiler_pic_F77
=
14095 lt_prog_compiler_can_build_shared_F77
=no
14100 # For platforms which do not support PIC, -DPIC is meaningless:
14102 lt_prog_compiler_pic_F77
=
14105 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14110 # Check to make sure the static flag actually works.
14112 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14113 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14114 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14115 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 lt_prog_compiler_static_works_F77
=no
14119 save_LDFLAGS
="$LDFLAGS"
14120 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14121 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14122 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14123 # The linker can only warn and ignore the option if not recognized
14124 # So say no if there are warnings
14125 if test -s conftest.err
; then
14126 # Append any errors to the config.log.
14127 cat conftest.err
1>&5
14128 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14129 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14130 if diff conftest.exp conftest.er2
>/dev
/null
; then
14131 lt_prog_compiler_static_works_F77
=yes
14134 lt_prog_compiler_static_works_F77
=yes
14138 LDFLAGS
="$save_LDFLAGS"
14141 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14142 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14144 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14147 lt_prog_compiler_static_F77
=
14151 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14152 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14153 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 lt_cv_prog_compiler_c_o_F77
=no
14157 $rm -r conftest
2>/dev
/null
14161 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14163 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14164 # Insert the option either (1) after the last *FLAGS variable, or
14165 # (2) before a word containing "conftest.", or (3) at the end.
14166 # Note that $ac_compile itself does not contain backslashes and begins
14167 # with a dollar sign (not a hyphen), so the echo should work correctly.
14168 lt_compile
=`echo "$ac_compile" | $SED \
14169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14171 -e 's:$: $lt_compiler_flag:'`
14172 (eval echo "\"\$as_me:14172: $lt_compile\"" >&5)
14173 (eval "$lt_compile" 2>out
/conftest.err
)
14175 cat out
/conftest.err
>&5
14176 echo "$as_me:14176: \$? = $ac_status" >&5
14177 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14179 # The compiler can only warn and ignore the option if not recognized
14180 # So say no if there are warnings
14181 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14182 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14183 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14184 lt_cv_prog_compiler_c_o_F77
=yes
14189 # SGI C++ compiler will create directory out/ii_files/ for
14190 # template instantiation
14191 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14192 $rm out
/* && rmdir out
14198 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14199 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14202 hard_links
="nottested"
14203 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14204 # do not overwrite the value of need_locks provided by the user
14205 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14206 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14209 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14211 ln conftest.a conftest.b
2>&5 || hard_links
=no
14212 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14213 echo "$as_me:$LINENO: result: $hard_links" >&5
14214 echo "${ECHO_T}$hard_links" >&6
14215 if test "$hard_links" = no
; then
14216 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14217 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14224 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14225 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14228 allow_undefined_flag_F77
=
14229 enable_shared_with_static_runtimes_F77
=no
14231 archive_expsym_cmds_F77
=
14232 old_archive_From_new_cmds_F77
=
14233 old_archive_from_expsyms_cmds_F77
=
14234 export_dynamic_flag_spec_F77
=
14235 whole_archive_flag_spec_F77
=
14236 thread_safe_flag_spec_F77
=
14237 hardcode_libdir_flag_spec_F77
=
14238 hardcode_libdir_flag_spec_ld_F77
=
14239 hardcode_libdir_separator_F77
=
14240 hardcode_direct_F77
=no
14241 hardcode_minus_L_F77
=no
14242 hardcode_shlibpath_var_F77
=unsupported
14243 link_all_deplibs_F77
=unknown
14244 hardcode_automatic_F77
=no
14246 module_expsym_cmds_F77
=
14247 always_export_symbols_F77
=no
14248 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14249 # include_expsyms should be a list of space-separated symbols to be *always*
14250 # included in the symbol list
14251 include_expsyms_F77
=
14252 # exclude_expsyms can be an extended regexp of symbols to exclude
14253 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14254 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14255 # as well as any symbol that contains `d'.
14256 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14257 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14258 # platforms (ab)use it in PIC code, but their linkers get confused if
14259 # the symbol is explicitly referenced. Since portable code cannot
14260 # rely on this symbol name, it's probably fine to never include it in
14261 # preloaded symbol tables.
14262 extract_expsyms_cmds
=
14263 # Just being paranoid about ensuring that cc_basename is set.
14264 for cc_temp
in $compiler""; do
14266 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14267 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14272 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14275 cygwin
* | mingw
* | pw32
*)
14276 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14277 # When not using gcc, we currently assume that we are using
14278 # Microsoft Visual C++.
14279 if test "$GCC" != yes; then
14284 # we just hope/assume this is gcc and not c89 (= MSVC++)
14293 if test "$with_gnu_ld" = yes; then
14294 # If archive_cmds runs LD, not CC, wlarc should be empty
14297 # Set some defaults for GNU ld with shared library support. These
14298 # are reset later if shared libraries are not supported. Putting them
14299 # here allows them to be overridden if necessary.
14300 runpath_var
=LD_RUN_PATH
14301 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14302 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14303 # ancient GNU ld didn't support --whole-archive et. al.
14304 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14305 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14307 whole_archive_flag_spec_F77
=
14309 supports_anon_versioning
=no
14310 case `$LD -v 2>/dev/null` in
14311 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14312 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14313 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14314 *\
2.11.
*) ;; # other 2.11 versions
14315 *) supports_anon_versioning
=yes ;;
14318 # See if GNU ld supports shared libraries.
14320 aix3
* | aix4
* | aix5
*)
14321 # On AIX/PPC, the GNU linker is very broken
14322 if test "$host_cpu" != ia64
; then
14326 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14327 *** to be unable to reliably create shared libraries on AIX.
14328 *** Therefore, libtool is disabling shared libraries support. If you
14329 *** really care for shared libraries, you may want to modify your PATH
14330 *** so that a non-GNU linker is found, and then restart.
14337 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14338 hardcode_libdir_flag_spec_F77
='-L$libdir'
14339 hardcode_minus_L_F77
=yes
14341 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14342 # that the semantics of dynamic libraries on AmigaOS, at least up
14343 # to version 4, is to share data among multiple programs linked
14344 # with the same dynamic library. Since this doesn't match the
14345 # behavior of shared libraries on other platforms, we can't use
14351 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14352 allow_undefined_flag_F77
=unsupported
14353 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14354 # support --undefined. This deserves some investigation. FIXME
14355 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14361 cygwin
* | mingw
* | pw32
*)
14362 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14363 # as there is no search path for DLLs.
14364 hardcode_libdir_flag_spec_F77
='-L$libdir'
14365 allow_undefined_flag_F77
=unsupported
14366 always_export_symbols_F77
=no
14367 enable_shared_with_static_runtimes_F77
=yes
14368 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14370 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14371 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14372 # If the export-symbols file already is a .def file (1st line
14373 # is EXPORTS), use it as is; otherwise, prepend...
14374 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14375 cp $export_symbols $output_objdir/$soname.def;
14377 echo EXPORTS > $output_objdir/$soname.def;
14378 cat $export_symbols >> $output_objdir/$soname.def;
14380 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14387 hardcode_direct_F77
=no
14388 hardcode_shlibpath_var_F77
=no
14389 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14390 export_dynamic_flag_spec_F77
='${wl}-E'
14391 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14392 # Instead, shared libraries are loaded at an image base (0x10000000 by
14393 # default) and relocated if they conflict, which is a slow very memory
14394 # consuming and fragmenting process. To avoid this, we pick a random,
14395 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14396 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14397 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14398 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14401 gnu
* | linux
* | k
*bsd
*-gnu)
14402 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14404 case $cc_basename,$host_cpu in
14405 pgcc
*) # Portland Group C compiler
14406 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14407 tmp_addflag
=' $pic_flag'
14409 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14410 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14411 tmp_addflag
=' $pic_flag -Mnomain' ;;
14412 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14413 tmp_addflag
=' -i_dynamic' ;;
14414 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14415 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14416 ifc
* | ifort
*) # Intel Fortran compiler
14417 tmp_addflag
=' -nofor_main' ;;
14419 case `$CC -V 2>&1 | sed 5q` in
14420 *Sun\ C
*) # Sun C 5.9
14421 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14422 tmp_sharedflag
='-G' ;;
14423 *Sun\ F
*) # Sun Fortran 8.3
14424 tmp_sharedflag
='-G' ;;
14426 tmp_sharedflag
='-shared' ;;
14428 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14430 if test $supports_anon_versioning = yes; then
14431 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14432 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14433 $echo "local: *; };" >> $output_objdir/$libname.ver~
14434 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14442 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14443 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14446 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14447 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14452 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14456 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14457 *** create shared libraries on Solaris systems. Therefore, libtool
14458 *** is disabling shared libraries support. We urge you to upgrade GNU
14459 *** binutils to release 2.9.1 or newer. Another option is to modify
14460 *** your PATH or compiler configuration so that the native linker is
14461 *** used, and then restart.
14464 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14465 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14466 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14472 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14473 case `$LD -v 2>&1` in
14474 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14478 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14479 *** reliably create shared libraries on SCO systems. Therefore, libtool
14480 *** is disabling shared libraries support. We urge you to upgrade GNU
14481 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14482 *** your PATH or compiler configuration so that the native linker is
14483 *** used, and then restart.
14488 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14489 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14490 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14491 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14500 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14502 hardcode_direct_F77
=yes
14503 hardcode_shlibpath_var_F77
=no
14507 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14508 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14509 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14516 if test "$ld_shlibs_F77" = no
; then
14518 hardcode_libdir_flag_spec_F77
=
14519 export_dynamic_flag_spec_F77
=
14520 whole_archive_flag_spec_F77
=
14523 # PORTME fill in a description of your system's linker (not GNU ld)
14526 allow_undefined_flag_F77
=unsupported
14527 always_export_symbols_F77
=yes
14528 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14529 # Note: this linker hardcodes the directories in LIBPATH if there
14530 # are no directories specified by -L.
14531 hardcode_minus_L_F77
=yes
14532 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14533 # Neither direct hardcoding nor static linking is supported with a
14535 hardcode_direct_F77
=unsupported
14540 if test "$host_cpu" = ia64
; then
14541 # On IA64, the linker does run time linking by default, so we don't
14542 # have to do anything special.
14543 aix_use_runtimelinking
=no
14544 exp_sym_flag
='-Bexport'
14547 # If we're using GNU nm, then we don't want the "-C" option.
14548 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14549 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14550 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14552 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14554 aix_use_runtimelinking
=no
14556 # Test if we are trying to use run time linking or normal
14557 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14558 # need to do runtime linking.
14559 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14560 for ld_flag
in $LDFLAGS; do
14561 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14562 aix_use_runtimelinking
=yes
14569 exp_sym_flag
='-bexport'
14570 no_entry_flag
='-bnoentry'
14573 # When large executables or shared objects are built, AIX ld can
14574 # have problems creating the table of contents. If linking a library
14575 # or program results in "error TOC overflow" add -mminimal-toc to
14576 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14577 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14579 archive_cmds_F77
=''
14580 hardcode_direct_F77
=yes
14581 hardcode_libdir_separator_F77
=':'
14582 link_all_deplibs_F77
=yes
14584 if test "$GCC" = yes; then
14585 case $host_os in aix4.
[012]|aix4.
[012].
*)
14586 # We only want to do this on AIX 4.2 and lower, the check
14587 # below for broken collect2 doesn't work under 4.3+
14588 collect2name
=`${CC} -print-prog-name=collect2`
14589 if test -f "$collect2name" && \
14590 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14592 # We have reworked collect2
14595 # We have old collect2
14596 hardcode_direct_F77
=unsupported
14597 # It fails to find uninstalled libraries when the uninstalled
14598 # path is not listed in the libpath. Setting hardcode_minus_L
14599 # to unsupported forces relinking
14600 hardcode_minus_L_F77
=yes
14601 hardcode_libdir_flag_spec_F77
='-L$libdir'
14602 hardcode_libdir_separator_F77
=
14606 shared_flag
='-shared'
14607 if test "$aix_use_runtimelinking" = yes; then
14608 shared_flag
="$shared_flag "'${wl}-G'
14612 if test "$host_cpu" = ia64
; then
14613 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14614 # chokes on -Wl,-G. The following line is correct:
14617 if test "$aix_use_runtimelinking" = yes; then
14618 shared_flag
='${wl}-G'
14620 shared_flag
='${wl}-bM:SRE'
14625 # It seems that -bexpall does not export symbols beginning with
14626 # underscore (_), so it is better to generate a list of symbols to export.
14627 always_export_symbols_F77
=yes
14628 if test "$aix_use_runtimelinking" = yes; then
14629 # Warning - without using the other runtime loading flags (-brtl),
14630 # -berok will link without error, but may produce a broken library.
14631 allow_undefined_flag_F77
='-berok'
14632 # Determine the default libpath from the value encoded in an empty executable.
14633 cat >conftest.
$ac_ext <<_ACEOF
14638 rm -f conftest.
$ac_objext conftest
$ac_exeext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14640 (eval $ac_link) 2>conftest.er1
14642 grep -v '^ *+' conftest.er1
>conftest.err
14644 cat conftest.err
>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try
='test -z "$ac_f77_werror_flag"
14648 || test ! -s conftest.err'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; } &&
14654 { ac_try
='test -s conftest$ac_exeext'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14661 lt_aix_libpath_sed
='
14662 /Import File Strings/,/^$/ {
14668 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14669 # Check for a 64-bit object if we didn't find anything.
14670 if test -z "$aix_libpath"; then
14671 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.
$ac_ext >&5
14678 rm -f conftest.err conftest.
$ac_objext \
14679 conftest
$ac_exeext conftest.
$ac_ext
14680 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14682 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14683 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14685 if test "$host_cpu" = ia64
; then
14686 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
14687 allow_undefined_flag_F77
="-z nodefs"
14688 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14690 # Determine the default libpath from the value encoded in an empty executable.
14691 cat >conftest.
$ac_ext <<_ACEOF
14696 rm -f conftest.
$ac_objext conftest
$ac_exeext
14697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14698 (eval $ac_link) 2>conftest.er1
14700 grep -v '^ *+' conftest.er1
>conftest.err
14702 cat conftest.err
>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } &&
14705 { ac_try
='test -z "$ac_f77_werror_flag"
14706 || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try
='test -s conftest$ac_exeext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14719 lt_aix_libpath_sed
='
14720 /Import File Strings/,/^$/ {
14726 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14727 # Check for a 64-bit object if we didn't find anything.
14728 if test -z "$aix_libpath"; then
14729 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.
$ac_ext >&5
14736 rm -f conftest.err conftest.
$ac_objext \
14737 conftest
$ac_exeext conftest.
$ac_ext
14738 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14740 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14741 # Warning - without using the other run time loading flags,
14742 # -berok will link without error, but may produce a broken library.
14743 no_undefined_flag_F77
=' ${wl}-bernotok'
14744 allow_undefined_flag_F77
=' ${wl}-berok'
14745 # Exported symbols can be pulled into shared objects from archives
14746 whole_archive_flag_spec_F77
='$convenience'
14747 archive_cmds_need_lc_F77
=yes
14748 # This is similar to how AIX traditionally builds its shared libraries.
14749 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14755 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14756 hardcode_libdir_flag_spec_F77
='-L$libdir'
14757 hardcode_minus_L_F77
=yes
14758 # see comment about different semantics on the GNU ld section
14763 export_dynamic_flag_spec_F77
=-rdynamic
14766 cygwin
* | mingw
* | pw32
*)
14767 # When not using gcc, we currently assume that we are using
14768 # Microsoft Visual C++.
14769 # hardcode_libdir_flag_spec is actually meaningless, as there is
14770 # no search path for DLLs.
14771 hardcode_libdir_flag_spec_F77
=' '
14772 allow_undefined_flag_F77
=unsupported
14773 # Tell ltmain to make .lib files, not .a files.
14775 # Tell ltmain to make .dll files, not .so files.
14777 # FIXME: Setting linknames here is a bad hack.
14778 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14779 # The linker will automatically build a .lib file if we build a DLL.
14780 old_archive_From_new_cmds_F77
='true'
14781 # FIXME: Should let the user specify the lib program.
14782 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14783 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14784 enable_shared_with_static_runtimes_F77
=yes
14787 darwin
* | rhapsody
*)
14789 rhapsody
* | darwin1.
[012])
14790 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14793 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14794 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14796 case ${MACOSX_DEPLOYMENT_TARGET} in
14798 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14801 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14807 archive_cmds_need_lc_F77
=no
14808 hardcode_direct_F77
=no
14809 hardcode_automatic_F77
=yes
14810 hardcode_shlibpath_var_F77
=unsupported
14811 whole_archive_flag_spec_F77
=''
14812 link_all_deplibs_F77
=yes
14813 if test "$GCC" = yes ; then
14814 output_verbose_link_cmd
='echo'
14815 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14816 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14817 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14818 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14819 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14821 case $cc_basename in
14823 output_verbose_link_cmd
='echo'
14824 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14825 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14826 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14827 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14828 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14838 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14839 hardcode_libdir_flag_spec_F77
='-L$libdir'
14840 hardcode_shlibpath_var_F77
=no
14847 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14848 # support. Future versions do this automatically, but an explicit c++rt0.o
14849 # does not break anything, and helps significantly (at the cost of a little
14852 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14853 hardcode_libdir_flag_spec_F77
='-R$libdir'
14854 hardcode_direct_F77
=yes
14855 hardcode_shlibpath_var_F77
=no
14858 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14860 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14861 hardcode_direct_F77
=yes
14862 hardcode_minus_L_F77
=yes
14863 hardcode_shlibpath_var_F77
=no
14866 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14867 freebsd
* | dragonfly
*)
14868 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14869 hardcode_libdir_flag_spec_F77
='-R$libdir'
14870 hardcode_direct_F77
=yes
14871 hardcode_shlibpath_var_F77
=no
14875 if test "$GCC" = yes; then
14876 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14878 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14880 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14881 hardcode_libdir_separator_F77
=:
14882 hardcode_direct_F77
=yes
14884 # hardcode_minus_L: Not really in the search PATH,
14885 # but as the default location of the library.
14886 hardcode_minus_L_F77
=yes
14887 export_dynamic_flag_spec_F77
='${wl}-E'
14891 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14892 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14894 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14896 if test "$with_gnu_ld" = no
; then
14897 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14898 hardcode_libdir_separator_F77
=:
14900 hardcode_direct_F77
=yes
14901 export_dynamic_flag_spec_F77
='${wl}-E'
14903 # hardcode_minus_L: Not really in the search PATH,
14904 # but as the default location of the library.
14905 hardcode_minus_L_F77
=yes
14910 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14913 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14916 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14919 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14925 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14928 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14931 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14935 if test "$with_gnu_ld" = no
; then
14936 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14937 hardcode_libdir_separator_F77
=:
14941 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14942 hardcode_direct_F77
=no
14943 hardcode_shlibpath_var_F77
=no
14946 hardcode_direct_F77
=yes
14947 export_dynamic_flag_spec_F77
='${wl}-E'
14949 # hardcode_minus_L: Not really in the search PATH,
14950 # but as the default location of the library.
14951 hardcode_minus_L_F77
=yes
14957 irix5
* | irix6
* | nonstopux
*)
14958 if test "$GCC" = yes; then
14959 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14961 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14962 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14964 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14965 hardcode_libdir_separator_F77
=:
14966 link_all_deplibs_F77
=yes
14970 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14971 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14973 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14975 hardcode_libdir_flag_spec_F77
='-R$libdir'
14976 hardcode_direct_F77
=yes
14977 hardcode_shlibpath_var_F77
=no
14981 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14982 hardcode_direct_F77
=yes
14983 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14984 hardcode_libdir_separator_F77
=:
14985 hardcode_shlibpath_var_F77
=no
14989 if test -f /usr
/libexec
/ld.so
; then
14990 hardcode_direct_F77
=yes
14991 hardcode_shlibpath_var_F77
=no
14992 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14993 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14994 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14995 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14996 export_dynamic_flag_spec_F77
='${wl}-E'
14999 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15000 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15001 hardcode_libdir_flag_spec_F77
='-R$libdir'
15004 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15005 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15015 hardcode_libdir_flag_spec_F77
='-L$libdir'
15016 hardcode_minus_L_F77
=yes
15017 allow_undefined_flag_F77
=unsupported
15018 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15019 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15023 if test "$GCC" = yes; then
15024 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15025 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15027 allow_undefined_flag_F77
=' -expect_unresolved \*'
15028 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15030 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15031 hardcode_libdir_separator_F77
=:
15034 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15035 if test "$GCC" = yes; then
15036 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15037 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15038 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15040 allow_undefined_flag_F77
=' -expect_unresolved \*'
15041 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15042 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15043 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15045 # Both c and cxx compiler support -rpath directly
15046 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15048 hardcode_libdir_separator_F77
=:
15052 no_undefined_flag_F77
=' -z text'
15053 if test "$GCC" = yes; then
15055 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15056 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15057 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15060 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15061 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15062 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15064 hardcode_libdir_flag_spec_F77
='-R$libdir'
15065 hardcode_shlibpath_var_F77
=no
15067 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15069 # The compiler driver will combine and reorder linker options,
15070 # but understands `-z linker_flag'. GCC discards it without `$wl',
15071 # but is careful enough not to reorder.
15072 # Supported since Solaris 2.6 (maybe 2.5.1?)
15073 if test "$GCC" = yes; then
15074 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15076 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15080 link_all_deplibs_F77
=yes
15084 if test "x$host_vendor" = xsequent
; then
15085 # Use $CC to link under sequent, because it throws in some extra .o
15086 # files that make .init and .fini sections work.
15087 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15089 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15091 hardcode_libdir_flag_spec_F77
='-L$libdir'
15092 hardcode_direct_F77
=yes
15093 hardcode_minus_L_F77
=yes
15094 hardcode_shlibpath_var_F77
=no
15098 case $host_vendor in
15100 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15101 hardcode_direct_F77
=yes # is this really true???
15104 ## LD is ld it makes a PLAMLIB
15105 ## CC just makes a GrossModule.
15106 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15107 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15108 hardcode_direct_F77
=no
15111 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15112 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15115 runpath_var
='LD_RUN_PATH'
15116 hardcode_shlibpath_var_F77
=no
15120 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15121 hardcode_shlibpath_var_F77
=no
15122 export_dynamic_flag_spec_F77
='-Bexport'
15126 if test -d /usr
/nec
; then
15127 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15128 hardcode_shlibpath_var_F77
=no
15129 runpath_var
=LD_RUN_PATH
15130 hardcode_runpath_var
=yes
15135 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15136 no_undefined_flag_F77
='${wl}-z,text'
15137 archive_cmds_need_lc_F77
=no
15138 hardcode_shlibpath_var_F77
=no
15139 runpath_var
='LD_RUN_PATH'
15141 if test "$GCC" = yes; then
15142 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15143 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15145 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15146 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15150 sysv5
* | sco3.2v5
* | sco5v6
*)
15151 # Note: We can NOT use -z defs as we might desire, because we do not
15152 # link with -lc, and that would cause any symbols used from libc to
15153 # always be unresolved, which means just about no library would
15154 # ever link correctly. If we're not using GNU ld we use -z text
15155 # though, which does catch some bad symbols but isn't as heavy-handed
15157 no_undefined_flag_F77
='${wl}-z,text'
15158 allow_undefined_flag_F77
='${wl}-z,nodefs'
15159 archive_cmds_need_lc_F77
=no
15160 hardcode_shlibpath_var_F77
=no
15161 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15162 hardcode_libdir_separator_F77
=':'
15163 link_all_deplibs_F77
=yes
15164 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15165 runpath_var
='LD_RUN_PATH'
15167 if test "$GCC" = yes; then
15168 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15169 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15171 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15172 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15177 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15178 hardcode_libdir_flag_spec_F77
='-L$libdir'
15179 hardcode_shlibpath_var_F77
=no
15188 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15189 echo "${ECHO_T}$ld_shlibs_F77" >&6
15190 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15193 # Do we need to explicitly link libc?
15195 case "x$archive_cmds_need_lc_F77" in
15197 # Assume -lc should be added
15198 archive_cmds_need_lc_F77
=yes
15200 if test "$enable_shared" = yes && test "$GCC" = yes; then
15201 case $archive_cmds_F77 in
15203 # FIXME: we may have to deal with multi-command sequences.
15206 # Test whether the compiler implicitly links with -lc since on some
15207 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15208 # to ld, don't add -lc before -lgcc.
15209 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15210 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15212 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15215 (eval $ac_compile) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } 2>conftest.err
; then
15221 libobjs
=conftest.
$ac_objext
15223 wl
=$lt_prog_compiler_wl_F77
15224 pic_flag
=$lt_prog_compiler_pic_F77
15230 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15231 allow_undefined_flag_F77
=
15232 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15233 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }
15238 archive_cmds_need_lc_F77
=no
15240 archive_cmds_need_lc_F77
=yes
15242 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15244 cat conftest.err
1>&5
15247 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15248 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15255 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15256 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15257 library_names_spec
=
15258 libname_spec
='lib$name'
15262 postuninstall_cmds
=
15266 shlibpath_overrides_runpath
=unknown
15268 dynamic_linker
="$host_os ld.so"
15269 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15271 need_lib_prefix
=unknown
15272 hardcode_into_libs
=no
15274 # when you set need_version to no, make sure it does not cause -set_version
15275 # flags to be left without arguments
15276 need_version
=unknown
15281 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15282 shlibpath_var
=LIBPATH
15284 # AIX 3 has no versioning support, so we append a major version to the name.
15285 soname_spec
='${libname}${release}${shared_ext}$major'
15292 hardcode_into_libs
=yes
15293 if test "$host_cpu" = ia64
; then
15294 # AIX 5 supports IA64
15295 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15296 shlibpath_var
=LD_LIBRARY_PATH
15298 # With GCC up to 2.95.x, collect2 would create an import file
15299 # for dependence libraries. The import file would start with
15300 # the line `#! .'. This would cause the generated library to
15301 # depend on `.', always an invalid library. This was fixed in
15302 # development snapshots of GCC prior to 3.0.
15304 aix4 | aix4.
[01] | aix4.
[01].
*)
15305 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15307 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15310 can_build_shared
=no
15314 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15315 # soname into executable. Probably we can add versioning support to
15316 # collect2, so additional links can be useful in future.
15317 if test "$aix_use_runtimelinking" = yes; then
15318 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15319 # instead of lib<name>.a to let people know that these are not
15320 # typical AIX shared libraries.
15321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323 # We preserve .a as extension for shared libraries through AIX4.2
15324 # and later when we are not doing run time linking.
15325 library_names_spec
='${libname}${release}.a $libname.a'
15326 soname_spec
='${libname}${release}${shared_ext}$major'
15328 shlibpath_var
=LIBPATH
15333 library_names_spec
='$libname.ixlibrary $libname.a'
15334 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15335 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15339 library_names_spec
='${libname}${shared_ext}'
15340 dynamic_linker
="$host_os ld.so"
15341 shlibpath_var
=LIBRARY_PATH
15347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348 soname_spec
='${libname}${release}${shared_ext}$major'
15349 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15350 shlibpath_var
=LD_LIBRARY_PATH
15351 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15352 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15353 # the default ld.so.conf also contains /usr/contrib/lib and
15354 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15355 # libtool to hard-code these into programs
15358 cygwin
* | mingw
* | pw32
*)
15359 version_type
=windows
15364 case $GCC,$host_os in
15365 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15366 library_names_spec
='$libname.dll.a'
15367 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15368 postinstall_cmds
='base_file=`basename \${file}`~
15369 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15370 dldir=$destdir/`dirname \$dlpath`~
15371 test -d \$dldir || mkdir -p \$dldir~
15372 $install_prog $dir/$dlname \$dldir/$dlname~
15373 chmod a+x \$dldir/$dlname'
15374 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15375 dlpath=$dir/\$dldll~
15377 shlibpath_overrides_runpath
=yes
15381 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15382 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15383 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15386 # MinGW DLLs use traditional 'lib' prefix
15387 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15388 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15389 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15390 # It is most probably a Windows format PATH printed by
15391 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15392 # path with ; separators, and with drive letters. We can handle the
15393 # drive letters (cygwin fileutils understands them), so leave them,
15394 # especially as we might pass files found there to a mingw objdump,
15395 # which wouldn't understand a cygwinified path. Ahh.
15396 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15398 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15402 # pw32 DLLs use 'pw' prefix rather than 'lib'
15403 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15409 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15412 dynamic_linker
='Win32 ld.exe'
15413 # FIXME: first we should search . and the directory the executable is in
15417 darwin
* | rhapsody
*)
15418 dynamic_linker
="$host_os dyld"
15419 version_type
=darwin
15422 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15423 soname_spec
='${libname}${release}${major}$shared_ext'
15424 shlibpath_overrides_runpath
=yes
15425 shlibpath_var
=DYLD_LIBRARY_PATH
15426 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15428 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15436 soname_spec
='${libname}${release}${shared_ext}$major'
15437 shlibpath_var
=LD_LIBRARY_PATH
15444 freebsd
* | dragonfly
*)
15445 # DragonFly does not have aout. When/if they implement a new
15446 # versioning mechanism, adjust this.
15447 if test -x /usr
/bin
/objformat
; then
15448 objformat
=`/usr/bin/objformat`
15451 freebsd
[123]*) objformat
=aout
;;
15452 *) objformat
=elf
;;
15455 version_type
=freebsd-
$objformat
15456 case $version_type in
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15467 shlibpath_var
=LD_LIBRARY_PATH
15470 shlibpath_overrides_runpath
=yes
15472 freebsd3.
[01]* | freebsdelf3.
[01]*)
15473 shlibpath_overrides_runpath
=yes
15474 hardcode_into_libs
=yes
15476 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15477 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15478 shlibpath_overrides_runpath
=no
15479 hardcode_into_libs
=yes
15481 *) # from 4.6 on, and DragonFly
15482 shlibpath_overrides_runpath
=yes
15483 hardcode_into_libs
=yes
15492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15493 soname_spec
='${libname}${release}${shared_ext}$major'
15494 shlibpath_var
=LD_LIBRARY_PATH
15495 hardcode_into_libs
=yes
15498 hpux9
* | hpux10
* | hpux11
*)
15499 # Give a soname corresponding to the major version so that dld.sl refuses to
15500 # link against other versions.
15507 hardcode_into_libs
=yes
15508 dynamic_linker
="$host_os dld.so"
15509 shlibpath_var
=LD_LIBRARY_PATH
15510 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 soname_spec
='${libname}${release}${shared_ext}$major'
15513 if test "X$HPUX_IA64_MODE" = X32
; then
15514 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15516 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15518 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15522 hardcode_into_libs
=yes
15523 dynamic_linker
="$host_os dld.sl"
15524 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15525 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15527 soname_spec
='${libname}${release}${shared_ext}$major'
15528 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15529 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15533 dynamic_linker
="$host_os dld.sl"
15534 shlibpath_var
=SHLIB_PATH
15535 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15537 soname_spec
='${libname}${release}${shared_ext}$major'
15540 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15541 postinstall_cmds
='chmod 555 $lib'
15548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15549 soname_spec
='${libname}${release}${shared_ext}$major'
15550 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15551 shlibpath_var
=LD_LIBRARY_PATH
15552 shlibpath_overrides_runpath
=no
15553 hardcode_into_libs
=yes
15556 irix5
* | irix6
* | nonstopux
*)
15558 nonstopux
*) version_type
=nonstopux
;;
15560 if test "$lt_cv_prog_gnu_ld" = yes; then
15568 soname_spec
='${libname}${release}${shared_ext}$major'
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15571 irix5
* | nonstopux
*)
15572 libsuff
= shlibsuff
=
15575 case $LD in # libtool.m4 will add one of these switches to LD
15576 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15577 libsuff
= shlibsuff
= libmagic
=32-bit;;
15578 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15579 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15580 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15581 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15582 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15586 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15587 shlibpath_overrides_runpath
=no
15588 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15589 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15590 hardcode_into_libs
=yes
15593 # No shared lib support for Linux oldld, aout, or coff.
15594 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15598 # This must be Linux ELF.
15599 linux
* | k
*bsd
*-gnu)
15603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15604 soname_spec
='${libname}${release}${shared_ext}$major'
15605 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15606 shlibpath_var
=LD_LIBRARY_PATH
15607 shlibpath_overrides_runpath
=no
15608 # This implies no fast_install, which is unacceptable.
15609 # Some rework will be needed to allow for fast_install
15610 # before this can be enabled.
15611 hardcode_into_libs
=yes
15613 # Append ld.so.conf contents to the search path
15614 if test -f /etc
/ld.so.conf
; then
15615 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15616 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15619 # We used to test for /lib/ld.so.1 and disable shared libraries on
15620 # powerpc, because MkLinux only supported shared libraries with the
15621 # GNU dynamic linker. Since this was broken with cross compilers,
15622 # most powerpc-linux boxes support dynamic linking these days and
15623 # people can always --disable-shared, the test was removed, and we
15624 # assume the GNU/Linux dynamic linker is in use.
15625 dynamic_linker
='GNU/Linux ld.so'
15632 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15635 dynamic_linker
='NetBSD (a.out) ld.so'
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15638 soname_spec
='${libname}${release}${shared_ext}$major'
15639 dynamic_linker
='NetBSD ld.elf_so'
15641 shlibpath_var
=LD_LIBRARY_PATH
15642 shlibpath_overrides_runpath
=yes
15643 hardcode_into_libs
=yes
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 shlibpath_var
=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath
=yes
15657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658 soname_spec
='${libname}${release}${shared_ext}$major'
15659 shlibpath_var
=LD_LIBRARY_PATH
15660 shlibpath_overrides_runpath
=yes
15665 sys_lib_dlsearch_path_spec
="/usr/lib"
15667 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15669 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15670 *) need_version
=no
;;
15672 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15673 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15674 shlibpath_var
=LD_LIBRARY_PATH
15675 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15677 openbsd2.
[89] | openbsd2.
[89].
*)
15678 shlibpath_overrides_runpath
=no
15681 shlibpath_overrides_runpath
=yes
15685 shlibpath_overrides_runpath
=yes
15690 libname_spec
='$name'
15693 library_names_spec
='$libname${shared_ext} $libname.a'
15694 dynamic_linker
='OS/2 ld.exe'
15695 shlibpath_var
=LIBPATH
15698 osf3
* | osf4
* | osf5
*)
15702 soname_spec
='${libname}${release}${shared_ext}$major'
15703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 shlibpath_var
=LD_LIBRARY_PATH
15705 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15706 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15718 soname_spec
='${libname}${release}${shared_ext}$major'
15719 shlibpath_var
=LD_LIBRARY_PATH
15720 shlibpath_overrides_runpath
=yes
15721 hardcode_into_libs
=yes
15722 # ldd complains unless libraries are executable
15723 postinstall_cmds
='chmod +x $lib'
15728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15729 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15730 shlibpath_var
=LD_LIBRARY_PATH
15731 shlibpath_overrides_runpath
=yes
15732 if test "$with_gnu_ld" = yes; then
15740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15741 soname_spec
='${libname}${release}${shared_ext}$major'
15742 shlibpath_var
=LD_LIBRARY_PATH
15743 case $host_vendor in
15745 shlibpath_overrides_runpath
=no
15747 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15748 runpath_var
=LD_RUN_PATH
15756 shlibpath_overrides_runpath
=no
15757 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15763 if test -d /usr
/nec
;then
15765 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15766 soname_spec
='$libname${shared_ext}.$major'
15767 shlibpath_var
=LD_LIBRARY_PATH
15771 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15772 version_type
=freebsd-elf
15775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15776 soname_spec
='${libname}${release}${shared_ext}$major'
15777 shlibpath_var
=LD_LIBRARY_PATH
15778 hardcode_into_libs
=yes
15779 if test "$with_gnu_ld" = yes; then
15780 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15781 shlibpath_overrides_runpath
=no
15783 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15784 shlibpath_overrides_runpath
=yes
15787 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15791 sys_lib_dlsearch_path_spec
='/usr/lib'
15796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15797 soname_spec
='${libname}${release}${shared_ext}$major'
15798 shlibpath_var
=LD_LIBRARY_PATH
15805 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15806 echo "${ECHO_T}$dynamic_linker" >&6
15807 test "$dynamic_linker" = no
&& can_build_shared
=no
15809 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15810 if test "$GCC" = yes; then
15811 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15814 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15815 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15816 hardcode_action_F77
=
15817 if test -n "$hardcode_libdir_flag_spec_F77" || \
15818 test -n "$runpath_var_F77" || \
15819 test "X$hardcode_automatic_F77" = "Xyes" ; then
15821 # We can hardcode non-existant directories.
15822 if test "$hardcode_direct_F77" != no
&&
15823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15824 # have to relink, otherwise we might link with an installed library
15825 # when we should be linking with a yet-to-be-installed one
15826 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15827 test "$hardcode_minus_L_F77" != no
; then
15828 # Linking always hardcodes the temporary library directory.
15829 hardcode_action_F77
=relink
15831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15832 hardcode_action_F77
=immediate
15835 # We cannot hardcode anything, or else we can only hardcode existing
15837 hardcode_action_F77
=unsupported
15839 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15840 echo "${ECHO_T}$hardcode_action_F77" >&6
15842 if test "$hardcode_action_F77" = relink
; then
15843 # Fast installation is not supported
15844 enable_fast_install
=no
15845 elif test "$shlibpath_overrides_runpath" = yes ||
15846 test "$enable_shared" = no
; then
15847 # Fast installation is not necessary
15848 enable_fast_install
=needless
15852 # The else clause should only fire when bootstrapping the
15853 # libtool distribution, otherwise you forgot to ship ltmain.sh
15854 # with your package, and you will get complaints that there are
15855 # no rules to generate ltmain.sh.
15856 if test -f "$ltmain"; then
15857 # See if we are running on zsh, and set the options which allow our commands through
15858 # without removal of \ escapes.
15859 if test -n "${ZSH_VERSION+set}" ; then
15860 setopt NO_GLOB_SUBST
15862 # Now quote all the things that may contain metacharacters while being
15863 # careful not to overquote the AC_SUBSTed values. We take copies of the
15864 # variables and quote the copies for generation of the libtool script.
15865 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15867 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15868 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15869 deplibs_check_method reload_flag reload_cmds need_locks \
15870 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15871 lt_cv_sys_global_symbol_to_c_name_address \
15872 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15873 old_postinstall_cmds old_postuninstall_cmds \
15877 lt_prog_compiler_wl_F77 \
15878 lt_prog_compiler_pic_F77 \
15879 lt_prog_compiler_static_F77 \
15880 lt_prog_compiler_no_builtin_flag_F77 \
15881 export_dynamic_flag_spec_F77 \
15882 thread_safe_flag_spec_F77 \
15883 whole_archive_flag_spec_F77 \
15884 enable_shared_with_static_runtimes_F77 \
15885 old_archive_cmds_F77 \
15886 old_archive_from_new_cmds_F77 \
15887 predep_objects_F77 \
15888 postdep_objects_F77 \
15891 compiler_lib_search_path_F77 \
15893 archive_expsym_cmds_F77 \
15894 postinstall_cmds_F77 \
15895 postuninstall_cmds_F77 \
15896 old_archive_from_expsyms_cmds_F77 \
15897 allow_undefined_flag_F77 \
15898 no_undefined_flag_F77 \
15899 export_symbols_cmds_F77 \
15900 hardcode_libdir_flag_spec_F77 \
15901 hardcode_libdir_flag_spec_ld_F77 \
15902 hardcode_libdir_separator_F77 \
15903 hardcode_automatic_F77 \
15905 module_expsym_cmds_F77 \
15906 lt_cv_prog_compiler_c_o_F77 \
15907 fix_srcfile_path_F77 \
15908 exclude_expsyms_F77 \
15909 include_expsyms_F77
; do
15912 old_archive_cmds_F77 | \
15913 old_archive_from_new_cmds_F77 | \
15914 archive_cmds_F77 | \
15915 archive_expsym_cmds_F77 | \
15916 module_cmds_F77 | \
15917 module_expsym_cmds_F77 | \
15918 old_archive_from_expsyms_cmds_F77 | \
15919 export_symbols_cmds_F77 | \
15920 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15921 postinstall_cmds | postuninstall_cmds | \
15922 old_postinstall_cmds | old_postuninstall_cmds | \
15923 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15924 # Double-quote double-evaled strings.
15925 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15928 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15934 *'\$0 --fallback-echo"')
15935 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15941 cat <<__EOF__ >> "$cfgfile"
15942 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15944 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15946 # Shell to use when invoking shell scripts.
15949 # Whether or not to build shared libraries.
15950 build_libtool_libs=$enable_shared
15952 # Whether or not to build static libraries.
15953 build_old_libs=$enable_static
15955 # Whether or not to add -lc for building shared libraries.
15956 build_libtool_need_lc=$archive_cmds_need_lc_F77
15958 # Whether or not to disallow shared libs when runtime libs are static
15959 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15961 # Whether or not to optimize for fast installation.
15962 fast_install=$enable_fast_install
15965 host_alias=$host_alias
15969 # The build system.
15970 build_alias=$build_alias
15974 # An echo program that does not interpret backslashes.
15979 AR_FLAGS=$lt_AR_FLAGS
15984 # LTCC compiler flags.
15985 LTCFLAGS=$lt_LTCFLAGS
15987 # A language-specific compiler.
15988 CC=$lt_compiler_F77
15990 # Is the compiler the GNU C compiler?
15996 # The linker used to build libraries.
15999 # Whether we need hard or soft links.
16002 # A BSD-compatible nm program.
16005 # A symbol stripping program
16008 # Used to examine libraries when file_magic_cmd begins "file"
16009 MAGIC_CMD=$MAGIC_CMD
16011 # Used on cygwin: DLL creation program.
16014 # Used on cygwin: object dumper.
16017 # Used on cygwin: assembler.
16020 # The name of the directory that contains temporary libtool files.
16023 # How to create reloadable object files.
16024 reload_flag=$lt_reload_flag
16025 reload_cmds=$lt_reload_cmds
16027 # How to pass a linker flag through the compiler.
16028 wl=$lt_lt_prog_compiler_wl_F77
16030 # Object file suffix (normally "o").
16031 objext="$ac_objext"
16033 # Old archive suffix (normally "a").
16036 # Shared library suffix (normally ".so").
16037 shrext_cmds='$shrext_cmds'
16039 # Executable file suffix (normally "").
16042 # Additional compiler flags for building library objects.
16043 pic_flag=$lt_lt_prog_compiler_pic_F77
16046 # What is the maximum length of a command?
16047 max_cmd_len=$lt_cv_sys_max_cmd_len
16049 # Does compiler simultaneously support -c and -o options?
16050 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16052 # Must we lock files when doing compilation?
16053 need_locks=$lt_need_locks
16055 # Do we need the lib prefix for modules?
16056 need_lib_prefix=$need_lib_prefix
16058 # Do we need a version for libraries?
16059 need_version=$need_version
16061 # Whether dlopen is supported.
16062 dlopen_support=$enable_dlopen
16064 # Whether dlopen of programs is supported.
16065 dlopen_self=$enable_dlopen_self
16067 # Whether dlopen of statically linked programs is supported.
16068 dlopen_self_static=$enable_dlopen_self_static
16070 # Compiler flag to prevent dynamic linking.
16071 link_static_flag=$lt_lt_prog_compiler_static_F77
16073 # Compiler flag to turn off builtin functions.
16074 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16076 # Compiler flag to allow reflexive dlopens.
16077 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16079 # Compiler flag to generate shared objects directly from archives.
16080 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16082 # Compiler flag to generate thread-safe objects.
16083 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16085 # Library versioning type.
16086 version_type=$version_type
16088 # Format of library name prefix.
16089 libname_spec=$lt_libname_spec
16091 # List of archive names. First name is the real one, the rest are links.
16092 # The last name is the one that the linker finds with -lNAME.
16093 library_names_spec=$lt_library_names_spec
16095 # The coded name of the library, if different from the real name.
16096 soname_spec=$lt_soname_spec
16098 # Commands used to build and install an old-style archive.
16100 old_archive_cmds=$lt_old_archive_cmds_F77
16101 old_postinstall_cmds=$lt_old_postinstall_cmds
16102 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16104 # Create an old-style archive from a shared archive.
16105 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16107 # Create a temporary old-style archive to link instead of a shared archive.
16108 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16110 # Commands used to build and install a shared archive.
16111 archive_cmds=$lt_archive_cmds_F77
16112 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16113 postinstall_cmds=$lt_postinstall_cmds
16114 postuninstall_cmds=$lt_postuninstall_cmds
16116 # Commands used to build a loadable module (assumed same as above if empty)
16117 module_cmds=$lt_module_cmds_F77
16118 module_expsym_cmds=$lt_module_expsym_cmds_F77
16120 # Commands to strip libraries.
16121 old_striplib=$lt_old_striplib
16122 striplib=$lt_striplib
16124 # Dependencies to place before the objects being linked to create a
16126 predep_objects=$lt_predep_objects_F77
16128 # Dependencies to place after the objects being linked to create a
16130 postdep_objects=$lt_postdep_objects_F77
16132 # Dependencies to place before the objects being linked to create a
16134 predeps=$lt_predeps_F77
16136 # Dependencies to place after the objects being linked to create a
16138 postdeps=$lt_postdeps_F77
16140 # The library search path used internally by the compiler when linking
16141 # a shared library.
16142 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16144 # Method to check whether dependent libraries are shared objects.
16145 deplibs_check_method=$lt_deplibs_check_method
16147 # Command to use when deplibs_check_method == file_magic.
16148 file_magic_cmd=$lt_file_magic_cmd
16150 # Flag that allows shared libraries with undefined symbols to be built.
16151 allow_undefined_flag=$lt_allow_undefined_flag_F77
16153 # Flag that forces no undefined symbols.
16154 no_undefined_flag=$lt_no_undefined_flag_F77
16156 # Commands used to finish a libtool library installation in a directory.
16157 finish_cmds=$lt_finish_cmds
16159 # Same as above, but a single script fragment to be evaled but not shown.
16160 finish_eval=$lt_finish_eval
16162 # Take the output of nm and produce a listing of raw symbols and C names.
16163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16165 # Transform the output of nm in a proper C declaration
16166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16168 # Transform the output of nm in a C name address pair
16169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16171 # This is the shared library runtime path variable.
16172 runpath_var=$runpath_var
16174 # This is the shared library path variable.
16175 shlibpath_var=$shlibpath_var
16177 # Is shlibpath searched before the hard-coded library search path?
16178 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16180 # How to hardcode a shared library path into an executable.
16181 hardcode_action=$hardcode_action_F77
16183 # Whether we should hardcode library paths into libraries.
16184 hardcode_into_libs=$hardcode_into_libs
16186 # Flag to hardcode \$libdir into a binary during linking.
16187 # This must work even if \$libdir does not exist.
16188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16190 # If ld is used when linking, flag to hardcode \$libdir into
16191 # a binary during linking. This must work even if \$libdir does
16193 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16195 # Whether we need a single -rpath flag with a separated argument.
16196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16198 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16199 # resulting binary.
16200 hardcode_direct=$hardcode_direct_F77
16202 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16203 # resulting binary.
16204 hardcode_minus_L=$hardcode_minus_L_F77
16206 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16207 # the resulting binary.
16208 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16210 # Set to yes if building a shared library automatically hardcodes DIR into the library
16211 # and all subsequent libraries and executables linked against it.
16212 hardcode_automatic=$hardcode_automatic_F77
16214 # Variables whose values should be saved in libtool wrapper scripts and
16215 # restored at relink time.
16216 variables_saved_for_relink="$variables_saved_for_relink"
16218 # Whether libtool must link a program against all its dependency libraries.
16219 link_all_deplibs=$link_all_deplibs_F77
16221 # Compile-time system search path for libraries
16222 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16224 # Run-time system search path for libraries
16225 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16227 # Fix the shell variable \$srcfile for the compiler.
16228 fix_srcfile_path=$lt_fix_srcfile_path
16230 # Set to yes if exported symbols are required.
16231 always_export_symbols=$always_export_symbols_F77
16233 # The commands to list exported symbols.
16234 export_symbols_cmds=$lt_export_symbols_cmds_F77
16236 # The commands to extract the exported symbol list from a shared archive.
16237 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16239 # Symbols that should not be listed in the preloaded symbols.
16240 exclude_expsyms=$lt_exclude_expsyms_F77
16242 # Symbols that must always be exported.
16243 include_expsyms=$lt_include_expsyms_F77
16245 # ### END LIBTOOL TAG CONFIG: $tagname
16251 # If there is no Makefile yet, we rely on a make rule to execute
16252 # `config.status --recheck' to rerun these tests and create the
16253 # libtool script then.
16254 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16255 if test -f "$ltmain_in"; then
16256 test -f Makefile
&& make "$ltmain"
16262 ac_cpp
='$CPP $CPPFLAGS'
16263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16275 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16279 # Source file extension for Java test sources.
16282 # Object file extension for compiled Java test sources.
16286 # Code to be used in simple compile tests
16287 lt_simple_compile_test_code
="class foo {}"
16289 # Code to be used in simple link tests
16290 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16292 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16294 # If no C compiler was specified, use CC.
16297 # If no C compiler flags were specified, use CFLAGS.
16298 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16300 # Allow CC to be a program name with arguments.
16304 # save warnings/boilerplate of simple test code
16305 ac_outfile
=conftest.
$ac_objext
16306 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16307 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16308 _lt_compiler_boilerplate
=`cat conftest.err`
16311 ac_outfile
=conftest.
$ac_objext
16312 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16313 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16314 _lt_linker_boilerplate
=`cat conftest.err`
16318 # Allow CC to be a program name with arguments.
16323 for cc_temp
in $compiler""; do
16325 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16326 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16331 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16334 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16335 archive_cmds_need_lc_GCJ
=no
16337 old_archive_cmds_GCJ
=$old_archive_cmds
16340 ## There is no encapsulation within the following macros, do not change
16341 ## the running order or otherwise move them around unless you know exactly
16342 ## what you are doing...
16344 lt_prog_compiler_no_builtin_flag_GCJ
=
16346 if test "$GCC" = yes; then
16347 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16350 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16351 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16352 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 lt_cv_prog_compiler_rtti_exceptions
=no
16356 ac_outfile
=conftest.
$ac_objext
16357 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16358 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16359 # Insert the option either (1) after the last *FLAGS variable, or
16360 # (2) before a word containing "conftest.", or (3) at the end.
16361 # Note that $ac_compile itself does not contain backslashes and begins
16362 # with a dollar sign (not a hyphen), so the echo should work correctly.
16363 # The option is referenced via a variable to avoid confusing sed.
16364 lt_compile
=`echo "$ac_compile" | $SED \
16365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16367 -e 's:$: $lt_compiler_flag:'`
16368 (eval echo "\"\$as_me:16368: $lt_compile\"" >&5)
16369 (eval "$lt_compile" 2>conftest.err
)
16371 cat conftest.err
>&5
16372 echo "$as_me:16372: \$? = $ac_status" >&5
16373 if (exit $ac_status) && test -s "$ac_outfile"; then
16374 # The compiler can only warn and ignore the option if not recognized
16375 # So say no if there are warnings other than the usual output.
16376 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16377 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16378 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16379 lt_cv_prog_compiler_rtti_exceptions
=yes
16385 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16386 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16388 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16389 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16396 lt_prog_compiler_wl_GCJ
=
16397 lt_prog_compiler_pic_GCJ
=
16398 lt_prog_compiler_static_GCJ
=
16400 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16401 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16403 if test "$GCC" = yes; then
16404 lt_prog_compiler_wl_GCJ
='-Wl,'
16405 lt_prog_compiler_static_GCJ
='-static'
16409 # All AIX code is PIC.
16410 if test "$host_cpu" = ia64
; then
16411 # AIX 5 now supports IA64 processor
16412 lt_prog_compiler_static_GCJ
='-Bstatic'
16417 # FIXME: we need at least 68020 code to build shared libraries, but
16418 # adding the `-m68020' flag to GCC prevents building anything better,
16420 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16423 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16424 # PIC is the default for these OSes.
16427 mingw
* | cygwin
* | pw32
* | os2
*)
16428 # This hack is so that the source file can tell whether it is being
16429 # built for inclusion in a dll (and should export symbols for example).
16430 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16431 # (--disable-auto-import) libraries
16432 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16435 darwin
* | rhapsody
*)
16436 # PIC is the default on this platform
16437 # Common symbols not allowed in MH_DYLIB files
16438 lt_prog_compiler_pic_GCJ
='-fno-common'
16442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16443 # Instead, we relocate shared libraries at runtime.
16447 # Just because we use GCC doesn't mean we suddenly get shared libraries
16448 # on systems that don't support them.
16449 lt_prog_compiler_can_build_shared_GCJ
=no
16454 if test -d /usr
/nec
; then
16455 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16460 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16461 # not for PA HP-UX.
16467 lt_prog_compiler_pic_GCJ
='-fPIC'
16473 lt_prog_compiler_pic_GCJ
='-fPIC'
16477 # PORTME Check for flag to pass linker flags through the system compiler.
16480 lt_prog_compiler_wl_GCJ
='-Wl,'
16481 if test "$host_cpu" = ia64
; then
16482 # AIX 5 now supports IA64 processor
16483 lt_prog_compiler_static_GCJ
='-Bstatic'
16485 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16489 # PIC is the default on this platform
16490 # Common symbols not allowed in MH_DYLIB files
16491 case $cc_basename in
16493 lt_prog_compiler_pic_GCJ
='-qnocommon'
16494 lt_prog_compiler_wl_GCJ
='-Wl,'
16499 mingw
* | cygwin
* | pw32
* | os2
*)
16500 # This hack is so that the source file can tell whether it is being
16501 # built for inclusion in a dll (and should export symbols for example).
16502 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16505 hpux9
* | hpux10
* | hpux11
*)
16506 lt_prog_compiler_wl_GCJ
='-Wl,'
16507 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16508 # not for PA HP-UX.
16514 lt_prog_compiler_pic_GCJ
='+Z'
16517 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16518 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16521 irix5
* | irix6
* | nonstopux
*)
16522 lt_prog_compiler_wl_GCJ
='-Wl,'
16523 # PIC (with -KPIC) is the default.
16524 lt_prog_compiler_static_GCJ
='-non_shared'
16528 lt_prog_compiler_pic_GCJ
='-KPIC'
16529 lt_prog_compiler_static_GCJ
='-Bstatic'
16532 linux
* | k
*bsd
*-gnu)
16533 case $cc_basename in
16535 lt_prog_compiler_wl_GCJ
='-Wl,'
16536 lt_prog_compiler_pic_GCJ
='-KPIC'
16537 lt_prog_compiler_static_GCJ
='-static'
16539 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16540 # Portland Group compilers (*not* the Pentium gcc compiler,
16541 # which looks to be a dead project)
16542 lt_prog_compiler_wl_GCJ
='-Wl,'
16543 lt_prog_compiler_pic_GCJ
='-fpic'
16544 lt_prog_compiler_static_GCJ
='-Bstatic'
16547 lt_prog_compiler_wl_GCJ
='-Wl,'
16548 # All Alpha code is PIC.
16549 lt_prog_compiler_static_GCJ
='-non_shared'
16552 case `$CC -V 2>&1 | sed 5q` in
16555 lt_prog_compiler_pic_GCJ
='-KPIC'
16556 lt_prog_compiler_static_GCJ
='-Bstatic'
16557 lt_prog_compiler_wl_GCJ
='-Wl,'
16560 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16561 lt_prog_compiler_pic_GCJ
='-KPIC'
16562 lt_prog_compiler_static_GCJ
='-Bstatic'
16563 lt_prog_compiler_wl_GCJ
=''
16570 osf3
* | osf4
* | osf5
*)
16571 lt_prog_compiler_wl_GCJ
='-Wl,'
16572 # All OSF/1 code is PIC.
16573 lt_prog_compiler_static_GCJ
='-non_shared'
16577 lt_prog_compiler_static_GCJ
='-non_shared'
16581 lt_prog_compiler_pic_GCJ
='-KPIC'
16582 lt_prog_compiler_static_GCJ
='-Bstatic'
16583 case $cc_basename in
16584 f77
* | f90
* | f95
*)
16585 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16587 lt_prog_compiler_wl_GCJ
='-Wl,';;
16592 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16593 lt_prog_compiler_pic_GCJ
='-PIC'
16594 lt_prog_compiler_static_GCJ
='-Bstatic'
16597 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16598 lt_prog_compiler_wl_GCJ
='-Wl,'
16599 lt_prog_compiler_pic_GCJ
='-KPIC'
16600 lt_prog_compiler_static_GCJ
='-Bstatic'
16604 if test -d /usr
/nec
;then
16605 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16606 lt_prog_compiler_static_GCJ
='-Bstatic'
16610 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16611 lt_prog_compiler_wl_GCJ
='-Wl,'
16612 lt_prog_compiler_pic_GCJ
='-KPIC'
16613 lt_prog_compiler_static_GCJ
='-Bstatic'
16617 lt_prog_compiler_wl_GCJ
='-Wl,'
16618 lt_prog_compiler_can_build_shared_GCJ
=no
16622 lt_prog_compiler_pic_GCJ
='-pic'
16623 lt_prog_compiler_static_GCJ
='-Bstatic'
16627 lt_prog_compiler_can_build_shared_GCJ
=no
16632 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16633 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16636 # Check to make sure the PIC flag actually works.
16638 if test -n "$lt_prog_compiler_pic_GCJ"; then
16640 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16641 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16642 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 lt_prog_compiler_pic_works_GCJ
=no
16646 ac_outfile
=conftest.
$ac_objext
16647 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16648 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16649 # Insert the option either (1) after the last *FLAGS variable, or
16650 # (2) before a word containing "conftest.", or (3) at the end.
16651 # Note that $ac_compile itself does not contain backslashes and begins
16652 # with a dollar sign (not a hyphen), so the echo should work correctly.
16653 # The option is referenced via a variable to avoid confusing sed.
16654 lt_compile
=`echo "$ac_compile" | $SED \
16655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16657 -e 's:$: $lt_compiler_flag:'`
16658 (eval echo "\"\$as_me:16658: $lt_compile\"" >&5)
16659 (eval "$lt_compile" 2>conftest.err
)
16661 cat conftest.err
>&5
16662 echo "$as_me:16662: \$? = $ac_status" >&5
16663 if (exit $ac_status) && test -s "$ac_outfile"; then
16664 # The compiler can only warn and ignore the option if not recognized
16665 # So say no if there are warnings other than the usual output.
16666 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16668 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16669 lt_prog_compiler_pic_works_GCJ
=yes
16675 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16676 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16678 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16679 case $lt_prog_compiler_pic_GCJ in
16681 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16684 lt_prog_compiler_pic_GCJ
=
16685 lt_prog_compiler_can_build_shared_GCJ
=no
16690 # For platforms which do not support PIC, -DPIC is meaningless:
16692 lt_prog_compiler_pic_GCJ
=
16695 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16700 # Check to make sure the static flag actually works.
16702 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16703 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16704 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16705 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16706 echo $ECHO_N "(cached) $ECHO_C" >&6
16708 lt_prog_compiler_static_works_GCJ
=no
16709 save_LDFLAGS
="$LDFLAGS"
16710 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16711 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16712 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16713 # The linker can only warn and ignore the option if not recognized
16714 # So say no if there are warnings
16715 if test -s conftest.err
; then
16716 # Append any errors to the config.log.
16717 cat conftest.err
1>&5
16718 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16719 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16720 if diff conftest.exp conftest.er2
>/dev
/null
; then
16721 lt_prog_compiler_static_works_GCJ
=yes
16724 lt_prog_compiler_static_works_GCJ
=yes
16728 LDFLAGS
="$save_LDFLAGS"
16731 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16732 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16734 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16737 lt_prog_compiler_static_GCJ
=
16741 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16742 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16743 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 lt_cv_prog_compiler_c_o_GCJ
=no
16747 $rm -r conftest
2>/dev
/null
16751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16753 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16754 # Insert the option either (1) after the last *FLAGS variable, or
16755 # (2) before a word containing "conftest.", or (3) at the end.
16756 # Note that $ac_compile itself does not contain backslashes and begins
16757 # with a dollar sign (not a hyphen), so the echo should work correctly.
16758 lt_compile
=`echo "$ac_compile" | $SED \
16759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16761 -e 's:$: $lt_compiler_flag:'`
16762 (eval echo "\"\$as_me:16762: $lt_compile\"" >&5)
16763 (eval "$lt_compile" 2>out
/conftest.err
)
16765 cat out
/conftest.err
>&5
16766 echo "$as_me:16766: \$? = $ac_status" >&5
16767 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16769 # The compiler can only warn and ignore the option if not recognized
16770 # So say no if there are warnings
16771 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16772 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16773 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16774 lt_cv_prog_compiler_c_o_GCJ
=yes
16779 # SGI C++ compiler will create directory out/ii_files/ for
16780 # template instantiation
16781 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16782 $rm out
/* && rmdir out
16788 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16789 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16792 hard_links
="nottested"
16793 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16794 # do not overwrite the value of need_locks provided by the user
16795 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16796 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16799 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16801 ln conftest.a conftest.b
2>&5 || hard_links
=no
16802 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16803 echo "$as_me:$LINENO: result: $hard_links" >&5
16804 echo "${ECHO_T}$hard_links" >&6
16805 if test "$hard_links" = no
; then
16806 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16807 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16814 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16818 allow_undefined_flag_GCJ
=
16819 enable_shared_with_static_runtimes_GCJ
=no
16821 archive_expsym_cmds_GCJ
=
16822 old_archive_From_new_cmds_GCJ
=
16823 old_archive_from_expsyms_cmds_GCJ
=
16824 export_dynamic_flag_spec_GCJ
=
16825 whole_archive_flag_spec_GCJ
=
16826 thread_safe_flag_spec_GCJ
=
16827 hardcode_libdir_flag_spec_GCJ
=
16828 hardcode_libdir_flag_spec_ld_GCJ
=
16829 hardcode_libdir_separator_GCJ
=
16830 hardcode_direct_GCJ
=no
16831 hardcode_minus_L_GCJ
=no
16832 hardcode_shlibpath_var_GCJ
=unsupported
16833 link_all_deplibs_GCJ
=unknown
16834 hardcode_automatic_GCJ
=no
16836 module_expsym_cmds_GCJ
=
16837 always_export_symbols_GCJ
=no
16838 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16839 # include_expsyms should be a list of space-separated symbols to be *always*
16840 # included in the symbol list
16841 include_expsyms_GCJ
=
16842 # exclude_expsyms can be an extended regexp of symbols to exclude
16843 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16844 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16845 # as well as any symbol that contains `d'.
16846 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16847 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16848 # platforms (ab)use it in PIC code, but their linkers get confused if
16849 # the symbol is explicitly referenced. Since portable code cannot
16850 # rely on this symbol name, it's probably fine to never include it in
16851 # preloaded symbol tables.
16852 extract_expsyms_cmds
=
16853 # Just being paranoid about ensuring that cc_basename is set.
16854 for cc_temp
in $compiler""; do
16856 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16857 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16862 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16865 cygwin
* | mingw
* | pw32
*)
16866 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16867 # When not using gcc, we currently assume that we are using
16868 # Microsoft Visual C++.
16869 if test "$GCC" != yes; then
16874 # we just hope/assume this is gcc and not c89 (= MSVC++)
16883 if test "$with_gnu_ld" = yes; then
16884 # If archive_cmds runs LD, not CC, wlarc should be empty
16887 # Set some defaults for GNU ld with shared library support. These
16888 # are reset later if shared libraries are not supported. Putting them
16889 # here allows them to be overridden if necessary.
16890 runpath_var
=LD_RUN_PATH
16891 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16892 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16893 # ancient GNU ld didn't support --whole-archive et. al.
16894 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16895 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16897 whole_archive_flag_spec_GCJ
=
16899 supports_anon_versioning
=no
16900 case `$LD -v 2>/dev/null` in
16901 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16902 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16903 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16904 *\
2.11.
*) ;; # other 2.11 versions
16905 *) supports_anon_versioning
=yes ;;
16908 # See if GNU ld supports shared libraries.
16910 aix3
* | aix4
* | aix5
*)
16911 # On AIX/PPC, the GNU linker is very broken
16912 if test "$host_cpu" != ia64
; then
16916 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16917 *** to be unable to reliably create shared libraries on AIX.
16918 *** Therefore, libtool is disabling shared libraries support. If you
16919 *** really care for shared libraries, you may want to modify your PATH
16920 *** so that a non-GNU linker is found, and then restart.
16927 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16928 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16929 hardcode_minus_L_GCJ
=yes
16931 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16932 # that the semantics of dynamic libraries on AmigaOS, at least up
16933 # to version 4, is to share data among multiple programs linked
16934 # with the same dynamic library. Since this doesn't match the
16935 # behavior of shared libraries on other platforms, we can't use
16941 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16942 allow_undefined_flag_GCJ
=unsupported
16943 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16944 # support --undefined. This deserves some investigation. FIXME
16945 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16951 cygwin
* | mingw
* | pw32
*)
16952 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16953 # as there is no search path for DLLs.
16954 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16955 allow_undefined_flag_GCJ
=unsupported
16956 always_export_symbols_GCJ
=no
16957 enable_shared_with_static_runtimes_GCJ
=yes
16958 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16960 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16961 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16962 # If the export-symbols file already is a .def file (1st line
16963 # is EXPORTS), use it as is; otherwise, prepend...
16964 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16965 cp $export_symbols $output_objdir/$soname.def;
16967 echo EXPORTS > $output_objdir/$soname.def;
16968 cat $export_symbols >> $output_objdir/$soname.def;
16970 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16977 hardcode_direct_GCJ
=no
16978 hardcode_shlibpath_var_GCJ
=no
16979 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16980 export_dynamic_flag_spec_GCJ
='${wl}-E'
16981 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16982 # Instead, shared libraries are loaded at an image base (0x10000000 by
16983 # default) and relocated if they conflict, which is a slow very memory
16984 # consuming and fragmenting process. To avoid this, we pick a random,
16985 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16986 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16987 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16988 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16991 gnu
* | linux
* | k
*bsd
*-gnu)
16992 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16994 case $cc_basename,$host_cpu in
16995 pgcc
*) # Portland Group C compiler
16996 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16997 tmp_addflag
=' $pic_flag'
16999 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17000 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17001 tmp_addflag
=' $pic_flag -Mnomain' ;;
17002 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17003 tmp_addflag
=' -i_dynamic' ;;
17004 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17005 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17006 ifc
* | ifort
*) # Intel Fortran compiler
17007 tmp_addflag
=' -nofor_main' ;;
17009 case `$CC -V 2>&1 | sed 5q` in
17010 *Sun\ C
*) # Sun C 5.9
17011 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17012 tmp_sharedflag
='-G' ;;
17013 *Sun\ F
*) # Sun Fortran 8.3
17014 tmp_sharedflag
='-G' ;;
17016 tmp_sharedflag
='-shared' ;;
17018 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17020 if test $supports_anon_versioning = yes; then
17021 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17022 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17023 $echo "local: *; };" >> $output_objdir/$libname.ver~
17024 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17032 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17033 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17036 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17037 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17042 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17046 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17047 *** create shared libraries on Solaris systems. Therefore, libtool
17048 *** is disabling shared libraries support. We urge you to upgrade GNU
17049 *** binutils to release 2.9.1 or newer. Another option is to modify
17050 *** your PATH or compiler configuration so that the native linker is
17051 *** used, and then restart.
17054 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17055 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17056 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17062 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17063 case `$LD -v 2>&1` in
17064 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17068 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17069 *** reliably create shared libraries on SCO systems. Therefore, libtool
17070 *** is disabling shared libraries support. We urge you to upgrade GNU
17071 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17072 *** your PATH or compiler configuration so that the native linker is
17073 *** used, and then restart.
17078 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17079 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17080 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17081 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17090 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17092 hardcode_direct_GCJ
=yes
17093 hardcode_shlibpath_var_GCJ
=no
17097 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17098 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17099 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17106 if test "$ld_shlibs_GCJ" = no
; then
17108 hardcode_libdir_flag_spec_GCJ
=
17109 export_dynamic_flag_spec_GCJ
=
17110 whole_archive_flag_spec_GCJ
=
17113 # PORTME fill in a description of your system's linker (not GNU ld)
17116 allow_undefined_flag_GCJ
=unsupported
17117 always_export_symbols_GCJ
=yes
17118 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17119 # Note: this linker hardcodes the directories in LIBPATH if there
17120 # are no directories specified by -L.
17121 hardcode_minus_L_GCJ
=yes
17122 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17123 # Neither direct hardcoding nor static linking is supported with a
17125 hardcode_direct_GCJ
=unsupported
17130 if test "$host_cpu" = ia64
; then
17131 # On IA64, the linker does run time linking by default, so we don't
17132 # have to do anything special.
17133 aix_use_runtimelinking
=no
17134 exp_sym_flag
='-Bexport'
17137 # If we're using GNU nm, then we don't want the "-C" option.
17138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17139 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17140 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17142 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17144 aix_use_runtimelinking
=no
17146 # Test if we are trying to use run time linking or normal
17147 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17148 # need to do runtime linking.
17149 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17150 for ld_flag
in $LDFLAGS; do
17151 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17152 aix_use_runtimelinking
=yes
17159 exp_sym_flag
='-bexport'
17160 no_entry_flag
='-bnoentry'
17163 # When large executables or shared objects are built, AIX ld can
17164 # have problems creating the table of contents. If linking a library
17165 # or program results in "error TOC overflow" add -mminimal-toc to
17166 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17167 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17169 archive_cmds_GCJ
=''
17170 hardcode_direct_GCJ
=yes
17171 hardcode_libdir_separator_GCJ
=':'
17172 link_all_deplibs_GCJ
=yes
17174 if test "$GCC" = yes; then
17175 case $host_os in aix4.
[012]|aix4.
[012].
*)
17176 # We only want to do this on AIX 4.2 and lower, the check
17177 # below for broken collect2 doesn't work under 4.3+
17178 collect2name
=`${CC} -print-prog-name=collect2`
17179 if test -f "$collect2name" && \
17180 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17182 # We have reworked collect2
17185 # We have old collect2
17186 hardcode_direct_GCJ
=unsupported
17187 # It fails to find uninstalled libraries when the uninstalled
17188 # path is not listed in the libpath. Setting hardcode_minus_L
17189 # to unsupported forces relinking
17190 hardcode_minus_L_GCJ
=yes
17191 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17192 hardcode_libdir_separator_GCJ
=
17196 shared_flag
='-shared'
17197 if test "$aix_use_runtimelinking" = yes; then
17198 shared_flag
="$shared_flag "'${wl}-G'
17202 if test "$host_cpu" = ia64
; then
17203 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17204 # chokes on -Wl,-G. The following line is correct:
17207 if test "$aix_use_runtimelinking" = yes; then
17208 shared_flag
='${wl}-G'
17210 shared_flag
='${wl}-bM:SRE'
17215 # It seems that -bexpall does not export symbols beginning with
17216 # underscore (_), so it is better to generate a list of symbols to export.
17217 always_export_symbols_GCJ
=yes
17218 if test "$aix_use_runtimelinking" = yes; then
17219 # Warning - without using the other runtime loading flags (-brtl),
17220 # -berok will link without error, but may produce a broken library.
17221 allow_undefined_flag_GCJ
='-berok'
17222 # Determine the default libpath from the value encoded in an empty executable.
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17238 rm -f conftest.
$ac_objext conftest
$ac_exeext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17240 (eval $ac_link) 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try
='test -z "$ac_c_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try
='test -s conftest$ac_exeext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17261 lt_aix_libpath_sed
='
17262 /Import File Strings/,/^$/ {
17268 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17269 # Check for a 64-bit object if we didn't find anything.
17270 if test -z "$aix_libpath"; then
17271 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.
$ac_ext >&5
17278 rm -f conftest.err conftest.
$ac_objext \
17279 conftest
$ac_exeext conftest.
$ac_ext
17280 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17282 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17283 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17285 if test "$host_cpu" = ia64
; then
17286 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17287 allow_undefined_flag_GCJ
="-z nodefs"
17288 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17290 # Determine the default libpath from the value encoded in an empty executable.
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17306 rm -f conftest.
$ac_objext conftest
$ac_exeext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17308 (eval $ac_link) 2>conftest.er1
17310 grep -v '^ *+' conftest.er1
>conftest.err
17312 cat conftest.err
>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try
='test -z "$ac_c_werror_flag"
17316 || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try
='test -s conftest$ac_exeext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17329 lt_aix_libpath_sed
='
17330 /Import File Strings/,/^$/ {
17336 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17337 # Check for a 64-bit object if we didn't find anything.
17338 if test -z "$aix_libpath"; then
17339 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.
$ac_ext >&5
17346 rm -f conftest.err conftest.
$ac_objext \
17347 conftest
$ac_exeext conftest.
$ac_ext
17348 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17350 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17351 # Warning - without using the other run time loading flags,
17352 # -berok will link without error, but may produce a broken library.
17353 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17354 allow_undefined_flag_GCJ
=' ${wl}-berok'
17355 # Exported symbols can be pulled into shared objects from archives
17356 whole_archive_flag_spec_GCJ
='$convenience'
17357 archive_cmds_need_lc_GCJ
=yes
17358 # This is similar to how AIX traditionally builds its shared libraries.
17359 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17365 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17366 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17367 hardcode_minus_L_GCJ
=yes
17368 # see comment about different semantics on the GNU ld section
17373 export_dynamic_flag_spec_GCJ
=-rdynamic
17376 cygwin
* | mingw
* | pw32
*)
17377 # When not using gcc, we currently assume that we are using
17378 # Microsoft Visual C++.
17379 # hardcode_libdir_flag_spec is actually meaningless, as there is
17380 # no search path for DLLs.
17381 hardcode_libdir_flag_spec_GCJ
=' '
17382 allow_undefined_flag_GCJ
=unsupported
17383 # Tell ltmain to make .lib files, not .a files.
17385 # Tell ltmain to make .dll files, not .so files.
17387 # FIXME: Setting linknames here is a bad hack.
17388 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17389 # The linker will automatically build a .lib file if we build a DLL.
17390 old_archive_From_new_cmds_GCJ
='true'
17391 # FIXME: Should let the user specify the lib program.
17392 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17393 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17394 enable_shared_with_static_runtimes_GCJ
=yes
17397 darwin
* | rhapsody
*)
17399 rhapsody
* | darwin1.
[012])
17400 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17403 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17404 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17406 case ${MACOSX_DEPLOYMENT_TARGET} in
17408 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17411 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17417 archive_cmds_need_lc_GCJ
=no
17418 hardcode_direct_GCJ
=no
17419 hardcode_automatic_GCJ
=yes
17420 hardcode_shlibpath_var_GCJ
=unsupported
17421 whole_archive_flag_spec_GCJ
=''
17422 link_all_deplibs_GCJ
=yes
17423 if test "$GCC" = yes ; then
17424 output_verbose_link_cmd
='echo'
17425 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17426 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17427 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17428 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17429 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17431 case $cc_basename in
17433 output_verbose_link_cmd
='echo'
17434 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17435 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17436 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17437 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17438 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17448 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17449 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17450 hardcode_shlibpath_var_GCJ
=no
17457 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17458 # support. Future versions do this automatically, but an explicit c++rt0.o
17459 # does not break anything, and helps significantly (at the cost of a little
17462 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17463 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17464 hardcode_direct_GCJ
=yes
17465 hardcode_shlibpath_var_GCJ
=no
17468 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17470 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17471 hardcode_direct_GCJ
=yes
17472 hardcode_minus_L_GCJ
=yes
17473 hardcode_shlibpath_var_GCJ
=no
17476 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17477 freebsd
* | dragonfly
*)
17478 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17479 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17480 hardcode_direct_GCJ
=yes
17481 hardcode_shlibpath_var_GCJ
=no
17485 if test "$GCC" = yes; then
17486 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17488 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17490 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17491 hardcode_libdir_separator_GCJ
=:
17492 hardcode_direct_GCJ
=yes
17494 # hardcode_minus_L: Not really in the search PATH,
17495 # but as the default location of the library.
17496 hardcode_minus_L_GCJ
=yes
17497 export_dynamic_flag_spec_GCJ
='${wl}-E'
17501 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17502 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17504 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17506 if test "$with_gnu_ld" = no
; then
17507 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17508 hardcode_libdir_separator_GCJ
=:
17510 hardcode_direct_GCJ
=yes
17511 export_dynamic_flag_spec_GCJ
='${wl}-E'
17513 # hardcode_minus_L: Not really in the search PATH,
17514 # but as the default location of the library.
17515 hardcode_minus_L_GCJ
=yes
17520 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17523 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17526 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17529 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17535 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17538 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17541 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17545 if test "$with_gnu_ld" = no
; then
17546 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17547 hardcode_libdir_separator_GCJ
=:
17551 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17552 hardcode_direct_GCJ
=no
17553 hardcode_shlibpath_var_GCJ
=no
17556 hardcode_direct_GCJ
=yes
17557 export_dynamic_flag_spec_GCJ
='${wl}-E'
17559 # hardcode_minus_L: Not really in the search PATH,
17560 # but as the default location of the library.
17561 hardcode_minus_L_GCJ
=yes
17567 irix5
* | irix6
* | nonstopux
*)
17568 if test "$GCC" = yes; then
17569 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17571 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17572 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17574 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17575 hardcode_libdir_separator_GCJ
=:
17576 link_all_deplibs_GCJ
=yes
17580 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17581 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17583 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17585 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17586 hardcode_direct_GCJ
=yes
17587 hardcode_shlibpath_var_GCJ
=no
17591 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17592 hardcode_direct_GCJ
=yes
17593 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17594 hardcode_libdir_separator_GCJ
=:
17595 hardcode_shlibpath_var_GCJ
=no
17599 if test -f /usr
/libexec
/ld.so
; then
17600 hardcode_direct_GCJ
=yes
17601 hardcode_shlibpath_var_GCJ
=no
17602 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17603 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17604 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17605 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17606 export_dynamic_flag_spec_GCJ
='${wl}-E'
17609 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17610 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17611 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17614 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17615 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17625 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17626 hardcode_minus_L_GCJ
=yes
17627 allow_undefined_flag_GCJ
=unsupported
17628 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
17629 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17633 if test "$GCC" = yes; then
17634 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17635 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17637 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17638 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17640 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17641 hardcode_libdir_separator_GCJ
=:
17644 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17645 if test "$GCC" = yes; then
17646 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17647 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17648 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17650 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17651 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17652 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17653 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17655 # Both c and cxx compiler support -rpath directly
17656 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17658 hardcode_libdir_separator_GCJ
=:
17662 no_undefined_flag_GCJ
=' -z text'
17663 if test "$GCC" = yes; then
17665 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17666 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17667 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17670 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17671 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17672 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17674 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17675 hardcode_shlibpath_var_GCJ
=no
17677 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17679 # The compiler driver will combine and reorder linker options,
17680 # but understands `-z linker_flag'. GCC discards it without `$wl',
17681 # but is careful enough not to reorder.
17682 # Supported since Solaris 2.6 (maybe 2.5.1?)
17683 if test "$GCC" = yes; then
17684 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17686 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17690 link_all_deplibs_GCJ
=yes
17694 if test "x$host_vendor" = xsequent
; then
17695 # Use $CC to link under sequent, because it throws in some extra .o
17696 # files that make .init and .fini sections work.
17697 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17699 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17701 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17702 hardcode_direct_GCJ
=yes
17703 hardcode_minus_L_GCJ
=yes
17704 hardcode_shlibpath_var_GCJ
=no
17708 case $host_vendor in
17710 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17711 hardcode_direct_GCJ
=yes # is this really true???
17714 ## LD is ld it makes a PLAMLIB
17715 ## CC just makes a GrossModule.
17716 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17717 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17718 hardcode_direct_GCJ
=no
17721 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17722 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17725 runpath_var
='LD_RUN_PATH'
17726 hardcode_shlibpath_var_GCJ
=no
17730 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17731 hardcode_shlibpath_var_GCJ
=no
17732 export_dynamic_flag_spec_GCJ
='-Bexport'
17736 if test -d /usr
/nec
; then
17737 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17738 hardcode_shlibpath_var_GCJ
=no
17739 runpath_var
=LD_RUN_PATH
17740 hardcode_runpath_var
=yes
17745 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17746 no_undefined_flag_GCJ
='${wl}-z,text'
17747 archive_cmds_need_lc_GCJ
=no
17748 hardcode_shlibpath_var_GCJ
=no
17749 runpath_var
='LD_RUN_PATH'
17751 if test "$GCC" = yes; then
17752 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17753 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17755 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17756 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17760 sysv5
* | sco3.2v5
* | sco5v6
*)
17761 # Note: We can NOT use -z defs as we might desire, because we do not
17762 # link with -lc, and that would cause any symbols used from libc to
17763 # always be unresolved, which means just about no library would
17764 # ever link correctly. If we're not using GNU ld we use -z text
17765 # though, which does catch some bad symbols but isn't as heavy-handed
17767 no_undefined_flag_GCJ
='${wl}-z,text'
17768 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17769 archive_cmds_need_lc_GCJ
=no
17770 hardcode_shlibpath_var_GCJ
=no
17771 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17772 hardcode_libdir_separator_GCJ
=':'
17773 link_all_deplibs_GCJ
=yes
17774 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17775 runpath_var
='LD_RUN_PATH'
17777 if test "$GCC" = yes; then
17778 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17779 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17781 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17782 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17787 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17788 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17789 hardcode_shlibpath_var_GCJ
=no
17798 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17799 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17800 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17803 # Do we need to explicitly link libc?
17805 case "x$archive_cmds_need_lc_GCJ" in
17807 # Assume -lc should be added
17808 archive_cmds_need_lc_GCJ
=yes
17810 if test "$enable_shared" = yes && test "$GCC" = yes; then
17811 case $archive_cmds_GCJ in
17813 # FIXME: we may have to deal with multi-command sequences.
17816 # Test whether the compiler implicitly links with -lc since on some
17817 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17818 # to ld, don't add -lc before -lgcc.
17819 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17820 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } 2>conftest.err
; then
17831 libobjs
=conftest.
$ac_objext
17833 wl
=$lt_prog_compiler_wl_GCJ
17834 pic_flag
=$lt_prog_compiler_pic_GCJ
17840 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17841 allow_undefined_flag_GCJ
=
17842 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17843 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }
17848 archive_cmds_need_lc_GCJ
=no
17850 archive_cmds_need_lc_GCJ
=yes
17852 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17854 cat conftest.err
1>&5
17857 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17858 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17865 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17866 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17867 library_names_spec
=
17868 libname_spec
='lib$name'
17872 postuninstall_cmds
=
17876 shlibpath_overrides_runpath
=unknown
17878 dynamic_linker
="$host_os ld.so"
17879 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17881 need_lib_prefix
=unknown
17882 hardcode_into_libs
=no
17884 # when you set need_version to no, make sure it does not cause -set_version
17885 # flags to be left without arguments
17886 need_version
=unknown
17891 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17892 shlibpath_var
=LIBPATH
17894 # AIX 3 has no versioning support, so we append a major version to the name.
17895 soname_spec
='${libname}${release}${shared_ext}$major'
17902 hardcode_into_libs
=yes
17903 if test "$host_cpu" = ia64
; then
17904 # AIX 5 supports IA64
17905 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17906 shlibpath_var
=LD_LIBRARY_PATH
17908 # With GCC up to 2.95.x, collect2 would create an import file
17909 # for dependence libraries. The import file would start with
17910 # the line `#! .'. This would cause the generated library to
17911 # depend on `.', always an invalid library. This was fixed in
17912 # development snapshots of GCC prior to 3.0.
17914 aix4 | aix4.
[01] | aix4.
[01].
*)
17915 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17917 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17920 can_build_shared
=no
17924 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17925 # soname into executable. Probably we can add versioning support to
17926 # collect2, so additional links can be useful in future.
17927 if test "$aix_use_runtimelinking" = yes; then
17928 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17929 # instead of lib<name>.a to let people know that these are not
17930 # typical AIX shared libraries.
17931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17933 # We preserve .a as extension for shared libraries through AIX4.2
17934 # and later when we are not doing run time linking.
17935 library_names_spec
='${libname}${release}.a $libname.a'
17936 soname_spec
='${libname}${release}${shared_ext}$major'
17938 shlibpath_var
=LIBPATH
17943 library_names_spec
='$libname.ixlibrary $libname.a'
17944 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17945 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
17949 library_names_spec
='${libname}${shared_ext}'
17950 dynamic_linker
="$host_os ld.so"
17951 shlibpath_var
=LIBRARY_PATH
17957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17958 soname_spec
='${libname}${release}${shared_ext}$major'
17959 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17960 shlibpath_var
=LD_LIBRARY_PATH
17961 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17962 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17963 # the default ld.so.conf also contains /usr/contrib/lib and
17964 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17965 # libtool to hard-code these into programs
17968 cygwin
* | mingw
* | pw32
*)
17969 version_type
=windows
17974 case $GCC,$host_os in
17975 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17976 library_names_spec
='$libname.dll.a'
17977 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17978 postinstall_cmds
='base_file=`basename \${file}`~
17979 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17980 dldir=$destdir/`dirname \$dlpath`~
17981 test -d \$dldir || mkdir -p \$dldir~
17982 $install_prog $dir/$dlname \$dldir/$dlname~
17983 chmod a+x \$dldir/$dlname'
17984 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17985 dlpath=$dir/\$dldll~
17987 shlibpath_overrides_runpath
=yes
17991 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17992 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17993 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17996 # MinGW DLLs use traditional 'lib' prefix
17997 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17998 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17999 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18000 # It is most probably a Windows format PATH printed by
18001 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18002 # path with ; separators, and with drive letters. We can handle the
18003 # drive letters (cygwin fileutils understands them), so leave them,
18004 # especially as we might pass files found there to a mingw objdump,
18005 # which wouldn't understand a cygwinified path. Ahh.
18006 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18008 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18012 # pw32 DLLs use 'pw' prefix rather than 'lib'
18013 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18019 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18022 dynamic_linker
='Win32 ld.exe'
18023 # FIXME: first we should search . and the directory the executable is in
18027 darwin
* | rhapsody
*)
18028 dynamic_linker
="$host_os dyld"
18029 version_type
=darwin
18032 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18033 soname_spec
='${libname}${release}${major}$shared_ext'
18034 shlibpath_overrides_runpath
=yes
18035 shlibpath_var
=DYLD_LIBRARY_PATH
18036 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18038 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18046 soname_spec
='${libname}${release}${shared_ext}$major'
18047 shlibpath_var
=LD_LIBRARY_PATH
18054 freebsd
* | dragonfly
*)
18055 # DragonFly does not have aout. When/if they implement a new
18056 # versioning mechanism, adjust this.
18057 if test -x /usr
/bin
/objformat
; then
18058 objformat
=`/usr/bin/objformat`
18061 freebsd
[123]*) objformat
=aout
;;
18062 *) objformat
=elf
;;
18065 version_type
=freebsd-
$objformat
18066 case $version_type in
18068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18073 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18077 shlibpath_var
=LD_LIBRARY_PATH
18080 shlibpath_overrides_runpath
=yes
18082 freebsd3.
[01]* | freebsdelf3.
[01]*)
18083 shlibpath_overrides_runpath
=yes
18084 hardcode_into_libs
=yes
18086 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18087 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18088 shlibpath_overrides_runpath
=no
18089 hardcode_into_libs
=yes
18091 *) # from 4.6 on, and DragonFly
18092 shlibpath_overrides_runpath
=yes
18093 hardcode_into_libs
=yes
18102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18103 soname_spec
='${libname}${release}${shared_ext}$major'
18104 shlibpath_var
=LD_LIBRARY_PATH
18105 hardcode_into_libs
=yes
18108 hpux9
* | hpux10
* | hpux11
*)
18109 # Give a soname corresponding to the major version so that dld.sl refuses to
18110 # link against other versions.
18117 hardcode_into_libs
=yes
18118 dynamic_linker
="$host_os dld.so"
18119 shlibpath_var
=LD_LIBRARY_PATH
18120 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18122 soname_spec
='${libname}${release}${shared_ext}$major'
18123 if test "X$HPUX_IA64_MODE" = X32
; then
18124 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18126 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18128 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18132 hardcode_into_libs
=yes
18133 dynamic_linker
="$host_os dld.sl"
18134 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18135 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18137 soname_spec
='${libname}${release}${shared_ext}$major'
18138 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18139 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18143 dynamic_linker
="$host_os dld.sl"
18144 shlibpath_var
=SHLIB_PATH
18145 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18147 soname_spec
='${libname}${release}${shared_ext}$major'
18150 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18151 postinstall_cmds
='chmod 555 $lib'
18158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18159 soname_spec
='${libname}${release}${shared_ext}$major'
18160 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18161 shlibpath_var
=LD_LIBRARY_PATH
18162 shlibpath_overrides_runpath
=no
18163 hardcode_into_libs
=yes
18166 irix5
* | irix6
* | nonstopux
*)
18168 nonstopux
*) version_type
=nonstopux
;;
18170 if test "$lt_cv_prog_gnu_ld" = yes; then
18178 soname_spec
='${libname}${release}${shared_ext}$major'
18179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18181 irix5
* | nonstopux
*)
18182 libsuff
= shlibsuff
=
18185 case $LD in # libtool.m4 will add one of these switches to LD
18186 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18187 libsuff
= shlibsuff
= libmagic
=32-bit;;
18188 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18189 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18190 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18191 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18192 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18196 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18197 shlibpath_overrides_runpath
=no
18198 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18199 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18200 hardcode_into_libs
=yes
18203 # No shared lib support for Linux oldld, aout, or coff.
18204 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18208 # This must be Linux ELF.
18209 linux
* | k
*bsd
*-gnu)
18213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18214 soname_spec
='${libname}${release}${shared_ext}$major'
18215 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18216 shlibpath_var
=LD_LIBRARY_PATH
18217 shlibpath_overrides_runpath
=no
18218 # This implies no fast_install, which is unacceptable.
18219 # Some rework will be needed to allow for fast_install
18220 # before this can be enabled.
18221 hardcode_into_libs
=yes
18223 # Append ld.so.conf contents to the search path
18224 if test -f /etc
/ld.so.conf
; then
18225 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18226 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18229 # We used to test for /lib/ld.so.1 and disable shared libraries on
18230 # powerpc, because MkLinux only supported shared libraries with the
18231 # GNU dynamic linker. Since this was broken with cross compilers,
18232 # most powerpc-linux boxes support dynamic linking these days and
18233 # people can always --disable-shared, the test was removed, and we
18234 # assume the GNU/Linux dynamic linker is in use.
18235 dynamic_linker
='GNU/Linux ld.so'
18242 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18244 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18245 dynamic_linker
='NetBSD (a.out) ld.so'
18247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18248 soname_spec
='${libname}${release}${shared_ext}$major'
18249 dynamic_linker
='NetBSD ld.elf_so'
18251 shlibpath_var
=LD_LIBRARY_PATH
18252 shlibpath_overrides_runpath
=yes
18253 hardcode_into_libs
=yes
18258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18259 shlibpath_var
=LD_LIBRARY_PATH
18260 shlibpath_overrides_runpath
=yes
18267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18268 soname_spec
='${libname}${release}${shared_ext}$major'
18269 shlibpath_var
=LD_LIBRARY_PATH
18270 shlibpath_overrides_runpath
=yes
18275 sys_lib_dlsearch_path_spec
="/usr/lib"
18277 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18279 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18280 *) need_version
=no
;;
18282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18283 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18284 shlibpath_var
=LD_LIBRARY_PATH
18285 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18287 openbsd2.
[89] | openbsd2.
[89].
*)
18288 shlibpath_overrides_runpath
=no
18291 shlibpath_overrides_runpath
=yes
18295 shlibpath_overrides_runpath
=yes
18300 libname_spec
='$name'
18303 library_names_spec
='$libname${shared_ext} $libname.a'
18304 dynamic_linker
='OS/2 ld.exe'
18305 shlibpath_var
=LIBPATH
18308 osf3
* | osf4
* | osf5
*)
18312 soname_spec
='${libname}${release}${shared_ext}$major'
18313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18314 shlibpath_var
=LD_LIBRARY_PATH
18315 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18316 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18328 soname_spec
='${libname}${release}${shared_ext}$major'
18329 shlibpath_var
=LD_LIBRARY_PATH
18330 shlibpath_overrides_runpath
=yes
18331 hardcode_into_libs
=yes
18332 # ldd complains unless libraries are executable
18333 postinstall_cmds
='chmod +x $lib'
18338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18339 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18340 shlibpath_var
=LD_LIBRARY_PATH
18341 shlibpath_overrides_runpath
=yes
18342 if test "$with_gnu_ld" = yes; then
18350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18351 soname_spec
='${libname}${release}${shared_ext}$major'
18352 shlibpath_var
=LD_LIBRARY_PATH
18353 case $host_vendor in
18355 shlibpath_overrides_runpath
=no
18357 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18358 runpath_var
=LD_RUN_PATH
18366 shlibpath_overrides_runpath
=no
18367 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18373 if test -d /usr
/nec
;then
18375 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18376 soname_spec
='$libname${shared_ext}.$major'
18377 shlibpath_var
=LD_LIBRARY_PATH
18381 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18382 version_type
=freebsd-elf
18385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18386 soname_spec
='${libname}${release}${shared_ext}$major'
18387 shlibpath_var
=LD_LIBRARY_PATH
18388 hardcode_into_libs
=yes
18389 if test "$with_gnu_ld" = yes; then
18390 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18391 shlibpath_overrides_runpath
=no
18393 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18394 shlibpath_overrides_runpath
=yes
18397 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18401 sys_lib_dlsearch_path_spec
='/usr/lib'
18406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18407 soname_spec
='${libname}${release}${shared_ext}$major'
18408 shlibpath_var
=LD_LIBRARY_PATH
18415 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18416 echo "${ECHO_T}$dynamic_linker" >&6
18417 test "$dynamic_linker" = no
&& can_build_shared
=no
18419 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18420 if test "$GCC" = yes; then
18421 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18424 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18425 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18426 hardcode_action_GCJ
=
18427 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18428 test -n "$runpath_var_GCJ" || \
18429 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18431 # We can hardcode non-existant directories.
18432 if test "$hardcode_direct_GCJ" != no
&&
18433 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18434 # have to relink, otherwise we might link with an installed library
18435 # when we should be linking with a yet-to-be-installed one
18436 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18437 test "$hardcode_minus_L_GCJ" != no
; then
18438 # Linking always hardcodes the temporary library directory.
18439 hardcode_action_GCJ
=relink
18441 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18442 hardcode_action_GCJ
=immediate
18445 # We cannot hardcode anything, or else we can only hardcode existing
18447 hardcode_action_GCJ
=unsupported
18449 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18450 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18452 if test "$hardcode_action_GCJ" = relink
; then
18453 # Fast installation is not supported
18454 enable_fast_install
=no
18455 elif test "$shlibpath_overrides_runpath" = yes ||
18456 test "$enable_shared" = no
; then
18457 # Fast installation is not necessary
18458 enable_fast_install
=needless
18462 # The else clause should only fire when bootstrapping the
18463 # libtool distribution, otherwise you forgot to ship ltmain.sh
18464 # with your package, and you will get complaints that there are
18465 # no rules to generate ltmain.sh.
18466 if test -f "$ltmain"; then
18467 # See if we are running on zsh, and set the options which allow our commands through
18468 # without removal of \ escapes.
18469 if test -n "${ZSH_VERSION+set}" ; then
18470 setopt NO_GLOB_SUBST
18472 # Now quote all the things that may contain metacharacters while being
18473 # careful not to overquote the AC_SUBSTed values. We take copies of the
18474 # variables and quote the copies for generation of the libtool script.
18475 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18477 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18478 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18479 deplibs_check_method reload_flag reload_cmds need_locks \
18480 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18481 lt_cv_sys_global_symbol_to_c_name_address \
18482 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18483 old_postinstall_cmds old_postuninstall_cmds \
18487 lt_prog_compiler_wl_GCJ \
18488 lt_prog_compiler_pic_GCJ \
18489 lt_prog_compiler_static_GCJ \
18490 lt_prog_compiler_no_builtin_flag_GCJ \
18491 export_dynamic_flag_spec_GCJ \
18492 thread_safe_flag_spec_GCJ \
18493 whole_archive_flag_spec_GCJ \
18494 enable_shared_with_static_runtimes_GCJ \
18495 old_archive_cmds_GCJ \
18496 old_archive_from_new_cmds_GCJ \
18497 predep_objects_GCJ \
18498 postdep_objects_GCJ \
18501 compiler_lib_search_path_GCJ \
18503 archive_expsym_cmds_GCJ \
18504 postinstall_cmds_GCJ \
18505 postuninstall_cmds_GCJ \
18506 old_archive_from_expsyms_cmds_GCJ \
18507 allow_undefined_flag_GCJ \
18508 no_undefined_flag_GCJ \
18509 export_symbols_cmds_GCJ \
18510 hardcode_libdir_flag_spec_GCJ \
18511 hardcode_libdir_flag_spec_ld_GCJ \
18512 hardcode_libdir_separator_GCJ \
18513 hardcode_automatic_GCJ \
18515 module_expsym_cmds_GCJ \
18516 lt_cv_prog_compiler_c_o_GCJ \
18517 fix_srcfile_path_GCJ \
18518 exclude_expsyms_GCJ \
18519 include_expsyms_GCJ
; do
18522 old_archive_cmds_GCJ | \
18523 old_archive_from_new_cmds_GCJ | \
18524 archive_cmds_GCJ | \
18525 archive_expsym_cmds_GCJ | \
18526 module_cmds_GCJ | \
18527 module_expsym_cmds_GCJ | \
18528 old_archive_from_expsyms_cmds_GCJ | \
18529 export_symbols_cmds_GCJ | \
18530 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18531 postinstall_cmds | postuninstall_cmds | \
18532 old_postinstall_cmds | old_postuninstall_cmds | \
18533 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18534 # Double-quote double-evaled strings.
18535 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18538 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18544 *'\$0 --fallback-echo"')
18545 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18551 cat <<__EOF__ >> "$cfgfile"
18552 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18554 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18556 # Shell to use when invoking shell scripts.
18559 # Whether or not to build shared libraries.
18560 build_libtool_libs=$enable_shared
18562 # Whether or not to build static libraries.
18563 build_old_libs=$enable_static
18565 # Whether or not to add -lc for building shared libraries.
18566 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18568 # Whether or not to disallow shared libs when runtime libs are static
18569 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18571 # Whether or not to optimize for fast installation.
18572 fast_install=$enable_fast_install
18575 host_alias=$host_alias
18579 # The build system.
18580 build_alias=$build_alias
18584 # An echo program that does not interpret backslashes.
18589 AR_FLAGS=$lt_AR_FLAGS
18594 # LTCC compiler flags.
18595 LTCFLAGS=$lt_LTCFLAGS
18597 # A language-specific compiler.
18598 CC=$lt_compiler_GCJ
18600 # Is the compiler the GNU C compiler?
18606 # The linker used to build libraries.
18609 # Whether we need hard or soft links.
18612 # A BSD-compatible nm program.
18615 # A symbol stripping program
18618 # Used to examine libraries when file_magic_cmd begins "file"
18619 MAGIC_CMD=$MAGIC_CMD
18621 # Used on cygwin: DLL creation program.
18624 # Used on cygwin: object dumper.
18627 # Used on cygwin: assembler.
18630 # The name of the directory that contains temporary libtool files.
18633 # How to create reloadable object files.
18634 reload_flag=$lt_reload_flag
18635 reload_cmds=$lt_reload_cmds
18637 # How to pass a linker flag through the compiler.
18638 wl=$lt_lt_prog_compiler_wl_GCJ
18640 # Object file suffix (normally "o").
18641 objext="$ac_objext"
18643 # Old archive suffix (normally "a").
18646 # Shared library suffix (normally ".so").
18647 shrext_cmds='$shrext_cmds'
18649 # Executable file suffix (normally "").
18652 # Additional compiler flags for building library objects.
18653 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18656 # What is the maximum length of a command?
18657 max_cmd_len=$lt_cv_sys_max_cmd_len
18659 # Does compiler simultaneously support -c and -o options?
18660 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18662 # Must we lock files when doing compilation?
18663 need_locks=$lt_need_locks
18665 # Do we need the lib prefix for modules?
18666 need_lib_prefix=$need_lib_prefix
18668 # Do we need a version for libraries?
18669 need_version=$need_version
18671 # Whether dlopen is supported.
18672 dlopen_support=$enable_dlopen
18674 # Whether dlopen of programs is supported.
18675 dlopen_self=$enable_dlopen_self
18677 # Whether dlopen of statically linked programs is supported.
18678 dlopen_self_static=$enable_dlopen_self_static
18680 # Compiler flag to prevent dynamic linking.
18681 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18683 # Compiler flag to turn off builtin functions.
18684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18686 # Compiler flag to allow reflexive dlopens.
18687 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18689 # Compiler flag to generate shared objects directly from archives.
18690 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18692 # Compiler flag to generate thread-safe objects.
18693 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18695 # Library versioning type.
18696 version_type=$version_type
18698 # Format of library name prefix.
18699 libname_spec=$lt_libname_spec
18701 # List of archive names. First name is the real one, the rest are links.
18702 # The last name is the one that the linker finds with -lNAME.
18703 library_names_spec=$lt_library_names_spec
18705 # The coded name of the library, if different from the real name.
18706 soname_spec=$lt_soname_spec
18708 # Commands used to build and install an old-style archive.
18710 old_archive_cmds=$lt_old_archive_cmds_GCJ
18711 old_postinstall_cmds=$lt_old_postinstall_cmds
18712 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18714 # Create an old-style archive from a shared archive.
18715 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18717 # Create a temporary old-style archive to link instead of a shared archive.
18718 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18720 # Commands used to build and install a shared archive.
18721 archive_cmds=$lt_archive_cmds_GCJ
18722 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18723 postinstall_cmds=$lt_postinstall_cmds
18724 postuninstall_cmds=$lt_postuninstall_cmds
18726 # Commands used to build a loadable module (assumed same as above if empty)
18727 module_cmds=$lt_module_cmds_GCJ
18728 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18730 # Commands to strip libraries.
18731 old_striplib=$lt_old_striplib
18732 striplib=$lt_striplib
18734 # Dependencies to place before the objects being linked to create a
18736 predep_objects=$lt_predep_objects_GCJ
18738 # Dependencies to place after the objects being linked to create a
18740 postdep_objects=$lt_postdep_objects_GCJ
18742 # Dependencies to place before the objects being linked to create a
18744 predeps=$lt_predeps_GCJ
18746 # Dependencies to place after the objects being linked to create a
18748 postdeps=$lt_postdeps_GCJ
18750 # The library search path used internally by the compiler when linking
18751 # a shared library.
18752 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18754 # Method to check whether dependent libraries are shared objects.
18755 deplibs_check_method=$lt_deplibs_check_method
18757 # Command to use when deplibs_check_method == file_magic.
18758 file_magic_cmd=$lt_file_magic_cmd
18760 # Flag that allows shared libraries with undefined symbols to be built.
18761 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18763 # Flag that forces no undefined symbols.
18764 no_undefined_flag=$lt_no_undefined_flag_GCJ
18766 # Commands used to finish a libtool library installation in a directory.
18767 finish_cmds=$lt_finish_cmds
18769 # Same as above, but a single script fragment to be evaled but not shown.
18770 finish_eval=$lt_finish_eval
18772 # Take the output of nm and produce a listing of raw symbols and C names.
18773 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18775 # Transform the output of nm in a proper C declaration
18776 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18778 # Transform the output of nm in a C name address pair
18779 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18781 # This is the shared library runtime path variable.
18782 runpath_var=$runpath_var
18784 # This is the shared library path variable.
18785 shlibpath_var=$shlibpath_var
18787 # Is shlibpath searched before the hard-coded library search path?
18788 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18790 # How to hardcode a shared library path into an executable.
18791 hardcode_action=$hardcode_action_GCJ
18793 # Whether we should hardcode library paths into libraries.
18794 hardcode_into_libs=$hardcode_into_libs
18796 # Flag to hardcode \$libdir into a binary during linking.
18797 # This must work even if \$libdir does not exist.
18798 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18800 # If ld is used when linking, flag to hardcode \$libdir into
18801 # a binary during linking. This must work even if \$libdir does
18803 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18805 # Whether we need a single -rpath flag with a separated argument.
18806 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18808 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18809 # resulting binary.
18810 hardcode_direct=$hardcode_direct_GCJ
18812 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18813 # resulting binary.
18814 hardcode_minus_L=$hardcode_minus_L_GCJ
18816 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18817 # the resulting binary.
18818 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18820 # Set to yes if building a shared library automatically hardcodes DIR into the library
18821 # and all subsequent libraries and executables linked against it.
18822 hardcode_automatic=$hardcode_automatic_GCJ
18824 # Variables whose values should be saved in libtool wrapper scripts and
18825 # restored at relink time.
18826 variables_saved_for_relink="$variables_saved_for_relink"
18828 # Whether libtool must link a program against all its dependency libraries.
18829 link_all_deplibs=$link_all_deplibs_GCJ
18831 # Compile-time system search path for libraries
18832 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18834 # Run-time system search path for libraries
18835 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18837 # Fix the shell variable \$srcfile for the compiler.
18838 fix_srcfile_path=$lt_fix_srcfile_path
18840 # Set to yes if exported symbols are required.
18841 always_export_symbols=$always_export_symbols_GCJ
18843 # The commands to list exported symbols.
18844 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18846 # The commands to extract the exported symbol list from a shared archive.
18847 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18849 # Symbols that should not be listed in the preloaded symbols.
18850 exclude_expsyms=$lt_exclude_expsyms_GCJ
18852 # Symbols that must always be exported.
18853 include_expsyms=$lt_include_expsyms_GCJ
18855 # ### END LIBTOOL TAG CONFIG: $tagname
18861 # If there is no Makefile yet, we rely on a make rule to execute
18862 # `config.status --recheck' to rerun these tests and create the
18863 # libtool script then.
18864 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18865 if test -f "$ltmain_in"; then
18866 test -f Makefile
&& make "$ltmain"
18872 ac_cpp
='$CPP $CPPFLAGS'
18873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18888 # Source file extension for RC test sources.
18891 # Object file extension for compiled RC test sources.
18895 # Code to be used in simple compile tests
18896 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18898 # Code to be used in simple link tests
18899 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18901 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18903 # If no C compiler was specified, use CC.
18906 # If no C compiler flags were specified, use CFLAGS.
18907 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18909 # Allow CC to be a program name with arguments.
18913 # save warnings/boilerplate of simple test code
18914 ac_outfile
=conftest.
$ac_objext
18915 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18916 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18917 _lt_compiler_boilerplate
=`cat conftest.err`
18920 ac_outfile
=conftest.
$ac_objext
18921 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18922 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18923 _lt_linker_boilerplate
=`cat conftest.err`
18927 # Allow CC to be a program name with arguments.
18932 for cc_temp
in $compiler""; do
18934 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18935 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18940 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18942 lt_cv_prog_compiler_c_o_RC
=yes
18944 # The else clause should only fire when bootstrapping the
18945 # libtool distribution, otherwise you forgot to ship ltmain.sh
18946 # with your package, and you will get complaints that there are
18947 # no rules to generate ltmain.sh.
18948 if test -f "$ltmain"; then
18949 # See if we are running on zsh, and set the options which allow our commands through
18950 # without removal of \ escapes.
18951 if test -n "${ZSH_VERSION+set}" ; then
18952 setopt NO_GLOB_SUBST
18954 # Now quote all the things that may contain metacharacters while being
18955 # careful not to overquote the AC_SUBSTed values. We take copies of the
18956 # variables and quote the copies for generation of the libtool script.
18957 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18959 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18960 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18961 deplibs_check_method reload_flag reload_cmds need_locks \
18962 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18963 lt_cv_sys_global_symbol_to_c_name_address \
18964 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18965 old_postinstall_cmds old_postuninstall_cmds \
18969 lt_prog_compiler_wl_RC \
18970 lt_prog_compiler_pic_RC \
18971 lt_prog_compiler_static_RC \
18972 lt_prog_compiler_no_builtin_flag_RC \
18973 export_dynamic_flag_spec_RC \
18974 thread_safe_flag_spec_RC \
18975 whole_archive_flag_spec_RC \
18976 enable_shared_with_static_runtimes_RC \
18977 old_archive_cmds_RC \
18978 old_archive_from_new_cmds_RC \
18979 predep_objects_RC \
18980 postdep_objects_RC \
18983 compiler_lib_search_path_RC \
18985 archive_expsym_cmds_RC \
18986 postinstall_cmds_RC \
18987 postuninstall_cmds_RC \
18988 old_archive_from_expsyms_cmds_RC \
18989 allow_undefined_flag_RC \
18990 no_undefined_flag_RC \
18991 export_symbols_cmds_RC \
18992 hardcode_libdir_flag_spec_RC \
18993 hardcode_libdir_flag_spec_ld_RC \
18994 hardcode_libdir_separator_RC \
18995 hardcode_automatic_RC \
18997 module_expsym_cmds_RC \
18998 lt_cv_prog_compiler_c_o_RC \
18999 fix_srcfile_path_RC \
19000 exclude_expsyms_RC \
19001 include_expsyms_RC
; do
19004 old_archive_cmds_RC | \
19005 old_archive_from_new_cmds_RC | \
19006 archive_cmds_RC | \
19007 archive_expsym_cmds_RC | \
19009 module_expsym_cmds_RC | \
19010 old_archive_from_expsyms_cmds_RC | \
19011 export_symbols_cmds_RC | \
19012 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19013 postinstall_cmds | postuninstall_cmds | \
19014 old_postinstall_cmds | old_postuninstall_cmds | \
19015 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19016 # Double-quote double-evaled strings.
19017 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19020 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19026 *'\$0 --fallback-echo"')
19027 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19033 cat <<__EOF__ >> "$cfgfile"
19034 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19036 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19038 # Shell to use when invoking shell scripts.
19041 # Whether or not to build shared libraries.
19042 build_libtool_libs=$enable_shared
19044 # Whether or not to build static libraries.
19045 build_old_libs=$enable_static
19047 # Whether or not to add -lc for building shared libraries.
19048 build_libtool_need_lc=$archive_cmds_need_lc_RC
19050 # Whether or not to disallow shared libs when runtime libs are static
19051 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19053 # Whether or not to optimize for fast installation.
19054 fast_install=$enable_fast_install
19057 host_alias=$host_alias
19061 # The build system.
19062 build_alias=$build_alias
19066 # An echo program that does not interpret backslashes.
19071 AR_FLAGS=$lt_AR_FLAGS
19076 # LTCC compiler flags.
19077 LTCFLAGS=$lt_LTCFLAGS
19079 # A language-specific compiler.
19082 # Is the compiler the GNU C compiler?
19088 # The linker used to build libraries.
19091 # Whether we need hard or soft links.
19094 # A BSD-compatible nm program.
19097 # A symbol stripping program
19100 # Used to examine libraries when file_magic_cmd begins "file"
19101 MAGIC_CMD=$MAGIC_CMD
19103 # Used on cygwin: DLL creation program.
19106 # Used on cygwin: object dumper.
19109 # Used on cygwin: assembler.
19112 # The name of the directory that contains temporary libtool files.
19115 # How to create reloadable object files.
19116 reload_flag=$lt_reload_flag
19117 reload_cmds=$lt_reload_cmds
19119 # How to pass a linker flag through the compiler.
19120 wl=$lt_lt_prog_compiler_wl_RC
19122 # Object file suffix (normally "o").
19123 objext="$ac_objext"
19125 # Old archive suffix (normally "a").
19128 # Shared library suffix (normally ".so").
19129 shrext_cmds='$shrext_cmds'
19131 # Executable file suffix (normally "").
19134 # Additional compiler flags for building library objects.
19135 pic_flag=$lt_lt_prog_compiler_pic_RC
19138 # What is the maximum length of a command?
19139 max_cmd_len=$lt_cv_sys_max_cmd_len
19141 # Does compiler simultaneously support -c and -o options?
19142 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19144 # Must we lock files when doing compilation?
19145 need_locks=$lt_need_locks
19147 # Do we need the lib prefix for modules?
19148 need_lib_prefix=$need_lib_prefix
19150 # Do we need a version for libraries?
19151 need_version=$need_version
19153 # Whether dlopen is supported.
19154 dlopen_support=$enable_dlopen
19156 # Whether dlopen of programs is supported.
19157 dlopen_self=$enable_dlopen_self
19159 # Whether dlopen of statically linked programs is supported.
19160 dlopen_self_static=$enable_dlopen_self_static
19162 # Compiler flag to prevent dynamic linking.
19163 link_static_flag=$lt_lt_prog_compiler_static_RC
19165 # Compiler flag to turn off builtin functions.
19166 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19168 # Compiler flag to allow reflexive dlopens.
19169 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19171 # Compiler flag to generate shared objects directly from archives.
19172 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19174 # Compiler flag to generate thread-safe objects.
19175 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19177 # Library versioning type.
19178 version_type=$version_type
19180 # Format of library name prefix.
19181 libname_spec=$lt_libname_spec
19183 # List of archive names. First name is the real one, the rest are links.
19184 # The last name is the one that the linker finds with -lNAME.
19185 library_names_spec=$lt_library_names_spec
19187 # The coded name of the library, if different from the real name.
19188 soname_spec=$lt_soname_spec
19190 # Commands used to build and install an old-style archive.
19192 old_archive_cmds=$lt_old_archive_cmds_RC
19193 old_postinstall_cmds=$lt_old_postinstall_cmds
19194 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19196 # Create an old-style archive from a shared archive.
19197 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19199 # Create a temporary old-style archive to link instead of a shared archive.
19200 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19202 # Commands used to build and install a shared archive.
19203 archive_cmds=$lt_archive_cmds_RC
19204 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19205 postinstall_cmds=$lt_postinstall_cmds
19206 postuninstall_cmds=$lt_postuninstall_cmds
19208 # Commands used to build a loadable module (assumed same as above if empty)
19209 module_cmds=$lt_module_cmds_RC
19210 module_expsym_cmds=$lt_module_expsym_cmds_RC
19212 # Commands to strip libraries.
19213 old_striplib=$lt_old_striplib
19214 striplib=$lt_striplib
19216 # Dependencies to place before the objects being linked to create a
19218 predep_objects=$lt_predep_objects_RC
19220 # Dependencies to place after the objects being linked to create a
19222 postdep_objects=$lt_postdep_objects_RC
19224 # Dependencies to place before the objects being linked to create a
19226 predeps=$lt_predeps_RC
19228 # Dependencies to place after the objects being linked to create a
19230 postdeps=$lt_postdeps_RC
19232 # The library search path used internally by the compiler when linking
19233 # a shared library.
19234 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19236 # Method to check whether dependent libraries are shared objects.
19237 deplibs_check_method=$lt_deplibs_check_method
19239 # Command to use when deplibs_check_method == file_magic.
19240 file_magic_cmd=$lt_file_magic_cmd
19242 # Flag that allows shared libraries with undefined symbols to be built.
19243 allow_undefined_flag=$lt_allow_undefined_flag_RC
19245 # Flag that forces no undefined symbols.
19246 no_undefined_flag=$lt_no_undefined_flag_RC
19248 # Commands used to finish a libtool library installation in a directory.
19249 finish_cmds=$lt_finish_cmds
19251 # Same as above, but a single script fragment to be evaled but not shown.
19252 finish_eval=$lt_finish_eval
19254 # Take the output of nm and produce a listing of raw symbols and C names.
19255 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19257 # Transform the output of nm in a proper C declaration
19258 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19260 # Transform the output of nm in a C name address pair
19261 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19263 # This is the shared library runtime path variable.
19264 runpath_var=$runpath_var
19266 # This is the shared library path variable.
19267 shlibpath_var=$shlibpath_var
19269 # Is shlibpath searched before the hard-coded library search path?
19270 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19272 # How to hardcode a shared library path into an executable.
19273 hardcode_action=$hardcode_action_RC
19275 # Whether we should hardcode library paths into libraries.
19276 hardcode_into_libs=$hardcode_into_libs
19278 # Flag to hardcode \$libdir into a binary during linking.
19279 # This must work even if \$libdir does not exist.
19280 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19282 # If ld is used when linking, flag to hardcode \$libdir into
19283 # a binary during linking. This must work even if \$libdir does
19285 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19287 # Whether we need a single -rpath flag with a separated argument.
19288 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19290 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19291 # resulting binary.
19292 hardcode_direct=$hardcode_direct_RC
19294 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19295 # resulting binary.
19296 hardcode_minus_L=$hardcode_minus_L_RC
19298 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19299 # the resulting binary.
19300 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19302 # Set to yes if building a shared library automatically hardcodes DIR into the library
19303 # and all subsequent libraries and executables linked against it.
19304 hardcode_automatic=$hardcode_automatic_RC
19306 # Variables whose values should be saved in libtool wrapper scripts and
19307 # restored at relink time.
19308 variables_saved_for_relink="$variables_saved_for_relink"
19310 # Whether libtool must link a program against all its dependency libraries.
19311 link_all_deplibs=$link_all_deplibs_RC
19313 # Compile-time system search path for libraries
19314 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19316 # Run-time system search path for libraries
19317 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19319 # Fix the shell variable \$srcfile for the compiler.
19320 fix_srcfile_path=$lt_fix_srcfile_path
19322 # Set to yes if exported symbols are required.
19323 always_export_symbols=$always_export_symbols_RC
19325 # The commands to list exported symbols.
19326 export_symbols_cmds=$lt_export_symbols_cmds_RC
19328 # The commands to extract the exported symbol list from a shared archive.
19329 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19331 # Symbols that should not be listed in the preloaded symbols.
19332 exclude_expsyms=$lt_exclude_expsyms_RC
19334 # Symbols that must always be exported.
19335 include_expsyms=$lt_include_expsyms_RC
19337 # ### END LIBTOOL TAG CONFIG: $tagname
19343 # If there is no Makefile yet, we rely on a make rule to execute
19344 # `config.status --recheck' to rerun these tests and create the
19345 # libtool script then.
19346 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19347 if test -f "$ltmain_in"; then
19348 test -f Makefile
&& make "$ltmain"
19354 ac_cpp
='$CPP $CPPFLAGS'
19355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19364 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19365 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19366 { (exit 1); exit 1; }; }
19370 # Append the new tag name to the list of available tags.
19371 if test -n "$tagname" ; then
19372 available_tags
="$available_tags $tagname"
19378 # Now substitute the updated list of available tags.
19379 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19380 mv "${ofile}T" "$ofile"
19384 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19385 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19386 { (exit 1); exit 1; }; }
19392 # This can be used to rebuild libtool when needed
19393 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19395 # Always use our own libtool.
19396 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19398 # Prevent multiple expansion
19424 # Handle user hints
19426 echo "$as_me:$LINENO: checking if zlib is wanted" >&5
19427 echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
19429 # Check whether --with-zlib or --without-zlib was given.
19430 if test "${with_zlib+set}" = set; then
19431 withval
="$with_zlib"
19432 if test "$withval" != no
; then
19433 echo "$as_me:$LINENO: result: yes" >&5
19434 echo "${ECHO_T}yes" >&6
19435 ZLIB_HOME
="$withval"
19437 echo "$as_me:$LINENO: result: no" >&5
19438 echo "${ECHO_T}no" >&6
19442 echo "$as_me:$LINENO: result: yes" >&5
19443 echo "${ECHO_T}yes" >&6
19444 ZLIB_HOME
=/usr
/local
19445 if test ! -f "${ZLIB_HOME}/include/zlib.h"
19453 # Locate zlib, if wanted
19457 if test -n "${ZLIB_HOME}"
19459 ZLIB_OLD_LDFLAGS
=$LDFLAGS
19460 ZLIB_OLD_LIBS
=$LIBS
19461 ZLIB_OLD_CPPFLAGS
=$LDFLAGS
19463 LDFLAGS
="$LDFLAGS -L${ZLIB_HOME}/lib"
19464 CPPFLAGS
="$CPPFLAGS -I${ZLIB_HOME}/include"
19465 CPPFLAGS
="$CPPFLAGS -I${ZLIB_HOME}/include"
19469 ac_cpp
='$CPP $CPPFLAGS'
19470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19474 echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
19475 echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
19476 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19479 ac_check_lib_save_LIBS
=$LIBS
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19488 /* Override any gcc2 internal prototype to avoid an error. */
19492 /* We use char because int might match the return type of a gcc2
19493 builtin and then its argument prototype would still apply. */
19494 char inflateEnd ();
19503 rm -f conftest.
$ac_objext conftest
$ac_exeext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19505 (eval $ac_link) 2>conftest.er1
19507 grep -v '^ *+' conftest.er1
>conftest.err
19509 cat conftest.err
>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try
='test -z "$ac_c_werror_flag"
19513 || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try
='test -s conftest$ac_exeext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_cv_lib_z_inflateEnd
=yes
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19530 ac_cv_lib_z_inflateEnd
=no
19532 rm -f conftest.err conftest.
$ac_objext \
19533 conftest
$ac_exeext conftest.
$ac_ext
19534 LIBS
=$ac_check_lib_save_LIBS
19536 echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
19537 echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
19538 if test $ac_cv_lib_z_inflateEnd = yes; then
19544 if test "${ac_cv_header_zlib_h+set}" = set; then
19545 echo "$as_me:$LINENO: checking for zlib.h" >&5
19546 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19547 if test "${ac_cv_header_zlib_h+set}" = set; then
19548 echo $ECHO_N "(cached) $ECHO_C" >&6
19550 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19551 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19553 # Is the header compilable?
19554 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19555 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19556 cat >conftest.
$ac_ext <<_ACEOF
19559 cat confdefs.h
>>conftest.
$ac_ext
19560 cat >>conftest.
$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562 $ac_includes_default
19565 rm -f conftest.
$ac_objext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19567 (eval $ac_compile) 2>conftest.er1
19569 grep -v '^ *+' conftest.er1
>conftest.err
19571 cat conftest.err
>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } &&
19574 { ac_try
='test -z "$ac_c_werror_flag"
19575 || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try
='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 ac_header_compiler
=yes
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.
$ac_ext >&5
19592 ac_header_compiler
=no
19594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19596 echo "${ECHO_T}$ac_header_compiler" >&6
19598 # Is the header present?
19599 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19600 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19601 cat >conftest.
$ac_ext <<_ACEOF
19604 cat confdefs.h
>>conftest.
$ac_ext
19605 cat >>conftest.
$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19609 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19610 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19612 grep -v '^ *+' conftest.er1
>conftest.err
19614 cat conftest.err
>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } >/dev
/null
; then
19617 if test -s conftest.err
; then
19618 ac_cpp_err
=$ac_c_preproc_warn_flag
19619 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19626 if test -z "$ac_cpp_err"; then
19627 ac_header_preproc
=yes
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 ac_header_preproc
=no
19634 rm -f conftest.err conftest.
$ac_ext
19635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19636 echo "${ECHO_T}$ac_header_preproc" >&6
19638 # So? What about this header?
19639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19641 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19642 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19643 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
19644 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
19645 ac_header_preproc
=yes
19648 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19649 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19650 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19651 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19652 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
19653 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
19654 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
19655 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
19656 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19657 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19658 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
19659 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
19662 ## ---------------------------- ##
19663 ## Report this to tango@esrf.fr ##
19664 ## ---------------------------- ##
19667 sed "s/^/$as_me: WARNING: /" >&2
19670 echo "$as_me:$LINENO: checking for zlib.h" >&5
19671 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19672 if test "${ac_cv_header_zlib_h+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 ac_cv_header_zlib_h
=$ac_header_preproc
19677 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19678 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19681 if test $ac_cv_header_zlib_h = yes; then
19689 ac_cpp
='$CPP $CPPFLAGS'
19690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19694 if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
19697 # If both library and header were found, use them
19699 # AC_CHECK_LIB(z, inflateEnd)
19700 # AC_MSG_CHECKING(zlib in ${ZLIB_HOME})
19701 # AC_MSG_RESULT(ok)
19702 ZLIB_CPPFLAGS
="-I${ZLIB_HOME}/include"
19703 ZLIB_LDFLAGS
="-L${ZLIB_HOME}/lib"
19710 # If either header or library was not found, revert and bomb
19712 { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
19713 echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
19714 { (exit 1); exit 1; }; }
19716 LDFLAGS
="$ZLIB_OLD_LDFLAGS"
19717 CPPFLAGS
="$ZLIB_OLD_CPPFLAGS"
19718 LIBS
="$ZLIB_OLD_LIBS"
19725 if test "${ac_cv_header_pthread_h+set}" = set; then
19726 echo "$as_me:$LINENO: checking for pthread.h" >&5
19727 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
19728 if test "${ac_cv_header_pthread_h+set}" = set; then
19729 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
19732 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
19734 # Is the header compilable?
19735 echo "$as_me:$LINENO: checking pthread.h usability" >&5
19736 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 #include <pthread.h>
19746 rm -f conftest.
$ac_objext
19747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19748 (eval $ac_compile) 2>conftest.er1
19750 grep -v '^ *+' conftest.er1
>conftest.err
19752 cat conftest.err
>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } &&
19755 { ac_try
='test -z "$ac_cxx_werror_flag"
19756 || test ! -s conftest.err'
19757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19758 (eval $ac_try) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); }; } &&
19762 { ac_try
='test -s conftest.$ac_objext'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; }; then
19768 ac_header_compiler
=yes
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.
$ac_ext >&5
19773 ac_header_compiler
=no
19775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19776 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19777 echo "${ECHO_T}$ac_header_compiler" >&6
19779 # Is the header present?
19780 echo "$as_me:$LINENO: checking pthread.h presence" >&5
19781 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
19782 cat >conftest.
$ac_ext <<_ACEOF
19785 cat confdefs.h
>>conftest.
$ac_ext
19786 cat >>conftest.
$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 #include <pthread.h>
19790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19793 grep -v '^ *+' conftest.er1
>conftest.err
19795 cat conftest.err
>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); } >/dev
/null
; then
19798 if test -s conftest.err
; then
19799 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19800 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19807 if test -z "$ac_cpp_err"; then
19808 ac_header_preproc
=yes
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.
$ac_ext >&5
19813 ac_header_preproc
=no
19815 rm -f conftest.err conftest.
$ac_ext
19816 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19817 echo "${ECHO_T}$ac_header_preproc" >&6
19819 # So? What about this header?
19820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19822 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
19823 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19824 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
19825 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
19826 ac_header_preproc
=yes
19829 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
19830 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
19831 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
19832 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
19833 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
19834 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
19835 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
19836 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
19838 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
19839 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
19840 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
19843 ## ---------------------------- ##
19844 ## Report this to tango@esrf.fr ##
19845 ## ---------------------------- ##
19848 sed "s/^/$as_me: WARNING: /" >&2
19851 echo "$as_me:$LINENO: checking for pthread.h" >&5
19852 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
19853 if test "${ac_cv_header_pthread_h+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 ac_cv_header_pthread_h
=$ac_header_preproc
19858 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
19859 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
19862 if test $ac_cv_header_pthread_h = yes; then
19864 cat >>confdefs.h
<<\_ACEOF
19865 #define HAVE_PTHREAD_H 1
19871 if test x
$rssh_cv_check_sunpro_c = xyes
19873 CFLAGS_PTHREADS
="-mt"
19875 if test x
$rssh_cv_check_sunpro_cc = xyes
19877 CXXFLAGS_PTHREADS
="-mt"
19881 CFLAGS_PTHREADS
="-pthread"
19882 CXXFLAGS_PTHREADS
="-pthread"
19883 freebsd_pthreads
=yes
19886 freebsd_pthreads
=no
19889 if test x
$freebsd_pthreads = xno
19891 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
19892 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
19893 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 ac_check_lib_save_LIBS
=$LIBS
19897 LIBS
="-lpthread $LIBS"
19898 cat >conftest.
$ac_ext <<_ACEOF
19901 cat confdefs.h
>>conftest.
$ac_ext
19902 cat >>conftest.
$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19905 /* Override any gcc2 internal prototype to avoid an error. */
19909 /* We use char because int might match the return type of a gcc2
19910 builtin and then its argument prototype would still apply. */
19911 char pthread_create ();
19920 rm -f conftest.
$ac_objext conftest
$ac_exeext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19922 (eval $ac_link) 2>conftest.er1
19924 grep -v '^ *+' conftest.er1
>conftest.err
19926 cat conftest.err
>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try
='test -z "$ac_cxx_werror_flag"
19930 || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try
='test -s conftest$ac_exeext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_cv_lib_pthread_pthread_create
=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.
$ac_ext >&5
19947 ac_cv_lib_pthread_pthread_create
=no
19949 rm -f conftest.err conftest.
$ac_objext \
19950 conftest
$ac_exeext conftest.
$ac_ext
19951 LIBS
=$ac_check_lib_save_LIBS
19953 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
19954 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
19955 if test $ac_cv_lib_pthread_pthread_create = yes; then
19956 LIBS_PTHREADS
="-lpthread"
19960 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
19961 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
19962 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 ac_check_lib_save_LIBS
=$LIBS
19966 LIBS
="-lposix4 $LIBS"
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19974 /* Override any gcc2 internal prototype to avoid an error. */
19978 /* We use char because int might match the return type of a gcc2
19979 builtin and then its argument prototype would still apply. */
19989 rm -f conftest.
$ac_objext conftest
$ac_exeext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19991 (eval $ac_link) 2>conftest.er1
19993 grep -v '^ *+' conftest.er1
>conftest.err
19995 cat conftest.err
>&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } &&
19998 { ac_try
='test -z "$ac_cxx_werror_flag"
19999 || test ! -s conftest.err'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try
='test -s conftest$ac_exeext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_lib_posix4_nanosleep
=yes
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.
$ac_ext >&5
20016 ac_cv_lib_posix4_nanosleep
=no
20018 rm -f conftest.err conftest.
$ac_objext \
20019 conftest
$ac_exeext conftest.
$ac_ext
20020 LIBS
=$ac_check_lib_save_LIBS
20022 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
20023 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
20024 if test $ac_cv_lib_posix4_nanosleep = yes; then
20025 LIBS_PTHREADS
="$LIBS_PTHREADS -lposix4"
20033 # Check whether --with-omni or --without-omni was given.
20034 if test "${with_omni+set}" = set; then
20035 withval
="$with_omni"
20037 OMNI_PREFIX
=${with_omni}
20039 OMNI_PREFIX
=/usr
/local
20042 if test "x$OMNI_ROOT" = "x"
20044 if test "x$OMNI_PREFIX" = "x"
20046 OMNI_ROOT
="/usr/local"
20048 OMNI_ROOT
="$OMNI_PREFIX"
20052 if test "x$OMNI_PREFIX" = "xno"
20054 echo "$as_me:$LINENO: result: omniORB is disabled" >&5
20055 echo "${ECHO_T}omniORB is disabled" >&6
20062 ac_cpp
='$CXXCPP $CPPFLAGS'
20063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20068 svCXXCPPFLAGS
=$CXXCPPFLAGS
20069 svCXXFLAGS
=$CXXFLAGS
20070 svCPPFLAGS
=$CPPFLAGS
20073 svRSSH_ROLLBACK
=$rssh_rollback
20074 rssh_rollback
="true"
20076 ORB_INCLUDES
="-I$OMNI_ROOT/include"
20077 CXXCPPFLAGS
="$CXXCPPFLAGS -I$OMNI_ROOT/include "
20078 CPPFLAGS
="$CPPFLAGS -I$OMNI_ROOT/include "
20083 if test -z "$rssh_enable_pthreads_done"
20085 CFLAGS
="$CFLAGS $CFLAGS_PTHREADS"
20086 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_PTHREADS"
20087 LIBS
="$LIBS $LIBS_PTHREADS"
20089 rssh_enable_pthreads_done
=yes
20091 rssh_rollback
="$rssh_rollback; rssh_enable_pthreads_done="
20097 cat >>confdefs.h
<<\_ACEOF
20098 #define __sparc__ 1
20101 IDLCXXFLAGS
="$IDLCXXFLAGS -D__sparc__"
20103 "i686"|
"i586"|
"i486"|
"i386")
20105 cat >>confdefs.h
<<\_ACEOF
20109 IDLCXXFLAGS
="$IDLCXXFLAGS -D__x86__"
20116 cat >>confdefs.h
<<\_ACEOF
20117 #define __darwin__ 1
20120 IDLCXXFLAGS
="$IDLCXXFLAGS -D__darwin__"
20125 cat >>confdefs.h
<<\_ACEOF
20126 #define __sunos__ 1
20129 IDLCXXFLAGS
="$IDLCXXFLAGS -D__sunos__"
20132 cat >>confdefs.h
<<_ACEOF
20133 #define __OSVERSION__ $__OSVERSION__
20136 IDLCXXFLAGS
="$IDLCXXFLAGS -D__OSVERSION__=5"
20140 cat >>confdefs.h
<<\_ACEOF
20141 #define __freebsd__ 1
20144 IDLCXXFLAGS
="$IDLCXXFLAGS -D__freebsd__"
20148 cat >>confdefs.h
<<\_ACEOF
20152 IDLCXXFLAGS
="$IDLCXXFLAGS -AA -mt -D__hpux__ -D__hppa__ -D__OMNIORB4__"
20155 cat >>confdefs.h
<<_ACEOF
20156 #define __OSVERSION__ $__OSVERSION__
20159 IDLCXXFLAGS
="$IDLCXXFLAGS -D__OSVERSION__=11"
20166 CXXCPPFLAGS
="$CXXCPPFLAGS $IDLCXXFLAGS"
20168 if test "${ac_cv_header_omniORB4_CORBA_h+set}" = set; then
20169 echo "$as_me:$LINENO: checking for omniORB4/CORBA.h" >&5
20170 echo $ECHO_N "checking for omniORB4/CORBA.h... $ECHO_C" >&6
20171 if test "${ac_cv_header_omniORB4_CORBA_h+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 echo "$as_me:$LINENO: result: $ac_cv_header_omniORB4_CORBA_h" >&5
20175 echo "${ECHO_T}$ac_cv_header_omniORB4_CORBA_h" >&6
20177 # Is the header compilable?
20178 echo "$as_me:$LINENO: checking omniORB4/CORBA.h usability" >&5
20179 echo $ECHO_N "checking omniORB4/CORBA.h usability... $ECHO_C" >&6
20180 cat >conftest.
$ac_ext <<_ACEOF
20183 cat confdefs.h
>>conftest.
$ac_ext
20184 cat >>conftest.
$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 #include <omniORB4/CORBA.h>
20189 rm -f conftest.
$ac_objext
20190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20191 (eval $ac_compile) 2>conftest.er1
20193 grep -v '^ *+' conftest.er1
>conftest.err
20195 cat conftest.err
>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try
='test -z "$ac_cxx_werror_flag"
20199 || test ! -s conftest.err'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; } &&
20205 { ac_try
='test -s conftest.$ac_objext'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 ac_header_compiler
=yes
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.
$ac_ext >&5
20216 ac_header_compiler
=no
20218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20220 echo "${ECHO_T}$ac_header_compiler" >&6
20222 # Is the header present?
20223 echo "$as_me:$LINENO: checking omniORB4/CORBA.h presence" >&5
20224 echo $ECHO_N "checking omniORB4/CORBA.h presence... $ECHO_C" >&6
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20231 #include <omniORB4/CORBA.h>
20233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20236 grep -v '^ *+' conftest.er1
>conftest.err
20238 cat conftest.err
>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } >/dev
/null
; then
20241 if test -s conftest.err
; then
20242 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20243 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20250 if test -z "$ac_cpp_err"; then
20251 ac_header_preproc
=yes
20253 echo "$as_me: failed program was:" >&5
20254 sed 's/^/| /' conftest.
$ac_ext >&5
20256 ac_header_preproc
=no
20258 rm -f conftest.err conftest.
$ac_ext
20259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20260 echo "${ECHO_T}$ac_header_preproc" >&6
20262 # So? What about this header?
20263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20265 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: accepted by the compiler, rejected by the preprocessor!" >&5
20266 echo "$as_me: WARNING: omniORB4/CORBA.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20267 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: proceeding with the compiler's result" >&5
20268 echo "$as_me: WARNING: omniORB4/CORBA.h: proceeding with the compiler's result" >&2;}
20269 ac_header_preproc
=yes
20272 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: present but cannot be compiled" >&5
20273 echo "$as_me: WARNING: omniORB4/CORBA.h: present but cannot be compiled" >&2;}
20274 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: check for missing prerequisite headers?" >&5
20275 echo "$as_me: WARNING: omniORB4/CORBA.h: check for missing prerequisite headers?" >&2;}
20276 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: see the Autoconf documentation" >&5
20277 echo "$as_me: WARNING: omniORB4/CORBA.h: see the Autoconf documentation" >&2;}
20278 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: section \"Present But Cannot Be Compiled\"" >&5
20279 echo "$as_me: WARNING: omniORB4/CORBA.h: section \"Present But Cannot Be Compiled\"" >&2;}
20280 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: proceeding with the preprocessor's result" >&5
20281 echo "$as_me: WARNING: omniORB4/CORBA.h: proceeding with the preprocessor's result" >&2;}
20282 { echo "$as_me:$LINENO: WARNING: omniORB4/CORBA.h: in the future, the compiler will take precedence" >&5
20283 echo "$as_me: WARNING: omniORB4/CORBA.h: in the future, the compiler will take precedence" >&2;}
20286 ## ---------------------------- ##
20287 ## Report this to tango@esrf.fr ##
20288 ## ---------------------------- ##
20291 sed "s/^/$as_me: WARNING: /" >&2
20294 echo "$as_me:$LINENO: checking for omniORB4/CORBA.h" >&5
20295 echo $ECHO_N "checking for omniORB4/CORBA.h... $ECHO_C" >&6
20296 if test "${ac_cv_header_omniORB4_CORBA_h+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20299 ac_cv_header_omniORB4_CORBA_h
=$ac_header_preproc
20301 echo "$as_me:$LINENO: result: $ac_cv_header_omniORB4_CORBA_h" >&5
20302 echo "${ECHO_T}$ac_cv_header_omniORB4_CORBA_h" >&6
20305 if test $ac_cv_header_omniORB4_CORBA_h = yes; then
20313 if test "x$omni" = "xyes"
20315 ORB_LIBDIR
="$OMNI_ROOT/lib"
20316 if test ! -r "$ORB_LIBDIR/libomniORB4.$SL_SUFFIX"
20318 for i
in $OMNI_ROOT/lib
/*/lib
*.
$SL_SUFFIX
20320 ORB_LIBDIR
=`dirname $i`
20325 LIBS
="$LIBS -lomnithread"
20327 LIBS
="-L$ORB_LIBDIR $LIBS"
20329 echo "$as_me:$LINENO: checking for omnithreads" >&5
20330 echo $ECHO_N "checking for omnithreads... $ECHO_C" >&6
20331 if test "${rssh_cv_check_omnithreads+set}" = set; then
20332 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 rssh_enable_pthreads_done
=""
20338 if test -z "$rssh_enable_pthreads_done"
20340 CFLAGS
="$CFLAGS $CFLAGS_PTHREADS"
20341 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_PTHREADS"
20342 LIBS
="$LIBS $LIBS_PTHREADS"
20344 rssh_enable_pthreads_done
=yes
20346 rssh_rollback
="$rssh_rollback; rssh_enable_pthreads_done="
20351 ac_cpp
='$CXXCPP $CPPFLAGS'
20352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20356 cat >conftest.
$ac_ext <<_ACEOF
20359 cat confdefs.h
>>conftest.
$ac_ext
20360 cat >>conftest.
$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <omnithread.h>
20367 omni_mutex my_mutex
20372 rm -f conftest.
$ac_objext conftest
$ac_exeext
20373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20374 (eval $ac_link) 2>conftest.er1
20376 grep -v '^ *+' conftest.er1
>conftest.err
20378 cat conftest.err
>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } &&
20381 { ac_try
='test -z "$ac_cxx_werror_flag"
20382 || test ! -s conftest.err'
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384 (eval $ac_try) 2>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; } &&
20388 { ac_try
='test -s conftest$ac_exeext'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; }; then
20394 rssh_cv_check_omnithreads
=yes
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.
$ac_ext >&5
20399 rssh_cv_check_omnithreads
=no
20401 rm -f conftest.err conftest.
$ac_objext \
20402 conftest
$ac_exeext conftest.
$ac_ext
20404 ac_cpp
='$CXXCPP $CPPFLAGS'
20405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20411 echo "$as_me:$LINENO: result: $rssh_cv_check_omnithreads" >&5
20412 echo "${ECHO_T}$rssh_cv_check_omnithreads" >&6
20413 if test ! $rssh_cv_check_omnithreads = yes
20415 echo "$as_me:$LINENO: result: \"omnithreads not found\"" >&5
20416 echo "${ECHO_T}\"omnithreads not found\"" >&6
20419 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
20420 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
20421 if test "${ac_cv_lib_socket_socket+set}" = set; then
20422 echo $ECHO_N "(cached) $ECHO_C" >&6
20424 ac_check_lib_save_LIBS
=$LIBS
20425 LIBS
="-lsocket $LIBS"
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20433 /* Override any gcc2 internal prototype to avoid an error. */
20437 /* We use char because int might match the return type of a gcc2
20438 builtin and then its argument prototype would still apply. */
20448 rm -f conftest.
$ac_objext conftest
$ac_exeext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>conftest.er1
20452 grep -v '^ *+' conftest.er1
>conftest.err
20454 cat conftest.err
>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try
='test -z "$ac_cxx_werror_flag"
20458 || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try
='test -s conftest$ac_exeext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 ac_cv_lib_socket_socket
=yes
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20475 ac_cv_lib_socket_socket
=no
20477 rm -f conftest.err conftest.
$ac_objext \
20478 conftest
$ac_exeext conftest.
$ac_ext
20479 LIBS
=$ac_check_lib_save_LIBS
20481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
20483 if test $ac_cv_lib_socket_socket = yes; then
20484 LIBS
="-lsocket $LIBS"
20487 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20488 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20489 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20492 ac_check_lib_save_LIBS
=$LIBS
20494 cat >conftest.
$ac_ext <<_ACEOF
20497 cat confdefs.h
>>conftest.
$ac_ext
20498 cat >>conftest.
$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20501 /* Override any gcc2 internal prototype to avoid an error. */
20505 /* We use char because int might match the return type of a gcc2
20506 builtin and then its argument prototype would still apply. */
20507 char gethostbyname ();
20516 rm -f conftest.
$ac_objext conftest
$ac_exeext
20517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20518 (eval $ac_link) 2>conftest.er1
20520 grep -v '^ *+' conftest.er1
>conftest.err
20522 cat conftest.err
>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } &&
20525 { ac_try
='test -z "$ac_cxx_werror_flag"
20526 || test ! -s conftest.err'
20527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20528 (eval $ac_try) 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; } &&
20532 { ac_try
='test -s conftest$ac_exeext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 ac_cv_lib_nsl_gethostbyname
=yes
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.
$ac_ext >&5
20543 ac_cv_lib_nsl_gethostbyname
=no
20545 rm -f conftest.err conftest.
$ac_objext \
20546 conftest
$ac_exeext conftest.
$ac_ext
20547 LIBS
=$ac_check_lib_save_LIBS
20549 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20550 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20551 if test $ac_cv_lib_nsl_gethostbyname = yes; then
20556 ORB_LDFLAGS
="-L$ORB_LIBDIR"
20557 LIBS
="$ORB_LDFLAGS -lomniORB4 -lomniDynamic4 -lCOS4 $svLIBS $LIBS"
20558 echo "$as_me:$LINENO: checking whether we can link with omniORB4" >&5
20559 echo $ECHO_N "checking whether we can link with omniORB4... $ECHO_C" >&6
20560 if test "${rssh_cv_check_omniORBlib+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 cat >conftest.
$ac_ext <<_ACEOF
20566 cat confdefs.h
>>conftest.
$ac_ext
20567 cat >>conftest.
$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <omniORB4/CORBA.h>
20579 rm -f conftest.
$ac_objext conftest
$ac_exeext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20581 (eval $ac_link) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_cxx_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try
='test -s conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 rssh_cv_check_omniORBlib
=yes
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 rssh_cv_check_omniORBlib
=no
20609 rm -f conftest.err conftest.
$ac_objext \
20610 conftest
$ac_exeext conftest.
$ac_ext
20613 echo "$as_me:$LINENO: result: $rssh_cv_check_omniORBlib" >&5
20614 echo "${ECHO_T}$rssh_cv_check_omniORBlib" >&6
20616 if test ! $rssh_cv_check_omniORBlib = yes
20618 echo "$as_me:$LINENO: result: \"omniORB libs not found\"" >&5
20619 echo "${ECHO_T}\"omniORB libs not found\"" >&6
20624 ORB_LIBS
="$ORB_LDFLAGS -lomniORB4 -lomnithread"
20627 if test "x$omni_lib" = "xno"
20629 echo "$as_me:$LINENO: result: omniORB library linking failed" >&5
20630 echo "${ECHO_T}omniORB library linking failed" >&6
20636 echo "$as_me:$LINENO: checking for omniORB release (at least version 4.1.0)" >&5
20637 echo $ECHO_N "checking for omniORB release (at least version 4.1.0)... $ECHO_C" >&6
20638 if test "${ac_cv_omniorb_version_4_1_0+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20642 if test -x $OMNI_ROOT/include
/omniORB4
; then
20643 VERS
=`grep VERSION $OMNI_ROOT/include/omniORB4/acconfig.h 2>&1 | cut -d ' ' -f 3`
20646 OMNIORB_MAJOR
=`echo $VERS | cut -b 2`
20647 OMNIORB_MINOR
=`echo $VERS | cut -b 4`
20648 OMNIORB_MICRO
=`echo $VERS | cut -b 6`
20651 if test $OMNIORB_MAJOR -lt 4; then
20652 ac_cv_omniorb_version_4_1_0
=no
20654 if test $OMNIORB_MINOR -lt 1; then
20655 ac_cv_omniorb_version_4_1_0
=no
20657 if test $OMNIORB_MICRO -lt 0; then
20658 ac_cv_omniorb_version_4_1_0
=no
20660 ac_cv_omniorb_version_4_1_0
=yes
20665 ac_cv_omniorb_version_4_1_0
=no
20669 echo "$as_me:$LINENO: result: $ac_cv_omniorb_version_4_1_0" >&5
20670 echo "${ECHO_T}$ac_cv_omniorb_version_4_1_0" >&6
20672 if test "x$ac_cv_omniorb_version_4_1_0" = "xno"; then
20673 { { echo "$as_me:$LINENO: error: Not supported omniORB release. Should be 4.1.0 or above. Please update !" >&5
20674 echo "$as_me: error: Not supported omniORB release. Should be 4.1.0 or above. Please update !" >&2;}
20675 { (exit -1); exit -1; }; }
20679 echo "$as_me:$LINENO: checking for omniORB release (at least version 4.1.1)" >&5
20680 echo $ECHO_N "checking for omniORB release (at least version 4.1.1)... $ECHO_C" >&6
20681 if test "${ac_cv_omniorb_version_4_1_1+set}" = set; then
20682 echo $ECHO_N "(cached) $ECHO_C" >&6
20685 if test -x $OMNI_ROOT/include
/omniORB4
; then
20686 VERS
=`grep VERSION $OMNI_ROOT/include/omniORB4/acconfig.h 2>&1 | cut -d ' ' -f 3`
20689 OMNIORB_MAJOR
=`echo $VERS | cut -b 2`
20690 OMNIORB_MINOR
=`echo $VERS | cut -b 4`
20691 OMNIORB_MICRO
=`echo $VERS | cut -b 6`
20694 if test $OMNIORB_MAJOR -lt 4; then
20695 ac_cv_omniorb_version_4_1_1
=no
20697 if test $OMNIORB_MINOR -lt 1; then
20698 ac_cv_omniorb_version_4_1_1
=no
20700 if test $OMNIORB_MICRO -lt 1; then
20701 ac_cv_omniorb_version_4_1_1
=no
20703 ac_cv_omniorb_version_4_1_1
=yes
20708 ac_cv_omniorb_version_4_1_1
=no
20712 echo "$as_me:$LINENO: result: $ac_cv_omniorb_version_4_1_1" >&5
20713 echo "${ECHO_T}$ac_cv_omniorb_version_4_1_1" >&6
20715 echo "$as_me:$LINENO: checking for omniORB release (at least version 4.1.2)" >&5
20716 echo $ECHO_N "checking for omniORB release (at least version 4.1.2)... $ECHO_C" >&6
20717 if test "${ac_cv_omniorb_version_4_1_2+set}" = set; then
20718 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 if test -x $OMNI_ROOT/include
/omniORB4
; then
20722 VERS
=`grep VERSION $OMNI_ROOT/include/omniORB4/acconfig.h 2>&1 | cut -d ' ' -f 3`
20725 OMNIORB_MAJOR
=`echo $VERS | cut -b 2`
20726 OMNIORB_MINOR
=`echo $VERS | cut -b 4`
20727 OMNIORB_MICRO
=`echo $VERS | cut -b 6`
20730 if test $OMNIORB_MAJOR -lt 4; then
20731 ac_cv_omniorb_version_4_1_2
=no
20733 if test $OMNIORB_MINOR -lt 1; then
20734 ac_cv_omniorb_version_4_1_2
=no
20736 if test $OMNIORB_MICRO -lt 2; then
20737 ac_cv_omniorb_version_4_1_2
=no
20739 ac_cv_omniorb_version_4_1_2
=yes
20744 ac_cv_omniorb_version_4_1_2
=no
20748 echo "$as_me:$LINENO: result: $ac_cv_omniorb_version_4_1_2" >&5
20749 echo "${ECHO_T}$ac_cv_omniorb_version_4_1_2" >&6
20751 if test "x$ac_cv_omniorb_version_4_1_1" = "xyes"; then
20752 if test "x$ac_cv_omniorb_version_4_1_2" = "xno"; then
20753 { { echo "$as_me:$LINENO: error: omniORB release 4.1.1 is not supported. Should be 4.1.0 or 4.1.2 and above. Please update !" >&5
20754 echo "$as_me: error: omniORB release 4.1.1 is not supported. Should be 4.1.0 or 4.1.2 and above. Please update !" >&2;}
20755 { (exit -1); exit -1; }; }
20760 if test "x$omni" = "x" -o "x$omni" = "xno"
20762 CXXCPPFLAGS
=$svCXXCPPFLAGS
20763 CPPFLAGS
=$svCPPFLAGS
20768 eval "$rssh_rollback"
20769 rssh_rollback
=$svRSSH_ROLLBACK
20773 ORB_PREFIX
=$OMNI_ROOT
20780 if test -x $OMNI_ROOT/bin
/omniidl
20782 IDL
=$OMNI_ROOT/bin
/omniidl
20784 for i
in $OMNI_ROOT/bin
/*/omniidl
20786 if test "$i" != $OMNI_ROOT'/bin/*/omniidl'
20797 IDLFLAGS
="$IDLFLAGS -bcxx -I$OMNI_ROOT/idl"
20800 ORB_INCLUDE_PREFIX
=$ORB_INCLUDES
20809 IDL_CLN_H_SUFFIX
=.hh
20810 IDL_CLN_H1_SUFFIX
=no
20812 IDL_CLN_H
=$IDL_CLN_H
20814 IDL_CLN_H_SUFFIX
=$IDL_CLN_H_SUFFIX
20816 IDL_CLN_H1_SUFFIX
=$IDL_CLN_H1_SUFFIX
20819 cat >>confdefs.h
<<_ACEOF
20820 #define IDL_CLN_H_SUFFIX 1
20825 IDL_CLN_CPP_SUFFIX
=SK.cc
20826 IDL_CLN_CPP
=$IDL_CLN_CPP
20828 IDL_CLN_CPP_SUFFIX
=$IDL_CLN_CPP_SUFFIX
20831 cat >>confdefs.h
<<_ACEOF
20832 #define IDL_CLN_CPP_SUFFIX 1
20837 IDL_CLN_OBJ_SUFFIX
=SK.o
20838 IDL_CLN_O
=$IDL_CLN_O
20840 IDL_CLN_OBJ_SUFFIX
=$IDL_CLN_OBJ_SUFFIX
20844 IDL_SRV_H_SUFFIX
=.hh
20845 IDL_SRV_H1_SUFFIX
=no
20846 IDL_SRV_H
=$IDL_SRV_H
20848 IDL_SRV_H_SUFFIX
=$IDL_SRV_H_SUFFIX
20850 IDL_SRV_H1_SUFFIX
=$IDL_SRV_H1_SUFFIX
20853 cat >>confdefs.h
<<_ACEOF
20854 #define IDL_SRV_H_SUFFIX 1
20859 IDL_SRV_CPP_SUFFIX
=SK.cc
20860 IDL_SRV_CPP
=$IDL_SRV_CPP
20862 IDL_SRV_CPP_SUFFIX
=$IDL_SRV_CPP_SUFFIX
20865 cat >>confdefs.h
<<_ACEOF
20866 #define IDL_SRV_H_SUFFIX 1
20871 IDL_SRV_OBJ_SUFFIX
=SK.o
20872 IDL_SRV_O
=$IDL_SRV_O
20874 IDL_SRV_OBJ_SUFFIX
=$IDL_SRV_OBJ_SUFFIX
20877 IDL_TIE_H_SUFFIX
=no
20878 IDL_TIE_H1_SUFFIX
=no
20879 IDL_TIE_CPP_SUFFIX
=no
20880 IDL_TIE_H_SUFFIX
=$IDL_TIE_H_SUFFIX
20882 IDL_TIE_H1_SUFFIX
=$IDL_TIE_H1_SUFFIX
20884 IDL_TIE_CPP_SUFFIX
=$IDL_TIE_CPP_SUFFIX
20887 CORBA_H
='omniORB4/CORBA.h'
20889 cat >>confdefs.h
<<_ACEOF
20890 #define CORBA_H <$CORBA_H>
20894 COSNAMING_H
='omniORB4/Naming.hh'
20896 cat >>confdefs.h
<<_ACEOF
20897 #define COSNAMING_H <$COSNAMING_H>
20908 echo "$as_me:$LINENO: checking whether CORBA modules mapped to namespaces" >&5
20909 echo $ECHO_N "checking whether CORBA modules mapped to namespaces... $ECHO_C" >&6
20910 if test "${rssh_cv_corba_namespaces+set}" = set; then
20911 echo $ECHO_N "(cached) $ECHO_C" >&6
20913 cat >conftest.
$ac_ext <<_ACEOF
20916 cat confdefs.h
>>conftest.
$ac_ext
20917 cat >>conftest.
$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919 #include <$CORBA_H>
20925 #ifndef HAS_Cplusplus_Namespace
20926 #error "we have no namespaces"
20927 we have no namespaces -- $$$$
20936 rm -f conftest.
$ac_objext
20937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20938 (eval $ac_compile) 2>conftest.er1
20940 grep -v '^ *+' conftest.er1
>conftest.err
20942 cat conftest.err
>&5
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); } &&
20945 { ac_try
='test -z "$ac_cxx_werror_flag"
20946 || test ! -s conftest.err'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; } &&
20952 { ac_try
='test -s conftest.$ac_objext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 rssh_cv_corba_namespaces
=yes
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.
$ac_ext >&5
20963 rssh_cv_corba_namespaces
=no
20965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20968 echo "$as_me:$LINENO: result: $rssh_cv_corba_namespaces" >&5
20969 echo "${ECHO_T}$rssh_cv_corba_namespaces" >&6
20971 if test "$rssh_cv_corba_namespaces" = "yes"
20974 cat >>confdefs.h
<<\_ACEOF
20975 #define CORBA_MODULE_NAMESPACE_MAPPING 1
20980 cat >>confdefs.h
<<\_ACEOF
20981 #define CORBA_MODULE_CLASS_MAPPING 1
20987 cat >>confdefs.h
<<\_ACEOF
20994 cat >>confdefs.h
<<\_ACEOF
20995 #define CORBA_HAVE_POA 1
20999 CORBA_ORB_INIT_HAVE_3_ARGS
=1
21001 cat >>confdefs.h
<<\_ACEOF
21002 #define CORBA_ORB_INIT_HAVE_3_ARGS 1
21005 CORBA_ORB_INIT_THIRD_ARG
='"omniORB4"'
21007 cat >>confdefs.h
<<\_ACEOF
21008 #define CORBA_ORB_INIT_THIRD_ARG "omniORB4"
21012 cat >>confdefs.h
<<\_ACEOF
21013 #define CORBA_ORB_HAVE_DESTROY 1
21021 ac_cpp
='$CPP $CPPFLAGS'
21022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21032 CXXFLAGS
=$IDLCXXFLAGS
21036 if test "x$CORBA_H" = "x"
21038 { { echo "$as_me:$LINENO: error: \"Please install omniorb or use --with-omni to indicate its location\"" >&5
21039 echo "$as_me: error: \"Please install omniorb or use --with-omni to indicate its location\"" >&2;}
21040 { (exit 1); exit 1; }; }
21049 cat >>confdefs.h
<<\_ACEOF
21050 #define _POSIX_PTHREAD_SEMANTICS 1
21053 CXXFLAGS
="$CXXFLAGS -D_POSIX_PTHREAD_SEMANTICS"
21057 cat >>confdefs.h
<<\_ACEOF
21058 #define _REENTRANT 1
21061 CXXFLAGS
="$CXXFLAGS -D_REENTRANT"
21065 cat >>confdefs.h
<<\_ACEOF
21066 #define _REENTRANT 1
21069 CXXFLAGS
="$CXXFLAGS -D_REENTRANT -D__darwin__"
21075 if test x
"$DARWIN" = x
"yes" ; then
21076 DARWIN_ENABLED_TRUE
=
21077 DARWIN_ENABLED_FALSE
='#'
21079 DARWIN_ENABLED_TRUE
='#'
21080 DARWIN_ENABLED_FALSE
=
21085 CXXFLAGS
="$CXXFLAGS -DOMNI_UNLOADABLE_STUBS"
21089 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
21091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21094 ac_check_lib_save_LIBS
=$LIBS
21096 cat >conftest.
$ac_ext <<_ACEOF
21099 cat confdefs.h
>>conftest.
$ac_ext
21100 cat >>conftest.
$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21103 /* Override any gcc2 internal prototype to avoid an error. */
21107 /* We use char because int might match the return type of a gcc2
21108 builtin and then its argument prototype would still apply. */
21118 rm -f conftest.
$ac_objext conftest
$ac_exeext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21120 (eval $ac_link) 2>conftest.er1
21122 grep -v '^ *+' conftest.er1
>conftest.err
21124 cat conftest.err
>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try
='test -z "$ac_c_werror_flag"
21128 || test ! -s conftest.err'
21129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21130 (eval $ac_try) 2>&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); }; } &&
21134 { ac_try
='test -s conftest$ac_exeext'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; }; then
21140 ac_cv_lib_dl_dlopen
=yes
21142 echo "$as_me: failed program was:" >&5
21143 sed 's/^/| /' conftest.
$ac_ext >&5
21145 ac_cv_lib_dl_dlopen
=no
21147 rm -f conftest.err conftest.
$ac_objext \
21148 conftest
$ac_exeext conftest.
$ac_ext
21149 LIBS
=$ac_check_lib_save_LIBS
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21152 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
21153 if test $ac_cv_lib_dl_dlopen = yes; then
21154 cat >>confdefs.h
<<_ACEOF
21155 #define HAVE_LIBDL 1
21163 echo "$as_me:$LINENO: checking for svc_pollfd in -lnsl" >&5
21164 echo $ECHO_N "checking for svc_pollfd in -lnsl... $ECHO_C" >&6
21165 if test "${ac_cv_lib_nsl_svc_pollfd+set}" = set; then
21166 echo $ECHO_N "(cached) $ECHO_C" >&6
21168 ac_check_lib_save_LIBS
=$LIBS
21170 cat >conftest.
$ac_ext <<_ACEOF
21173 cat confdefs.h
>>conftest.
$ac_ext
21174 cat >>conftest.
$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21177 /* Override any gcc2 internal prototype to avoid an error. */
21181 /* We use char because int might match the return type of a gcc2
21182 builtin and then its argument prototype would still apply. */
21183 char svc_pollfd ();
21192 rm -f conftest.
$ac_objext conftest
$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>conftest.er1
21196 grep -v '^ *+' conftest.er1
>conftest.err
21198 cat conftest.err
>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try
='test -z "$ac_c_werror_flag"
21202 || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try
='test -s conftest$ac_exeext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 ac_cv_lib_nsl_svc_pollfd
=yes
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.
$ac_ext >&5
21219 ac_cv_lib_nsl_svc_pollfd
=no
21221 rm -f conftest.err conftest.
$ac_objext \
21222 conftest
$ac_exeext conftest.
$ac_ext
21223 LIBS
=$ac_check_lib_save_LIBS
21225 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_svc_pollfd" >&5
21226 echo "${ECHO_T}$ac_cv_lib_nsl_svc_pollfd" >&6
21227 if test $ac_cv_lib_nsl_svc_pollfd = yes; then
21228 cat >>confdefs.h
<<_ACEOF
21229 #define HAVE_LIBNSL 1
21237 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
21238 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
21239 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
21240 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 ac_check_lib_save_LIBS
=$LIBS
21243 LIBS
="-lposix4 $LIBS"
21244 cat >conftest.
$ac_ext <<_ACEOF
21247 cat confdefs.h
>>conftest.
$ac_ext
21248 cat >>conftest.
$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21251 /* Override any gcc2 internal prototype to avoid an error. */
21255 /* We use char because int might match the return type of a gcc2
21256 builtin and then its argument prototype would still apply. */
21266 rm -f conftest.
$ac_objext conftest
$ac_exeext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21268 (eval $ac_link) 2>conftest.er1
21270 grep -v '^ *+' conftest.er1
>conftest.err
21272 cat conftest.err
>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); } &&
21275 { ac_try
='test -z "$ac_c_werror_flag"
21276 || test ! -s conftest.err'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try
='test -s conftest$ac_exeext'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; }; then
21288 ac_cv_lib_posix4_nanosleep
=yes
21290 echo "$as_me: failed program was:" >&5
21291 sed 's/^/| /' conftest.
$ac_ext >&5
21293 ac_cv_lib_posix4_nanosleep
=no
21295 rm -f conftest.err conftest.
$ac_objext \
21296 conftest
$ac_exeext conftest.
$ac_ext
21297 LIBS
=$ac_check_lib_save_LIBS
21299 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
21300 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
21301 if test $ac_cv_lib_posix4_nanosleep = yes; then
21302 cat >>confdefs.h
<<_ACEOF
21303 #define HAVE_LIBPOSIX4 1
21306 LIBS
="-lposix4 $LIBS"
21311 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
21312 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
21313 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
21314 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 ac_check_lib_save_LIBS
=$LIBS
21317 LIBS
="-lpthread $LIBS"
21318 cat >conftest.
$ac_ext <<_ACEOF
21321 cat confdefs.h
>>conftest.
$ac_ext
21322 cat >>conftest.
$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21325 /* Override any gcc2 internal prototype to avoid an error. */
21329 /* We use char because int might match the return type of a gcc2
21330 builtin and then its argument prototype would still apply. */
21331 char pthread_create ();
21340 rm -f conftest.
$ac_objext conftest
$ac_exeext
21341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21342 (eval $ac_link) 2>conftest.er1
21344 grep -v '^ *+' conftest.er1
>conftest.err
21346 cat conftest.err
>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try
='test -z "$ac_c_werror_flag"
21350 || test ! -s conftest.err'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; } &&
21356 { ac_try
='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; }; then
21362 ac_cv_lib_pthread_pthread_create
=yes
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.
$ac_ext >&5
21367 ac_cv_lib_pthread_pthread_create
=no
21369 rm -f conftest.err conftest.
$ac_objext \
21370 conftest
$ac_exeext conftest.
$ac_ext
21371 LIBS
=$ac_check_lib_save_LIBS
21373 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
21374 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
21375 if test $ac_cv_lib_pthread_pthread_create = yes; then
21376 cat >>confdefs.h
<<_ACEOF
21377 #define HAVE_LIBPTHREAD 1
21380 LIBS
="-lpthread $LIBS"
21385 echo "$as_me:$LINENO: checking for getprotobyname in -lsocket" >&5
21386 echo $ECHO_N "checking for getprotobyname in -lsocket... $ECHO_C" >&6
21387 if test "${ac_cv_lib_socket_getprotobyname+set}" = set; then
21388 echo $ECHO_N "(cached) $ECHO_C" >&6
21390 ac_check_lib_save_LIBS
=$LIBS
21391 LIBS
="-lsocket $LIBS"
21392 cat >conftest.
$ac_ext <<_ACEOF
21395 cat confdefs.h
>>conftest.
$ac_ext
21396 cat >>conftest.
$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21399 /* Override any gcc2 internal prototype to avoid an error. */
21403 /* We use char because int might match the return type of a gcc2
21404 builtin and then its argument prototype would still apply. */
21405 char getprotobyname ();
21414 rm -f conftest.
$ac_objext conftest
$ac_exeext
21415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21416 (eval $ac_link) 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try
='test -z "$ac_c_werror_flag"
21424 || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try
='test -s conftest$ac_exeext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_cv_lib_socket_getprotobyname
=yes
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.
$ac_ext >&5
21441 ac_cv_lib_socket_getprotobyname
=no
21443 rm -f conftest.err conftest.
$ac_objext \
21444 conftest
$ac_exeext conftest.
$ac_ext
21445 LIBS
=$ac_check_lib_save_LIBS
21447 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_getprotobyname" >&5
21448 echo "${ECHO_T}$ac_cv_lib_socket_getprotobyname" >&6
21449 if test $ac_cv_lib_socket_getprotobyname = yes; then
21450 cat >>confdefs.h
<<_ACEOF
21451 #define HAVE_LIBSOCKET 1
21454 LIBS
="-lsocket $LIBS"
21459 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
21461 if test "${ac_cv_header_stdc+set}" = set; then
21462 echo $ECHO_N "(cached) $ECHO_C" >&6
21464 cat >conftest.
$ac_ext <<_ACEOF
21467 cat confdefs.h
>>conftest.
$ac_ext
21468 cat >>conftest.
$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470 #include <stdlib.h>
21471 #include <stdarg.h>
21472 #include <string.h>
21483 rm -f conftest.
$ac_objext
21484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21485 (eval $ac_compile) 2>conftest.er1
21487 grep -v '^ *+' conftest.er1
>conftest.err
21489 cat conftest.err
>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } &&
21492 { ac_try
='test -z "$ac_c_werror_flag"
21493 || test ! -s conftest.err'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; } &&
21499 { ac_try
='test -s conftest.$ac_objext'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; }; then
21505 ac_cv_header_stdc
=yes
21507 echo "$as_me: failed program was:" >&5
21508 sed 's/^/| /' conftest.
$ac_ext >&5
21510 ac_cv_header_stdc
=no
21512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 if test $ac_cv_header_stdc = yes; then
21515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21516 cat >conftest.
$ac_ext <<_ACEOF
21519 cat confdefs.h
>>conftest.
$ac_ext
21520 cat >>conftest.
$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 #include <string.h>
21525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21526 $EGREP "memchr" >/dev
/null
2>&1; then
21529 ac_cv_header_stdc
=no
21535 if test $ac_cv_header_stdc = yes; then
21536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21537 cat >conftest.
$ac_ext <<_ACEOF
21540 cat confdefs.h
>>conftest.
$ac_ext
21541 cat >>conftest.
$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 #include <stdlib.h>
21546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21547 $EGREP "free" >/dev
/null
2>&1; then
21550 ac_cv_header_stdc
=no
21556 if test $ac_cv_header_stdc = yes; then
21557 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21558 if test "$cross_compiling" = yes; then
21561 cat >conftest.
$ac_ext <<_ACEOF
21564 cat confdefs.h
>>conftest.
$ac_ext
21565 cat >>conftest.
$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21568 #if ((' ' & 0x0FF) == 0x020)
21569 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21570 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21572 # define ISLOWER(c) \
21573 (('a' <= (c) && (c) <= 'i') \
21574 || ('j' <= (c) && (c) <= 'r') \
21575 || ('s' <= (c) && (c) <= 'z'))
21576 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21579 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21584 for (i = 0; i < 256; i++)
21585 if (XOR (islower (i), ISLOWER (i))
21586 || toupper (i) != TOUPPER (i))
21591 rm -f conftest
$ac_exeext
21592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21593 (eval $ac_link) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21604 echo "$as_me: program exited with status $ac_status" >&5
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.
$ac_ext >&5
21608 ( exit $ac_status )
21609 ac_cv_header_stdc
=no
21611 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21615 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21616 echo "${ECHO_T}$ac_cv_header_stdc" >&6
21617 if test $ac_cv_header_stdc = yes; then
21619 cat >>confdefs.h
<<\_ACEOF
21620 #define STDC_HEADERS 1
21629 for ac_header
in fcntl.h
strings.h sys
/time.h unistd.h
21631 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21633 echo "$as_me:$LINENO: checking for $ac_header" >&5
21634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21636 echo $ECHO_N "(cached) $ECHO_C" >&6
21638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21641 # Is the header compilable?
21642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21644 cat >conftest.
$ac_ext <<_ACEOF
21647 cat confdefs.h
>>conftest.
$ac_ext
21648 cat >>conftest.
$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 #include <$ac_header>
21653 rm -f conftest.
$ac_objext
21654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21655 (eval $ac_compile) 2>conftest.er1
21657 grep -v '^ *+' conftest.er1
>conftest.err
21659 cat conftest.err
>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try
='test -z "$ac_c_werror_flag"
21663 || test ! -s conftest.err'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; } &&
21669 { ac_try
='test -s conftest.$ac_objext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 ac_header_compiler
=yes
21677 echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.
$ac_ext >&5
21680 ac_header_compiler
=no
21682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21684 echo "${ECHO_T}$ac_header_compiler" >&6
21686 # Is the header present?
21687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21689 cat >conftest.
$ac_ext <<_ACEOF
21692 cat confdefs.h
>>conftest.
$ac_ext
21693 cat >>conftest.
$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21695 #include <$ac_header>
21697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21700 grep -v '^ *+' conftest.er1
>conftest.err
21702 cat conftest.err
>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } >/dev
/null
; then
21705 if test -s conftest.err
; then
21706 ac_cpp_err
=$ac_c_preproc_warn_flag
21707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21714 if test -z "$ac_cpp_err"; then
21715 ac_header_preproc
=yes
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.
$ac_ext >&5
21720 ac_header_preproc
=no
21722 rm -f conftest.err conftest.
$ac_ext
21723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21724 echo "${ECHO_T}$ac_header_preproc" >&6
21726 # So? What about this header?
21727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21733 ac_header_preproc
=yes
21736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21750 ## ---------------------------- ##
21751 ## Report this to tango@esrf.fr ##
21752 ## ---------------------------- ##
21755 sed "s/^/$as_me: WARNING: /" >&2
21758 echo "$as_me:$LINENO: checking for $ac_header" >&5
21759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21761 echo $ECHO_N "(cached) $ECHO_C" >&6
21763 eval "$as_ac_Header=\$ac_header_preproc"
21765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21770 cat >>confdefs.h
<<_ACEOF
21771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21781 if test "x$GCC" = "xyes"; then
21782 case `$CC --version 2>/dev/null` in
21783 [12].
*) use_sstream
=no
;;
21784 *) use_sstream
=yes ;;
21787 if test "x$use_sstream" = "xyes"; then
21788 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
21789 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
21790 if test "${ac_cv_cxx_namespaces+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 ac_cpp
='$CXXCPP $CPPFLAGS'
21797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21801 cat >conftest.
$ac_ext <<_ACEOF
21804 cat confdefs.h
>>conftest.
$ac_ext
21805 cat >>conftest.
$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 namespace Outer { namespace Inner { int i = 0; }}
21811 using namespace Outer::Inner; return i;
21816 rm -f conftest.
$ac_objext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21818 (eval $ac_compile) 2>conftest.er1
21820 grep -v '^ *+' conftest.er1
>conftest.err
21822 cat conftest.err
>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try
='test -z "$ac_cxx_werror_flag"
21826 || test ! -s conftest.err'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; } &&
21832 { ac_try
='test -s conftest.$ac_objext'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; }; then
21838 ac_cv_cxx_namespaces
=yes
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.
$ac_ext >&5
21843 ac_cv_cxx_namespaces
=no
21845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21847 ac_cpp
='$CPP $CPPFLAGS'
21848 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21854 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
21855 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
21856 if test "$ac_cv_cxx_namespaces" = yes; then
21858 cat >>confdefs.h
<<\_ACEOF
21859 #define HAVE_NAMESPACES
21864 echo "$as_me:$LINENO: checking whether the compiler has stringstream" >&5
21865 echo $ECHO_N "checking whether the compiler has stringstream... $ECHO_C" >&6
21866 if test "${ac_cv_cxx_have_sstream+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 ac_cpp
='$CXXCPP $CPPFLAGS'
21874 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21878 cat >conftest.
$ac_ext <<_ACEOF
21881 cat confdefs.h
>>conftest.
$ac_ext
21882 cat >>conftest.
$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21885 #ifdef HAVE_NAMESPACES
21886 using namespace std;
21891 stringstream message; message << "Hello"; return 0;
21896 rm -f conftest.
$ac_objext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21898 (eval $ac_compile) 2>conftest.er1
21900 grep -v '^ *+' conftest.er1
>conftest.err
21902 cat conftest.err
>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try
='test -z "$ac_cxx_werror_flag"
21906 || test ! -s conftest.err'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; } &&
21912 { ac_try
='test -s conftest.$ac_objext'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 ac_cv_cxx_have_sstream
=yes
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.
$ac_ext >&5
21923 ac_cv_cxx_have_sstream
=no
21925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21927 ac_cpp
='$CPP $CPPFLAGS'
21928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21934 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_sstream" >&5
21935 echo "${ECHO_T}$ac_cv_cxx_have_sstream" >&6
21936 if test "$ac_cv_cxx_have_sstream" = yes; then
21938 cat >>confdefs.h
<<\_ACEOF
21939 #define HAVE_SSTREAM
21946 if test "x$use_sstream" = "xno"; then
21950 ac_cpp
='$CXXCPP $CPPFLAGS'
21951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21955 if test "${ac_cv_header_strstream+set}" = set; then
21956 echo "$as_me:$LINENO: checking for strstream" >&5
21957 echo $ECHO_N "checking for strstream... $ECHO_C" >&6
21958 if test "${ac_cv_header_strstream+set}" = set; then
21959 echo $ECHO_N "(cached) $ECHO_C" >&6
21961 echo "$as_me:$LINENO: result: $ac_cv_header_strstream" >&5
21962 echo "${ECHO_T}$ac_cv_header_strstream" >&6
21964 # Is the header compilable?
21965 echo "$as_me:$LINENO: checking strstream usability" >&5
21966 echo $ECHO_N "checking strstream usability... $ECHO_C" >&6
21967 cat >conftest.
$ac_ext <<_ACEOF
21970 cat confdefs.h
>>conftest.
$ac_ext
21971 cat >>conftest.
$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973 $ac_includes_default
21974 #include <strstream>
21976 rm -f conftest.
$ac_objext
21977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21978 (eval $ac_compile) 2>conftest.er1
21980 grep -v '^ *+' conftest.er1
>conftest.err
21982 cat conftest.err
>&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } &&
21985 { ac_try
='test -z "$ac_cxx_werror_flag"
21986 || test ! -s conftest.err'
21987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21988 (eval $ac_try) 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); }; } &&
21992 { ac_try
='test -s conftest.$ac_objext'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_header_compiler
=yes
22000 echo "$as_me: failed program was:" >&5
22001 sed 's/^/| /' conftest.
$ac_ext >&5
22003 ac_header_compiler
=no
22005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22007 echo "${ECHO_T}$ac_header_compiler" >&6
22009 # Is the header present?
22010 echo "$as_me:$LINENO: checking strstream presence" >&5
22011 echo $ECHO_N "checking strstream presence... $ECHO_C" >&6
22012 cat >conftest.
$ac_ext <<_ACEOF
22015 cat confdefs.h
>>conftest.
$ac_ext
22016 cat >>conftest.
$ac_ext <<_ACEOF
22017 /* end confdefs.h. */
22018 #include <strstream>
22020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22023 grep -v '^ *+' conftest.er1
>conftest.err
22025 cat conftest.err
>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } >/dev
/null
; then
22028 if test -s conftest.err
; then
22029 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22030 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22037 if test -z "$ac_cpp_err"; then
22038 ac_header_preproc
=yes
22040 echo "$as_me: failed program was:" >&5
22041 sed 's/^/| /' conftest.
$ac_ext >&5
22043 ac_header_preproc
=no
22045 rm -f conftest.err conftest.
$ac_ext
22046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22047 echo "${ECHO_T}$ac_header_preproc" >&6
22049 # So? What about this header?
22050 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22052 { echo "$as_me:$LINENO: WARNING: strstream: accepted by the compiler, rejected by the preprocessor!" >&5
22053 echo "$as_me: WARNING: strstream: accepted by the compiler, rejected by the preprocessor!" >&2;}
22054 { echo "$as_me:$LINENO: WARNING: strstream: proceeding with the compiler's result" >&5
22055 echo "$as_me: WARNING: strstream: proceeding with the compiler's result" >&2;}
22056 ac_header_preproc
=yes
22059 { echo "$as_me:$LINENO: WARNING: strstream: present but cannot be compiled" >&5
22060 echo "$as_me: WARNING: strstream: present but cannot be compiled" >&2;}
22061 { echo "$as_me:$LINENO: WARNING: strstream: check for missing prerequisite headers?" >&5
22062 echo "$as_me: WARNING: strstream: check for missing prerequisite headers?" >&2;}
22063 { echo "$as_me:$LINENO: WARNING: strstream: see the Autoconf documentation" >&5
22064 echo "$as_me: WARNING: strstream: see the Autoconf documentation" >&2;}
22065 { echo "$as_me:$LINENO: WARNING: strstream: section \"Present But Cannot Be Compiled\"" >&5
22066 echo "$as_me: WARNING: strstream: section \"Present But Cannot Be Compiled\"" >&2;}
22067 { echo "$as_me:$LINENO: WARNING: strstream: proceeding with the preprocessor's result" >&5
22068 echo "$as_me: WARNING: strstream: proceeding with the preprocessor's result" >&2;}
22069 { echo "$as_me:$LINENO: WARNING: strstream: in the future, the compiler will take precedence" >&5
22070 echo "$as_me: WARNING: strstream: in the future, the compiler will take precedence" >&2;}
22073 ## ---------------------------- ##
22074 ## Report this to tango@esrf.fr ##
22075 ## ---------------------------- ##
22078 sed "s/^/$as_me: WARNING: /" >&2
22081 echo "$as_me:$LINENO: checking for strstream" >&5
22082 echo $ECHO_N "checking for strstream... $ECHO_C" >&6
22083 if test "${ac_cv_header_strstream+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22086 ac_cv_header_strstream
=$ac_header_preproc
22088 echo "$as_me:$LINENO: result: $ac_cv_header_strstream" >&5
22089 echo "${ECHO_T}$ac_cv_header_strstream" >&6
22092 if test $ac_cv_header_strstream = yes; then
22094 cat >>confdefs.h
<<\_ACEOF
22095 #define HAVE_STRSTREAM 1
22102 ac_cpp
='$CPP $CPPFLAGS'
22103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22108 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
22109 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
22110 if test "${ac_cv_c_const+set}" = set; then
22111 echo $ECHO_N "(cached) $ECHO_C" >&6
22113 cat >conftest.
$ac_ext <<_ACEOF
22116 cat confdefs.h
>>conftest.
$ac_ext
22117 cat >>conftest.
$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22123 /* FIXME: Include the comments suggested by Paul. */
22124 #ifndef __cplusplus
22125 /* Ultrix mips cc rejects this. */
22126 typedef int charset[2];
22128 /* SunOS 4.1.1 cc rejects this. */
22129 char const *const *ccp;
22131 /* NEC SVR4.0.2 mips cc rejects this. */
22132 struct point {int x, y;};
22133 static struct point const zero = {0,0};
22134 /* AIX XL C 1.02.0.0 rejects this.
22135 It does not let you subtract one const X* pointer from another in
22136 an arm of an if-expression whose if-part is not a constant
22138 const char *g = "string";
22139 ccp = &g + (g ? g-g : 0);
22140 /* HPUX 7.0 cc rejects these. */
22143 ccp = (char const *const *) p;
22144 { /* SCO 3.2v4 cc rejects this. */
22146 char const *s = 0 ? (char *) 0 : (char const *) 0;
22150 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
22151 int x[] = {25, 17};
22152 const int *foo = &x[0];
22155 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
22156 typedef const int *iptr;
22160 { /* AIX XL C 1.02.0.0 rejects this saying
22161 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
22162 struct s { int j; const int *ap[3]; };
22163 struct s *b; b->j = 5;
22165 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
22166 const int foo = 10;
22174 rm -f conftest.
$ac_objext
22175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22176 (eval $ac_compile) 2>conftest.er1
22178 grep -v '^ *+' conftest.er1
>conftest.err
22180 cat conftest.err
>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try
='test -z "$ac_c_werror_flag"
22184 || test ! -s conftest.err'
22185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22186 (eval $ac_try) 2>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; } &&
22190 { ac_try
='test -s conftest.$ac_objext'
22191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22192 (eval $ac_try) 2>&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); }; }; then
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.
$ac_ext >&5
22203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22205 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
22206 echo "${ECHO_T}$ac_cv_c_const" >&6
22207 if test $ac_cv_c_const = no
; then
22209 cat >>confdefs.h
<<\_ACEOF
22215 echo "$as_me:$LINENO: checking for inline" >&5
22216 echo $ECHO_N "checking for inline... $ECHO_C" >&6
22217 if test "${ac_cv_c_inline+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22221 for ac_kw
in inline __inline__ __inline
; do
22222 cat >conftest.
$ac_ext <<_ACEOF
22225 cat confdefs.h
>>conftest.
$ac_ext
22226 cat >>conftest.
$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 #ifndef __cplusplus
22230 static $ac_kw foo_t static_foo () {return 0; }
22231 $ac_kw foo_t foo () {return 0; }
22235 rm -f conftest.
$ac_objext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22237 (eval $ac_compile) 2>conftest.er1
22239 grep -v '^ *+' conftest.er1
>conftest.err
22241 cat conftest.err
>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } &&
22244 { ac_try
='test -z "$ac_c_werror_flag"
22245 || test ! -s conftest.err'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; } &&
22251 { ac_try
='test -s conftest.$ac_objext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_c_inline
=$ac_kw; break
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22267 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
22268 echo "${ECHO_T}$ac_cv_c_inline" >&6
22271 case $ac_cv_c_inline in
22274 case $ac_cv_c_inline in
22276 *) ac_val
=$ac_cv_c_inline;;
22278 cat >>confdefs.h
<<_ACEOF
22279 #ifndef __cplusplus
22280 #define inline $ac_val
22286 echo "$as_me:$LINENO: checking for pid_t" >&5
22287 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
22288 if test "${ac_cv_type_pid_t+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 cat >conftest.
$ac_ext <<_ACEOF
22294 cat confdefs.h
>>conftest.
$ac_ext
22295 cat >>conftest.
$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 $ac_includes_default
22303 if (sizeof (pid_t))
22309 rm -f conftest.
$ac_objext
22310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22311 (eval $ac_compile) 2>conftest.er1
22313 grep -v '^ *+' conftest.er1
>conftest.err
22315 cat conftest.err
>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } &&
22318 { ac_try
='test -z "$ac_c_werror_flag"
22319 || test ! -s conftest.err'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; } &&
22325 { ac_try
='test -s conftest.$ac_objext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_type_pid_t
=yes
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.
$ac_ext >&5
22336 ac_cv_type_pid_t
=no
22338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22340 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22341 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
22342 if test $ac_cv_type_pid_t = yes; then
22346 cat >>confdefs.h
<<_ACEOF
22352 echo "$as_me:$LINENO: checking for size_t" >&5
22353 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22354 if test "${ac_cv_type_size_t+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 cat >conftest.
$ac_ext <<_ACEOF
22360 cat confdefs.h
>>conftest.
$ac_ext
22361 cat >>conftest.
$ac_ext <<_ACEOF
22362 /* end confdefs.h. */
22363 $ac_includes_default
22369 if (sizeof (size_t))
22375 rm -f conftest.
$ac_objext
22376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22377 (eval $ac_compile) 2>conftest.er1
22379 grep -v '^ *+' conftest.er1
>conftest.err
22381 cat conftest.err
>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } &&
22384 { ac_try
='test -z "$ac_c_werror_flag"
22385 || test ! -s conftest.err'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; } &&
22391 { ac_try
='test -s conftest.$ac_objext'
22392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22393 (eval $ac_try) 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 ac_cv_type_size_t
=yes
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.
$ac_ext >&5
22402 ac_cv_type_size_t
=no
22404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22406 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22407 echo "${ECHO_T}$ac_cv_type_size_t" >&6
22408 if test $ac_cv_type_size_t = yes; then
22412 cat >>confdefs.h
<<_ACEOF
22413 #define size_t unsigned
22418 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
22419 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
22420 if test "${ac_cv_header_time+set}" = set; then
22421 echo $ECHO_N "(cached) $ECHO_C" >&6
22423 cat >conftest.
$ac_ext <<_ACEOF
22426 cat confdefs.h
>>conftest.
$ac_ext
22427 cat >>conftest.
$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 #include <sys/types.h>
22430 #include <sys/time.h>
22436 if ((struct tm *) 0)
22442 rm -f conftest.
$ac_objext
22443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22444 (eval $ac_compile) 2>conftest.er1
22446 grep -v '^ *+' conftest.er1
>conftest.err
22448 cat conftest.err
>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } &&
22451 { ac_try
='test -z "$ac_c_werror_flag"
22452 || test ! -s conftest.err'
22453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 (eval $ac_try) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); }; } &&
22458 { ac_try
='test -s conftest.$ac_objext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_header_time
=yes
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 ac_cv_header_time
=no
22471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22473 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
22474 echo "${ECHO_T}$ac_cv_header_time" >&6
22475 if test $ac_cv_header_time = yes; then
22477 cat >>confdefs.h
<<\_ACEOF
22478 #define TIME_WITH_SYS_TIME 1
22483 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22484 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22485 if test "${ac_cv_struct_tm+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 cat >conftest.
$ac_ext <<_ACEOF
22491 cat confdefs.h
>>conftest.
$ac_ext
22492 cat >>conftest.
$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 #include <sys/types.h>
22500 struct tm *tp; tp->tm_sec;
22505 rm -f conftest.
$ac_objext
22506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22507 (eval $ac_compile) 2>conftest.er1
22509 grep -v '^ *+' conftest.er1
>conftest.err
22511 cat conftest.err
>&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try
='test -z "$ac_c_werror_flag"
22515 || test ! -s conftest.err'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; } &&
22521 { ac_try
='test -s conftest.$ac_objext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 ac_cv_struct_tm
=time.h
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.
$ac_ext >&5
22532 ac_cv_struct_tm
=sys
/time.h
22534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22536 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22537 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22538 if test $ac_cv_struct_tm = sys
/time.h
; then
22540 cat >>confdefs.h
<<\_ACEOF
22541 #define TM_IN_SYS_TIME 1
22547 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
22548 # for constant arguments. Useless!
22549 echo "$as_me:$LINENO: checking for working alloca.h" >&5
22550 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
22551 if test "${ac_cv_working_alloca_h+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22554 cat >conftest.
$ac_ext <<_ACEOF
22557 cat confdefs.h
>>conftest.
$ac_ext
22558 cat >>conftest.
$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 #include <alloca.h>
22564 char *p = (char *) alloca (2 * sizeof (int));
22569 rm -f conftest.
$ac_objext conftest
$ac_exeext
22570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22571 (eval $ac_link) 2>conftest.er1
22573 grep -v '^ *+' conftest.er1
>conftest.err
22575 cat conftest.err
>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try
='test -z "$ac_c_werror_flag"
22579 || test ! -s conftest.err'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; } &&
22585 { ac_try
='test -s conftest$ac_exeext'
22586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587 (eval $ac_try) 2>&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); }; }; then
22591 ac_cv_working_alloca_h
=yes
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.
$ac_ext >&5
22596 ac_cv_working_alloca_h
=no
22598 rm -f conftest.err conftest.
$ac_objext \
22599 conftest
$ac_exeext conftest.
$ac_ext
22601 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
22602 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
22603 if test $ac_cv_working_alloca_h = yes; then
22605 cat >>confdefs.h
<<\_ACEOF
22606 #define HAVE_ALLOCA_H 1
22611 echo "$as_me:$LINENO: checking for alloca" >&5
22612 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
22613 if test "${ac_cv_func_alloca_works+set}" = set; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22616 cat >conftest.
$ac_ext <<_ACEOF
22619 cat confdefs.h
>>conftest.
$ac_ext
22620 cat >>conftest.
$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22623 # define alloca __builtin_alloca
22626 # include <malloc.h>
22627 # define alloca _alloca
22630 # include <alloca.h>
22635 # ifndef alloca /* predefined by HP cc +Olibcalls */
22646 char *p = (char *) alloca (1);
22651 rm -f conftest.
$ac_objext conftest
$ac_exeext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22653 (eval $ac_link) 2>conftest.er1
22655 grep -v '^ *+' conftest.er1
>conftest.err
22657 cat conftest.err
>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } &&
22660 { ac_try
='test -z "$ac_c_werror_flag"
22661 || test ! -s conftest.err'
22662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22663 (eval $ac_try) 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; } &&
22667 { ac_try
='test -s conftest$ac_exeext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 ac_cv_func_alloca_works
=yes
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.
$ac_ext >&5
22678 ac_cv_func_alloca_works
=no
22680 rm -f conftest.err conftest.
$ac_objext \
22681 conftest
$ac_exeext conftest.
$ac_ext
22683 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
22684 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
22686 if test $ac_cv_func_alloca_works = yes; then
22688 cat >>confdefs.h
<<\_ACEOF
22689 #define HAVE_ALLOCA 1
22693 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
22694 # that cause trouble. Some versions do not even contain alloca or
22695 # contain a buggy version. If you still want to use their alloca,
22696 # use ar to extract alloca.o from them instead of compiling alloca.c.
22698 ALLOCA
=alloca.
$ac_objext
22700 cat >>confdefs.h
<<\_ACEOF
22705 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
22706 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
22707 if test "${ac_cv_os_cray+set}" = set; then
22708 echo $ECHO_N "(cached) $ECHO_C" >&6
22710 cat >conftest.
$ac_ext <<_ACEOF
22713 cat confdefs.h
>>conftest.
$ac_ext
22714 cat >>conftest.
$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716 #if defined(CRAY) && ! defined(CRAY2)
22723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22724 $EGREP "webecray" >/dev
/null
2>&1; then
22732 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
22733 echo "${ECHO_T}$ac_cv_os_cray" >&6
22734 if test $ac_cv_os_cray = yes; then
22735 for ac_func
in _getb67 GETB67 getb67
; do
22736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22737 echo "$as_me:$LINENO: checking for $ac_func" >&5
22738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22739 if eval "test \"\${$as_ac_var+set}\" = set"; then
22740 echo $ECHO_N "(cached) $ECHO_C" >&6
22742 cat >conftest.
$ac_ext <<_ACEOF
22745 cat confdefs.h
>>conftest.
$ac_ext
22746 cat >>conftest.
$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22750 #define $ac_func innocuous_$ac_func
22752 /* System header to define __stub macros and hopefully few prototypes,
22753 which can conflict with char $ac_func (); below.
22754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22755 <limits.h> exists even on freestanding compilers. */
22758 # include <limits.h>
22760 # include <assert.h>
22765 /* Override any gcc2 internal prototype to avoid an error. */
22770 /* We use char because int might match the return type of a gcc2
22771 builtin and then its argument prototype would still apply. */
22773 /* The GNU C library defines this for functions which it implements
22774 to always fail with ENOSYS. Some functions are actually named
22775 something starting with __ and the normal name is an alias. */
22776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22779 char (*f) () = $ac_func;
22788 return f != $ac_func;
22793 rm -f conftest.
$ac_objext conftest
$ac_exeext
22794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22795 (eval $ac_link) 2>conftest.er1
22797 grep -v '^ *+' conftest.er1
>conftest.err
22799 cat conftest.err
>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } &&
22802 { ac_try
='test -z "$ac_c_werror_flag"
22803 || test ! -s conftest.err'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try
='test -s conftest$ac_exeext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 eval "$as_ac_var=yes"
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22820 eval "$as_ac_var=no"
22822 rm -f conftest.err conftest.
$ac_objext \
22823 conftest
$ac_exeext conftest.
$ac_ext
22825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22827 if test `eval echo '${'$as_ac_var'}'` = yes; then
22829 cat >>confdefs.h
<<_ACEOF
22830 #define CRAY_STACKSEG_END $ac_func
22839 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
22840 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
22841 if test "${ac_cv_c_stack_direction+set}" = set; then
22842 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 if test "$cross_compiling" = yes; then
22845 ac_cv_c_stack_direction
=0
22847 cat >conftest.
$ac_ext <<_ACEOF
22850 cat confdefs.h
>>conftest.
$ac_ext
22851 cat >>conftest.
$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22854 find_stack_direction ()
22856 static char *addr = 0;
22861 return find_stack_direction ();
22864 return (&dummy > addr) ? 1 : -1;
22870 exit (find_stack_direction () < 0);
22873 rm -f conftest
$ac_exeext
22874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22875 (eval $ac_link) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880 (eval $ac_try) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; }; then
22884 ac_cv_c_stack_direction
=1
22886 echo "$as_me: program exited with status $ac_status" >&5
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.
$ac_ext >&5
22890 ( exit $ac_status )
22891 ac_cv_c_stack_direction
=-1
22893 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22896 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
22897 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
22899 cat >>confdefs.h
<<_ACEOF
22900 #define STACK_DIRECTION $ac_cv_c_stack_direction
22906 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
22907 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
22908 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 cat >conftest.
$ac_ext <<_ACEOF
22914 cat confdefs.h
>>conftest.
$ac_ext
22915 cat >>conftest.
$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22917 #include <sys/types.h>
22921 return makedev(0, 0);
22926 rm -f conftest.
$ac_objext conftest
$ac_exeext
22927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22928 (eval $ac_link) 2>conftest.er1
22930 grep -v '^ *+' conftest.er1
>conftest.err
22932 cat conftest.err
>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try
='test -z "$ac_c_werror_flag"
22936 || test ! -s conftest.err'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; } &&
22942 { ac_try
='test -s conftest$ac_exeext'
22943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22944 (eval $ac_try) 2>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); }; }; then
22948 ac_cv_header_sys_types_h_makedev
=yes
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.
$ac_ext >&5
22953 ac_cv_header_sys_types_h_makedev
=no
22955 rm -f conftest.err conftest.
$ac_objext \
22956 conftest
$ac_exeext conftest.
$ac_ext
22959 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
22960 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
22962 if test $ac_cv_header_sys_types_h_makedev = no
; then
22963 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
22964 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
22965 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
22966 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
22970 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
22972 # Is the header compilable?
22973 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
22974 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
22975 cat >conftest.
$ac_ext <<_ACEOF
22978 cat confdefs.h
>>conftest.
$ac_ext
22979 cat >>conftest.
$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 $ac_includes_default
22982 #include <sys/mkdev.h>
22984 rm -f conftest.
$ac_objext
22985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22986 (eval $ac_compile) 2>conftest.er1
22988 grep -v '^ *+' conftest.er1
>conftest.err
22990 cat conftest.err
>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } &&
22993 { ac_try
='test -z "$ac_c_werror_flag"
22994 || test ! -s conftest.err'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; } &&
23000 { ac_try
='test -s conftest.$ac_objext'
23001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23002 (eval $ac_try) 2>&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_header_compiler
=yes
23008 echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.
$ac_ext >&5
23011 ac_header_compiler
=no
23013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23015 echo "${ECHO_T}$ac_header_compiler" >&6
23017 # Is the header present?
23018 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
23019 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
23020 cat >conftest.
$ac_ext <<_ACEOF
23023 cat confdefs.h
>>conftest.
$ac_ext
23024 cat >>conftest.
$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23026 #include <sys/mkdev.h>
23028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23031 grep -v '^ *+' conftest.er1
>conftest.err
23033 cat conftest.err
>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } >/dev
/null
; then
23036 if test -s conftest.err
; then
23037 ac_cpp_err
=$ac_c_preproc_warn_flag
23038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23045 if test -z "$ac_cpp_err"; then
23046 ac_header_preproc
=yes
23048 echo "$as_me: failed program was:" >&5
23049 sed 's/^/| /' conftest.
$ac_ext >&5
23051 ac_header_preproc
=no
23053 rm -f conftest.err conftest.
$ac_ext
23054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23055 echo "${ECHO_T}$ac_header_preproc" >&6
23057 # So? What about this header?
23058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23060 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
23061 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23062 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
23063 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
23064 ac_header_preproc
=yes
23067 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
23068 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
23069 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
23070 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
23071 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
23072 echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
23073 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
23074 echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
23075 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
23076 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
23077 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
23078 echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
23081 ## ---------------------------- ##
23082 ## Report this to tango@esrf.fr ##
23083 ## ---------------------------- ##
23086 sed "s/^/$as_me: WARNING: /" >&2
23089 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
23090 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
23091 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
23092 echo $ECHO_N "(cached) $ECHO_C" >&6
23094 ac_cv_header_sys_mkdev_h
=$ac_header_preproc
23096 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
23097 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
23100 if test $ac_cv_header_sys_mkdev_h = yes; then
23102 cat >>confdefs.h
<<\_ACEOF
23103 #define MAJOR_IN_MKDEV 1
23110 if test $ac_cv_header_sys_mkdev_h = no
; then
23111 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
23112 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
23113 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
23114 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23117 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
23118 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
23120 # Is the header compilable?
23121 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
23122 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
23123 cat >conftest.
$ac_ext <<_ACEOF
23126 cat confdefs.h
>>conftest.
$ac_ext
23127 cat >>conftest.
$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 $ac_includes_default
23130 #include <sys/sysmacros.h>
23132 rm -f conftest.
$ac_objext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23134 (eval $ac_compile) 2>conftest.er1
23136 grep -v '^ *+' conftest.er1
>conftest.err
23138 cat conftest.err
>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try
='test -z "$ac_c_werror_flag"
23142 || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try
='test -s conftest.$ac_objext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 ac_header_compiler
=yes
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.
$ac_ext >&5
23159 ac_header_compiler
=no
23161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23163 echo "${ECHO_T}$ac_header_compiler" >&6
23165 # Is the header present?
23166 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
23167 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
23168 cat >conftest.
$ac_ext <<_ACEOF
23171 cat confdefs.h
>>conftest.
$ac_ext
23172 cat >>conftest.
$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174 #include <sys/sysmacros.h>
23176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23179 grep -v '^ *+' conftest.er1
>conftest.err
23181 cat conftest.err
>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); } >/dev
/null
; then
23184 if test -s conftest.err
; then
23185 ac_cpp_err
=$ac_c_preproc_warn_flag
23186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23193 if test -z "$ac_cpp_err"; then
23194 ac_header_preproc
=yes
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.
$ac_ext >&5
23199 ac_header_preproc
=no
23201 rm -f conftest.err conftest.
$ac_ext
23202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23203 echo "${ECHO_T}$ac_header_preproc" >&6
23205 # So? What about this header?
23206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23208 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
23209 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23210 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
23211 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
23212 ac_header_preproc
=yes
23215 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
23216 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
23217 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
23218 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
23219 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
23220 echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
23221 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
23222 echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
23223 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
23224 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
23225 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
23226 echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
23229 ## ---------------------------- ##
23230 ## Report this to tango@esrf.fr ##
23231 ## ---------------------------- ##
23234 sed "s/^/$as_me: WARNING: /" >&2
23237 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
23238 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
23239 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 ac_cv_header_sys_sysmacros_h
=$ac_header_preproc
23244 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
23245 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
23248 if test $ac_cv_header_sys_sysmacros_h = yes; then
23250 cat >>confdefs.h
<<\_ACEOF
23251 #define MAJOR_IN_SYSMACROS 1
23260 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
23261 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
23262 if test "${ac_cv_type_signal+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 cat >conftest.
$ac_ext <<_ACEOF
23268 cat confdefs.h
>>conftest.
$ac_ext
23269 cat >>conftest.
$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h>
23272 #include <signal.h>
23277 extern "C" void (*signal (int, void (*)(int)))(int);
23279 void (*signal ()) ();
23290 rm -f conftest.
$ac_objext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23292 (eval $ac_compile) 2>conftest.er1
23294 grep -v '^ *+' conftest.er1
>conftest.err
23296 cat conftest.err
>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } &&
23299 { ac_try
='test -z "$ac_c_werror_flag"
23300 || test ! -s conftest.err'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try
='test -s conftest.$ac_objext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 ac_cv_type_signal
=void
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.
$ac_ext >&5
23317 ac_cv_type_signal
=int
23319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23321 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
23322 echo "${ECHO_T}$ac_cv_type_signal" >&6
23324 cat >>confdefs.h
<<_ACEOF
23325 #define RETSIGTYPE $ac_cv_type_signal
23333 for ac_func
in gethostname gettimeofday
exit tolower
23335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23336 echo "$as_me:$LINENO: checking for $ac_func" >&5
23337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23338 if eval "test \"\${$as_ac_var+set}\" = set"; then
23339 echo $ECHO_N "(cached) $ECHO_C" >&6
23341 cat >conftest.
$ac_ext <<_ACEOF
23344 cat confdefs.h
>>conftest.
$ac_ext
23345 cat >>conftest.
$ac_ext <<_ACEOF
23346 /* end confdefs.h. */
23347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23349 #define $ac_func innocuous_$ac_func
23351 /* System header to define __stub macros and hopefully few prototypes,
23352 which can conflict with char $ac_func (); below.
23353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23354 <limits.h> exists even on freestanding compilers. */
23357 # include <limits.h>
23359 # include <assert.h>
23364 /* Override any gcc2 internal prototype to avoid an error. */
23369 /* We use char because int might match the return type of a gcc2
23370 builtin and then its argument prototype would still apply. */
23372 /* The GNU C library defines this for functions which it implements
23373 to always fail with ENOSYS. Some functions are actually named
23374 something starting with __ and the normal name is an alias. */
23375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23378 char (*f) () = $ac_func;
23387 return f != $ac_func;
23392 rm -f conftest.
$ac_objext conftest
$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>conftest.er1
23396 grep -v '^ *+' conftest.er1
>conftest.err
23398 cat conftest.err
>&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } &&
23401 { ac_try
='test -z "$ac_c_werror_flag"
23402 || test ! -s conftest.err'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; } &&
23408 { ac_try
='test -s conftest$ac_exeext'
23409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23410 (eval $ac_try) 2>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); }; }; then
23414 eval "$as_ac_var=yes"
23416 echo "$as_me: failed program was:" >&5
23417 sed 's/^/| /' conftest.
$ac_ext >&5
23419 eval "$as_ac_var=no"
23421 rm -f conftest.err conftest.
$ac_objext \
23422 conftest
$ac_exeext conftest.
$ac_ext
23424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23426 if test `eval echo '${'$as_ac_var'}'` = yes; then
23427 cat >>confdefs.h
<<_ACEOF
23428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23434 echo "$as_me:$LINENO: checking whether the library defines class strstream" >&5
23435 echo $ECHO_N "checking whether the library defines class strstream... $ECHO_C" >&6
23436 if test "${ac_cv_cxx_have_class_strstream+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 ac_cpp
='$CXXCPP $CPPFLAGS'
23444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23448 cat >conftest.
$ac_ext <<_ACEOF
23451 cat confdefs.h
>>conftest.
$ac_ext
23452 cat >>conftest.
$ac_ext <<_ACEOF
23453 /* end confdefs.h. */
23456 # include <strstream>
23458 # include <strstream.h>
23460 #ifdef HAVE_NAMESPACES
23461 using namespace std;
23466 ostrstream message; message << "Hello"; return 0;
23471 rm -f conftest.
$ac_objext
23472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23473 (eval $ac_compile) 2>conftest.er1
23475 grep -v '^ *+' conftest.er1
>conftest.err
23477 cat conftest.err
>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); } &&
23480 { ac_try
='test -z "$ac_cxx_werror_flag"
23481 || test ! -s conftest.err'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; } &&
23487 { ac_try
='test -s conftest.$ac_objext'
23488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23489 (eval $ac_try) 2>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); }; }; then
23493 ac_cv_cxx_have_class_strstream
=yes
23495 echo "$as_me: failed program was:" >&5
23496 sed 's/^/| /' conftest.
$ac_ext >&5
23498 ac_cv_cxx_have_class_strstream
=no
23500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23502 ac_cpp
='$CPP $CPPFLAGS'
23503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23509 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_class_strstream" >&5
23510 echo "${ECHO_T}$ac_cv_cxx_have_class_strstream" >&6
23511 if test "$ac_cv_cxx_have_class_strstream" = yes; then
23513 cat >>confdefs.h
<<\_ACEOF
23514 #define HAVE_CLASS_STRSTREAM 1
23521 # Check whether --enable-dbserver or --disable-dbserver was given.
23522 if test "${enable_dbserver+set}" = set; then
23523 enableval
="$enable_dbserver"
23526 enable_dbserver
=yes
23528 enable_db_schema_create
=no
23530 if test "x$enable_dbserver" = "xyes"; then
23536 # Check whether --with-mysqlclient-prefix or --without-mysqlclient-prefix was given.
23537 if test "${with_mysqlclient_prefix+set}" = set; then
23538 withval
="$with_mysqlclient_prefix"
23539 mysqlclient_prefix
="$withval"
23541 mysqlclient_prefix
=""
23545 # Check whether --with-mysqlclient-include or --without-mysqlclient-include was given.
23546 if test "${with_mysqlclient_include+set}" = set; then
23547 withval
="$with_mysqlclient_include"
23548 mysqlclient_include
="$withval"
23550 mysqlclient_include
=""
23554 # Check whether --with-mysqlclient-lib or --without-mysqlclient-lib was given.
23555 if test "${with_mysqlclient_lib+set}" = set; then
23556 withval
="$with_mysqlclient_lib"
23557 mysqlclient_lib
="$withval"
23562 echo "$as_me:$LINENO: checking for mysqlclient " >&5
23563 echo $ECHO_N "checking for mysqlclient ... $ECHO_C" >&6
23564 MYSQLCLIENT_LDFLAGS
=""
23565 MYSQLCLIENT_CFLAGS
=""
23566 MYSQLCLIENT_LIBS
="-lmysqlclient_r"
23567 mysqlclient_fail
=""
23569 for tryprefix
in /usr
/usr
/local /usr
/mysql
/usr
/local
/mysql
/usr
/pkg
$mysqlclient_prefix ; do
23570 for hloc
in lib
/mysql lib
; do
23571 if test -f "$tryprefix/$hloc/libmysqlclient_r.so"; then
23572 MYSQLCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
23573 elif test -f "$tryprefix/$hloc/libmysqlclient_r.a"; then
23574 MYSQLCLIENT_LDFLAGS
="-L$tryprefix/$hloc"
23578 for iloc
in include
/mysql include
; do
23579 if test -f "$tryprefix/$iloc/mysql.h"; then
23580 MYSQLCLIENT_CFLAGS
="-I$tryprefix/$iloc"
23586 if test "x$mysqlclient_include" != "x" ; then
23587 echo "checking for mysql includes... "
23588 if test -d "$mysqlclient_include/mysql" ; then
23589 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include"
23590 echo " found $MYSQLCLIENT_CFLAGS"
23591 elif test -d "$mysqlclient_include/include/mysql" ; then
23592 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include/include"
23593 echo " found $MYSQLCLIENT_CFLAGS"
23594 elif test -d "$mysqlclient_include" ; then
23595 MYSQLCLIENT_CFLAGS
="-I$mysqlclient_include"
23596 echo "found $MYSQLCLIENT_CFLAGS"
23598 echo "not found! no include dir found in $mysqlclient_include"
23602 if test "x$mysqlclient_lib" != "x" ; then
23603 echo "checking for mysql libx... "
23604 if test -d "$mysqlclient_lib/lib/mysql" ; then
23605 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib/lib/mysql"
23606 echo "found $MYSQLCLIENT_LDFLAGS"
23607 elif test -d "$mysqlclient_lib/lin" ; then
23608 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib/lib"
23609 echo "found $MYSQLCLIENT_LDFLAGS"
23611 MYSQLCLIENT_LDFLAGS
="-L$mysqlclient_lib"
23612 echo "defaultd to $MYSQLCLIENT_LDFLAGS"
23616 ac_save_CFLAGS
="$CFLAGS"
23617 ac_save_LDFLAGS
="$LDFLAGS"
23618 ac_save_LIBS
="$LIBS"
23619 CFLAGS
="-v $CFLAGS $MYSQLCLIENT_CFLAGS"
23620 LDFLAGS
="$LDFLAGS $MYSQLCLIENT_LDFLAGS"
23621 LIBS
="$LIBS $MYSQLCLIENT_LIBS"
23622 cat >conftest.
$ac_ext <<_ACEOF
23625 cat confdefs.h
>>conftest.
$ac_ext
23626 cat >>conftest.
$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23630 #include <mysql_version.h>
23636 mysql_connect( 0, 0, 0, 0);
23642 rm -f conftest.
$ac_objext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23644 (eval $ac_compile) 2>conftest.er1
23646 grep -v '^ *+' conftest.er1
>conftest.err
23648 cat conftest.err
>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try
='test -z "$ac_c_werror_flag"
23652 || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try
='test -s conftest.$ac_objext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 echo "$as_me:$LINENO: result: yes $MYSQLCLIENT_CFLAGS $MYSQLCLIENT_LDFLAGS" >&5
23665 echo "${ECHO_T}yes $MYSQLCLIENT_CFLAGS $MYSQLCLIENT_LDFLAGS" >&6
23666 CFLAGS
="$ac_save_CFLAGS"
23667 LDFLAGS
="$ac_save_LDFLAGS"
23668 LIBS
="$ac_save_LIBS"
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.
$ac_ext >&5
23677 echo "can't compile a simple app with mysql_connnect in it. bad."
23678 mysqlclient_fail
="yes"
23681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23683 if test "x$mysqlclient_fail" != "x" ; then
23686 echo "*** mysqlclient test source had problems, check your config.log ."
23687 echo "*** Also try one of the following switches :"
23688 echo "*** --with-mysqlclient-prefix=PFX"
23689 echo "*** --with-mysqlclient-include=DIR"
23690 echo "*** --with-mysqlclient-lib=DIR"
23692 CFLAGS
="$ac_save_CFLAGS"
23693 LDFLAGS
="$ac_save_LDFLAGS"
23694 LIBS
="$ac_save_LIBS"
23698 CFLAGS
="$ac_save_CFLAGS"
23699 LDFLAGS
="$ac_save_LDFLAGS"
23700 LIBS
="$ac_save_LIBS"
23705 if test "x$MYSQLCLIENT_CFLAGS" = "x"
23707 { echo "$as_me:$LINENO: WARNING: No libmysqlclient libs found" >&5
23708 echo "$as_me: WARNING: No libmysqlclient libs found" >&2;}
23712 # Extract the first word of "mysql", so it can be a program name with args.
23713 set dummy mysql
; ac_word
=$2
23714 echo "$as_me:$LINENO: checking for $ac_word" >&5
23715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23716 if test "${ac_cv_path_MYSQL+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23721 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
23724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23725 for as_dir
in $PATH
23728 test -z "$as_dir" && as_dir
=.
23729 for ac_exec_ext
in '' $ac_executable_extensions; do
23730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23731 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
23732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23738 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
23742 MYSQL
=$ac_cv_path_MYSQL
23744 if test -n "$MYSQL"; then
23745 echo "$as_me:$LINENO: result: $MYSQL" >&5
23746 echo "${ECHO_T}$MYSQL" >&6
23748 echo "$as_me:$LINENO: result: no" >&5
23749 echo "${ECHO_T}no" >&6
23752 MYSQL_VERSION
=not_found
23754 if test "$MYSQL" != nocommand
; then
23755 echo "$as_me:$LINENO: checking for mysql release (at least version 5.0)" >&5
23756 echo $ECHO_N "checking for mysql release (at least version 5.0)... $ECHO_C" >&6
23757 if test "${ac_cv_mysql_version_5_0+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 if test -x $MYSQL; then
23762 VERS
=`$MYSQL --version 2>&1 | cut -d ' ' -f 6 | cut -d ',' -f 1`
23763 MYSQL_VERSION
=$VERS
23765 MYSQL_MAJOR
=`echo $VERS | cut -d '.' -f 1`
23766 MYSQL_MINOR
=`echo $VERS | cut -d '.' -f 2`
23767 MYSQL_MICRO
=`echo $VERS | cut -d '.' -f 3`
23770 if test $MYSQL_MAJOR -lt 5; then
23771 ac_cv_mysql_version_5_0
=no
23773 if test $MYSQL_MINOR -lt 0; then
23774 ac_cv_mysql_version_5_0
=no
23776 ac_cv_mysql_version_5_0
=yes
23780 ac_cv_mysql_version_5_0
=no
23784 echo "$as_me:$LINENO: result: $ac_cv_mysql_version_5_0" >&5
23785 echo "${ECHO_T}$ac_cv_mysql_version_5_0" >&6
23787 if test "x$ac_cv_mysql_version_5_0" = "xno"; then
23788 { echo "$as_me:$LINENO: WARNING: Not supported mysql release. Should be 5.0.x or above. Please update !" >&5
23789 echo "$as_me: WARNING: Not supported mysql release. Should be 5.0.x or above. Please update !" >&2;}
23790 enable_db_schema_create
=no
23792 enable_db_schema_create
=yes
23795 enable_db_schema_create
=no
23800 if test "x$enable_db_schema_create" = "xyes"; then
23803 # Check whether --enable-dbcreate or --disable-dbcreate was given.
23804 if test "${enable_dbcreate+set}" = set; then
23805 enableval
="$enable_dbcreate"
23808 enable_dbcreate
=yes
23810 enable_db_schema_create
=$enable_dbcreate
23812 if test "x$enable_db_schema_create" = "xyes"; then
23818 # Extract the first word of "mysql$EXEEXT", so it can be a program name with args.
23819 set dummy mysql
$EXEEXT; ac_word
=$2
23820 echo "$as_me:$LINENO: checking for $ac_word" >&5
23821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23822 if test "${ac_cv_path_MYSQL+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 ac_cv_path_MYSQL
="$MYSQL" # Let the user override the test with a path.
23830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23831 for as_dir
in $PATH
23834 test -z "$as_dir" && as_dir
=.
23835 for ac_exec_ext
in '' $ac_executable_extensions; do
23836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23837 ac_cv_path_MYSQL
="$as_dir/$ac_word$ac_exec_ext"
23838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23844 test -z "$ac_cv_path_MYSQL" && ac_cv_path_MYSQL
="nocommand"
23848 MYSQL
=$ac_cv_path_MYSQL
23850 if test -n "$MYSQL"; then
23851 echo "$as_me:$LINENO: result: $MYSQL" >&5
23852 echo "${ECHO_T}$MYSQL" >&6
23854 echo "$as_me:$LINENO: result: no" >&5
23855 echo "${ECHO_T}no" >&6
23858 if test "$MYSQL" = nocommand
; then
23859 { echo "$as_me:$LINENO: WARNING: mysql not found in $PATH" >&5
23860 echo "$as_me: WARNING: mysql not found in $PATH" >&2;}
23861 enable_db_schema_create
=no
23865 # Check whether --with-mysql-ho or --without-mysql-ho was given.
23866 if test "${with_mysql_ho+set}" = set; then
23867 withval
="$with_mysql_ho"
23868 MYSQL_HOST
=${with_mysql_ho}
23874 # Check whether --with-mysql-admin or --without-mysql-admin was given.
23875 if test "${with_mysql_admin+set}" = set; then
23876 withval
="$with_mysql_admin"
23877 MYSQL_ADMIN
=${with_mysql_admin}
23883 # Check whether --with-mysql-admin-passwd or --without-mysql-admin-passwd was given.
23884 if test "${with_mysql_admin_passwd+set}" = set; then
23885 withval
="$with_mysql_admin_passwd"
23886 MYSQL_ADMIN_PASSWD
=${with_mysql_admin_passwd}
23888 MYSQL_ADMIN_PASSWD
=""
23891 if test "x$MYSQL_ADMIN" = "x"; then
23894 user_switch
="-u$MYSQL_ADMIN";
23897 if test "x$MYSQL_ADMIN_PASSWD" = "x"; then
23900 passwd_switch
="-p$MYSQL_ADMIN_PASSWD";
23903 if test "x$MYSQL_HOST" = "x"; then
23906 host_switch
="-h$MYSQL_HOST";
23909 echo "$as_me:$LINENO: checking if mysql works" >&5
23910 echo $ECHO_N "checking if mysql works... $ECHO_C" >&6
23912 if echo 'SELECT * FROM user' |
$MYSQL $user_switch $passwd_switch $host_switch mysql
> /dev
/null
; then
23913 echo "$as_me:$LINENO: result: yes" >&5
23914 echo "${ECHO_T}yes" >&6
23920 MYSQL_CONNECTION
=OK
23924 { echo "$as_me:$LINENO: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&5
23925 echo "$as_me: WARNING: mysql cannot execute SELECT with user=$MYSQL_ADMIN, passwd=$MYSQL_ADMIN_PASSWD, and host=$MYSQL_HOST. Please check your my.cnf file or configure options!" >&2;}
23926 MYSQL_CONNECTION
=failed
23927 enable_db_schema_create
=no
23929 cat >>confdefs.h
<<_ACEOF
23930 #define MYSQL_HOST "$MYSQL_HOST"
23937 # Check whether --with-tango-db-name or --without-tango-db-name was given.
23938 if test "${with_tango_db_name+set}" = set; then
23939 withval
="$with_tango_db_name"
23940 TANGO_DB_NAME
=${with_tango_db_name}
23942 TANGO_DB_NAME
=tango
23946 cat >>confdefs.h
<<_ACEOF
23947 #define TANGO_DB_NAME "$TANGO_DB_NAME"
23965 if test x
"$enable_dbserver" = x
"yes"; then
23966 TANGO_DB_SERVER_ENABLED_TRUE
=
23967 TANGO_DB_SERVER_ENABLED_FALSE
='#'
23969 TANGO_DB_SERVER_ENABLED_TRUE
='#'
23970 TANGO_DB_SERVER_ENABLED_FALSE
=
23975 if test x
"$enable_db_schema_create" = x
"yes"; then
23976 TANGO_DB_CREATE_ENABLED_TRUE
=
23977 TANGO_DB_CREATE_ENABLED_FALSE
='#'
23979 TANGO_DB_CREATE_ENABLED_TRUE
='#'
23980 TANGO_DB_CREATE_ENABLED_FALSE
=
23989 DATADIR
=`eval echo $datadir`
23990 DATADIR
=`eval echo $DATADIR`
23996 ac_config_commands
="$ac_config_commands ac_config.h"
24001 subdirs
="$subdirs lib/cpp/log4tango"
24004 ac_config_files
="$ac_config_files Makefile lib/Makefile lib/idl/Makefile lib/cpp/Makefile lib/cpp/server/Makefile lib/cpp/server/idl/Makefile lib/cpp/client/Makefile lib/cpp/client/helpers/Makefile cppserver/Makefile cppserver/database/Makefile cppserver/database/create_db.sql cppserver/database/create_db.sh cppserver/database/my.cnf cppserver/database/stored_proc.sql cppserver/database/create_db_tables.sql cppserver/database/update_db.sql cppserver/starter/Makefile cppserver/tangotest/Makefile utils/Makefile utils/notifd2db/Makefile scripts/Makefile scripts/jive scripts/logviewer scripts/TangoVers scripts/astor scripts/atkpanel scripts/atktuning scripts/pogo scripts/cvstag scripts/tg_devtest scripts/tango scripts/devicetree scripts/jdraw scripts/synopticappli scripts/atkmoni doc/Makefile templates/Makefile templates/pogo/cpp/Makefile"
24005 cat >confcache
<<\_ACEOF
24006 # This file is a shell script that caches the results of configure
24007 # tests run on this system so they can be shared between configure
24008 # scripts and configure runs, see configure's option --config-cache.
24009 # It is not useful on other systems. If it contains results you don't
24010 # want to keep, you may remove or edit it.
24012 # config.status only pays attention to the cache file if you give it
24013 # the --recheck option to rerun configure.
24015 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24017 # following values.
24021 # The following way of writing the cache mishandles newlines in values,
24022 # but we know of no workaround that is simple, portable, and efficient.
24023 # So, don't put newlines in cache variables' values.
24024 # Ultrix sh set writes to stderr and can't be redirected directly,
24025 # and sets the high bit in the cache file unless we assign to the vars.
24028 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24030 # `set' does not quote correctly, so add quotes (double-quote
24031 # substitution turns \\\\ into \\, and sed turns \\ into \).
24034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24037 # `set' quotes correctly as required by POSIX, so do not add quotes.
24039 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24048 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24050 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24051 if test -w $cache_file; then
24052 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24053 cat confcache
>$cache_file
24055 echo "not updating unwritable cache $cache_file"
24060 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24061 # Let make expand exec_prefix.
24062 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24064 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24065 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24066 # trailing colons and then remove the whole line if VPATH becomes empty
24067 # (actually we leave an empty line to preserve line numbers).
24068 if test "x$srcdir" = x.
; then
24069 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24070 s/:*\$(srcdir):*/:/;
24071 s/:*\${srcdir}:*/:/;
24073 s/^\([^=]*=[ ]*\):*/\1/;
24079 DEFS
=-DHAVE_CONFIG_H
24083 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24084 # 1. Remove the extension, and $U if already installed.
24085 ac_i
=`echo "$ac_i" |
24086 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24088 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
24089 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
24091 LIBOBJS
=$ac_libobjs
24093 LTLIBOBJS
=$ac_ltlibobjs
24096 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24097 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24098 Usually this means the macro was only invoked conditionally." >&5
24099 echo "$as_me: error: conditional \"AMDEP\" was never defined.
24100 Usually this means the macro was only invoked conditionally." >&2;}
24101 { (exit 1); exit 1; }; }
24103 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24104 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24105 Usually this means the macro was only invoked conditionally." >&5
24106 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24107 Usually this means the macro was only invoked conditionally." >&2;}
24108 { (exit 1); exit 1; }; }
24110 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24111 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24112 Usually this means the macro was only invoked conditionally." >&5
24113 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24114 Usually this means the macro was only invoked conditionally." >&2;}
24115 { (exit 1); exit 1; }; }
24117 if test -z "${TANGO_JAVA_ENABLED_TRUE}" && test -z "${TANGO_JAVA_ENABLED_FALSE}"; then
24118 { { echo "$as_me:$LINENO: error: conditional \"TANGO_JAVA_ENABLED\" was never defined.
24119 Usually this means the macro was only invoked conditionally." >&5
24120 echo "$as_me: error: conditional \"TANGO_JAVA_ENABLED\" was never defined.
24121 Usually this means the macro was only invoked conditionally." >&2;}
24122 { (exit 1); exit 1; }; }
24124 if test -z "${DARWIN_ENABLED_TRUE}" && test -z "${DARWIN_ENABLED_FALSE}"; then
24125 { { echo "$as_me:$LINENO: error: conditional \"DARWIN_ENABLED\" was never defined.
24126 Usually this means the macro was only invoked conditionally." >&5
24127 echo "$as_me: error: conditional \"DARWIN_ENABLED\" was never defined.
24128 Usually this means the macro was only invoked conditionally." >&2;}
24129 { (exit 1); exit 1; }; }
24131 if test -z "${TANGO_DB_SERVER_ENABLED_TRUE}" && test -z "${TANGO_DB_SERVER_ENABLED_FALSE}"; then
24132 { { echo "$as_me:$LINENO: error: conditional \"TANGO_DB_SERVER_ENABLED\" was never defined.
24133 Usually this means the macro was only invoked conditionally." >&5
24134 echo "$as_me: error: conditional \"TANGO_DB_SERVER_ENABLED\" was never defined.
24135 Usually this means the macro was only invoked conditionally." >&2;}
24136 { (exit 1); exit 1; }; }
24138 if test -z "${TANGO_DB_CREATE_ENABLED_TRUE}" && test -z "${TANGO_DB_CREATE_ENABLED_FALSE}"; then
24139 { { echo "$as_me:$LINENO: error: conditional \"TANGO_DB_CREATE_ENABLED\" was never defined.
24140 Usually this means the macro was only invoked conditionally." >&5
24141 echo "$as_me: error: conditional \"TANGO_DB_CREATE_ENABLED\" was never defined.
24142 Usually this means the macro was only invoked conditionally." >&2;}
24143 { (exit 1); exit 1; }; }
24146 : ${CONFIG_STATUS=./config.status}
24147 ac_clean_files_save
=$ac_clean_files
24148 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24151 cat >$CONFIG_STATUS <<_ACEOF
24153 # Generated by $as_me.
24154 # Run this file to recreate the current configuration.
24155 # Compiler output produced by configure, useful for debugging
24156 # configure, is in config.log if it exists.
24159 ac_cs_recheck=false
24161 SHELL=\${CONFIG_SHELL-$SHELL}
24164 cat >>$CONFIG_STATUS <<\_ACEOF
24165 ## --------------------- ##
24166 ## M4sh Initialization. ##
24167 ## --------------------- ##
24169 # Be Bourne compatible
24170 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24173 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24174 # is contrary to our usage. Disable this feature.
24175 alias -g '${1+"$@"}'='"$@"'
24176 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24179 DUALCASE
=1; export DUALCASE
# for MKS sh
24181 # Support unset when possible.
24182 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24189 # Work around bugs in pre-3.0 UWIN ksh.
24190 $as_unset ENV MAIL MAILPATH
24197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24199 LC_TELEPHONE LC_TIME
24201 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24202 eval $as_var=C
; export $as_var
24208 # Required to use basename.
24209 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24215 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
24216 as_basename
=basename
24222 # Name of the executable.
24223 as_me
=`$as_basename "$0" ||
24224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24225 X"$0" : 'X\(//\)$' \| \
24226 X"$0" : 'X\(/\)$' \| \
24227 . : '\(.\)' 2>/dev/null ||
24229 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24230 /^X\/\(\/\/\)$/{ s//\1/; q; }
24231 /^X\/\(\/\).*/{ s//\1/; q; }
24235 # PATH needs CR, and LINENO needs CR and PATH.
24236 # Avoid depending upon Character Ranges.
24237 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24238 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24239 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24240 as_cr_digits
='0123456789'
24241 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24243 # The user is always right.
24244 if test "${PATH_SEPARATOR+set}" != set; then
24245 echo "#! /bin/sh" >conf$$.sh
24246 echo "exit 0" >>conf$$.sh
24248 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24257 as_lineno_1
=$LINENO
24258 as_lineno_2
=$LINENO
24259 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
24260 test "x$as_lineno_1" != "x$as_lineno_2" &&
24261 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
24262 # Find who we are. Look in the path if we contain no path at all
24265 *[\\/]* ) as_myself
=$0 ;;
24266 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24267 for as_dir
in $PATH
24270 test -z "$as_dir" && as_dir
=.
24271 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24276 # We did not find ourselves, most probably we were run as `sh COMMAND'
24277 # in which case we are not to be found in the path.
24278 if test "x$as_myself" = x
; then
24281 if test ! -f "$as_myself"; then
24282 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24283 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24284 { (exit 1); exit 1; }; }
24286 case $CONFIG_SHELL in
24288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24289 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
24292 test -z "$as_dir" && as_dir
=.
24293 for as_base
in sh bash ksh sh5
; do
24296 if ("$as_dir/$as_base" -c '
24297 as_lineno_1=$LINENO
24298 as_lineno_2=$LINENO
24299 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24300 test "x$as_lineno_1" != "x$as_lineno_2" &&
24301 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
24302 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
24303 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
24304 CONFIG_SHELL
=$as_dir/$as_base
24305 export CONFIG_SHELL
24306 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24314 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24315 # uniformly replaced by the line number. The first 'sed' inserts a
24316 # line-number line before each line; the second 'sed' does the real
24317 # work. The second script uses 'N' to pair each line-number line
24318 # with the numbered line, and appends trailing '-' during
24319 # substitution so that $LINENO is not a special case at line end.
24320 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24321 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24322 sed '=' <$as_myself |
24327 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24330 s,^['$as_cr_digits']*\n,,
24331 ' >$as_me.lineno
&&
24332 chmod +x
$as_me.lineno ||
24333 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24334 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24335 { (exit 1); exit 1; }; }
24337 # Don't try to exec as it changes $[0], causing all sort of problems
24338 # (the dirname of $[0] is not the place where we might find the
24339 # original and so on. Autoconf is especially sensible to this).
24341 # Exit status is that of the last command.
24346 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24347 *c
*,-n*) ECHO_N
= ECHO_C
='
24349 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
24350 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
24353 if expr a
: '\(a\)' >/dev
/null
2>&1; then
24359 rm -f conf$$ conf$$.exe conf$$.
file
24361 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24362 # We could just check for DJGPP; but this test a) works b) is more generic
24363 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24364 if test -f conf$$.exe
; then
24365 # Don't use ln at all; we don't have any links
24370 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24375 rm -f conf$$ conf$$.exe conf$$.
file
24377 if mkdir
-p .
2>/dev
/null
; then
24380 test -d .
/-p && rmdir .
/-p
24384 as_executable_p
="test -f"
24386 # Sed expression to map a string onto a valid CPP name.
24387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24389 # Sed expression to map a string onto a valid variable name.
24390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24394 # We need space, tab and new line, in precisely that order.
24404 # Open the log real soon, to keep \$[0] and so on meaningful, and to
24405 # report actual input values of CONFIG_FILES etc. instead of their
24406 # values after options handling. Logging --version etc. is OK.
24410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24411 ## Running $as_me. ##
24416 This file was extended by Tango $as_me 6.1.1, which was
24417 generated by GNU Autoconf 2.59. Invocation command line was
24419 CONFIG_FILES = $CONFIG_FILES
24420 CONFIG_HEADERS = $CONFIG_HEADERS
24421 CONFIG_LINKS = $CONFIG_LINKS
24422 CONFIG_COMMANDS = $CONFIG_COMMANDS
24426 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24430 # Files that config.status was made for.
24431 if test -n "$ac_config_files"; then
24432 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24435 if test -n "$ac_config_headers"; then
24436 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24439 if test -n "$ac_config_links"; then
24440 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24443 if test -n "$ac_config_commands"; then
24444 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24447 cat >>$CONFIG_STATUS <<\_ACEOF
24450 \`$as_me' instantiates files from templates according to the
24451 current configuration.
24453 Usage: $0 [OPTIONS] [FILE]...
24455 -h, --help print this help, then exit
24456 -V, --version print version number, then exit
24457 -q, --quiet do not print progress messages
24458 -d, --debug don't remove temporary files
24459 --recheck update $as_me by reconfiguring in the same conditions
24460 --file=FILE[:TEMPLATE]
24461 instantiate the configuration file FILE
24462 --header=FILE[:TEMPLATE]
24463 instantiate the configuration header FILE
24465 Configuration files:
24468 Configuration headers:
24471 Configuration commands:
24474 Report bugs to <bug-autoconf@gnu.org>."
24477 cat >>$CONFIG_STATUS <<_ACEOF
24479 Tango config.status 6.1.1
24480 configured by $0, generated by GNU Autoconf 2.59,
24481 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24483 Copyright (C) 2003 Free Software Foundation, Inc.
24484 This config.status script is free software; the Free Software Foundation
24485 gives unlimited permission to copy, distribute and modify it."
24490 cat >>$CONFIG_STATUS <<\_ACEOF
24491 # If no file are specified by the user, then we need to provide default
24492 # value. By we need to know if files were specified by the user.
24498 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
24499 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
24507 *) # This is not an option, so the user has probably given explicit
24510 ac_need_defaults
=false
;;
24514 # Handling of the options.
24516 cat >>$CONFIG_STATUS <<\_ACEOF
24517 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24519 --version |
--vers* |
-V )
24520 echo "$ac_cs_version"; exit 0 ;;
24522 # Conflict between --help and --header
24523 { { echo "$as_me:$LINENO: error: ambiguous option: $1
24524 Try \`$0 --help' for more information." >&5
24525 echo "$as_me: error: ambiguous option: $1
24526 Try \`$0 --help' for more information." >&2;}
24527 { (exit 1); exit 1; }; };;
24528 --help |
--hel |
-h )
24529 echo "$ac_cs_usage"; exit 0 ;;
24530 --debug |
--d* |
-d )
24532 --file |
--fil |
--fi |
--f )
24534 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24535 ac_need_defaults
=false
;;
24536 --header |
--heade |
--head |
--hea )
24538 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24539 ac_need_defaults
=false
;;
24540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24541 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24544 # This is an error.
24545 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
24546 Try \`$0 --help' for more information." >&5
24547 echo "$as_me: error: unrecognized option: $1
24548 Try \`$0 --help' for more information." >&2;}
24549 { (exit 1); exit 1; }; } ;;
24551 *) ac_config_targets
="$ac_config_targets $1" ;;
24557 ac_configure_extra_args
=
24559 if $ac_cs_silent; then
24561 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24565 cat >>$CONFIG_STATUS <<_ACEOF
24566 if \$ac_cs_recheck; then
24567 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24568 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24573 cat >>$CONFIG_STATUS <<_ACEOF
24575 # INIT-COMMANDS section.
24578 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24584 cat >>$CONFIG_STATUS <<\_ACEOF
24585 for ac_config_target
in $ac_config_targets
24587 case "$ac_config_target" in
24588 # Handling of arguments.
24589 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24590 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
24591 "lib/idl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/idl/Makefile" ;;
24592 "lib/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/cpp/Makefile" ;;
24593 "lib/cpp/server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/Makefile" ;;
24594 "lib/cpp/server/idl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/cpp/server/idl/Makefile" ;;
24595 "lib/cpp/client/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/cpp/client/Makefile" ;;
24596 "lib/cpp/client/helpers/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/cpp/client/helpers/Makefile" ;;
24597 "cppserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES cppserver/Makefile" ;;
24598 "cppserver/database/Makefile" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/Makefile" ;;
24599 "cppserver/database/create_db.sql" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db.sql" ;;
24600 "cppserver/database/create_db.sh" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db.sh" ;;
24601 "cppserver/database/my.cnf" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/my.cnf" ;;
24602 "cppserver/database/stored_proc.sql" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/stored_proc.sql" ;;
24603 "cppserver/database/create_db_tables.sql" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/create_db_tables.sql" ;;
24604 "cppserver/database/update_db.sql" ) CONFIG_FILES
="$CONFIG_FILES cppserver/database/update_db.sql" ;;
24605 "cppserver/starter/Makefile" ) CONFIG_FILES
="$CONFIG_FILES cppserver/starter/Makefile" ;;
24606 "cppserver/tangotest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES cppserver/tangotest/Makefile" ;;
24607 "utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
24608 "utils/notifd2db/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/notifd2db/Makefile" ;;
24609 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
24610 "scripts/jive" ) CONFIG_FILES
="$CONFIG_FILES scripts/jive" ;;
24611 "scripts/logviewer" ) CONFIG_FILES
="$CONFIG_FILES scripts/logviewer" ;;
24612 "scripts/TangoVers" ) CONFIG_FILES
="$CONFIG_FILES scripts/TangoVers" ;;
24613 "scripts/astor" ) CONFIG_FILES
="$CONFIG_FILES scripts/astor" ;;
24614 "scripts/atkpanel" ) CONFIG_FILES
="$CONFIG_FILES scripts/atkpanel" ;;
24615 "scripts/atktuning" ) CONFIG_FILES
="$CONFIG_FILES scripts/atktuning" ;;
24616 "scripts/pogo" ) CONFIG_FILES
="$CONFIG_FILES scripts/pogo" ;;
24617 "scripts/cvstag" ) CONFIG_FILES
="$CONFIG_FILES scripts/cvstag" ;;
24618 "scripts/tg_devtest" ) CONFIG_FILES
="$CONFIG_FILES scripts/tg_devtest" ;;
24619 "scripts/tango" ) CONFIG_FILES
="$CONFIG_FILES scripts/tango" ;;
24620 "scripts/devicetree" ) CONFIG_FILES
="$CONFIG_FILES scripts/devicetree" ;;
24621 "scripts/jdraw" ) CONFIG_FILES
="$CONFIG_FILES scripts/jdraw" ;;
24622 "scripts/synopticappli" ) CONFIG_FILES
="$CONFIG_FILES scripts/synopticappli" ;;
24623 "scripts/atkmoni" ) CONFIG_FILES
="$CONFIG_FILES scripts/atkmoni" ;;
24624 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
24625 "templates/Makefile" ) CONFIG_FILES
="$CONFIG_FILES templates/Makefile" ;;
24626 "templates/pogo/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES templates/pogo/cpp/Makefile" ;;
24627 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
24628 "ac_config.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS ac_config.h" ;;
24629 "ac_config.h.tmp" ) CONFIG_HEADERS
="$CONFIG_HEADERS ac_config.h.tmp" ;;
24630 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24631 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24632 { (exit 1); exit 1; }; };;
24636 # If the user did not use the arguments to specify the items to instantiate,
24637 # then the envvar interface is used. Set only those that are not.
24638 # We use the long form for the default assignment because of an extremely
24639 # bizarre bug on SunOS 4.1.3.
24640 if $ac_need_defaults; then
24641 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24642 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24643 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24646 # Have a temporary directory for convenience. Make it in the build tree
24647 # simply because there is no reason to put it here, and in addition,
24648 # creating and moving files from /tmp can sometimes cause problems.
24649 # Create a temporary directory, and hook for its removal unless debugging.
24652 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24653 trap '{ (exit 1); exit 1; }' 1 2 13 15
24656 # Create a (secure) tmp directory for tmp files.
24659 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24660 test -n "$tmp" && test -d "$tmp"
24663 tmp
=.
/confstat$$
-$RANDOM
24664 (umask 077 && mkdir
$tmp)
24667 echo "$me: cannot create a temporary directory in ." >&2
24668 { (exit 1); exit 1; }
24673 cat >>$CONFIG_STATUS <<_ACEOF
24676 # CONFIG_FILES section.
24679 # No need to generate the scripts if there are no CONFIG_FILES.
24680 # This happens for instance when ./config.status config.h
24681 if test -n "\$CONFIG_FILES"; then
24682 # Protect against being on the right side of a sed subst in config.status.
24683 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24684 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24685 s,@SHELL@,$SHELL,;t t
24686 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24687 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24688 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24689 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24690 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24691 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24692 s,@exec_prefix@,$exec_prefix,;t t
24693 s,@prefix@,$prefix,;t t
24694 s,@program_transform_name@,$program_transform_name,;t t
24695 s,@bindir@,$bindir,;t t
24696 s,@sbindir@,$sbindir,;t t
24697 s,@libexecdir@,$libexecdir,;t t
24698 s,@datadir@,$datadir,;t t
24699 s,@sysconfdir@,$sysconfdir,;t t
24700 s,@sharedstatedir@,$sharedstatedir,;t t
24701 s,@localstatedir@,$localstatedir,;t t
24702 s,@libdir@,$libdir,;t t
24703 s,@includedir@,$includedir,;t t
24704 s,@oldincludedir@,$oldincludedir,;t t
24705 s,@infodir@,$infodir,;t t
24706 s,@mandir@,$mandir,;t t
24707 s,@build_alias@,$build_alias,;t t
24708 s,@host_alias@,$host_alias,;t t
24709 s,@target_alias@,$target_alias,;t t
24710 s,@DEFS@,$DEFS,;t t
24711 s,@ECHO_C@,$ECHO_C,;t t
24712 s,@ECHO_N@,$ECHO_N,;t t
24713 s,@ECHO_T@,$ECHO_T,;t t
24714 s,@LIBS@,$LIBS,;t t
24715 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24716 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24717 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24718 s,@CYGPATH_W@,$CYGPATH_W,;t t
24719 s,@PACKAGE@,$PACKAGE,;t t
24720 s,@VERSION@,$VERSION,;t t
24721 s,@ACLOCAL@,$ACLOCAL,;t t
24722 s,@AUTOCONF@,$AUTOCONF,;t t
24723 s,@AUTOMAKE@,$AUTOMAKE,;t t
24724 s,@AUTOHEADER@,$AUTOHEADER,;t t
24725 s,@MAKEINFO@,$MAKEINFO,;t t
24726 s,@install_sh@,$install_sh,;t t
24727 s,@STRIP@,$STRIP,;t t
24728 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24729 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
24730 s,@mkdir_p@,$mkdir_p,;t t
24732 s,@SET_MAKE@,$SET_MAKE,;t t
24733 s,@am__leading_dot@,$am__leading_dot,;t t
24734 s,@AMTAR@,$AMTAR,;t t
24735 s,@am__tar@,$am__tar,;t t
24736 s,@am__untar@,$am__untar,;t t
24738 s,@CXXFLAGS@,$CXXFLAGS,;t t
24739 s,@LDFLAGS@,$LDFLAGS,;t t
24740 s,@CPPFLAGS@,$CPPFLAGS,;t t
24741 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24742 s,@EXEEXT@,$EXEEXT,;t t
24743 s,@OBJEXT@,$OBJEXT,;t t
24744 s,@DEPDIR@,$DEPDIR,;t t
24745 s,@am__include@,$am__include,;t t
24746 s,@am__quote@,$am__quote,;t t
24747 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
24748 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
24749 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
24750 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
24751 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
24752 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
24753 s,@CXXCPP@,$CXXCPP,;t t
24755 s,@CFLAGS@,$CFLAGS,;t t
24756 s,@ac_ct_CC@,$ac_ct_CC,;t t
24757 s,@CCDEPMODE@,$CCDEPMODE,;t t
24758 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
24759 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
24761 s,@LN_S@,$LN_S,;t t
24762 s,@EGREP@,$EGREP,;t t
24763 s,@JAVA@,$JAVA,;t t
24764 s,@TANGO_JAVA_ENABLED_TRUE@,$TANGO_JAVA_ENABLED_TRUE,;t t
24765 s,@TANGO_JAVA_ENABLED_FALSE@,$TANGO_JAVA_ENABLED_FALSE,;t t
24766 s,@DOXYGEN@,$DOXYGEN,;t t
24767 s,@build@,$build,;t t
24768 s,@build_cpu@,$build_cpu,;t t
24769 s,@build_vendor@,$build_vendor,;t t
24770 s,@build_os@,$build_os,;t t
24771 s,@host@,$host,;t t
24772 s,@host_cpu@,$host_cpu,;t t
24773 s,@host_vendor@,$host_vendor,;t t
24774 s,@host_os@,$host_os,;t t
24776 s,@ECHO@,$ECHO,;t t
24778 s,@ac_ct_AR@,$ac_ct_AR,;t t
24779 s,@RANLIB@,$RANLIB,;t t
24780 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24782 s,@FFLAGS@,$FFLAGS,;t t
24783 s,@ac_ct_F77@,$ac_ct_F77,;t t
24784 s,@LIBTOOL@,$LIBTOOL,;t t
24785 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
24786 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
24787 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
24788 s,@IDLCXXFLAGS@,$IDLCXXFLAGS,;t t
24789 s,@CORBA_INCLUDES@,$CORBA_INCLUDES,;t t
24790 s,@ORB_PREFIX@,$ORB_PREFIX,;t t
24793 s,@IDLCXX@,$IDLCXX,;t t
24794 s,@IDLFLAGS@,$IDLFLAGS,;t t
24795 s,@ORB_INCLUDE_PREFIX@,$ORB_INCLUDE_PREFIX,;t t
24796 s,@IDL_H_SUFFIX@,$IDL_H_SUFFIX,;t t
24797 s,@IDL_H1_SUFFIX@,$IDL_H1_SUFFIX,;t t
24798 s,@IDL_CLN_H@,$IDL_CLN_H,;t t
24799 s,@IDL_CLN_H_SUFFIX@,$IDL_CLN_H_SUFFIX,;t t
24800 s,@IDL_CLN_H1_SUFFIX@,$IDL_CLN_H1_SUFFIX,;t t
24801 s,@IDL_CLN_CPP@,$IDL_CLN_CPP,;t t
24802 s,@IDL_CLN_CPP_SUFFIX@,$IDL_CLN_CPP_SUFFIX,;t t
24803 s,@IDL_CLN_O@,$IDL_CLN_O,;t t
24804 s,@IDL_CLN_OBJ_SUFFIX@,$IDL_CLN_OBJ_SUFFIX,;t t
24805 s,@IDL_SRV_H@,$IDL_SRV_H,;t t
24806 s,@IDL_SRV_H_SUFFIX@,$IDL_SRV_H_SUFFIX,;t t
24807 s,@IDL_SRV_H1_SUFFIX@,$IDL_SRV_H1_SUFFIX,;t t
24808 s,@IDL_SRV_CPP@,$IDL_SRV_CPP,;t t
24809 s,@IDL_SRV_CPP_SUFFIX@,$IDL_SRV_CPP_SUFFIX,;t t
24810 s,@IDL_SRV_O@,$IDL_SRV_O,;t t
24811 s,@IDL_SRV_OBJ_SUFFIX@,$IDL_SRV_OBJ_SUFFIX,;t t
24812 s,@IDL_TIE_H_SUFFIX@,$IDL_TIE_H_SUFFIX,;t t
24813 s,@IDL_TIE_H1_SUFFIX@,$IDL_TIE_H1_SUFFIX,;t t
24814 s,@IDL_TIE_CPP_SUFFIX@,$IDL_TIE_CPP_SUFFIX,;t t
24815 s,@ORB_COSNAMING_LIB@,$ORB_COSNAMING_LIB,;t t
24816 s,@HAVE_ORB_IDL@,$HAVE_ORB_IDL,;t t
24817 s,@DARWIN_ENABLED_TRUE@,$DARWIN_ENABLED_TRUE,;t t
24818 s,@DARWIN_ENABLED_FALSE@,$DARWIN_ENABLED_FALSE,;t t
24819 s,@ALLOCA@,$ALLOCA,;t t
24820 s,@MYSQLCLIENT_LDFLAGS@,$MYSQLCLIENT_LDFLAGS,;t t
24821 s,@MYSQLCLIENT_CFLAGS@,$MYSQLCLIENT_CFLAGS,;t t
24822 s,@MYSQLCLIENT_LIBS@,$MYSQLCLIENT_LIBS,;t t
24823 s,@MYSQL@,$MYSQL,;t t
24824 s,@MYSQL_ADMIN@,$MYSQL_ADMIN,;t t
24825 s,@MYSQL_ADMIN_PASSWD@,$MYSQL_ADMIN_PASSWD,;t t
24826 s,@MYSQL_HOST@,$MYSQL_HOST,;t t
24827 s,@TANGO_DB_NAME@,$TANGO_DB_NAME,;t t
24828 s,@TANGO_DB_SERVER_ENABLED_TRUE@,$TANGO_DB_SERVER_ENABLED_TRUE,;t t
24829 s,@TANGO_DB_SERVER_ENABLED_FALSE@,$TANGO_DB_SERVER_ENABLED_FALSE,;t t
24830 s,@TANGO_DB_CREATE_ENABLED_TRUE@,$TANGO_DB_CREATE_ENABLED_TRUE,;t t
24831 s,@TANGO_DB_CREATE_ENABLED_FALSE@,$TANGO_DB_CREATE_ENABLED_FALSE,;t t
24832 s,@ac_aux_dir@,$ac_aux_dir,;t t
24833 s,@VERSION_INFO@,$VERSION_INFO,;t t
24834 s,@DATADIR@,$DATADIR,;t t
24835 s,@subdirs@,$subdirs,;t t
24836 s,@LIBOBJS@,$LIBOBJS,;t t
24837 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24842 cat >>$CONFIG_STATUS <<\_ACEOF
24843 # Split the substitutions into bite-sized pieces for seds with
24844 # small command number limits, like on Digital OSF/1 and HP-UX.
24845 ac_max_sed_lines
=48
24846 ac_sed_frag
=1 # Number of current file.
24847 ac_beg
=1 # First line for current file.
24848 ac_end
=$ac_max_sed_lines # Line after last line for current file.
24851 while $ac_more_lines; do
24852 if test $ac_beg -gt 1; then
24853 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24855 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
24857 if test ! -s $tmp/subs.frag
; then
24858 ac_more_lines
=false
24860 # The purpose of the label and of the branching condition is to
24861 # speed up the sed processing (if there are no `@' at all, there
24862 # is no need to browse any of the substitutions).
24863 # These are the two extra sed commands mentioned above.
24865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
24866 if test -z "$ac_sed_cmds"; then
24867 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
24869 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24871 ac_sed_frag
=`expr $ac_sed_frag + 1`
24873 ac_end
=`expr $ac_end + $ac_max_sed_lines`
24876 if test -z "$ac_sed_cmds"; then
24879 fi # test -n "$CONFIG_FILES"
24882 cat >>$CONFIG_STATUS <<\_ACEOF
24883 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
24884 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24886 - |
*:- |
*:-:* ) # input from stdin
24888 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24889 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24890 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
24891 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
24892 * ) ac_file_in
=$ac_file.
in ;;
24895 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24896 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
24897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24898 X"$ac_file" : 'X\(//\)[^/]' \| \
24899 X"$ac_file" : 'X\(//\)$' \| \
24900 X"$ac_file" : 'X\(/\)' \| \
24901 . : '\(.\)' 2>/dev/null ||
24903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24905 /^X\(\/\/\)$/{ s//\1/; q; }
24906 /^X\(\/\).*/{ s//\1/; q; }
24908 { if $as_mkdir_p; then
24913 while test ! -d "$as_dir"; do
24914 as_dirs
="$as_dir $as_dirs"
24915 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
24916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24917 X"$as_dir" : 'X\(//\)[^/]' \| \
24918 X"$as_dir" : 'X\(//\)$' \| \
24919 X"$as_dir" : 'X\(/\)' \| \
24920 . : '\(.\)' 2>/dev/null ||
24922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24924 /^X\(\/\/\)$/{ s//\1/; q; }
24925 /^X\(\/\).*/{ s//\1/; q; }
24928 test ! -n "$as_dirs" || mkdir
$as_dirs
24929 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24930 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24931 { (exit 1); exit 1; }; }; }
24935 if test "$ac_dir" != .
; then
24936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24937 # A "../" for each directory in $ac_dir_suffix.
24938 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24940 ac_dir_suffix
= ac_top_builddir
=
24944 .
) # No --srcdir option. We are building in place.
24946 if test -z "$ac_top_builddir"; then
24949 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
24951 [\\/]* | ?
:[\\/]* ) # Absolute path.
24952 ac_srcdir
=$srcdir$ac_dir_suffix;
24953 ac_top_srcdir
=$srcdir ;;
24954 *) # Relative path.
24955 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
24956 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
24959 # Do not use `cd foo && pwd` to compute absolute paths, because
24960 # the directories may not exist.
24962 .
) ac_abs_builddir
="$ac_dir";;
24965 .
) ac_abs_builddir
=`pwd`;;
24966 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
24967 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
24970 case $ac_abs_builddir in
24971 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24973 case ${ac_top_builddir}.
in
24974 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
24975 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
24976 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
24979 case $ac_abs_builddir in
24980 .
) ac_abs_srcdir
=$ac_srcdir;;
24983 .
) ac_abs_srcdir
=$ac_abs_builddir;;
24984 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
24985 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
24988 case $ac_abs_builddir in
24989 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
24991 case $ac_top_srcdir in
24992 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
24993 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
24994 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25000 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25001 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
25004 if test x
"$ac_file" != x-
; then
25005 { echo "$as_me:$LINENO: creating $ac_file" >&5
25006 echo "$as_me: creating $ac_file" >&6;}
25009 # Let's still pretend it is `configure' which instantiates (i.e., don't
25010 # use $as_me), people would be surprised to read:
25011 # /* config.h. Generated by config.status. */
25012 if test x
"$ac_file" = x-
; then
25015 configure_input
="$ac_file. "
25017 configure_input
=$configure_input"Generated from `echo $ac_file_in |
25018 sed 's,.*/,,'` by configure."
25020 # First look for the input files in the build tree, otherwise in the
25022 ac_file_inputs
=`IFS=:
25023 for f in $ac_file_in; do
25025 -) echo $tmp/stdin ;;
25027 # Absolute (can't be DOS-style, as IFS=:)
25028 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25029 echo "$as_me: error: cannot find input file: $f" >&2;}
25030 { (exit 1); exit 1; }; }
25033 if test -f "$f"; then
25036 elif test -f "$srcdir/$f"; then
25041 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25042 echo "$as_me: error: cannot find input file: $f" >&2;}
25043 { (exit 1); exit 1; }; }
25046 done` ||
{ (exit 1); exit 1; }
25048 cat >>$CONFIG_STATUS <<_ACEOF
25052 cat >>$CONFIG_STATUS <<\_ACEOF
25054 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25055 s
,@configure_input@
,$configure_input,;t t
25056 s
,@srcdir@
,$ac_srcdir,;t t
25057 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
25058 s
,@top_srcdir@
,$ac_top_srcdir,;t t
25059 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
25060 s
,@builddir@
,$ac_builddir,;t t
25061 s
,@abs_builddir@
,$ac_abs_builddir,;t t
25062 s
,@top_builddir@
,$ac_top_builddir,;t t
25063 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
25064 s
,@INSTALL@
,$ac_INSTALL,;t t
25065 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25067 if test x"$ac_file" != x-; then
25068 mv $tmp/out $ac_file
25076 cat >>$CONFIG_STATUS <<\_ACEOF
25079 # CONFIG_HEADER section.
25082 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
25083 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25085 # ac_d sets the value in "#define NAME VALUE" lines.
25086 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25087 ac_dB
='[ ].*$,\1#\2'
25090 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25091 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25092 ac_uB
='$,\1#\2define\3'
25096 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
25097 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25099 - |
*:- |
*:-:* ) # input from stdin
25101 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25102 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25103 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25104 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25105 * ) ac_file_in
=$ac_file.
in ;;
25108 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
25109 echo "$as_me: creating $ac_file" >&6;}
25111 # First look for the input files in the build tree, otherwise in the
25113 ac_file_inputs
=`IFS=:
25114 for f in $ac_file_in; do
25116 -) echo $tmp/stdin ;;
25118 # Absolute (can't be DOS-style, as IFS=:)
25119 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25120 echo "$as_me: error: cannot find input file: $f" >&2;}
25121 { (exit 1); exit 1; }; }
25122 # Do quote $f, to prevent DOS paths from being IFS'd.
25125 if test -f "$f"; then
25128 elif test -f "$srcdir/$f"; then
25133 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25134 echo "$as_me: error: cannot find input file: $f" >&2;}
25135 { (exit 1); exit 1; }; }
25138 done` ||
{ (exit 1); exit 1; }
25139 # Remove the trailing spaces.
25140 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25144 # Transform confdefs.h into two sed scripts, `conftest.defines' and
25145 # `conftest.undefs', that substitutes the proper values into
25146 # config.h.in to produce config.h. The first handles `#define'
25147 # templates, and the second `#undef' templates.
25148 # And first: Protect against being on the right side of a sed subst in
25149 # config.status. Protect against being in an unquoted here document
25150 # in config.status.
25151 rm -f conftest.defines conftest.undefs
25152 # Using a here document instead of a string reduces the quoting nightmare.
25153 # Putting comments in sed scripts is not portable.
25155 # `end' is used to avoid that the second main sed command (meant for
25156 # 0-ary CPP macros) applies to n-ary macro definitions.
25157 # See the Autoconf documentation for `clear'.
25158 cat >confdef2sed.
sed <<\_ACEOF
25163 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25165 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25168 # If some macros were called several times there might be several times
25169 # the same #defines, which is useless. Nevertheless, we may not want to
25170 # sort them, since we want the *last* AC-DEFINE to be honored.
25171 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25172 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25173 rm -f confdef2sed.sed
25175 # This sed command replaces #undef with comments. This is necessary, for
25176 # example, in the case of _POSIX_SOURCE, which is predefined and required
25177 # on some systems where configure will not decide to define it.
25178 cat >>conftest.undefs <<\_ACEOF
25179 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25182 # Break up conftest.defines because some shells have a limit on the size
25183 # of here documents, and old seds have small limits too (100 cmds).
25184 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25185 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25186 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25187 echo ' :' >>$CONFIG_STATUS
25188 rm -f conftest.tail
25189 while grep . conftest.defines >/dev/null
25191 # Write a limited-size here document to $tmp/defines.sed.
25192 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25193 # Speed up: don't consider the non `#define' lines.
25194 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25195 # Work around the forget-to-reset-the-flag bug.
25196 echo 't clr' >>$CONFIG_STATUS
25197 echo ': clr' >>$CONFIG_STATUS
25198 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
25200 sed -f $tmp/defines.sed $tmp/in >$tmp/out
25202 mv $tmp/out $tmp/in
25204 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
25205 rm -f conftest.defines
25206 mv conftest.
tail conftest.defines
25208 rm -f conftest.defines
25209 echo ' fi # grep' >>$CONFIG_STATUS
25210 echo >>$CONFIG_STATUS
25212 # Break up conftest.undefs because some shells have a limit on the size
25213 # of here documents, and old seds have small limits too (100 cmds).
25214 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25215 rm -f conftest.
tail
25216 while grep . conftest.undefs
>/dev
/null
25218 # Write a limited-size here document to $tmp/undefs.sed.
25219 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25220 # Speed up: don't consider the non
`#undef'
25221 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25222 # Work around the forget-to-reset-the-flag bug.
25223 echo 't clr' >>$CONFIG_STATUS
25224 echo ': clr' >>$CONFIG_STATUS
25225 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25227 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25229 mv $tmp/out $tmp/in
25231 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25232 rm -f conftest.undefs
25233 mv conftest.tail conftest.undefs
25235 rm -f conftest.undefs
25237 cat >>$CONFIG_STATUS <<\_ACEOF
25238 # Let's still pretend it is `configure
' which instantiates (i.e., don't
25239 # use $as_me), people would be surprised to read:
25240 # /* config.h. Generated by config.status. */
25241 if test x
"$ac_file" = x-
; then
25242 echo "/* Generated by configure. */" >$tmp/config.h
25244 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25246 cat $tmp/in >>$tmp/config.h
25248 if test x
"$ac_file" != x-
; then
25249 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
25250 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25251 echo "$as_me: $ac_file is unchanged" >&6;}
25253 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25254 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25255 X"$ac_file" : 'X\(//\)[^/]' \| \
25256 X"$ac_file" : 'X\(//\)$' \| \
25257 X"$ac_file" : 'X\(/\)' \| \
25258 . : '\(.\)' 2>/dev/null ||
25260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25261 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25262 /^X\(\/\/\)$/{ s//\1/; q; }
25263 /^X\(\/\).*/{ s//\1/; q; }
25265 { if $as_mkdir_p; then
25270 while test ! -d "$as_dir"; do
25271 as_dirs
="$as_dir $as_dirs"
25272 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25274 X"$as_dir" : 'X\(//\)[^/]' \| \
25275 X"$as_dir" : 'X\(//\)$' \| \
25276 X"$as_dir" : 'X\(/\)' \| \
25277 . : '\(.\)' 2>/dev/null ||
25279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25281 /^X\(\/\/\)$/{ s//\1/; q; }
25282 /^X\(\/\).*/{ s//\1/; q; }
25285 test ! -n "$as_dirs" || mkdir
$as_dirs
25286 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25287 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25288 { (exit 1); exit 1; }; }; }
25291 mv $tmp/config.h
$ac_file
25295 rm -f $tmp/config.h
25297 # Compute $ac_file's index in $config_headers.
25299 for _am_header
in $config_headers :; do
25300 case $_am_header in
25301 $ac_file |
$ac_file:* )
25304 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25307 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
25308 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25309 X$ac_file : 'X\(//\)[^/]' \| \
25310 X$ac_file : 'X\(//\)$' \| \
25311 X$ac_file : 'X\(/\)' \| \
25312 . : '\(.\)' 2>/dev/null ||
25314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25315 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25316 /^X\(\/\/\)$/{ s//\1/; q; }
25317 /^X\(\/\).*/{ s//\1/; q; }
25318 s/.*/./; q'`/stamp-h
$_am_stamp_count
25321 cat >>$CONFIG_STATUS <<\_ACEOF
25324 # CONFIG_COMMANDS section.
25326 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
25327 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
25328 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25329 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
25330 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25331 X"$ac_dest" : 'X\(//\)[^/]' \| \
25332 X"$ac_dest" : 'X\(//\)$' \| \
25333 X"$ac_dest" : 'X\(/\)' \| \
25334 . : '\(.\)' 2>/dev/null ||
25336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25338 /^X\(\/\/\)$/{ s//\1/; q; }
25339 /^X\(\/\).*/{ s//\1/; q; }
25341 { if $as_mkdir_p; then
25346 while test ! -d "$as_dir"; do
25347 as_dirs
="$as_dir $as_dirs"
25348 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25350 X"$as_dir" : 'X\(//\)[^/]' \| \
25351 X"$as_dir" : 'X\(//\)$' \| \
25352 X"$as_dir" : 'X\(/\)' \| \
25353 . : '\(.\)' 2>/dev/null ||
25355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25357 /^X\(\/\/\)$/{ s//\1/; q; }
25358 /^X\(\/\).*/{ s//\1/; q; }
25361 test ! -n "$as_dirs" || mkdir
$as_dirs
25362 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25364 { (exit 1); exit 1; }; }; }
25368 if test "$ac_dir" != .
; then
25369 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25370 # A "../" for each directory in $ac_dir_suffix.
25371 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25373 ac_dir_suffix
= ac_top_builddir
=
25377 .
) # No --srcdir option. We are building in place.
25379 if test -z "$ac_top_builddir"; then
25382 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25384 [\\/]* | ?
:[\\/]* ) # Absolute path.
25385 ac_srcdir
=$srcdir$ac_dir_suffix;
25386 ac_top_srcdir
=$srcdir ;;
25387 *) # Relative path.
25388 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25389 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25392 # Do not use `cd foo && pwd` to compute absolute paths, because
25393 # the directories may not exist.
25395 .
) ac_abs_builddir
="$ac_dir";;
25398 .
) ac_abs_builddir
=`pwd`;;
25399 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25400 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25403 case $ac_abs_builddir in
25404 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25406 case ${ac_top_builddir}.
in
25407 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25408 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25409 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25412 case $ac_abs_builddir in
25413 .
) ac_abs_srcdir
=$ac_srcdir;;
25416 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25417 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25418 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25421 case $ac_abs_builddir in
25422 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25424 case $ac_top_srcdir in
25425 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25426 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25427 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25432 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
25433 echo "$as_me: executing $ac_dest commands" >&6;}
25435 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25436 # Strip MF so we end up with the name of the file.
25437 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25438 # Check whether this is an Automake generated Makefile or not.
25439 # We used to match only the files named `Makefile.in', but
25440 # some people rename them; so instead we look at the file content.
25441 # Grep'ing the first line is not enough: some people post-process
25442 # each Makefile.in and add a new line on top of each file to say so.
25443 # So let's grep whole file.
25444 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
25445 dirpart
=`(dirname "$mf") 2>/dev/null ||
25446 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25447 X"$mf" : 'X\(//\)[^/]' \| \
25448 X"$mf" : 'X\(//\)$' \| \
25449 X"$mf" : 'X\(/\)' \| \
25450 . : '\(.\)' 2>/dev/null ||
25452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25454 /^X\(\/\/\)$/{ s//\1/; q; }
25455 /^X\(\/\).*/{ s//\1/; q; }
25460 # Extract the definition of DEPDIR, am__include, and am__quote
25461 # from the Makefile without running `make'.
25462 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25463 test -z "$DEPDIR" && continue
25464 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25465 test -z "am__include" && continue
25466 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25467 # When using ansi2knr, U may be empty or an underscore; expand it
25468 U
=`sed -n 's/^U = //p' < "$mf"`
25469 # Find all dependency output files, they are included files with
25470 # $(DEPDIR) in their names. We invoke sed twice because it is the
25471 # simplest approach to changing $(DEPDIR) to its actual value in the
25473 for file in `sed -n "
25474 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25475 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25476 # Make sure the directory exists.
25477 test -f "$dirpart/$file" && continue
25478 fdir
=`(dirname "$file") 2>/dev/null ||
25479 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25480 X"$file" : 'X\(//\)[^/]' \| \
25481 X"$file" : 'X\(//\)$' \| \
25482 X"$file" : 'X\(/\)' \| \
25483 . : '\(.\)' 2>/dev/null ||
25485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25487 /^X\(\/\/\)$/{ s//\1/; q; }
25488 /^X\(\/\).*/{ s//\1/; q; }
25490 { if $as_mkdir_p; then
25491 mkdir
-p $dirpart/$fdir
25493 as_dir
=$dirpart/$fdir
25495 while test ! -d "$as_dir"; do
25496 as_dirs
="$as_dir $as_dirs"
25497 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25499 X"$as_dir" : 'X\(//\)[^/]' \| \
25500 X"$as_dir" : 'X\(//\)$' \| \
25501 X"$as_dir" : 'X\(/\)' \| \
25502 . : '\(.\)' 2>/dev/null ||
25504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25506 /^X\(\/\/\)$/{ s//\1/; q; }
25507 /^X\(\/\).*/{ s//\1/; q; }
25510 test ! -n "$as_dirs" || mkdir
$as_dirs
25511 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
25512 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
25513 { (exit 1); exit 1; }; }; }
25515 # echo "creating $dirpart/$file"
25516 echo '# dummy' > "$dirpart/$file"
25520 ac_config.h
) sed s
/PACKAGE
/TANGO_PACKAGE
/g
<ac_config.h.tmp
>ac_config.h
;;
25525 cat >>$CONFIG_STATUS <<\_ACEOF
25527 { (exit 0); exit 0; }
25529 chmod +x
$CONFIG_STATUS
25530 ac_clean_files
=$ac_clean_files_save
25533 # configure is writing to config.log, and then calls config.status.
25534 # config.status does its own redirection, appending to config.log.
25535 # Unfortunately, on DOS this fails, as config.log is still kept open
25536 # by configure, so config.status won't be able to write to it; its
25537 # output is simply discarded. So we exec the FD to /dev/null,
25538 # effectively closing config.log, so it can be properly (re)opened and
25539 # appended to by config.status. When coming back to configure, we
25540 # need to make the FD available again.
25541 if test "$no_create" != yes; then
25543 ac_config_status_args
=
25544 test "$silent" = yes &&
25545 ac_config_status_args
="$ac_config_status_args --quiet"
25547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25550 # would make configure fail if this is the last instruction.
25551 $ac_cs_success ||
{ (exit 1); exit 1; }
25555 # CONFIG_SUBDIRS section.
25557 if test "$no_recursion" != yes; then
25559 # Remove --cache-file and --srcdir arguments so they do not pile up.
25560 ac_sub_configure_args
=
25562 for ac_arg
in $ac_configure_args; do
25563 if test -n "$ac_prev"; then
25568 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
25569 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
25570 ac_prev
=cache_file
;;
25571 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
25572 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
25575 --config-cache |
-C)
25577 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
25579 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
25581 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
25583 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
25585 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
25589 # Always prepend --prefix to ensure using the same prefix
25590 # in subdir configurations.
25591 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
25594 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
25596 # Do not complain, so a configure script can configure whichever
25597 # parts of a large source tree are present.
25598 test -d $srcdir/$ac_dir ||
continue
25600 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25601 echo "$as_me: configuring in $ac_dir" >&6;}
25602 { if $as_mkdir_p; then
25607 while test ! -d "$as_dir"; do
25608 as_dirs
="$as_dir $as_dirs"
25609 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25610 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25611 X"$as_dir" : 'X\(//\)[^/]' \| \
25612 X"$as_dir" : 'X\(//\)$' \| \
25613 X"$as_dir" : 'X\(/\)' \| \
25614 . : '\(.\)' 2>/dev/null ||
25616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25618 /^X\(\/\/\)$/{ s//\1/; q; }
25619 /^X\(\/\).*/{ s//\1/; q; }
25622 test ! -n "$as_dirs" || mkdir
$as_dirs
25623 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25624 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25625 { (exit 1); exit 1; }; }; }
25629 if test "$ac_dir" != .
; then
25630 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25631 # A "../" for each directory in $ac_dir_suffix.
25632 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25634 ac_dir_suffix
= ac_top_builddir
=
25638 .
) # No --srcdir option. We are building in place.
25640 if test -z "$ac_top_builddir"; then
25643 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25645 [\\/]* | ?
:[\\/]* ) # Absolute path.
25646 ac_srcdir
=$srcdir$ac_dir_suffix;
25647 ac_top_srcdir
=$srcdir ;;
25648 *) # Relative path.
25649 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25650 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25653 # Do not use `cd foo && pwd` to compute absolute paths, because
25654 # the directories may not exist.
25656 .
) ac_abs_builddir
="$ac_dir";;
25659 .
) ac_abs_builddir
=`pwd`;;
25660 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25661 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25664 case $ac_abs_builddir in
25665 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25667 case ${ac_top_builddir}.
in
25668 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25669 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25670 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25673 case $ac_abs_builddir in
25674 .
) ac_abs_srcdir
=$ac_srcdir;;
25677 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25678 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25679 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25682 case $ac_abs_builddir in
25683 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25685 case $ac_top_srcdir in
25686 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25687 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25688 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25695 # Check for guested configure; otherwise get Cygnus style configure.
25696 if test -f $ac_srcdir/configure.gnu
; then
25697 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
25698 elif test -f $ac_srcdir/configure
; then
25699 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
25700 elif test -f $ac_srcdir/configure.
in; then
25701 ac_sub_configure
=$ac_configure
25703 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25704 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25708 # The recursion is here.
25709 if test -n "$ac_sub_configure"; then
25710 # Make the cache file name correct relative to the subdirectory.
25711 case $cache_file in
25712 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
25713 *) # Relative path.
25714 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
25717 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25718 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25719 # The eval makes quoting arguments work.
25720 eval $ac_sub_configure $ac_sub_configure_args \
25721 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25722 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25723 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25724 { (exit 1); exit 1; }; }
25733 echo "$as_me:$LINENO: result:
25734 Configuration ($PACKAGE):
25736 Source code location: ${srcdir}
25737 Version: ${VERSION}
25738 Compiler: ${ac_ct_CC},${ac_ct_CXX}
25740 OMNIORB PATH: ${OMNI_ROOT}
25741 OMNIORB VERSION: ${OMNI_VERSION}
25743 JAVA PATH: ${with_java}
25744 JAVA VERSION: ${JAVA_VERSION}
25746 MYSQL CLIENT LIB: ${MYSQLCLIENT_LDFLAGS} ${MYSQLCLIENT_LIBS}
25747 MYSQL VERSION: ${MYSQL_VERSION}
25748 MYSQL CONNECTION: ${MYSQL_CONNECTION}
25751 libraries: ${enable_lib}
25752 java application: ${enable_java}
25753 database server: ${enable_dbserver}
25754 database schema create: ${enable_db_schema_create}
25756 Please check whether the configuration I detected matches what you
25757 would like to have.
25759 ATTENTION: To run the new database server you must have MySQL 5.x installed
25760 and to update your database schema with the update_db.sql script!
25763 Configuration ($PACKAGE):
25765 Source code location: ${srcdir}
25766 Version: ${VERSION}
25767 Compiler: ${ac_ct_CC},${ac_ct_CXX}
25769 OMNIORB PATH: ${OMNI_ROOT}
25770 OMNIORB VERSION: ${OMNI_VERSION}
25772 JAVA PATH: ${with_java}
25773 JAVA VERSION: ${JAVA_VERSION}
25775 MYSQL CLIENT LIB: ${MYSQLCLIENT_LDFLAGS} ${MYSQLCLIENT_LIBS}
25776 MYSQL VERSION: ${MYSQL_VERSION}
25777 MYSQL CONNECTION: ${MYSQL_CONNECTION}
25780 libraries: ${enable_lib}
25781 java application: ${enable_java}
25782 database server: ${enable_dbserver}
25783 database schema create: ${enable_db_schema_create}
25785 Please check whether the configuration I detected matches what you
25786 would like to have.
25788 ATTENTION: To run the new database server you must have MySQL 5.x installed
25789 and to update your database schema with the update_db.sql script!