2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for random128 0.10.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # Check that we are running under the correct shell.
248 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Remove one level of quotation (which was required for Make).
253 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
258 if test "X$1" = X--no-reexec
; then
259 # Discard the --no-reexec flag, and continue.
261 elif test "X$1" = X--fallback-echo
; then
262 # Avoid inline document here, it may be left over
264 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
265 # Yippee, $echo works!
268 # Restart under the correct shell.
269 exec $SHELL "$0" --no-reexec ${1+"$@"}
272 if test "X$1" = X--fallback-echo
; then
273 # used as fallback echo
281 # The HP-UX ksh and POSIX shell print the target directory to stdout
283 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
285 if test -z "$ECHO"; then
286 if test "X${echo_test_string+set}" != Xset
; then
287 # find a string as large as possible, as long as the shell can cope with it
288 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
289 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
290 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
291 echo_test_string
=`eval $cmd` &&
292 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
299 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
300 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
301 test "X$echo_testing_string" = "X$echo_test_string"; then
304 # The Solaris, AIX, and Digital Unix default echo programs unquote
305 # backslashes. This makes it impossible to quote backslashes using
306 # echo "$something" | sed 's/\\/\\\\/g'
308 # So, first we look for a working echo in the user's PATH.
310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
311 for dir
in $PATH /usr
/ucb
; do
313 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
314 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
315 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
316 test "X$echo_testing_string" = "X$echo_test_string"; then
323 if test "X$echo" = Xecho
; then
324 # We didn't find a better echo, so look for alternatives.
325 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
326 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
327 test "X$echo_testing_string" = "X$echo_test_string"; then
328 # This shell has a builtin print -r that does the trick.
330 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
331 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
332 # If we have ksh, try running configure again with it.
333 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
334 export ORIGINAL_CONFIG_SHELL
335 CONFIG_SHELL
=/bin
/ksh
337 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
341 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
342 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
343 test "X$echo_testing_string" = "X$echo_test_string"; then
346 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
347 test "X$echo_testing_string" = 'X\t' &&
348 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
349 test "X$echo_testing_string" = "X$echo_test_string"; then
350 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
352 SHELL
="$CONFIG_SHELL"
354 echo="$CONFIG_SHELL $0 --fallback-echo"
355 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
356 test "X$echo_testing_string" = 'X\t' &&
357 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
358 test "X$echo_testing_string" = "X$echo_test_string"; then
359 echo="$CONFIG_SHELL $0 --fallback-echo"
361 # maybe with a smaller string...
364 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
365 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
372 if test "$prev" != 'sed 50q "$0"'; then
373 echo_test_string
=`eval $prev`
374 export echo_test_string
375 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
377 # Oops. We lost completely, so just stick with echo.
386 # Copy echo and quote the copy suitably for passing to libtool from
387 # the Makefile, instead of quoting the original, which is used later.
389 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
390 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
396 tagnames
=${tagnames+${tagnames},}CXX
398 tagnames
=${tagnames+${tagnames},}F77
401 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
402 # so uname gets run too.
403 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
410 ac_default_prefix
=/usr
/local
411 ac_config_libobj_dir
=.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
418 # Maximum number of lines to put in a shell here document.
419 # This variable seems obsolete. It should probably be removed, and
420 # only ac_max_sed_lines should be used.
421 : ${ac_max_here_lines=38}
423 # Identity of this package.
424 PACKAGE_NAME
='random128'
425 PACKAGE_TARNAME
='random128'
426 PACKAGE_VERSION
='0.10'
427 PACKAGE_STRING
='random128 0.10'
428 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
430 ac_unique_file
="random128.c"
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_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LN_S PS W build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBOBJS LTLIBOBJS'
471 # Initialize some variables set by options.
473 ac_init_version
=false
474 # The variables have the same names as the options, with
475 # dashes changed to underlines.
483 program_transform_name
=s
,x
,x
,
491 # Installation directory options.
492 # These are left unexpanded so users can "make install exec_prefix=/foo"
493 # and all the variables that are supposed to be based on exec_prefix
494 # by default will actually change.
495 # Use braces instead of parens because sh, perl, etc. also accept them.
496 bindir
='${exec_prefix}/bin'
497 sbindir
='${exec_prefix}/sbin'
498 libexecdir
='${exec_prefix}/libexec'
499 datadir
='${prefix}/share'
500 sysconfdir
='${prefix}/etc'
501 sharedstatedir
='${prefix}/com'
502 localstatedir
='${prefix}/var'
503 libdir
='${exec_prefix}/lib'
504 includedir
='${prefix}/include'
505 oldincludedir
='/usr/include'
506 infodir
='${prefix}/info'
507 mandir
='${prefix}/man'
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
519 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
527 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
530 -build |
--build |
--buil |
--bui |
--bu)
531 ac_prev
=build_alias
;;
532 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
533 build_alias
=$ac_optarg ;;
535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
537 ac_prev
=cache_file
;;
538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
540 cache_file
=$ac_optarg ;;
543 cache_file
=config.cache
;;
545 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
547 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
549 datadir
=$ac_optarg ;;
551 -disable-* |
--disable-*)
552 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
555 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
556 { (exit 1); exit 1; }; }
557 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
558 eval "enable_$ac_feature=no" ;;
560 -enable-* |
--enable-*)
561 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
562 # Reject names that are not valid shell variable names.
563 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
564 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
565 { (exit 1); exit 1; }; }
566 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
568 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
571 eval "enable_$ac_feature='$ac_optarg'" ;;
573 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
574 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
575 |
--exec |
--exe |
--ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
578 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
579 |
--exec=* |
--exe=* |
--ex=*)
580 exec_prefix
=$ac_optarg ;;
582 -gas |
--gas |
--ga |
--g)
583 # Obsolete; use --with-gas.
586 -help |
--help |
--hel |
--he |
-h)
588 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
589 ac_init_help
=recursive
;;
590 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
591 ac_init_help
=short
;;
593 -host |
--host |
--hos |
--ho)
594 ac_prev
=host_alias
;;
595 -host=* |
--host=* |
--hos=* |
--ho=*)
596 host_alias
=$ac_optarg ;;
598 -includedir |
--includedir |
--includedi |
--included |
--include \
599 |
--includ |
--inclu |
--incl |
--inc)
600 ac_prev
=includedir
;;
601 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
602 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
603 includedir
=$ac_optarg ;;
605 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
607 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
608 infodir
=$ac_optarg ;;
610 -libdir |
--libdir |
--libdi |
--libd)
612 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
615 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
616 |
--libexe |
--libex |
--libe)
617 ac_prev
=libexecdir
;;
618 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
619 |
--libexe=* |
--libex=* |
--libe=*)
620 libexecdir
=$ac_optarg ;;
622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
623 |
--localstate |
--localstat |
--localsta |
--localst \
624 |
--locals |
--local |
--loca |
--loc |
--lo)
625 ac_prev
=localstatedir
;;
626 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
627 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
628 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
629 localstatedir
=$ac_optarg ;;
631 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
633 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
637 # Obsolete; use --without-fp.
640 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
641 |
--no-cr |
--no-c |
-n)
644 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
645 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
648 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
649 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
650 |
--oldin |
--oldi |
--old |
--ol |
--o)
651 ac_prev
=oldincludedir
;;
652 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
653 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
654 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
655 oldincludedir
=$ac_optarg ;;
657 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
659 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
662 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
663 |
--program-pre |
--program-pr |
--program-p)
664 ac_prev
=program_prefix
;;
665 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
666 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
667 program_prefix
=$ac_optarg ;;
669 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
670 |
--program-suf |
--program-su |
--program-s)
671 ac_prev
=program_suffix
;;
672 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
673 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
674 program_suffix
=$ac_optarg ;;
676 -program-transform-name |
--program-transform-name \
677 |
--program-transform-nam |
--program-transform-na \
678 |
--program-transform-n |
--program-transform- \
679 |
--program-transform |
--program-transfor \
680 |
--program-transfo |
--program-transf \
681 |
--program-trans |
--program-tran \
682 |
--progr-tra |
--program-tr |
--program-t)
683 ac_prev
=program_transform_name
;;
684 -program-transform-name=* |
--program-transform-name=* \
685 |
--program-transform-nam=* |
--program-transform-na=* \
686 |
--program-transform-n=* |
--program-transform-=* \
687 |
--program-transform=* |
--program-transfor=* \
688 |
--program-transfo=* |
--program-transf=* \
689 |
--program-trans=* |
--program-tran=* \
690 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
691 program_transform_name
=$ac_optarg ;;
693 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
694 |
-silent |
--silent |
--silen |
--sile |
--sil)
697 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
699 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
701 sbindir
=$ac_optarg ;;
703 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
704 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
705 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
707 ac_prev
=sharedstatedir
;;
708 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
709 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
710 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
712 sharedstatedir
=$ac_optarg ;;
714 -site |
--site |
--sit)
716 -site=* |
--site=* |
--sit=*)
719 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
721 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
724 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
725 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
726 ac_prev
=sysconfdir
;;
727 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
728 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
729 sysconfdir
=$ac_optarg ;;
731 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
732 ac_prev
=target_alias
;;
733 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
734 target_alias
=$ac_optarg ;;
736 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
739 -version |
--version |
--versio |
--versi |
--vers |
-V)
743 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
744 # Reject names that are not valid shell variable names.
745 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
746 { echo "$as_me: error: invalid package name: $ac_package" >&2
747 { (exit 1); exit 1; }; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
750 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
753 eval "with_$ac_package='$ac_optarg'" ;;
755 -without-* |
--without-*)
756 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
759 { echo "$as_me: error: invalid package name: $ac_package" >&2
760 { (exit 1); exit 1; }; }
761 ac_package
=`echo $ac_package | sed 's/-/_/g'`
762 eval "with_$ac_package=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
769 |
--x-incl |
--x-inc |
--x-in |
--x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
772 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
773 x_includes
=$ac_optarg ;;
775 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
776 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
779 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
780 x_libraries
=$ac_optarg ;;
782 -*) { echo "$as_me: error: unrecognized option: $ac_option
783 Try \`$0 --help' for more information." >&2
784 { (exit 1); exit 1; }; }
788 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
791 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
792 { (exit 1); exit 1; }; }
793 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
794 eval "$ac_envvar='$ac_optarg'"
798 # FIXME: should be removed in autoconf 3.0.
799 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
800 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
801 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
802 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
808 if test -n "$ac_prev"; then
809 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
810 { echo "$as_me: error: missing argument to $ac_option" >&2
811 { (exit 1); exit 1; }; }
814 # Be sure to have absolute paths.
815 for ac_var
in exec_prefix prefix
817 eval ac_val
=$
`echo $ac_var`
819 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
820 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
821 { (exit 1); exit 1; }; };;
825 # Be sure to have absolute paths.
826 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
827 localstatedir libdir includedir oldincludedir infodir mandir
829 eval ac_val
=$
`echo $ac_var`
831 [\\/$
]* | ?
:[\\/]* ) ;;
832 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
833 { (exit 1); exit 1; }; };;
837 # There might be people who depend on the old broken behavior: `$host'
838 # used to hold the argument of --host etc.
839 # FIXME: To remove some day.
844 # FIXME: To remove some day.
845 if test "x$host_alias" != x
; then
846 if test "x$build_alias" = x
; then
847 cross_compiling
=maybe
848 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
849 If a cross compiler is detected then cross compile mode will be used." >&2
850 elif test "x$build_alias" != "x$host_alias"; then
856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
858 test "$silent" = yes && exec 6>/dev
/null
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
865 ac_confdir
=`(dirname "$0") 2>/dev/null ||
866 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
867 X"$0" : 'X\(//\)[^/]' \| \
868 X"$0" : 'X\(//\)$' \| \
869 X"$0" : 'X\(/\)' \| \
870 . : '\(.\)' 2>/dev/null ||
872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
874 /^X\(\/\/\)$/{ s//\1/; q; }
875 /^X\(\/\).*/{ s//\1/; q; }
878 if test ! -r $srcdir/$ac_unique_file; then
882 ac_srcdir_defaulted
=no
884 if test ! -r $srcdir/$ac_unique_file; then
885 if test "$ac_srcdir_defaulted" = yes; then
886 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
887 { (exit 1); exit 1; }; }
889 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
890 { (exit 1); exit 1; }; }
893 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
894 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
895 { (exit 1); exit 1; }; }
896 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
897 ac_env_build_alias_set
=${build_alias+set}
898 ac_env_build_alias_value
=$build_alias
899 ac_cv_env_build_alias_set
=${build_alias+set}
900 ac_cv_env_build_alias_value
=$build_alias
901 ac_env_host_alias_set
=${host_alias+set}
902 ac_env_host_alias_value
=$host_alias
903 ac_cv_env_host_alias_set
=${host_alias+set}
904 ac_cv_env_host_alias_value
=$host_alias
905 ac_env_target_alias_set
=${target_alias+set}
906 ac_env_target_alias_value
=$target_alias
907 ac_cv_env_target_alias_set
=${target_alias+set}
908 ac_cv_env_target_alias_value
=$target_alias
909 ac_env_CC_set
=${CC+set}
911 ac_cv_env_CC_set
=${CC+set}
912 ac_cv_env_CC_value
=$CC
913 ac_env_CFLAGS_set
=${CFLAGS+set}
914 ac_env_CFLAGS_value
=$CFLAGS
915 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
916 ac_cv_env_CFLAGS_value
=$CFLAGS
917 ac_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_env_LDFLAGS_value
=$LDFLAGS
919 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value
=$LDFLAGS
921 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
924 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
925 ac_env_CPP_set
=${CPP+set}
926 ac_env_CPP_value
=$CPP
927 ac_cv_env_CPP_set
=${CPP+set}
928 ac_cv_env_CPP_value
=$CPP
929 ac_env_CXX_set
=${CXX+set}
930 ac_env_CXX_value
=$CXX
931 ac_cv_env_CXX_set
=${CXX+set}
932 ac_cv_env_CXX_value
=$CXX
933 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
934 ac_env_CXXFLAGS_value
=$CXXFLAGS
935 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
936 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
937 ac_env_CXXCPP_set
=${CXXCPP+set}
938 ac_env_CXXCPP_value
=$CXXCPP
939 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
940 ac_cv_env_CXXCPP_value
=$CXXCPP
941 ac_env_F77_set
=${F77+set}
942 ac_env_F77_value
=$F77
943 ac_cv_env_F77_set
=${F77+set}
944 ac_cv_env_F77_value
=$F77
945 ac_env_FFLAGS_set
=${FFLAGS+set}
946 ac_env_FFLAGS_value
=$FFLAGS
947 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
948 ac_cv_env_FFLAGS_value
=$FFLAGS
951 # Report the --help message.
953 if test "$ac_init_help" = "long"; then
954 # Omit some internal or obsolete options to make the list less imposing.
955 # This message is too long to be a string in the A/UX 3.1 sh.
957 \`configure' configures random128 0.10 to adapt to many kinds of systems.
959 Usage: $0 [OPTION]... [VAR=VALUE]...
961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
962 VAR=VALUE. See below for descriptions of some of the useful variables.
964 Defaults for the options are specified in brackets.
967 -h, --help display this help and exit
968 --help=short display options specific to this package
969 --help=recursive display the short help of all the included packages
970 -V, --version display version information and exit
971 -q, --quiet, --silent do not print \`checking...' messages
972 --cache-file=FILE cache test results in FILE [disabled]
973 -C, --config-cache alias for \`--cache-file=config.cache'
974 -n, --no-create do not create output files
975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
980 Installation directories:
981 --prefix=PREFIX install architecture-independent files in PREFIX
983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
986 By default, \`make install' will install all the files in
987 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
988 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
989 for instance \`--prefix=\$HOME'.
991 For better control, use the options below.
993 Fine tuning of the installation directories:
994 --bindir=DIR user executables [EPREFIX/bin]
995 --sbindir=DIR system admin executables [EPREFIX/sbin]
996 --libexecdir=DIR program executables [EPREFIX/libexec]
997 --datadir=DIR read-only architecture-independent data [PREFIX/share]
998 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
999 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1000 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1001 --libdir=DIR object code libraries [EPREFIX/lib]
1002 --includedir=DIR C header files [PREFIX/include]
1003 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1004 --infodir=DIR info documentation [PREFIX/info]
1005 --mandir=DIR man documentation [PREFIX/man]
1011 --program-prefix=PREFIX prepend PREFIX to installed program names
1012 --program-suffix=SUFFIX append SUFFIX to installed program names
1013 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1016 --build=BUILD configure
for building on BUILD
[guessed
]
1017 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive
) echo "Configuration of random128 0.10:";;
1028 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1029 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1030 --disable-dependency-tracking speeds up one-time build
1031 --enable-dependency-tracking do not reject slow dependency extractors
1032 --enable-shared[=PKGS
]
1033 build shared libraries
[default
=yes]
1034 --enable-static[=PKGS
]
1035 build static libraries
[default
=yes]
1036 --enable-fast-install[=PKGS
]
1037 optimize
for fast installation
[default
=yes]
1038 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1041 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1042 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1043 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1044 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1047 include additional configurations
[automatic
]
1048 --with-random=/dev
/urandom
- location of the system random
file generator
1049 --without-random - there is no system random
file generator
1051 Some influential environment variables
:
1052 CC C compiler
command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1055 nonstandard directory
<lib dir
>
1056 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1057 headers
in a nonstandard directory
<include dir
>
1059 CXX C
++ compiler
command
1060 CXXFLAGS C
++ compiler flags
1061 CXXCPP C
++ preprocessor
1062 F77 Fortran
77 compiler
command
1063 FFLAGS Fortran
77 compiler flags
1065 Use these variables to override the choices made by
`configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1068 Report bugs to <courier-users@lists.sourceforge.net>.
1072 if test "$ac_init_help" = "recursive"; then
1073 # If there are subdirs, report their specific --help.
1075 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1076 test -d $ac_dir || continue
1079 if test "$ac_dir" != .; then
1080 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1081 # A "../" for each directory in $ac_dir_suffix.
1082 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1084 ac_dir_suffix= ac_top_builddir=
1088 .) # No --srcdir option. We are building in place.
1090 if test -z "$ac_top_builddir"; then
1093 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1095 [\\/]* | ?:[\\/]* ) # Absolute path.
1096 ac_srcdir=$srcdir$ac_dir_suffix;
1097 ac_top_srcdir=$srcdir ;;
1099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1103 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1104 # the directories may not exist.
1106 .) ac_abs_builddir="$ac_dir";;
1109 .) ac_abs_builddir=`pwd`;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1111 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1114 case $ac_abs_builddir in
1115 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1117 case ${ac_top_builddir}. in
1118 .) ac_abs_top_builddir=$ac_abs_builddir;;
1119 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1120 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1123 case $ac_abs_builddir in
1124 .) ac_abs_srcdir=$ac_srcdir;;
1127 .) ac_abs_srcdir=$ac_abs_builddir;;
1128 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1129 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1132 case $ac_abs_builddir in
1133 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1135 case $ac_top_srcdir in
1136 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1138 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1143 # Check for guested configure; otherwise get Cygnus style configure.
1144 if test -f $ac_srcdir/configure.gnu; then
1146 $SHELL $ac_srcdir/configure.gnu --help=recursive
1147 elif test -f $ac_srcdir/configure; then
1149 $SHELL $ac_srcdir/configure --help=recursive
1150 elif test -f $ac_srcdir/configure.ac ||
1151 test -f $ac_srcdir/configure.in; then
1153 $ac_configure --help
1155 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1161 test -n "$ac_init_help" && exit 0
1162 if $ac_init_version; then
1164 random128 configure 0.10
1165 generated by GNU Autoconf 2.59
1167 Copyright (C) 2003 Free Software Foundation, Inc.
1168 This configure script is free software; the Free Software Foundation
1169 gives unlimited permission to copy, distribute and modify it.
1175 This file contains any messages produced by compilers while
1176 running configure, to aid debugging if configure makes a mistake.
1178 It was created by random128 $as_me 0.10, which was
1179 generated by GNU Autoconf 2.59. Invocation command line was
1190 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1191 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1192 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1193 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1194 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1196 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1197 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1199 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1200 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1201 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1202 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1203 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1204 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1205 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1213 test -z "$as_dir" && as_dir=.
1214 echo "PATH: $as_dir"
1229 # Keep a trace of the command line.
1230 # Strip out --no-create and --no-recursion so they do not pile up.
1231 # Strip out --silent because we don't want to record it for future runs.
1232 # Also quote any args containing shell meta-characters.
1233 # Make two passes to allow for proper duplicate-argument suppression.
1238 ac_must_keep_next=false
1244 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1246 | -silent | --silent | --silen | --sile | --sil)
1248 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1249 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1252 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1254 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1255 if test $ac_must_keep_next = true; then
1256 ac_must_keep_next=false # Got value, back to normal.
1259 *=* | --config-cache | -C | -disable-* | --disable-* \
1260 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1261 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1262 | -with-* | --with-* | -without-* | --without-* | --x)
1263 case "$ac_configure_args0 " in
1264 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1267 -* ) ac_must_keep_next=true ;;
1270 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1271 # Get rid of the leading space.
1277 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1278 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1280 # When interrupted or exit'd, cleanup temporary files, and complete
1281 # config.log. We remove comments because anyway the quotes in there
1282 # would cause problems or look ugly.
1283 # WARNING: Be sure not to use single quotes in there, as some shells,
1284 # such as our DU 5.0 friend, will then `close
' the trap.
1285 trap 'exit_status
=$?
1286 # Save into config.log some information that might help in debugging.
1291 ## ---------------- ##
1292 ## Cache variables. ##
1293 ## ---------------- ##
1296 # The following way of writing the cache mishandles newlines in values,
1299 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1302 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1314 ## ----------------- ##
1315 ## Output variables. ##
1316 ## ----------------- ##
1319 for ac_var
in $ac_subst_vars
1321 eval ac_val
=$
`echo $ac_var`
1322 echo "$ac_var='"'"'$ac_val'"'"'"
1326 if test -n "$ac_subst_files"; then
1333 for ac_var
in $ac_subst_files
1335 eval ac_val
=$
`echo $ac_var`
1336 echo "$ac_var='"'"'$ac_val'"'"'"
1341 if test -s confdefs.h
; then
1348 sed "/^$/d" confdefs.h |
sort
1351 test "$ac_signal" != 0 &&
1352 echo "$as_me: caught signal $ac_signal"
1353 echo "$as_me: exit $exit_status"
1355 rm -f core
*.core
&&
1356 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1359 for ac_signal in 1 2 13 15; do
1360 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1364 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1365 rm -rf conftest* confdefs.h
1366 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1369 # Predefined preprocessor variables.
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_NAME "$PACKAGE_NAME"
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1381 cat >>confdefs.h <<_ACEOF
1382 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_STRING "$PACKAGE_STRING"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1396 # Let the site file select an alternate cache file if it wants to.
1397 # Prefer explicitly selected file to automatically selected ones.
1398 if test -z "$CONFIG_SITE"; then
1399 if test "x$prefix" != xNONE; then
1400 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1402 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1405 for ac_site_file in $CONFIG_SITE; do
1406 if test -r "$ac_site_file"; then
1407 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1408 echo "$as_me: loading site script $ac_site_file" >&6;}
1409 sed 's
/^
/|
/' "$ac_site_file" >&5
1414 if test -r "$cache_file"; then
1415 # Some versions of bash will fail to source /dev/null (special
1416 # files actually), so we avoid doing that.
1417 if test -f "$cache_file"; then
1418 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1419 echo "$as_me: loading cache $cache_file" >&6;}
1421 [\\/]* | ?:[\\/]* ) . $cache_file;;
1422 *) . ./$cache_file;;
1426 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1427 echo "$as_me: creating cache $cache_file" >&6;}
1431 # Check that the precious variables saved in the cache have kept the same
1433 ac_cache_corrupted=false
1434 for ac_var in `(set) 2>&1 |
1435 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1436 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1437 eval ac_new_set=\$ac_env_${ac_var}_set
1438 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1439 eval ac_new_val="\$ac_env_${ac_var}_value"
1440 case $ac_old_set,$ac_new_set in
1442 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1443 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1444 ac_cache_corrupted=: ;;
1446 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1447 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1448 ac_cache_corrupted=: ;;
1451 if test "x$ac_old_val" != "x$ac_new_val"; then
1452 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1453 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1454 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1455 echo "$as_me: former value: $ac_old_val" >&2;}
1456 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1457 echo "$as_me: current value: $ac_new_val" >&2;}
1458 ac_cache_corrupted=:
1461 # Pass precious variables to config.status.
1462 if test "$ac_new_set" = set; then
1464 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1465 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1466 *) ac_arg=$ac_var=$ac_new_val ;;
1468 case " $ac_configure_args " in
1469 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1470 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1474 if $ac_cache_corrupted; then
1475 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1476 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1477 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1478 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1479 { (exit 1); exit 1; }; }
1483 ac_cpp='$CPP $CPPFLAGS'
1484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 >confdefs.h # Kill PACKAGE_ macros
1518 am__api_version="1.9"
1520 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1521 if test -f $ac_dir/install-sh; then
1523 ac_install_sh="$ac_aux_dir/install-sh -c"
1525 elif test -f $ac_dir/install.sh; then
1527 ac_install_sh="$ac_aux_dir/install.sh -c"
1529 elif test -f $ac_dir/shtool; then
1531 ac_install_sh="$ac_aux_dir/shtool install -c"
1535 if test -z "$ac_aux_dir"; then
1536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1537 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1538 { (exit 1); exit 1; }; }
1540 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1541 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1542 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1544 # Find a good install program. We prefer a C program (faster),
1545 # so one script is as good as another. But avoid the broken or
1546 # incompatible versions:
1547 # SysV /etc/install, /usr/sbin/install
1548 # SunOS /usr/etc/install
1549 # IRIX /sbin/install
1551 # AmigaOS /C/install, which installs bootblocks on floppy discs
1552 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1555 # OS/2's system install, which has a completely different semantic
1556 # ./install, which can be erroneously created by make from ./install.sh.
1557 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1558 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1559 if test -z "$INSTALL"; then
1560 if test "${ac_cv_path_install+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir
=.
1568 # Account for people who put trailing slashes in PATH elements.
1570 .
/ | .
// |
/cC
/* | \
1571 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1572 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1575 # OSF1 and SCO ODT 3.0 have their own names for install.
1576 # Don't use installbsd from OSF since it installs stuff as root
1578 for ac_prog
in ginstall scoinst
install; do
1579 for ac_exec_ext
in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1581 if test $ac_prog = install &&
1582 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1583 # AIX install. It has an incompatible calling convention.
1585 elif test $ac_prog = install &&
1586 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1587 # program-specific install script used by HP pwplus--don't use.
1590 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1602 if test "${ac_cv_path_install+set}" = set; then
1603 INSTALL
=$ac_cv_path_install
1605 # As a last resort, use the slow shell script. We don't cache a
1606 # path for INSTALL within a source directory, because that will
1607 # break other packages using the cache if that directory is
1608 # removed, or if the path is relative.
1609 INSTALL
=$ac_install_sh
1612 echo "$as_me:$LINENO: result: $INSTALL" >&5
1613 echo "${ECHO_T}$INSTALL" >&6
1615 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1616 # It thinks the first close brace ends the variable substitution.
1617 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1619 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1621 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1623 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1624 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1627 echo timestamp
> conftest.
file
1628 # Do `set' in a subshell so we don't clobber the current shell's
1629 # arguments. Must try -L first in case configure is actually a
1630 # symlink; some systems play weird games with the mod time of symlinks
1631 # (eg FreeBSD returns the mod time of the symlink's containing
1634 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1635 if test "$*" = "X"; then
1637 set X
`ls -t $srcdir/configure conftest.file`
1640 if test "$*" != "X $srcdir/configure conftest.file" \
1641 && test "$*" != "X conftest.file $srcdir/configure"; then
1643 # If neither matched, then we have a broken ls. This can happen
1644 # if, for instance, CONFIG_SHELL is bash and it inherits a
1645 # broken ls alias from the environment. This has actually
1646 # happened. Such a system could not be considered "sane".
1647 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1648 alias in your environment" >&5
1649 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1650 alias in your environment" >&2;}
1651 { (exit 1); exit 1; }; }
1654 test "$2" = conftest.
file
1660 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1661 Check your system clock" >&5
1662 echo "$as_me: error: newly created file is older than distributed files!
1663 Check your system clock" >&2;}
1664 { (exit 1); exit 1; }; }
1666 echo "$as_me:$LINENO: result: yes" >&5
1667 echo "${ECHO_T}yes" >&6
1668 test "$program_prefix" != NONE
&&
1669 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1670 # Use a double $ so make ignores it.
1671 test "$program_suffix" != NONE
&&
1672 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1673 # Double any \ or $. echo might interpret backslashes.
1674 # By default was `s,x,x', remove it if useless.
1675 cat <<\_ACEOF
>conftest.
sed
1676 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1678 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1681 # expand $ac_aux_dir to an absolute path
1682 am_aux_dir
=`cd $ac_aux_dir && pwd`
1684 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1685 # Use eval to expand $SHELL
1686 if eval "$MISSING --run true"; then
1687 am_missing_run
="$MISSING --run "
1690 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1691 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1694 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1695 # We used to keeping the `.' as first argument, in order to
1696 # allow $(mkdir_p) to be used without argument. As in
1697 # $(mkdir_p) $(somedir)
1698 # where $(somedir) is conditionally defined. However this is wrong
1700 # 1. if the package is installed by a user who cannot write `.'
1701 # make install will fail,
1702 # 2. the above comment should most certainly read
1703 # $(mkdir_p) $(DESTDIR)$(somedir)
1704 # so it does not work when $(somedir) is undefined and
1705 # $(DESTDIR) is not.
1706 # To support the latter case, we have to write
1707 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1708 # so the `.' trick is pointless.
1709 mkdir_p
='mkdir -p --'
1711 # On NextStep and OpenStep, the `mkdir' command does not
1712 # recognize any option. It will interpret all options as
1713 # directories to create, and then abort because `.' already
1715 for d
in .
/-p .
/--version;
1717 test -d $d && rmdir $d
1719 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1720 if test -f "$ac_aux_dir/mkinstalldirs"; then
1721 mkdir_p
='$(mkinstalldirs)'
1723 mkdir_p
='$(install_sh) -d'
1727 for ac_prog
in gawk mawk nawk
awk
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy
$ac_prog; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_AWK+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$AWK"; then
1737 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_AWK
="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1756 if test -n "$AWK"; then
1757 echo "$as_me:$LINENO: result: $AWK" >&5
1758 echo "${ECHO_T}$AWK" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$AWK" && break
1767 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1769 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1770 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 cat >conftest.
make <<\_ACEOF
1775 @
echo 'ac_maketemp="$(MAKE)"'
1777 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1778 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1779 if test -n "$ac_maketemp"; then
1780 eval ac_cv_prog_make_
${ac_make}_set
=yes
1782 eval ac_cv_prog_make_
${ac_make}_set
=no
1786 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1787 echo "$as_me:$LINENO: result: yes" >&5
1788 echo "${ECHO_T}yes" >&6
1791 echo "$as_me:$LINENO: result: no" >&5
1792 echo "${ECHO_T}no" >&6
1793 SET_MAKE
="MAKE=${MAKE-make}"
1796 rm -rf .tst
2>/dev
/null
1797 mkdir .tst
2>/dev
/null
1798 if test -d .tst
; then
1803 rmdir .tst
2>/dev
/null
1805 # test to see if srcdir already configured
1806 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1807 test -f $srcdir/config.status
; then
1808 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1809 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1810 { (exit 1); exit 1; }; }
1813 # test whether we have cygpath
1814 if test -z "$CYGPATH_W"; then
1815 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1816 CYGPATH_W
='cygpath -w'
1823 # Define the identity of the package.
1828 # Some tools Automake needs.
1830 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1833 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1836 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1839 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1842 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1844 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1846 # Installed binaries are usually stripped using `strip' when the user
1847 # run `make install-strip'. However `strip' might not be the right
1848 # tool to use in cross-compilation environments, therefore Automake
1849 # will honor the `STRIP' environment variable to overrule this program.
1850 if test "$cross_compiling" != no
; then
1851 if test -n "$ac_tool_prefix"; then
1852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1853 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_STRIP+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$STRIP"; then
1860 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir
=.
1867 for ac_exec_ext
in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 STRIP
=$ac_cv_prog_STRIP
1879 if test -n "$STRIP"; then
1880 echo "$as_me:$LINENO: result: $STRIP" >&5
1881 echo "${ECHO_T}$STRIP" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1888 if test -z "$ac_cv_prog_STRIP"; then
1890 # Extract the first word of "strip", so it can be a program name with args.
1891 set dummy strip
; ac_word
=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$ac_ct_STRIP"; then
1898 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir
=.
1905 for ac_exec_ext
in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_ac_ct_STRIP
="strip"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1914 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1917 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1918 if test -n "$ac_ct_STRIP"; then
1919 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1920 echo "${ECHO_T}$ac_ct_STRIP" >&6
1922 echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6
1928 STRIP
="$ac_cv_prog_STRIP"
1932 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1934 # We need awk for the "check" target. The system "awk" is bad on
1936 # Always define AMTAR for backward compatibility.
1938 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1940 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1946 LPATH
="$PATH:/usr/local/bin"
1949 ac_config_headers
="$ac_config_headers config.h"
1951 DEPDIR
="${am__leading_dot}deps"
1953 ac_config_commands
="$ac_config_commands depfiles"
1956 am_make
=${MAKE-make}
1957 cat > confinc
<< 'END'
1962 # If we don't find an include directive, just comment out the code.
1963 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1964 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1968 # First try GNU make style include.
1969 echo "include confinc" > confmf
1970 # We grep out `Entering directory' and `Leaving directory'
1971 # messages which can occur if `w' ends up in MAKEFLAGS.
1972 # In particular we don't look at `^make:' because GNU make might
1973 # be invoked under some other name (usually "gmake"), in which
1974 # case it prints its new name instead of `make'.
1975 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1980 # Now try BSD make style include.
1981 if test "$am__include" = "#"; then
1982 echo '.include "confinc"' > confmf
1983 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1984 am__include
=.include
1991 echo "$as_me:$LINENO: result: $_am_result" >&5
1992 echo "${ECHO_T}$_am_result" >&6
1993 rm -f confinc confmf
1995 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1996 if test "${enable_dependency_tracking+set}" = set; then
1997 enableval
="$enable_dependency_tracking"
2000 if test "x$enable_dependency_tracking" != xno
; then
2001 am_depcomp
="$ac_aux_dir/depcomp"
2006 if test "x$enable_dependency_tracking" != xno; then
2017 ac_cpp
='$CPP $CPPFLAGS'
2018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2021 if test -n "$ac_tool_prefix"; then
2022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2023 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2024 echo "$as_me:$LINENO: checking for $ac_word" >&5
2025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2026 if test "${ac_cv_prog_CC+set}" = set; then
2027 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 if test -n "$CC"; then
2030 ac_cv_prog_CC
="$CC" # Let the user override the test.
2032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir
=.
2037 for ac_exec_ext
in '' $ac_executable_extensions; do
2038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 if test -n "$CC"; then
2050 echo "$as_me:$LINENO: result: $CC" >&5
2051 echo "${ECHO_T}$CC" >&6
2053 echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6
2058 if test -z "$ac_cv_prog_CC"; then
2060 # Extract the first word of "gcc", so it can be a program name with args.
2061 set dummy gcc
; ac_word
=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$ac_ct_CC"; then
2068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir
=.
2075 for ac_exec_ext
in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2077 ac_cv_prog_ac_ct_CC
="gcc"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2087 if test -n "$ac_ct_CC"; then
2088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2089 echo "${ECHO_T}$ac_ct_CC" >&6
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2100 if test -z "$CC"; then
2101 if test -n "$ac_tool_prefix"; then
2102 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2103 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2104 echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2106 if test "${ac_cv_prog_CC+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 if test -n "$CC"; then
2110 ac_cv_prog_CC
="$CC" # Let the user override the test.
2112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir
=.
2117 for ac_exec_ext
in '' $ac_executable_extensions; do
2118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 if test -n "$CC"; then
2130 echo "$as_me:$LINENO: result: $CC" >&5
2131 echo "${ECHO_T}$CC" >&6
2133 echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6
2138 if test -z "$ac_cv_prog_CC"; then
2140 # Extract the first word of "cc", so it can be a program name with args.
2141 set dummy cc
; ac_word
=$2
2142 echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 if test -n "$ac_ct_CC"; then
2148 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir
=.
2155 for ac_exec_ext
in '' $ac_executable_extensions; do
2156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_ac_ct_CC
="cc"
2158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2167 if test -n "$ac_ct_CC"; then
2168 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2169 echo "${ECHO_T}$ac_ct_CC" >&6
2171 echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc
; ac_word
=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC
="$CC" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected
=yes
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy
$ac_cv_prog_CC
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2220 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2226 if test -n "$CC"; then
2227 echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2235 if test -z "$CC"; then
2236 if test -n "$ac_tool_prefix"; then
2239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2240 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2241 echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2243 if test "${ac_cv_prog_CC+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC
="$CC" # Let the user override the test.
2249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir
=.
2254 for ac_exec_ext
in '' $ac_executable_extensions; do
2255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2256 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test -n "$CC"; then
2267 echo "$as_me:$LINENO: result: $CC" >&5
2268 echo "${ECHO_T}$CC" >&6
2270 echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6
2274 test -n "$CC" && break
2277 if test -z "$CC"; then
2281 # Extract the first word of "$ac_prog", so it can be a program name with args.
2282 set dummy
$ac_prog; ac_word
=$2
2283 echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 if test -n "$ac_ct_CC"; then
2289 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir
=.
2296 for ac_exec_ext
in '' $ac_executable_extensions; do
2297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298 ac_cv_prog_ac_ct_CC
="$ac_prog"
2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2308 if test -n "$ac_ct_CC"; then
2309 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2310 echo "${ECHO_T}$ac_ct_CC" >&6
2312 echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6
2316 test -n "$ac_ct_CC" && break
2325 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2326 See \`config.log' for more details." >&5
2327 echo "$as_me: error: no acceptable C compiler found in \$PATH
2328 See \`config.log' for more details." >&2;}
2329 { (exit 1); exit 1; }; }
2331 # Provide some information about the compiler.
2332 echo "$as_me:$LINENO:" \
2333 "checking for C compiler version" >&5
2334 ac_compiler
=`set X $ac_compile; echo $2`
2335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2336 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2341 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }
2345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2346 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2351 cat >conftest.
$ac_ext <<_ACEOF
2354 cat confdefs.h
>>conftest.
$ac_ext
2355 cat >>conftest.
$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2366 ac_clean_files_save
=$ac_clean_files
2367 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2368 # Try to create an executable without -o first, disregard a.out.
2369 # It will help us diagnose broken compilers, and finding out an intuition
2371 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2372 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2373 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2375 (eval $ac_link_default) 2>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; then
2379 # Find the output, starting from the most likely. This scheme is
2380 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2383 # Be careful to initialize this variable, since it used to be cached.
2384 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2386 # b.out is created by i960 compilers.
2387 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2389 test -f "$ac_file" ||
continue
2391 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2394 # This is the source file.
2397 # We found the default executable, but exeext='' is most
2401 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2402 # FIXME: I believe we export ac_cv_exeext for Libtool,
2403 # but it would be cool to find out if it's true. Does anybody
2404 # maintain Libtool? --akim.
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2416 See \`config.log' for more details." >&5
2417 echo "$as_me: error: C compiler cannot create executables
2418 See \`config.log' for more details." >&2;}
2419 { (exit 77); exit 77; }; }
2422 ac_exeext
=$ac_cv_exeext
2423 echo "$as_me:$LINENO: result: $ac_file" >&5
2424 echo "${ECHO_T}$ac_file" >&6
2426 # Check the compiler produces executables we can run. If not, either
2427 # the compiler is broken, or we cross compile.
2428 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2429 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2430 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2431 # If not cross compiling, check that we can run a simple program.
2432 if test "$cross_compiling" != yes; then
2433 if { ac_try
='./$ac_file'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; }; then
2441 if test "$cross_compiling" = maybe
; then
2444 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2445 If you meant to cross compile, use \`--host'.
2446 See \`config.log' for more details." >&5
2447 echo "$as_me: error: cannot run C compiled programs.
2448 If you meant to cross compile, use \`--host'.
2449 See \`config.log' for more details." >&2;}
2450 { (exit 1); exit 1; }; }
2454 echo "$as_me:$LINENO: result: yes" >&5
2455 echo "${ECHO_T}yes" >&6
2457 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2458 ac_clean_files
=$ac_clean_files_save
2459 # Check the compiler produces executables we can run. If not, either
2460 # the compiler is broken, or we cross compile.
2461 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2462 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2463 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2464 echo "${ECHO_T}$cross_compiling" >&6
2466 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2467 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2469 (eval $ac_link) 2>&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; then
2473 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2474 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2475 # work properly (i.e., refer to `conftest.exe'), while it won't with
2477 for ac_file
in conftest.exe conftest conftest.
*; do
2478 test -f "$ac_file" ||
continue
2480 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2481 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2488 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2489 See \`config.log' for more details." >&5
2490 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2491 See \`config.log' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2495 rm -f conftest
$ac_cv_exeext
2496 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2497 echo "${ECHO_T}$ac_cv_exeext" >&6
2499 rm -f conftest.
$ac_ext
2500 EXEEXT
=$ac_cv_exeext
2502 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2503 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2504 if test "${ac_cv_objext+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 cat >conftest.
$ac_ext <<_ACEOF
2510 cat confdefs.h
>>conftest.
$ac_ext
2511 cat >>conftest.
$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2522 rm -f conftest.o conftest.obj
2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2524 (eval $ac_compile) 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2531 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2539 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2540 See \`config.log' for more details." >&5
2541 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2542 See \`config.log' for more details." >&2;}
2543 { (exit 1); exit 1; }; }
2546 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2548 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2549 echo "${ECHO_T}$ac_cv_objext" >&6
2550 OBJEXT
=$ac_cv_objext
2552 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2553 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2554 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.
$ac_ext <<_ACEOF
2560 cat confdefs.h
>>conftest.
$ac_ext
2561 cat >>conftest.
$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2575 rm -f conftest.
$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 (eval $ac_compile) 2>conftest.er1
2579 grep -v '^ *+' conftest.er1
>conftest.err
2581 cat conftest.err
>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try
='test -z "$ac_c_werror_flag"
2585 || test ! -s conftest.err'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; } &&
2591 { ac_try
='test -s conftest.$ac_objext'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2605 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2608 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2609 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2610 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2611 ac_test_CFLAGS
=${CFLAGS+set}
2612 ac_save_CFLAGS
=$CFLAGS
2614 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2615 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2616 if test "${ac_cv_prog_cc_g+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 cat >conftest.
$ac_ext <<_ACEOF
2622 cat confdefs.h
>>conftest.
$ac_ext
2623 cat >>conftest.
$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 rm -f conftest.
$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2638 grep -v '^ *+' conftest.er1
>conftest.err
2640 cat conftest.err
>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try
='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try
='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2665 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2666 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2667 if test "$ac_test_CFLAGS" = set; then
2668 CFLAGS
=$ac_save_CFLAGS
2669 elif test $ac_cv_prog_cc_g = yes; then
2670 if test "$GCC" = yes; then
2676 if test "$GCC" = yes; then
2682 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2683 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2684 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 ac_cv_prog_cc_stdc
=no
2689 cat >conftest.
$ac_ext <<_ACEOF
2692 cat confdefs.h
>>conftest.
$ac_ext
2693 cat >>conftest.
$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2697 #include <sys/types.h>
2698 #include <sys/stat.h>
2699 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2700 struct buf { int x; };
2701 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2702 static char *e (p, i)
2708 static char *f (char * (*g) (char **, int), char **p, ...)
2713 s = g (p, va_arg (v,int));
2718 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2719 function prototypes and stuff, but not '\xHH' hex character constants.
2720 These don't provoke an error unfortunately, instead are silently treated
2721 as 'x'. The following induces an error, until -std1 is added to get
2722 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2723 array size at least. It's necessary to write '\x00'==0 to get something
2724 that's true only with -std1. */
2725 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2727 int test (int i, double x);
2728 struct s1 {int (*f) (int a);};
2729 struct s2 {int (*f) (double a);};
2730 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2736 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2741 # Don't try gcc -ansi; that turns off useful extensions and
2742 # breaks some systems' header files.
2743 # AIX -qlanglvl=ansi
2744 # Ultrix and OSF/1 -std1
2745 # HP-UX 10.20 and later -Ae
2746 # HP-UX older versions -Aa -D_HPUX_SOURCE
2747 # SVR4 -Xc -D__EXTENSIONS__
2748 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2750 CC
="$ac_save_CC $ac_arg"
2751 rm -f conftest.
$ac_objext
2752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2753 (eval $ac_compile) 2>conftest.er1
2755 grep -v '^ *+' conftest.er1
>conftest.err
2757 cat conftest.err
>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } &&
2760 { ac_try
='test -z "$ac_c_werror_flag"
2761 || test ! -s conftest.err'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; } &&
2767 { ac_try
='test -s conftest.$ac_objext'
2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; }; then
2773 ac_cv_prog_cc_stdc
=$ac_arg
2776 echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.
$ac_ext >&5
2780 rm -f conftest.err conftest.
$ac_objext
2782 rm -f conftest.
$ac_ext conftest.
$ac_objext
2787 case "x$ac_cv_prog_cc_stdc" in
2789 echo "$as_me:$LINENO: result: none needed" >&5
2790 echo "${ECHO_T}none needed" >&6 ;;
2792 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2793 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2794 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2797 # Some people use a C++ compiler to compile C. Since we use `exit',
2798 # in C++ we need to declare it. In case someone uses the same compiler
2799 # for both compiling C and C++ we need to have the C++ compiler decide
2800 # the declaration of exit, since it's the most demanding environment.
2801 cat >conftest.
$ac_ext <<_ACEOF
2806 rm -f conftest.
$ac_objext
2807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2808 (eval $ac_compile) 2>conftest.er1
2810 grep -v '^ *+' conftest.er1
>conftest.err
2812 cat conftest.err
>&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); } &&
2815 { ac_try
='test -z "$ac_c_werror_flag"
2816 || test ! -s conftest.err'
2817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; } &&
2822 { ac_try
='test -s conftest.$ac_objext'
2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; }; then
2828 for ac_declaration
in \
2830 'extern "C" void std::exit (int) throw (); using std::exit;' \
2831 'extern "C" void std::exit (int); using std::exit;' \
2832 'extern "C" void exit (int) throw ();' \
2833 'extern "C" void exit (int);' \
2836 cat >conftest.
$ac_ext <<_ACEOF
2839 cat confdefs.h
>>conftest.
$ac_ext
2840 cat >>conftest.
$ac_ext <<_ACEOF
2841 /* end confdefs.h. */
2852 rm -f conftest.
$ac_objext
2853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2854 (eval $ac_compile) 2>conftest.er1
2856 grep -v '^ *+' conftest.er1
>conftest.err
2858 cat conftest.err
>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } &&
2861 { ac_try
='test -z "$ac_c_werror_flag"
2862 || test ! -s conftest.err'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; } &&
2868 { ac_try
='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.
$ac_ext >&5
2881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2882 cat >conftest.
$ac_ext <<_ACEOF
2885 cat confdefs.h
>>conftest.
$ac_ext
2886 cat >>conftest.
$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2897 rm -f conftest.
$ac_objext
2898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2899 (eval $ac_compile) 2>conftest.er1
2901 grep -v '^ *+' conftest.er1
>conftest.err
2903 cat conftest.err
>&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); } &&
2906 { ac_try
='test -z "$ac_c_werror_flag"
2907 || test ! -s conftest.err'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; } &&
2913 { ac_try
='test -s conftest.$ac_objext'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; }; then
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.
$ac_ext >&5
2925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2928 if test -n "$ac_declaration"; then
2929 echo '#ifdef __cplusplus' >>confdefs.h
2930 echo $ac_declaration >>confdefs.h
2931 echo '#endif' >>confdefs.h
2935 echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.
$ac_ext >&5
2939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2941 ac_cpp
='$CPP $CPPFLAGS'
2942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2946 depcc
="$CC" am_compiler_list
=
2948 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2949 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2950 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2954 # We make a subdir and do the tests there. Otherwise we can end up
2955 # making bogus files that we don't know about and never remove. For
2956 # instance it was reported that on HP-UX the gcc test will end up
2957 # making a dummy file named `D' -- because `-MD' means `put the output
2960 # Copy depcomp to subdir because otherwise we won't find it if we're
2961 # using a relative directory.
2962 cp "$am_depcomp" conftest.dir
2964 # We will build objects and dependencies in a subdirectory because
2965 # it helps to detect inapplicable dependency modes. For instance
2966 # both Tru64's cc and ICC support -MD to output dependencies as a
2967 # side effect of compilation, but ICC will put the dependencies in
2968 # the current directory while Tru64 will put them in the object
2972 am_cv_CC_dependencies_compiler_type
=none
2973 if test "$am_compiler_list" = ""; then
2974 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2976 for depmode
in $am_compiler_list; do
2977 # Setup a source with many dependencies, because some compilers
2978 # like to wrap large dependency lists on column 80 (with \), and
2979 # we should not choose a depcomp mode which is confused by this.
2981 # We need to recreate these files for each test, as the compiler may
2982 # overwrite some of them when testing with obscure command lines.
2983 # This happens at least with the AIX C compiler.
2985 for i
in 1 2 3 4 5 6; do
2986 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2987 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2988 # Solaris 8's {/usr,}/bin/sh.
2989 touch sub
/conftst
$i.h
2991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2995 # after this tag, mechanisms are not by side-effect, so they'll
2996 # only be used when explicitly requested
2997 if test "x$enable_dependency_tracking" = xyes
; then
3005 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3006 # mode. It turns out that the SunPro C++ compiler does not properly
3007 # handle `-M -o', and we need to detect this.
3008 if depmode
=$depmode \
3009 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3010 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3011 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3012 >/dev
/null
2>conftest.err
&&
3013 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3014 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3015 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3016 # icc doesn't choke on unknown options, it will just issue warnings
3017 # or remarks (even with -Werror). So we grep stderr for any message
3018 # that says an option was ignored or not supported.
3019 # When given -MP, icc 7.0 and 7.1 complain thusly:
3020 # icc: Command line warning: ignoring option '-M'; no argument required
3021 # The diagnosis changed in icc 8.0:
3022 # icc: Command line remark: option '-MP' not supported
3023 if (grep 'ignoring option' conftest.err ||
3024 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3025 am_cv_CC_dependencies_compiler_type
=$depmode
3034 am_cv_CC_dependencies_compiler_type
=none
3038 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3039 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3040 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3045 test "x$enable_dependency_tracking" != xno \
3046 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3048 am__fastdepCC_FALSE
='#'
3050 am__fastdepCC_TRUE
='#'
3051 am__fastdepCC_FALSE
=
3057 ac_cpp
='$CPP $CPPFLAGS'
3058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3061 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3062 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3063 # On Suns, sometimes $CPP names a directory.
3064 if test -n "$CPP" && test -d "$CPP"; then
3067 if test -z "$CPP"; then
3068 if test "${ac_cv_prog_CPP+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 # Double quotes because CPP needs to be expanded
3072 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3075 for ac_c_preproc_warn_flag
in '' yes
3077 # Use a header file that comes with gcc, so configuring glibc
3078 # with a fresh cross-compiler works.
3079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3080 # <limits.h> exists even on freestanding compilers.
3081 # On the NeXT, cc -E runs the code through the compiler's parser,
3082 # not just through cpp. "Syntax error" is here to catch this case.
3083 cat >conftest.
$ac_ext <<_ACEOF
3086 cat confdefs.h
>>conftest.
$ac_ext
3087 cat >>conftest.
$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3090 # include <limits.h>
3092 # include <assert.h>
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1
>conftest.err
3101 cat conftest.err
>&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev
/null
; then
3104 if test -s conftest.err
; then
3105 ac_cpp_err
=$ac_c_preproc_warn_flag
3106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3113 if test -z "$ac_cpp_err"; then
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.
$ac_ext >&5
3119 # Broken: fails on valid input.
3122 rm -f conftest.err conftest.
$ac_ext
3124 # OK, works on sane cases. Now check whether non-existent headers
3125 # can be detected and how.
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3132 #include <ac_nonexistent.h>
3134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3135 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3137 grep -v '^ *+' conftest.er1
>conftest.err
3139 cat conftest.err
>&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } >/dev
/null
; then
3142 if test -s conftest.err
; then
3143 ac_cpp_err
=$ac_c_preproc_warn_flag
3144 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3151 if test -z "$ac_cpp_err"; then
3152 # Broken: success on invalid input.
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.
$ac_ext >&5
3158 # Passes both tests.
3162 rm -f conftest.err conftest.
$ac_ext
3165 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3166 rm -f conftest.err conftest.
$ac_ext
3167 if $ac_preproc_ok; then
3179 echo "$as_me:$LINENO: result: $CPP" >&5
3180 echo "${ECHO_T}$CPP" >&6
3182 for ac_c_preproc_warn_flag
in '' yes
3184 # Use a header file that comes with gcc, so configuring glibc
3185 # with a fresh cross-compiler works.
3186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3187 # <limits.h> exists even on freestanding compilers.
3188 # On the NeXT, cc -E runs the code through the compiler's parser,
3189 # not just through cpp. "Syntax error" is here to catch this case.
3190 cat >conftest.
$ac_ext <<_ACEOF
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3197 # include <limits.h>
3199 # include <assert.h>
3203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1
>conftest.err
3208 cat conftest.err
>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev
/null
; then
3211 if test -s conftest.err
; then
3212 ac_cpp_err
=$ac_c_preproc_warn_flag
3213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3220 if test -z "$ac_cpp_err"; then
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.
$ac_ext >&5
3226 # Broken: fails on valid input.
3229 rm -f conftest.err conftest.
$ac_ext
3231 # OK, works on sane cases. Now check whether non-existent headers
3232 # can be detected and how.
3233 cat >conftest.
$ac_ext <<_ACEOF
3236 cat confdefs.h
>>conftest.
$ac_ext
3237 cat >>conftest.
$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <ac_nonexistent.h>
3241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } >/dev
/null
; then
3249 if test -s conftest.err
; then
3250 ac_cpp_err
=$ac_c_preproc_warn_flag
3251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3258 if test -z "$ac_cpp_err"; then
3259 # Broken: success on invalid input.
3262 echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.
$ac_ext >&5
3265 # Passes both tests.
3269 rm -f conftest.err conftest.
$ac_ext
3272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3273 rm -f conftest.err conftest.
$ac_ext
3274 if $ac_preproc_ok; then
3277 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3278 See \`config.log' for more details." >&5
3279 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3280 See \`config.log' for more details." >&2;}
3281 { (exit 1); exit 1; }; }
3285 ac_cpp
='$CPP $CPPFLAGS'
3286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3291 echo "$as_me:$LINENO: checking for egrep" >&5
3292 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3293 if test "${ac_cv_prog_egrep+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3297 then ac_cv_prog_egrep
='grep -E'
3298 else ac_cv_prog_egrep
='egrep'
3301 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3302 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3303 EGREP
=$ac_cv_prog_egrep
3307 echo "$as_me:$LINENO: checking for AIX" >&5
3308 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3309 cat >conftest.
$ac_ext <<_ACEOF
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3321 $EGREP "yes" >/dev
/null
2>&1; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 cat >>confdefs.h
<<\_ACEOF
3325 #define _ALL_SOURCE 1
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3336 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3337 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3338 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 ac_check_lib_save_LIBS
=$LIBS
3342 LIBS
="-lcposix $LIBS"
3343 cat >conftest.
$ac_ext <<_ACEOF
3346 cat confdefs.h
>>conftest.
$ac_ext
3347 cat >>conftest.
$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3350 /* Override any gcc2 internal prototype to avoid an error. */
3354 /* We use char because int might match the return type of a gcc2
3355 builtin and then its argument prototype would still apply. */
3365 rm -f conftest.
$ac_objext conftest
$ac_exeext
3366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3367 (eval $ac_link) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1
>conftest.err
3371 cat conftest.err
>&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } &&
3374 { ac_try
='test -z "$ac_c_werror_flag"
3375 || test ! -s conftest.err'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; } &&
3381 { ac_try
='test -s conftest$ac_exeext'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; }; then
3387 ac_cv_lib_cposix_strerror
=yes
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3392 ac_cv_lib_cposix_strerror
=no
3394 rm -f conftest.err conftest.
$ac_objext \
3395 conftest
$ac_exeext conftest.
$ac_ext
3396 LIBS
=$ac_check_lib_save_LIBS
3398 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3399 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3400 if test $ac_cv_lib_cposix_strerror = yes; then
3401 LIBS
="$LIBS -lcposix"
3406 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3407 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3408 if test "${ac_cv_header_stdc+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 cat >conftest.
$ac_ext <<_ACEOF
3414 cat confdefs.h
>>conftest.
$ac_ext
3415 cat >>conftest.
$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3430 rm -f conftest.
$ac_objext
3431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3432 (eval $ac_compile) 2>conftest.er1
3434 grep -v '^ *+' conftest.er1
>conftest.err
3436 cat conftest.err
>&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); } &&
3439 { ac_try
='test -z "$ac_c_werror_flag"
3440 || test ! -s conftest.err'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; } &&
3446 { ac_try
='test -s conftest.$ac_objext'
3447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); }; }; then
3452 ac_cv_header_stdc
=yes
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.
$ac_ext >&5
3457 ac_cv_header_stdc
=no
3459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3461 if test $ac_cv_header_stdc = yes; then
3462 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3463 cat >conftest.
$ac_ext <<_ACEOF
3466 cat confdefs.h
>>conftest.
$ac_ext
3467 cat >>conftest.
$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3473 $EGREP "memchr" >/dev
/null
2>&1; then
3476 ac_cv_header_stdc
=no
3482 if test $ac_cv_header_stdc = yes; then
3483 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3484 cat >conftest.
$ac_ext <<_ACEOF
3487 cat confdefs.h
>>conftest.
$ac_ext
3488 cat >>conftest.
$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3494 $EGREP "free" >/dev
/null
2>&1; then
3497 ac_cv_header_stdc
=no
3503 if test $ac_cv_header_stdc = yes; then
3504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3505 if test "$cross_compiling" = yes; then
3508 cat >conftest.
$ac_ext <<_ACEOF
3511 cat confdefs.h
>>conftest.
$ac_ext
3512 cat >>conftest.
$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3515 #if ((' ' & 0x0FF) == 0x020)
3516 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3517 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3519 # define ISLOWER(c) \
3520 (('a' <= (c) && (c) <= 'i') \
3521 || ('j' <= (c) && (c) <= 'r') \
3522 || ('s' <= (c) && (c) <= 'z'))
3523 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3526 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3531 for (i = 0; i < 256; i++)
3532 if (XOR (islower (i), ISLOWER (i))
3533 || toupper (i) != TOUPPER (i))
3538 rm -f conftest
$ac_exeext
3539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3540 (eval $ac_link) 2>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3551 echo "$as_me: program exited with status $ac_status" >&5
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.
$ac_ext >&5
3556 ac_cv_header_stdc
=no
3558 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3563 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3564 if test $ac_cv_header_stdc = yes; then
3566 cat >>confdefs.h
<<\_ACEOF
3567 #define STDC_HEADERS 1
3572 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3582 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3583 inttypes.h stdint.h unistd.h
3585 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3586 echo "$as_me:$LINENO: checking for $ac_header" >&5
3587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $ac_includes_default
3599 #include <$ac_header>
3601 rm -f conftest.
$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>conftest.er1
3605 grep -v '^ *+' conftest.er1
>conftest.err
3607 cat conftest.err
>&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try
='test -z "$ac_c_werror_flag"
3611 || test ! -s conftest.err'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; } &&
3617 { ac_try
='test -s conftest.$ac_objext'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; }; then
3623 eval "$as_ac_Header=yes"
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.
$ac_ext >&5
3628 eval "$as_ac_Header=no"
3630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3635 cat >>confdefs.h
<<_ACEOF
3636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3644 if test "${ac_cv_header_minix_config_h+set}" = set; then
3645 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3646 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3647 if test "${ac_cv_header_minix_config_h+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3651 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3653 # Is the header compilable?
3654 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3655 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3656 cat >conftest.
$ac_ext <<_ACEOF
3659 cat confdefs.h
>>conftest.
$ac_ext
3660 cat >>conftest.
$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3662 $ac_includes_default
3663 #include <minix/config.h>
3665 rm -f conftest.
$ac_objext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3667 (eval $ac_compile) 2>conftest.er1
3669 grep -v '^ *+' conftest.er1
>conftest.err
3671 cat conftest.err
>&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); } &&
3674 { ac_try
='test -z "$ac_c_werror_flag"
3675 || test ! -s conftest.err'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; } &&
3681 { ac_try
='test -s conftest.$ac_objext'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then
3687 ac_header_compiler
=yes
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.
$ac_ext >&5
3692 ac_header_compiler
=no
3694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3696 echo "${ECHO_T}$ac_header_compiler" >&6
3698 # Is the header present?
3699 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3700 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3701 cat >conftest.
$ac_ext <<_ACEOF
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3707 #include <minix/config.h>
3709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3712 grep -v '^ *+' conftest.er1
>conftest.err
3714 cat conftest.err
>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } >/dev
/null
; then
3717 if test -s conftest.err
; then
3718 ac_cpp_err
=$ac_c_preproc_warn_flag
3719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3726 if test -z "$ac_cpp_err"; then
3727 ac_header_preproc
=yes
3729 echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.
$ac_ext >&5
3732 ac_header_preproc
=no
3734 rm -f conftest.err conftest.
$ac_ext
3735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3736 echo "${ECHO_T}$ac_header_preproc" >&6
3738 # So? What about this header?
3739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3741 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3742 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3743 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3744 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3745 ac_header_preproc
=yes
3748 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3749 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3751 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3752 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3753 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3754 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3755 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3757 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3758 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3759 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3762 ## -------------------------------------------------- ##
3763 ## Report this to courier-users@lists.sourceforge.net ##
3764 ## -------------------------------------------------- ##
3767 sed "s/^/$as_me: WARNING: /" >&2
3770 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3771 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3772 if test "${ac_cv_header_minix_config_h+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 ac_cv_header_minix_config_h
=$ac_header_preproc
3777 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3778 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3781 if test $ac_cv_header_minix_config_h = yes; then
3788 if test "$MINIX" = yes; then
3790 cat >>confdefs.h
<<\_ACEOF
3791 #define _POSIX_SOURCE 1
3795 cat >>confdefs.h
<<\_ACEOF
3796 #define _POSIX_1_SOURCE 2
3800 cat >>confdefs.h
<<\_ACEOF
3806 # Find a good install program. We prefer a C program (faster),
3807 # so one script is as good as another. But avoid the broken or
3808 # incompatible versions:
3809 # SysV /etc/install, /usr/sbin/install
3810 # SunOS /usr/etc/install
3811 # IRIX /sbin/install
3813 # AmigaOS /C/install, which installs bootblocks on floppy discs
3814 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3815 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3816 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3817 # OS/2's system install, which has a completely different semantic
3818 # ./install, which can be erroneously created by make from ./install.sh.
3819 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3820 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3821 if test -z "$INSTALL"; then
3822 if test "${ac_cv_path_install+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir
=.
3830 # Account for people who put trailing slashes in PATH elements.
3832 .
/ | .
// |
/cC
/* | \
3833 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3834 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3837 # OSF1 and SCO ODT 3.0 have their own names for install.
3838 # Don't use installbsd from OSF since it installs stuff as root
3840 for ac_prog
in ginstall scoinst
install; do
3841 for ac_exec_ext
in '' $ac_executable_extensions; do
3842 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3843 if test $ac_prog = install &&
3844 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3845 # AIX install. It has an incompatible calling convention.
3847 elif test $ac_prog = install &&
3848 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3849 # program-specific install script used by HP pwplus--don't use.
3852 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3864 if test "${ac_cv_path_install+set}" = set; then
3865 INSTALL
=$ac_cv_path_install
3867 # As a last resort, use the slow shell script. We don't cache a
3868 # path for INSTALL within a source directory, because that will
3869 # break other packages using the cache if that directory is
3870 # removed, or if the path is relative.
3871 INSTALL
=$ac_install_sh
3874 echo "$as_me:$LINENO: result: $INSTALL" >&5
3875 echo "${ECHO_T}$INSTALL" >&6
3877 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3878 # It thinks the first close brace ends the variable substitution.
3879 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3881 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3883 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3885 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3886 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3888 if test "$LN_S" = "ln -s"; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3892 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3893 echo "${ECHO_T}no, using $LN_S" >&6
3897 ac_cpp
='$CPP $CPPFLAGS'
3898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3901 if test -n "$ac_tool_prefix"; then
3902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3903 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3904 echo "$as_me:$LINENO: checking for $ac_word" >&5
3905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906 if test "${ac_cv_prog_CC+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 if test -n "$CC"; then
3910 ac_cv_prog_CC
="$CC" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 if test -n "$CC"; then
3930 echo "$as_me:$LINENO: result: $CC" >&5
3931 echo "${ECHO_T}$CC" >&6
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3938 if test -z "$ac_cv_prog_CC"; then
3940 # Extract the first word of "gcc", so it can be a program name with args.
3941 set dummy gcc
; ac_word
=$2
3942 echo "$as_me:$LINENO: checking for $ac_word" >&5
3943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_ac_ct_CC
="gcc"
3958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3967 if test -n "$ac_ct_CC"; then
3968 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3969 echo "${ECHO_T}$ac_ct_CC" >&6
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3980 if test -z "$CC"; then
3981 if test -n "$ac_tool_prefix"; then
3982 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3983 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_CC+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 if test -n "$CC"; then
3990 ac_cv_prog_CC
="$CC" # Let the user override the test.
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_exec_ext
in '' $ac_executable_extensions; do
3998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 if test -n "$CC"; then
4010 echo "$as_me:$LINENO: result: $CC" >&5
4011 echo "${ECHO_T}$CC" >&6
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4018 if test -z "$ac_cv_prog_CC"; then
4020 # Extract the first word of "cc", so it can be a program name with args.
4021 set dummy cc
; 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_ac_ct_CC+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 if test -n "$ac_ct_CC"; then
4028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # 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_ac_ct_CC
="cc"
4038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4047 if test -n "$ac_ct_CC"; then
4048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4049 echo "${ECHO_T}$ac_ct_CC" >&6
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4061 if test -z "$CC"; then
4062 # Extract the first word of "cc", so it can be a program name with args.
4063 set dummy cc
; ac_word
=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_CC+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 if test -n "$CC"; then
4070 ac_cv_prog_CC
="$CC" # Let the user override the test.
4073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir
=.
4078 for ac_exec_ext
in '' $ac_executable_extensions; do
4079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4081 ac_prog_rejected
=yes
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 if test $ac_prog_rejected = yes; then
4092 # We found a bogon in the path, so make sure we never use it.
4093 set dummy
$ac_cv_prog_CC
4095 if test $# != 0; then
4096 # We chose a different compiler from the bogus one.
4097 # However, it has the same basename, so the bogon will be chosen
4098 # first if we set CC to just the basename; use the full file name.
4100 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4106 if test -n "$CC"; then
4107 echo "$as_me:$LINENO: result: $CC" >&5
4108 echo "${ECHO_T}$CC" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 if test -z "$CC"; then
4116 if test -n "$ac_tool_prefix"; then
4119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4121 echo "$as_me:$LINENO: checking for $ac_word" >&5
4122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4123 if test "${ac_cv_prog_CC+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 if test -n "$CC"; then
4127 ac_cv_prog_CC
="$CC" # Let the user override the test.
4129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4133 test -z "$as_dir" && as_dir
=.
4134 for ac_exec_ext
in '' $ac_executable_extensions; do
4135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4136 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4146 if test -n "$CC"; then
4147 echo "$as_me:$LINENO: result: $CC" >&5
4148 echo "${ECHO_T}$CC" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4154 test -n "$CC" && break
4157 if test -z "$CC"; then
4161 # Extract the first word of "$ac_prog", so it can be a program name with args.
4162 set dummy
$ac_prog; ac_word
=$2
4163 echo "$as_me:$LINENO: checking for $ac_word" >&5
4164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4165 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4168 if test -n "$ac_ct_CC"; then
4169 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir
=.
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4178 ac_cv_prog_ac_ct_CC
="$ac_prog"
4179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4188 if test -n "$ac_ct_CC"; then
4189 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4190 echo "${ECHO_T}$ac_ct_CC" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4196 test -n "$ac_ct_CC" && break
4205 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4206 See \`config.log' for more details." >&5
4207 echo "$as_me: error: no acceptable C compiler found in \$PATH
4208 See \`config.log' for more details." >&2;}
4209 { (exit 1); exit 1; }; }
4211 # Provide some information about the compiler.
4212 echo "$as_me:$LINENO:" \
4213 "checking for C compiler version" >&5
4214 ac_compiler
=`set X $ac_compile; echo $2`
4215 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4216 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }
4220 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4221 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }
4225 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4226 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }
4231 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4232 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4233 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 cat >conftest.
$ac_ext <<_ACEOF
4239 cat confdefs.h
>>conftest.
$ac_ext
4240 cat >>conftest.
$ac_ext <<_ACEOF
4241 /* end confdefs.h. */
4254 rm -f conftest.
$ac_objext
4255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4256 (eval $ac_compile) 2>conftest.er1
4258 grep -v '^ *+' conftest.er1
>conftest.err
4260 cat conftest.err
>&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } &&
4263 { ac_try
='test -z "$ac_c_werror_flag"
4264 || test ! -s conftest.err'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; } &&
4270 { ac_try
='test -s conftest.$ac_objext'
4271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; }; then
4278 echo "$as_me: failed program was:" >&5
4279 sed 's/^/| /' conftest.
$ac_ext >&5
4283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4284 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4287 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4288 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4289 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4290 ac_test_CFLAGS
=${CFLAGS+set}
4291 ac_save_CFLAGS
=$CFLAGS
4293 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4294 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4295 if test "${ac_cv_prog_cc_g+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 cat >conftest.
$ac_ext <<_ACEOF
4301 cat confdefs.h
>>conftest.
$ac_ext
4302 cat >>conftest.
$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4313 rm -f conftest.
$ac_objext
4314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4315 (eval $ac_compile) 2>conftest.er1
4317 grep -v '^ *+' conftest.er1
>conftest.err
4319 cat conftest.err
>&5
4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); } &&
4322 { ac_try
='test -z "$ac_c_werror_flag"
4323 || test ! -s conftest.err'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; } &&
4329 { ac_try
='test -s conftest.$ac_objext'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; }; then
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.
$ac_ext >&5
4342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4344 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4345 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4346 if test "$ac_test_CFLAGS" = set; then
4347 CFLAGS
=$ac_save_CFLAGS
4348 elif test $ac_cv_prog_cc_g = yes; then
4349 if test "$GCC" = yes; then
4355 if test "$GCC" = yes; then
4361 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4362 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4363 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 ac_cv_prog_cc_stdc
=no
4368 cat >conftest.
$ac_ext <<_ACEOF
4371 cat confdefs.h
>>conftest.
$ac_ext
4372 cat >>conftest.
$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4376 #include <sys/types.h>
4377 #include <sys/stat.h>
4378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4379 struct buf { int x; };
4380 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4381 static char *e (p, i)
4387 static char *f (char * (*g) (char **, int), char **p, ...)
4392 s = g (p, va_arg (v,int));
4397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4398 function prototypes and stuff, but not '\xHH' hex character constants.
4399 These don't provoke an error unfortunately, instead are silently treated
4400 as 'x'. The following induces an error, until -std1 is added to get
4401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4402 array size at least. It's necessary to write '\x00'==0 to get something
4403 that's true only with -std1. */
4404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4406 int test (int i, double x);
4407 struct s1 {int (*f) (int a);};
4408 struct s2 {int (*f) (double a);};
4409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4420 # Don't try gcc -ansi; that turns off useful extensions and
4421 # breaks some systems' header files.
4422 # AIX -qlanglvl=ansi
4423 # Ultrix and OSF/1 -std1
4424 # HP-UX 10.20 and later -Ae
4425 # HP-UX older versions -Aa -D_HPUX_SOURCE
4426 # SVR4 -Xc -D__EXTENSIONS__
4427 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4429 CC
="$ac_save_CC $ac_arg"
4430 rm -f conftest.
$ac_objext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>conftest.er1
4434 grep -v '^ *+' conftest.er1
>conftest.err
4436 cat conftest.err
>&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); } &&
4439 { ac_try
='test -z "$ac_c_werror_flag"
4440 || test ! -s conftest.err'
4441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); }; } &&
4446 { ac_try
='test -s conftest.$ac_objext'
4447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; }; then
4452 ac_cv_prog_cc_stdc
=$ac_arg
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4459 rm -f conftest.err conftest.
$ac_objext
4461 rm -f conftest.
$ac_ext conftest.
$ac_objext
4466 case "x$ac_cv_prog_cc_stdc" in
4468 echo "$as_me:$LINENO: result: none needed" >&5
4469 echo "${ECHO_T}none needed" >&6 ;;
4471 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4472 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4473 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4476 # Some people use a C++ compiler to compile C. Since we use `exit',
4477 # in C++ we need to declare it. In case someone uses the same compiler
4478 # for both compiling C and C++ we need to have the C++ compiler decide
4479 # the declaration of exit, since it's the most demanding environment.
4480 cat >conftest.
$ac_ext <<_ACEOF
4485 rm -f conftest.
$ac_objext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1
>conftest.err
4491 cat conftest.err
>&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try
='test -z "$ac_c_werror_flag"
4495 || test ! -s conftest.err'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; } &&
4501 { ac_try
='test -s conftest.$ac_objext'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; }; then
4507 for ac_declaration
in \
4509 'extern "C" void std::exit (int) throw (); using std::exit;' \
4510 'extern "C" void std::exit (int); using std::exit;' \
4511 'extern "C" void exit (int) throw ();' \
4512 'extern "C" void exit (int);' \
4515 cat >conftest.
$ac_ext <<_ACEOF
4518 cat confdefs.h
>>conftest.
$ac_ext
4519 cat >>conftest.
$ac_ext <<_ACEOF
4520 /* end confdefs.h. */
4531 rm -f conftest.
$ac_objext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4533 (eval $ac_compile) 2>conftest.er1
4535 grep -v '^ *+' conftest.er1
>conftest.err
4537 cat conftest.err
>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try
='test -z "$ac_c_werror_flag"
4541 || test ! -s conftest.err'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; } &&
4547 { ac_try
='test -s conftest.$ac_objext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.
$ac_ext >&5
4560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4576 rm -f conftest.
$ac_objext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4578 (eval $ac_compile) 2>conftest.er1
4580 grep -v '^ *+' conftest.er1
>conftest.err
4582 cat conftest.err
>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try
='test -z "$ac_c_werror_flag"
4586 || test ! -s conftest.err'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; } &&
4592 { ac_try
='test -s conftest.$ac_objext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4607 if test -n "$ac_declaration"; then
4608 echo '#ifdef __cplusplus' >>confdefs.h
4609 echo $ac_declaration >>confdefs.h
4610 echo '#endif' >>confdefs.h
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.
$ac_ext >&5
4618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 ac_cpp
='$CPP $CPPFLAGS'
4621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4625 depcc
="$CC" am_compiler_list
=
4627 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4628 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4629 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4633 # We make a subdir and do the tests there. Otherwise we can end up
4634 # making bogus files that we don't know about and never remove. For
4635 # instance it was reported that on HP-UX the gcc test will end up
4636 # making a dummy file named `D' -- because `-MD' means `put the output
4639 # Copy depcomp to subdir because otherwise we won't find it if we're
4640 # using a relative directory.
4641 cp "$am_depcomp" conftest.dir
4643 # We will build objects and dependencies in a subdirectory because
4644 # it helps to detect inapplicable dependency modes. For instance
4645 # both Tru64's cc and ICC support -MD to output dependencies as a
4646 # side effect of compilation, but ICC will put the dependencies in
4647 # the current directory while Tru64 will put them in the object
4651 am_cv_CC_dependencies_compiler_type
=none
4652 if test "$am_compiler_list" = ""; then
4653 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4655 for depmode
in $am_compiler_list; do
4656 # Setup a source with many dependencies, because some compilers
4657 # like to wrap large dependency lists on column 80 (with \), and
4658 # we should not choose a depcomp mode which is confused by this.
4660 # We need to recreate these files for each test, as the compiler may
4661 # overwrite some of them when testing with obscure command lines.
4662 # This happens at least with the AIX C compiler.
4664 for i
in 1 2 3 4 5 6; do
4665 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4666 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4667 # Solaris 8's {/usr,}/bin/sh.
4668 touch sub
/conftst
$i.h
4670 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4674 # after this tag, mechanisms are not by side-effect, so they'll
4675 # only be used when explicitly requested
4676 if test "x$enable_dependency_tracking" = xyes
; then
4684 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4685 # mode. It turns out that the SunPro C++ compiler does not properly
4686 # handle `-M -o', and we need to detect this.
4687 if depmode
=$depmode \
4688 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4689 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4690 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4691 >/dev
/null
2>conftest.err
&&
4692 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4693 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4694 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4695 # icc doesn't choke on unknown options, it will just issue warnings
4696 # or remarks (even with -Werror). So we grep stderr for any message
4697 # that says an option was ignored or not supported.
4698 # When given -MP, icc 7.0 and 7.1 complain thusly:
4699 # icc: Command line warning: ignoring option '-M'; no argument required
4700 # The diagnosis changed in icc 8.0:
4701 # icc: Command line remark: option '-MP' not supported
4702 if (grep 'ignoring option' conftest.err ||
4703 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4704 am_cv_CC_dependencies_compiler_type
=$depmode
4713 am_cv_CC_dependencies_compiler_type
=none
4717 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4718 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4719 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4724 test "x$enable_dependency_tracking" != xno \
4725 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4727 am__fastdepCC_FALSE
='#'
4729 am__fastdepCC_TRUE
='#'
4730 am__fastdepCC_FALSE
=
4736 # Extract the first word of "$ac_prog", so it can be a program name with args.
4737 set dummy
$ac_prog; ac_word
=$2
4738 echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4740 if test "${ac_cv_path_PS+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4745 ac_cv_path_PS
="$PS" # Let the user override the test with a path.
4748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 for as_dir
in $LPATH
4752 test -z "$as_dir" && as_dir
=.
4753 for ac_exec_ext
in '' $ac_executable_extensions; do
4754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4755 ac_cv_path_PS
="$as_dir/$ac_word$ac_exec_ext"
4756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4767 if test -n "$PS"; then
4768 echo "$as_me:$LINENO: result: $PS" >&5
4769 echo "${ECHO_T}$PS" >&6
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4775 test -n "$PS" && break
4777 test -n "$PS" || PS
="ps"
4781 # Extract the first word of "$ac_prog", so it can be a program name with args.
4782 set dummy
$ac_prog; ac_word
=$2
4783 echo "$as_me:$LINENO: checking for $ac_word" >&5
4784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4785 if test "${ac_cv_path_W+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 ac_cv_path_W
="$W" # Let the user override the test with a path.
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4794 for as_dir
in $LPATH
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4800 ac_cv_path_W
="$as_dir/$ac_word$ac_exec_ext"
4801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 if test -n "$W"; then
4813 echo "$as_me:$LINENO: result: $W" >&5
4814 echo "${ECHO_T}$W" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$W" && break
4822 test -n "$W" || W
="w"
4824 # Check whether --enable-shared or --disable-shared was given.
4825 if test "${enable_shared+set}" = set; then
4826 enableval
="$enable_shared"
4827 p
=${PACKAGE-default}
4829 yes) enable_shared
=yes ;;
4830 no
) enable_shared
=no
;;
4833 # Look at the argument we got. We use all the common list separators.
4834 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4835 for pkg
in $enableval; do
4837 if test "X$pkg" = "X$p"; then
4848 # Check whether --enable-static or --disable-static was given.
4849 if test "${enable_static+set}" = set; then
4850 enableval
="$enable_static"
4851 p
=${PACKAGE-default}
4853 yes) enable_static
=yes ;;
4854 no
) enable_static
=no
;;
4857 # Look at the argument we got. We use all the common list separators.
4858 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4859 for pkg
in $enableval; do
4861 if test "X$pkg" = "X$p"; then
4872 # Check whether --enable-fast-install or --disable-fast-install was given.
4873 if test "${enable_fast_install+set}" = set; then
4874 enableval
="$enable_fast_install"
4875 p
=${PACKAGE-default}
4877 yes) enable_fast_install
=yes ;;
4878 no
) enable_fast_install
=no
;;
4880 enable_fast_install
=no
4881 # Look at the argument we got. We use all the common list separators.
4882 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4883 for pkg
in $enableval; do
4885 if test "X$pkg" = "X$p"; then
4886 enable_fast_install
=yes
4893 enable_fast_install
=yes
4896 # Make sure we can run config.sub.
4897 $ac_config_sub sun4
>/dev
/null
2>&1 ||
4898 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4899 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4900 { (exit 1); exit 1; }; }
4902 echo "$as_me:$LINENO: checking build system type" >&5
4903 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4904 if test "${ac_cv_build+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 ac_cv_build_alias
=$build_alias
4908 test -z "$ac_cv_build_alias" &&
4909 ac_cv_build_alias
=`$ac_config_guess`
4910 test -z "$ac_cv_build_alias" &&
4911 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4912 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4913 { (exit 1); exit 1; }; }
4914 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
4915 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4916 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4917 { (exit 1); exit 1; }; }
4920 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4921 echo "${ECHO_T}$ac_cv_build" >&6
4923 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4924 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4925 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4928 echo "$as_me:$LINENO: checking host system type" >&5
4929 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4930 if test "${ac_cv_host+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 ac_cv_host_alias
=$host_alias
4934 test -z "$ac_cv_host_alias" &&
4935 ac_cv_host_alias
=$ac_cv_build_alias
4936 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
4937 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4938 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4939 { (exit 1); exit 1; }; }
4942 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4943 echo "${ECHO_T}$ac_cv_host" >&6
4945 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4946 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4947 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4950 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4951 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4952 if test "${lt_cv_path_SED+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4955 # Loop through the user's path and test for sed and gsed.
4956 # Then use that list of sed's as ones to test for truncation.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for lt_ac_prog
in sed gsed
; do
4963 for ac_exec_ext
in '' $ac_executable_extensions; do
4964 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4965 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4973 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4974 # along with /bin/sed that truncates output.
4975 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4976 test ! -f $lt_ac_sed && continue
4977 cat /dev
/null
> conftest.
in
4979 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4980 # Check for GNU sed and select it if it is found.
4981 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4982 lt_cv_path_SED
=$lt_ac_sed
4986 cat conftest.
in conftest.
in >conftest.tmp
4987 mv conftest.tmp conftest.
in
4988 cp conftest.
in conftest.
nl
4990 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4991 cmp -s conftest.out conftest.
nl ||
break
4992 # 10000 chars as input seems more than enough
4993 test $lt_ac_count -gt 10 && break
4994 lt_ac_count
=`expr $lt_ac_count + 1`
4995 if test $lt_ac_count -gt $lt_ac_max; then
4996 lt_ac_max
=$lt_ac_count
4997 lt_cv_path_SED
=$lt_ac_sed
5006 echo "$as_me:$LINENO: result: $SED" >&5
5007 echo "${ECHO_T}$SED" >&6
5010 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5011 if test "${with_gnu_ld+set}" = set; then
5012 withval
="$with_gnu_ld"
5013 test "$withval" = no || with_gnu_ld
=yes
5018 if test "$GCC" = yes; then
5019 # Check if gcc -print-prog-name=ld gives a path.
5020 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5021 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5024 # gcc leaves a trailing carriage return which upsets mingw
5025 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5027 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5030 # Accept absolute paths.
5032 re_direlt
='/[^/][^/]*/\.\./'
5033 # Canonicalize the pathname of ld
5034 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5035 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5036 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5038 test -z "$LD" && LD
="$ac_prog"
5041 # If it fails, then pretend we aren't using GCC.
5045 # If it is relative, then search for the first ld in PATH.
5049 elif test "$with_gnu_ld" = yes; then
5050 echo "$as_me:$LINENO: checking for GNU ld" >&5
5051 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5053 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5054 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5056 if test "${lt_cv_path_LD+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 if test -z "$LD"; then
5060 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5061 for ac_dir
in $PATH; do
5063 test -z "$ac_dir" && ac_dir
=.
5064 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5065 lt_cv_path_LD
="$ac_dir/$ac_prog"
5066 # Check to see if the program is GNU ld. I'd rather use --version,
5067 # but apparently some variants of GNU ld only accept -v.
5068 # Break only if it was the GNU/non-GNU ld that we prefer.
5069 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5070 *GNU
* |
*'with BFD'*)
5071 test "$with_gnu_ld" != no
&& break
5074 test "$with_gnu_ld" != yes && break
5081 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5086 if test -n "$LD"; then
5087 echo "$as_me:$LINENO: result: $LD" >&5
5088 echo "${ECHO_T}$LD" >&6
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5093 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5094 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5095 { (exit 1); exit 1; }; }
5096 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5097 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5098 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5102 case `$LD -v 2>&1 </dev/null` in
5103 *GNU
* |
*'with BFD'*)
5104 lt_cv_prog_gnu_ld
=yes
5107 lt_cv_prog_gnu_ld
=no
5111 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5112 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5113 with_gnu_ld
=$lt_cv_prog_gnu_ld
5116 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5117 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5118 if test "${lt_cv_ld_reload_flag+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 lt_cv_ld_reload_flag
='-r'
5123 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5124 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5125 reload_flag
=$lt_cv_ld_reload_flag
5126 case $reload_flag in
5128 *) reload_flag
=" $reload_flag" ;;
5130 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5133 if test "$GCC" = yes; then
5134 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5136 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5141 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5142 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5143 if test "${lt_cv_path_NM+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 if test -n "$NM"; then
5147 # Let the user override the test.
5150 lt_nm_to_check
="${ac_tool_prefix}nm"
5151 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5152 lt_nm_to_check
="$lt_nm_to_check nm"
5154 for lt_tmp_nm
in $lt_nm_to_check; do
5155 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5156 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5158 test -z "$ac_dir" && ac_dir
=.
5159 tmp_nm
="$ac_dir/$lt_tmp_nm"
5160 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5161 # Check to see if the nm accepts a BSD-compat flag.
5162 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5163 # nm: unknown option "B" ignored
5164 # Tru64's nm complains that /dev/null is an invalid object file
5165 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5166 */dev
/null
* |
*'Invalid file or object type'*)
5167 lt_cv_path_NM
="$tmp_nm -B"
5171 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5173 lt_cv_path_NM
="$tmp_nm -p"
5177 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5178 continue # so that we can try to find one that supports BSD flags
5187 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5190 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5191 echo "${ECHO_T}$lt_cv_path_NM" >&6
5194 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5195 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5196 if test "${lt_cv_deplibs_check_method+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5200 lt_cv_file_magic_test_file
=
5201 lt_cv_deplibs_check_method
='unknown'
5202 # Need to set the preceding variable on all platforms that support
5203 # interlibrary dependencies.
5204 # 'none' -- dependencies not supported.
5205 # `unknown' -- same as none, but documents that we really don't know.
5206 # 'pass_all' -- all dependencies passed with no checks.
5207 # 'test_compile' -- check by making test program.
5208 # 'file_magic [[regex]]' -- check by looking for files in library path
5209 # which responds to the $file_magic_cmd with a given extended regex.
5210 # If you have `file' or equivalent on your system and you're not sure
5211 # whether `pass_all' will *always* work, you probably want this one.
5215 lt_cv_deplibs_check_method
=pass_all
5219 lt_cv_deplibs_check_method
=pass_all
5223 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5224 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5225 lt_cv_file_magic_test_file
=/shlib
/libc.so
5229 # func_win32_libid is a shell function defined in ltmain.sh
5230 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5231 lt_cv_file_magic_cmd
='func_win32_libid'
5235 # Base MSYS/MinGW do not provide the 'file' command needed by
5236 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5237 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5238 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5241 darwin
* | rhapsody
*)
5242 lt_cv_deplibs_check_method
=pass_all
5245 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
5246 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5249 # Not sure whether the presence of OpenBSD here was a mistake.
5250 # Let's accept both of them until this is cleared up.
5251 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5252 lt_cv_file_magic_cmd
=/usr
/bin
/file
5253 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5257 lt_cv_deplibs_check_method
=pass_all
5262 lt_cv_deplibs_check_method
=pass_all
5265 hpux10.20
* | hpux11
*)
5266 lt_cv_file_magic_cmd
=/usr
/bin
/file
5269 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5270 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5273 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]'
5274 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5277 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5278 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5284 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5285 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5288 irix5
* | irix6
* | nonstopux
*)
5290 *-32|
*"-32 ") libmagic
=32-bit;;
5291 *-n32|
*"-n32 ") libmagic
=N32
;;
5292 *-64|
*"-64 ") libmagic
=64-bit;;
5293 *) libmagic
=never-match
;;
5295 lt_cv_deplibs_check_method
=pass_all
5298 # This must be Linux ELF.
5300 lt_cv_deplibs_check_method
=pass_all
5304 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5305 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5307 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5312 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5313 lt_cv_file_magic_cmd
=/usr
/bin
/file
5314 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5318 lt_cv_deplibs_check_method
=unknown
5322 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5323 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5325 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5329 osf3
* | osf4
* | osf5
*)
5330 lt_cv_deplibs_check_method
=pass_all
5334 lt_cv_deplibs_check_method
=pass_all
5338 case $host_vendor in
5340 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]'
5341 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5344 lt_cv_deplibs_check_method
=pass_all
5347 lt_cv_file_magic_cmd
='/bin/file'
5348 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5351 lt_cv_file_magic_cmd
='/bin/file'
5352 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5353 lt_cv_file_magic_test_file
=/lib
/libc.so
5356 lt_cv_deplibs_check_method
=pass_all
5359 lt_cv_deplibs_check_method
=pass_all
5364 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5365 lt_cv_deplibs_check_method
=pass_all
5370 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5371 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5372 file_magic_cmd
=$lt_cv_file_magic_cmd
5373 deplibs_check_method
=$lt_cv_deplibs_check_method
5374 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5379 # If no C compiler was specified, use CC.
5382 # If no C compiler flags were specified, use CFLAGS.
5383 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5385 # Allow CC to be a program name with arguments.
5388 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5389 if test "${enable_libtool_lock+set}" = set; then
5390 enableval
="$enable_libtool_lock"
5393 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5395 # Some flags need to be propagated to the compiler or linker for good
5399 # Find out which ABI we are using.
5400 echo 'int i;' > conftest.
$ac_ext
5401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5402 (eval $ac_compile) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; then
5406 case `/usr/bin/file conftest.$ac_objext` in
5418 # Find out which ABI we are using.
5419 echo '#line 5419 "configure"' > conftest.
$ac_ext
5420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421 (eval $ac_compile) 2>&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); }; then
5425 if test "$lt_cv_prog_gnu_ld" = yes; then
5426 case `/usr/bin/file conftest.$ac_objext` in
5428 LD
="${LD-ld} -melf32bsmip"
5431 LD
="${LD-ld} -melf32bmipn32"
5434 LD
="${LD-ld} -melf64bmip"
5438 case `/usr/bin/file conftest.$ac_objext` in
5454 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5455 # Find out which ABI we are using.
5456 echo 'int i;' > conftest.
$ac_ext
5457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5458 (eval $ac_compile) 2>&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; then
5462 case `/usr/bin/file conftest.o` in
5466 LD
="${LD-ld} -m elf_i386"
5468 ppc64-
*linux
*|powerpc64-
*linux
*)
5469 LD
="${LD-ld} -m elf32ppclinux"
5472 LD
="${LD-ld} -m elf_s390"
5475 LD
="${LD-ld} -m elf32_sparc"
5482 LD
="${LD-ld} -m elf_x86_64"
5484 ppc
*-*linux
*|powerpc
*-*linux
*)
5485 LD
="${LD-ld} -m elf64ppc"
5488 LD
="${LD-ld} -m elf64_s390"
5491 LD
="${LD-ld} -m elf64_sparc"
5501 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5502 SAVE_CFLAGS
="$CFLAGS"
5503 CFLAGS
="$CFLAGS -belf"
5504 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5505 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5506 if test "${lt_cv_cc_needs_belf+set}" = set; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_cpp
='$CPP $CPPFLAGS'
5511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5515 cat >conftest.
$ac_ext <<_ACEOF
5518 cat confdefs.h
>>conftest.
$ac_ext
5519 cat >>conftest.
$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5530 rm -f conftest.
$ac_objext conftest
$ac_exeext
5531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5532 (eval $ac_link) 2>conftest.er1
5534 grep -v '^ *+' conftest.er1
>conftest.err
5536 cat conftest.err
>&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); } &&
5539 { ac_try
='test -z "$ac_c_werror_flag"
5540 || test ! -s conftest.err'
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; } &&
5546 { ac_try
='test -s conftest$ac_exeext'
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; }; then
5552 lt_cv_cc_needs_belf
=yes
5554 echo "$as_me: failed program was:" >&5
5555 sed 's/^/| /' conftest.
$ac_ext >&5
5557 lt_cv_cc_needs_belf
=no
5559 rm -f conftest.err conftest.
$ac_objext \
5560 conftest
$ac_exeext conftest.
$ac_ext
5562 ac_cpp
='$CPP $CPPFLAGS'
5563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5568 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5569 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5570 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5571 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5572 CFLAGS
="$SAVE_CFLAGS"
5576 # Find out which ABI we are using.
5577 echo 'int i;' > conftest.
$ac_ext
5578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5579 (eval $ac_compile) 2>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; then
5583 case `/usr/bin/file conftest.o` in
5585 case $lt_cv_prog_gnu_ld in
5586 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5587 *) LD
="${LD-ld} -64" ;;
5598 need_locks
="$enable_libtool_lock"
5602 for ac_header
in dlfcn.h
5604 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5606 echo "$as_me:$LINENO: checking for $ac_header" >&5
5607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5614 # Is the header compilable?
5615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5617 cat >conftest.
$ac_ext <<_ACEOF
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 $ac_includes_default
5624 #include <$ac_header>
5626 rm -f conftest.
$ac_objext
5627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5628 (eval $ac_compile) 2>conftest.er1
5630 grep -v '^ *+' conftest.er1
>conftest.err
5632 cat conftest.err
>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try
='test -z "$ac_c_werror_flag"
5636 || test ! -s conftest.err'
5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; } &&
5642 { ac_try
='test -s conftest.$ac_objext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5648 ac_header_compiler
=yes
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.
$ac_ext >&5
5653 ac_header_compiler
=no
5655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5657 echo "${ECHO_T}$ac_header_compiler" >&6
5659 # Is the header present?
5660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 #include <$ac_header>
5670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5671 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5673 grep -v '^ *+' conftest.er1
>conftest.err
5675 cat conftest.err
>&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } >/dev
/null
; then
5678 if test -s conftest.err
; then
5679 ac_cpp_err
=$ac_c_preproc_warn_flag
5680 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5687 if test -z "$ac_cpp_err"; then
5688 ac_header_preproc
=yes
5690 echo "$as_me: failed program was:" >&5
5691 sed 's/^/| /' conftest.
$ac_ext >&5
5693 ac_header_preproc
=no
5695 rm -f conftest.err conftest.
$ac_ext
5696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5697 echo "${ECHO_T}$ac_header_preproc" >&6
5699 # So? What about this header?
5700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5706 ac_header_preproc
=yes
5709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5723 ## -------------------------------------------------- ##
5724 ## Report this to courier-users@lists.sourceforge.net ##
5725 ## -------------------------------------------------- ##
5728 sed "s/^/$as_me: WARNING: /" >&2
5731 echo "$as_me:$LINENO: checking for $ac_header" >&5
5732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 eval "$as_ac_Header=\$ac_header_preproc"
5738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5743 cat >>confdefs.h
<<_ACEOF
5744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5752 ac_cpp
='$CXXCPP $CPPFLAGS'
5753 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5754 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5755 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5756 if test -n "$ac_tool_prefix"; then
5757 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5760 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5761 echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5763 if test "${ac_cv_prog_CXX+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 if test -n "$CXX"; then
5767 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 if test -n "$CXX"; then
5787 echo "$as_me:$LINENO: result: $CXX" >&5
5788 echo "${ECHO_T}$CXX" >&6
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5794 test -n "$CXX" && break
5797 if test -z "$CXX"; then
5799 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
5801 # Extract the first word of "$ac_prog", so it can be a program name with args.
5802 set dummy
$ac_prog; ac_word
=$2
5803 echo "$as_me:$LINENO: checking for $ac_word" >&5
5804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5805 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 if test -n "$ac_ct_CXX"; then
5809 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5827 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5828 if test -n "$ac_ct_CXX"; then
5829 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5830 echo "${ECHO_T}$ac_ct_CXX" >&6
5832 echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6
5836 test -n "$ac_ct_CXX" && break
5838 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
5844 # Provide some information about the compiler.
5845 echo "$as_me:$LINENO:" \
5846 "checking for C++ compiler version" >&5
5847 ac_compiler
=`set X $ac_compile; echo $2`
5848 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5849 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }
5853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5854 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }
5858 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5859 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }
5864 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5865 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5866 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5887 rm -f conftest.
$ac_objext
5888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5889 (eval $ac_compile) 2>conftest.er1
5891 grep -v '^ *+' conftest.er1
>conftest.err
5893 cat conftest.err
>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } &&
5896 { ac_try
='test -z "$ac_cxx_werror_flag"
5897 || test ! -s conftest.err'
5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try
='test -s conftest.$ac_objext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; }; then
5911 echo "$as_me: failed program was:" >&5
5912 sed 's/^/| /' conftest.
$ac_ext >&5
5916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5917 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5920 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5921 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5922 GXX
=`test $ac_compiler_gnu = yes && echo yes`
5923 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5924 ac_save_CXXFLAGS
=$CXXFLAGS
5926 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5927 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5928 if test "${ac_cv_prog_cxx_g+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 cat >conftest.
$ac_ext <<_ACEOF
5934 cat confdefs.h
>>conftest.
$ac_ext
5935 cat >>conftest.
$ac_ext <<_ACEOF
5936 /* end confdefs.h. */
5946 rm -f conftest.
$ac_objext
5947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5948 (eval $ac_compile) 2>conftest.er1
5950 grep -v '^ *+' conftest.er1
>conftest.err
5952 cat conftest.err
>&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } &&
5955 { ac_try
='test -z "$ac_cxx_werror_flag"
5956 || test ! -s conftest.err'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; } &&
5962 { ac_try
='test -s conftest.$ac_objext'
5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; }; then
5968 ac_cv_prog_cxx_g
=yes
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.
$ac_ext >&5
5975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5977 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5978 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5979 if test "$ac_test_CXXFLAGS" = set; then
5980 CXXFLAGS
=$ac_save_CXXFLAGS
5981 elif test $ac_cv_prog_cxx_g = yes; then
5982 if test "$GXX" = yes; then
5988 if test "$GXX" = yes; then
5994 for ac_declaration
in \
5996 'extern "C" void std::exit (int) throw (); using std::exit;' \
5997 'extern "C" void std::exit (int); using std::exit;' \
5998 'extern "C" void exit (int) throw ();' \
5999 'extern "C" void exit (int);' \
6002 cat >conftest.
$ac_ext <<_ACEOF
6005 cat confdefs.h
>>conftest.
$ac_ext
6006 cat >>conftest.
$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6018 rm -f conftest.
$ac_objext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 (eval $ac_compile) 2>conftest.er1
6022 grep -v '^ *+' conftest.er1
>conftest.err
6024 cat conftest.err
>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } &&
6027 { ac_try
='test -z "$ac_cxx_werror_flag"
6028 || test ! -s conftest.err'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }; } &&
6034 { ac_try
='test -s conftest.$ac_objext'
6035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; }; then
6042 echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.
$ac_ext >&5
6047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6048 cat >conftest.
$ac_ext <<_ACEOF
6051 cat confdefs.h
>>conftest.
$ac_ext
6052 cat >>conftest.
$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6063 rm -f conftest.
$ac_objext
6064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6065 (eval $ac_compile) 2>conftest.er1
6067 grep -v '^ *+' conftest.er1
>conftest.err
6069 cat conftest.err
>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } &&
6072 { ac_try
='test -z "$ac_cxx_werror_flag"
6073 || test ! -s conftest.err'
6074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); }; } &&
6079 { ac_try
='test -s conftest.$ac_objext'
6080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }; }; then
6087 echo "$as_me: failed program was:" >&5
6088 sed 's/^/| /' conftest.
$ac_ext >&5
6091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6094 if test -n "$ac_declaration"; then
6095 echo '#ifdef __cplusplus' >>confdefs.h
6096 echo $ac_declaration >>confdefs.h
6097 echo '#endif' >>confdefs.h
6101 ac_cpp
='$CXXCPP $CPPFLAGS'
6102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6106 depcc
="$CXX" am_compiler_list
=
6108 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6109 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6110 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6114 # We make a subdir and do the tests there. Otherwise we can end up
6115 # making bogus files that we don't know about and never remove. For
6116 # instance it was reported that on HP-UX the gcc test will end up
6117 # making a dummy file named `D' -- because `-MD' means `put the output
6120 # Copy depcomp to subdir because otherwise we won't find it if we're
6121 # using a relative directory.
6122 cp "$am_depcomp" conftest.dir
6124 # We will build objects and dependencies in a subdirectory because
6125 # it helps to detect inapplicable dependency modes. For instance
6126 # both Tru64's cc and ICC support -MD to output dependencies as a
6127 # side effect of compilation, but ICC will put the dependencies in
6128 # the current directory while Tru64 will put them in the object
6132 am_cv_CXX_dependencies_compiler_type
=none
6133 if test "$am_compiler_list" = ""; then
6134 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6136 for depmode
in $am_compiler_list; do
6137 # Setup a source with many dependencies, because some compilers
6138 # like to wrap large dependency lists on column 80 (with \), and
6139 # we should not choose a depcomp mode which is confused by this.
6141 # We need to recreate these files for each test, as the compiler may
6142 # overwrite some of them when testing with obscure command lines.
6143 # This happens at least with the AIX C compiler.
6145 for i
in 1 2 3 4 5 6; do
6146 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6147 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6148 # Solaris 8's {/usr,}/bin/sh.
6149 touch sub
/conftst
$i.h
6151 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6155 # after this tag, mechanisms are not by side-effect, so they'll
6156 # only be used when explicitly requested
6157 if test "x$enable_dependency_tracking" = xyes
; then
6165 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6166 # mode. It turns out that the SunPro C++ compiler does not properly
6167 # handle `-M -o', and we need to detect this.
6168 if depmode
=$depmode \
6169 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6170 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6171 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6172 >/dev
/null
2>conftest.err
&&
6173 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6174 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6175 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6176 # icc doesn't choke on unknown options, it will just issue warnings
6177 # or remarks (even with -Werror). So we grep stderr for any message
6178 # that says an option was ignored or not supported.
6179 # When given -MP, icc 7.0 and 7.1 complain thusly:
6180 # icc: Command line warning: ignoring option '-M'; no argument required
6181 # The diagnosis changed in icc 8.0:
6182 # icc: Command line remark: option '-MP' not supported
6183 if (grep 'ignoring option' conftest.err ||
6184 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6185 am_cv_CXX_dependencies_compiler_type
=$depmode
6194 am_cv_CXX_dependencies_compiler_type
=none
6198 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6199 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6200 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6205 test "x$enable_dependency_tracking" != xno \
6206 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6207 am__fastdepCXX_TRUE
=
6208 am__fastdepCXX_FALSE
='#'
6210 am__fastdepCXX_TRUE
='#'
6211 am__fastdepCXX_FALSE
=
6217 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6218 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6219 (test "X$CXX" != "Xg++"))) ; then
6221 ac_cpp
='$CXXCPP $CPPFLAGS'
6222 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6223 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6224 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6225 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6226 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6227 if test -z "$CXXCPP"; then
6228 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 # Double quotes because CXXCPP needs to be expanded
6232 for CXXCPP
in "$CXX -E" "/lib/cpp"
6235 for ac_cxx_preproc_warn_flag
in '' yes
6237 # Use a header file that comes with gcc, so configuring glibc
6238 # with a fresh cross-compiler works.
6239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6240 # <limits.h> exists even on freestanding compilers.
6241 # On the NeXT, cc -E runs the code through the compiler's parser,
6242 # not just through cpp. "Syntax error" is here to catch this case.
6243 cat >conftest.
$ac_ext <<_ACEOF
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6250 # include <limits.h>
6252 # include <assert.h>
6256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6259 grep -v '^ *+' conftest.er1
>conftest.err
6261 cat conftest.err
>&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); } >/dev
/null
; then
6264 if test -s conftest.err
; then
6265 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6266 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6273 if test -z "$ac_cpp_err"; then
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.
$ac_ext >&5
6279 # Broken: fails on valid input.
6282 rm -f conftest.err conftest.
$ac_ext
6284 # OK, works on sane cases. Now check whether non-existent headers
6285 # can be detected and how.
6286 cat >conftest.
$ac_ext <<_ACEOF
6289 cat confdefs.h
>>conftest.
$ac_ext
6290 cat >>conftest.
$ac_ext <<_ACEOF
6291 /* end confdefs.h. */
6292 #include <ac_nonexistent.h>
6294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6297 grep -v '^ *+' conftest.er1
>conftest.err
6299 cat conftest.err
>&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } >/dev
/null
; then
6302 if test -s conftest.err
; then
6303 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6304 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6311 if test -z "$ac_cpp_err"; then
6312 # Broken: success on invalid input.
6315 echo "$as_me: failed program was:" >&5
6316 sed 's/^/| /' conftest.
$ac_ext >&5
6318 # Passes both tests.
6322 rm -f conftest.err conftest.
$ac_ext
6325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6326 rm -f conftest.err conftest.
$ac_ext
6327 if $ac_preproc_ok; then
6332 ac_cv_prog_CXXCPP
=$CXXCPP
6335 CXXCPP
=$ac_cv_prog_CXXCPP
6337 ac_cv_prog_CXXCPP
=$CXXCPP
6339 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6340 echo "${ECHO_T}$CXXCPP" >&6
6342 for ac_cxx_preproc_warn_flag
in '' yes
6344 # Use a header file that comes with gcc, so configuring glibc
6345 # with a fresh cross-compiler works.
6346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6347 # <limits.h> exists even on freestanding compilers.
6348 # On the NeXT, cc -E runs the code through the compiler's parser,
6349 # not just through cpp. "Syntax error" is here to catch this case.
6350 cat >conftest.
$ac_ext <<_ACEOF
6353 cat confdefs.h
>>conftest.
$ac_ext
6354 cat >>conftest.
$ac_ext <<_ACEOF
6355 /* end confdefs.h. */
6357 # include <limits.h>
6359 # include <assert.h>
6363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6366 grep -v '^ *+' conftest.er1
>conftest.err
6368 cat conftest.err
>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } >/dev
/null
; then
6371 if test -s conftest.err
; then
6372 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6373 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6380 if test -z "$ac_cpp_err"; then
6383 echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.
$ac_ext >&5
6386 # Broken: fails on valid input.
6389 rm -f conftest.err conftest.
$ac_ext
6391 # OK, works on sane cases. Now check whether non-existent headers
6392 # can be detected and how.
6393 cat >conftest.
$ac_ext <<_ACEOF
6396 cat confdefs.h
>>conftest.
$ac_ext
6397 cat >>conftest.
$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6399 #include <ac_nonexistent.h>
6401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6404 grep -v '^ *+' conftest.er1
>conftest.err
6406 cat conftest.err
>&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } >/dev
/null
; then
6409 if test -s conftest.err
; then
6410 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6411 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6418 if test -z "$ac_cpp_err"; then
6419 # Broken: success on invalid input.
6422 echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.
$ac_ext >&5
6425 # Passes both tests.
6429 rm -f conftest.err conftest.
$ac_ext
6432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6433 rm -f conftest.err conftest.
$ac_ext
6434 if $ac_preproc_ok; then
6437 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6438 See \`config.log' for more details." >&5
6439 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6440 See \`config.log' for more details." >&2;}
6441 { (exit 1); exit 1; }; }
6445 ac_cpp
='$CXXCPP $CPPFLAGS'
6446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6454 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6455 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6456 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6457 if test -n "$ac_tool_prefix"; then
6458 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6461 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6462 echo "$as_me:$LINENO: checking for $ac_word" >&5
6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6464 if test "${ac_cv_prog_F77+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 if test -n "$F77"; then
6468 ac_cv_prog_F77
="$F77" # Let the user override the test.
6470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir
=.
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 if test -n "$F77"; then
6488 echo "$as_me:$LINENO: result: $F77" >&5
6489 echo "${ECHO_T}$F77" >&6
6491 echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6
6495 test -n "$F77" && break
6498 if test -z "$F77"; then
6500 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6502 # Extract the first word of "$ac_prog", so it can be a program name with args.
6503 set dummy
$ac_prog; ac_word
=$2
6504 echo "$as_me:$LINENO: checking for $ac_word" >&5
6505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6506 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 if test -n "$ac_ct_F77"; then
6510 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir
=.
6517 for ac_exec_ext
in '' $ac_executable_extensions; do
6518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_ac_ct_F77
="$ac_prog"
6520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6529 if test -n "$ac_ct_F77"; then
6530 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6531 echo "${ECHO_T}$ac_ct_F77" >&6
6533 echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6
6537 test -n "$ac_ct_F77" && break
6544 # Provide some information about the compiler.
6545 echo "$as_me:6545:" \
6546 "checking for Fortran 77 compiler version" >&5
6547 ac_compiler
=`set X $ac_compile; echo $2`
6548 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6549 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }
6553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6554 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }
6558 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6559 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }
6565 # If we don't use `.F' as extension, the preprocessor is not run on the
6566 # input file. (Note that this only needs to work for GNU compilers.)
6569 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6570 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6571 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6574 cat >conftest.
$ac_ext <<_ACEOF
6582 rm -f conftest.
$ac_objext
6583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6584 (eval $ac_compile) 2>conftest.er1
6586 grep -v '^ *+' conftest.er1
>conftest.err
6588 cat conftest.err
>&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } &&
6591 { ac_try
='test -z "$ac_f77_werror_flag"
6592 || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try
='test -s conftest.$ac_objext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.
$ac_ext >&5
6611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
6615 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6616 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6618 ac_test_FFLAGS
=${FFLAGS+set}
6619 ac_save_FFLAGS
=$FFLAGS
6621 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6622 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6623 if test "${ac_cv_prog_f77_g+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 cat >conftest.
$ac_ext <<_ACEOF
6632 rm -f conftest.
$ac_objext
6633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6634 (eval $ac_compile) 2>conftest.er1
6636 grep -v '^ *+' conftest.er1
>conftest.err
6638 cat conftest.err
>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); } &&
6641 { ac_try
='test -z "$ac_f77_werror_flag"
6642 || test ! -s conftest.err'
6643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); }; } &&
6648 { ac_try
='test -s conftest.$ac_objext'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; }; then
6654 ac_cv_prog_f77_g
=yes
6656 echo "$as_me: failed program was:" >&5
6657 sed 's/^/| /' conftest.
$ac_ext >&5
6661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6664 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6665 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6666 if test "$ac_test_FFLAGS" = set; then
6667 FFLAGS
=$ac_save_FFLAGS
6668 elif test $ac_cv_prog_f77_g = yes; then
6669 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6675 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6682 G77
=`test $ac_compiler_gnu = yes && echo yes`
6684 ac_cpp
='$CPP $CPPFLAGS'
6685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6691 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6693 # find the maximum length of command line arguments
6694 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6695 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6696 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 # On DJGPP, this test can blow up pretty badly due to problems in libc
6705 # (any single argument exceeding 2000 bytes causes a buffer overrun
6706 # during glob expansion). Even if it were fixed, the result of this
6707 # check would be larger than it should be.
6708 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6712 # Under GNU Hurd, this test is not required because there is
6713 # no limit to the length of command line arguments.
6714 # Libtool will interpret -1 as no limit whatsoever
6715 lt_cv_sys_max_cmd_len
=-1;
6719 # On Win9x/ME, this test blows up -- it succeeds, but takes
6720 # about 5 minutes as the teststring grows exponentially.
6721 # Worse, since 9x/ME are not pre-emptively multitasking,
6722 # you end up with a "frozen" computer, even though with patience
6723 # the test eventually succeeds (with a max line length of 256k).
6724 # Instead, let's just punt: use the minimum linelength reported by
6725 # all of the supported platforms: 8192 (on NT/2K/XP).
6726 lt_cv_sys_max_cmd_len
=8192;
6730 # On AmigaOS with pdksh, this test takes hours, literally.
6731 # So we just punt and use a minimum line length of 8192.
6732 lt_cv_sys_max_cmd_len
=8192;
6735 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6736 # This has been around since 386BSD, at least. Likely further.
6737 if test -x /sbin
/sysctl
; then
6738 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6739 elif test -x /usr
/sbin
/sysctl
; then
6740 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6742 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6744 # And add a safety zone
6745 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6746 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6750 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6751 lt_cv_sys_max_cmd_len
=196608
6755 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6756 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6757 # nice to cause kernel panics so lets avoid the loop below.
6758 # First set a reasonable default.
6759 lt_cv_sys_max_cmd_len
=16384
6761 if test -x /sbin
/sysconfig
; then
6762 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6763 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6768 lt_cv_sys_max_cmd_len
=102400
6770 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6771 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6772 if test -n "$kargmax"; then
6773 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6775 lt_cv_sys_max_cmd_len
=32768
6779 # If test is not a shell built-in, we'll probably end up computing a
6780 # maximum length that is only half of the actual maximum length, but
6782 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6783 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6784 = "XX$teststring") >/dev
/null
2>&1 &&
6785 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6786 lt_cv_sys_max_cmd_len
=$new_result &&
6787 test $i != 17 # 1/2 MB should be enough
6790 teststring
=$teststring$teststring
6793 # Add a significant safety factor because C++ compilers can tack on massive
6794 # amounts of additional arguments before passing them to the linker.
6795 # It appears as though 1/2 is a usable value.
6796 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6802 if test -n $lt_cv_sys_max_cmd_len ; then
6803 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6804 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6806 echo "$as_me:$LINENO: result: none" >&5
6807 echo "${ECHO_T}none" >&6
6813 # Check for command to grab the raw symbol name followed by C symbol from nm.
6814 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6815 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
6816 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 # These are sane defaults that work on at least a few old systems.
6821 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6823 # Character class describing NM global symbol codes.
6824 symcode
='[BCDEGRST]'
6826 # Regexp to match symbols that can be accessed directly from C.
6827 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6829 # Transform an extracted symbol line into a proper C declaration
6830 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6832 # Transform an extracted symbol line into symbol name and symbol address
6833 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'"
6835 # Define system-specific variables.
6840 cygwin
* | mingw
* | pw32
*)
6841 symcode
='[ABCDGISTW]'
6843 hpux
*) # Its linker distinguishes data from code symbols
6844 if test "$host_cpu" = ia64
; then
6845 symcode
='[ABCDEGRST]'
6847 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6848 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'"
6851 if test "$host_cpu" = ia64
; then
6852 symcode
='[ABCDGIRSTW]'
6853 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6854 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'"
6858 symcode
='[BCDEGRST]'
6861 symcode
='[BCDEGQRST]'
6872 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6880 # Handle CRLF in mingw tool chain
6884 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6888 # If we're using GNU nm, then use its standard symbol codes.
6889 case `$NM -V 2>&1` in
6890 *GNU
* |
*'with BFD'*)
6891 symcode
='[ABCDGIRSTW]' ;;
6894 # Try without a prefix undercore, then with it.
6895 for ac_symprfx
in "" "_"; do
6897 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6898 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6900 # Write the raw and C identifiers.
6901 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6903 # Check to see that the pipe works correctly.
6907 cat > conftest.
$ac_ext <<EOF
6912 void nm_test_func(){}
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6920 (eval $ac_compile) 2>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; then
6924 # Now try to grab the symbols.
6926 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6927 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); } && test -s "$nlist"; then
6931 # Try sorting and uniquifying the output.
6932 if sort "$nlist" |
uniq > "$nlist"T
; then
6933 mv -f "$nlist"T
"$nlist"
6938 # Make sure that we snagged all the symbols we need.
6939 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6940 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6941 cat <<EOF > conftest.$ac_ext
6947 # Now generate the symbol file.
6948 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6950 cat <<EOF >> conftest.$ac_ext
6951 #if defined (__STDC__) && __STDC__
6952 # define lt_ptr_t void *
6954 # define lt_ptr_t char *
6958 /* The mapping between symbol names and symbols. */
6963 lt_preloaded_symbols[] =
6966 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6967 cat <<\EOF
>> conftest.
$ac_ext
6975 # Now try linking the two files.
6976 mv conftest.
$ac_objext conftstm.
$ac_objext
6977 lt_save_LIBS
="$LIBS"
6978 lt_save_CFLAGS
="$CFLAGS"
6979 LIBS
="conftstm.$ac_objext"
6980 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6982 (eval $ac_link) 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6988 LIBS
="$lt_save_LIBS"
6989 CFLAGS
="$lt_save_CFLAGS"
6991 echo "cannot find nm_test_func in $nlist" >&5
6994 echo "cannot find nm_test_var in $nlist" >&5
6997 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 echo "$progname: failed program was:" >&5
7001 cat conftest.
$ac_ext >&5
7003 rm -f conftest
* conftst
*
7005 # Do not use the global_symbol_pipe unless it works.
7006 if test "$pipe_works" = yes; then
7009 lt_cv_sys_global_symbol_pipe
=
7015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7016 lt_cv_sys_global_symbol_to_cdecl
=
7018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7019 echo "$as_me:$LINENO: result: failed" >&5
7020 echo "${ECHO_T}failed" >&6
7022 echo "$as_me:$LINENO: result: ok" >&5
7023 echo "${ECHO_T}ok" >&6
7026 echo "$as_me:$LINENO: checking for objdir" >&5
7027 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7028 if test "${lt_cv_objdir+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7031 rm -f .libs
2>/dev
/null
7032 mkdir .libs
2>/dev
/null
7033 if test -d .libs
; then
7036 # MS-DOS does not allow filenames that begin with a dot.
7039 rmdir .libs
2>/dev
/null
7041 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7042 echo "${ECHO_T}$lt_cv_objdir" >&6
7043 objdir
=$lt_cv_objdir
7051 # AIX sometimes has problems with the GCC collect2 program. For some
7052 # reason, if we set the COLLECT_NAMES environment variable, the problems
7053 # vanish in a puff of smoke.
7054 if test "X${COLLECT_NAMES+set}" != Xset
; then
7056 export COLLECT_NAMES
7061 # Sed substitution that helps us do robust quoting. It backslashifies
7062 # metacharacters that are still active within double-quoted strings.
7063 Xsed
='sed -e 1s/^X//'
7064 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7066 # Same as above, but do not quote variable references.
7067 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7069 # Sed substitution to delay expansion of an escaped shell variable in a
7070 # double_quote_subst'ed string.
7071 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7073 # Sed substitution to avoid accidental globbing in evaled expressions
7074 no_glob_subst
='s/\*/\\\*/g'
7080 default_ofile
=libtool
7081 can_build_shared
=yes
7083 # All known linkers require a `.a' archive for static linking (except MSVC,
7084 # which needs '.lib').
7086 ltmain
="$ac_aux_dir/ltmain.sh"
7087 ofile
="$default_ofile"
7088 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7090 if test -n "$ac_tool_prefix"; then
7091 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7092 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7093 echo "$as_me:$LINENO: checking for $ac_word" >&5
7094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7095 if test "${ac_cv_prog_AR+set}" = set; then
7096 echo $ECHO_N "(cached) $ECHO_C" >&6
7098 if test -n "$AR"; then
7099 ac_cv_prog_AR
="$AR" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir
=.
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 if test -n "$AR"; then
7119 echo "$as_me:$LINENO: result: $AR" >&5
7120 echo "${ECHO_T}$AR" >&6
7122 echo "$as_me:$LINENO: result: no" >&5
7123 echo "${ECHO_T}no" >&6
7127 if test -z "$ac_cv_prog_AR"; then
7129 # Extract the first word of "ar", so it can be a program name with args.
7130 set dummy
ar; ac_word
=$2
7131 echo "$as_me:$LINENO: checking for $ac_word" >&5
7132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7133 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 if test -n "$ac_ct_AR"; then
7137 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7143 test -z "$as_dir" && as_dir
=.
7144 for ac_exec_ext
in '' $ac_executable_extensions; do
7145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7146 ac_cv_prog_ac_ct_AR
="ar"
7147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
7156 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7157 if test -n "$ac_ct_AR"; then
7158 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7159 echo "${ECHO_T}$ac_ct_AR" >&6
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7170 if test -n "$ac_tool_prefix"; then
7171 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7172 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7173 echo "$as_me:$LINENO: checking for $ac_word" >&5
7174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7175 if test "${ac_cv_prog_RANLIB+set}" = set; then
7176 echo $ECHO_N "(cached) $ECHO_C" >&6
7178 if test -n "$RANLIB"; then
7179 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7185 test -z "$as_dir" && as_dir
=.
7186 for ac_exec_ext
in '' $ac_executable_extensions; do
7187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 RANLIB
=$ac_cv_prog_RANLIB
7198 if test -n "$RANLIB"; then
7199 echo "$as_me:$LINENO: result: $RANLIB" >&5
7200 echo "${ECHO_T}$RANLIB" >&6
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7207 if test -z "$ac_cv_prog_RANLIB"; then
7208 ac_ct_RANLIB
=$RANLIB
7209 # Extract the first word of "ranlib", so it can be a program name with args.
7210 set dummy ranlib
; ac_word
=$2
7211 echo "$as_me:$LINENO: checking for $ac_word" >&5
7212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7213 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7216 if test -n "$ac_ct_RANLIB"; then
7217 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir
=.
7224 for ac_exec_ext
in '' $ac_executable_extensions; do
7225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7226 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7233 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7236 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7237 if test -n "$ac_ct_RANLIB"; then
7238 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7239 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7245 RANLIB
=$ac_ct_RANLIB
7247 RANLIB
="$ac_cv_prog_RANLIB"
7250 if test -n "$ac_tool_prefix"; then
7251 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7252 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7253 echo "$as_me:$LINENO: checking for $ac_word" >&5
7254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7255 if test "${ac_cv_prog_STRIP+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 if test -n "$STRIP"; then
7259 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7265 test -z "$as_dir" && as_dir
=.
7266 for ac_exec_ext
in '' $ac_executable_extensions; do
7267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7268 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 STRIP
=$ac_cv_prog_STRIP
7278 if test -n "$STRIP"; then
7279 echo "$as_me:$LINENO: result: $STRIP" >&5
7280 echo "${ECHO_T}$STRIP" >&6
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7287 if test -z "$ac_cv_prog_STRIP"; then
7289 # Extract the first word of "strip", so it can be a program name with args.
7290 set dummy strip
; ac_word
=$2
7291 echo "$as_me:$LINENO: checking for $ac_word" >&5
7292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 if test -n "$ac_ct_STRIP"; then
7297 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir
=.
7304 for ac_exec_ext
in '' $ac_executable_extensions; do
7305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306 ac_cv_prog_ac_ct_STRIP
="strip"
7307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7313 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
7316 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7317 if test -n "$ac_ct_STRIP"; then
7318 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7319 echo "${ECHO_T}$ac_ct_STRIP" >&6
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7327 STRIP
="$ac_cv_prog_STRIP"
7332 old_CFLAGS
="$CFLAGS"
7334 # Set sane defaults for various variables
7335 test -z "$AR" && AR
=ar
7336 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7337 test -z "$AS" && AS
=as
7338 test -z "$CC" && CC
=cc
7339 test -z "$LTCC" && LTCC
=$CC
7340 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7341 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7342 test -z "$LD" && LD
=ld
7343 test -z "$LN_S" && LN_S
="ln -s"
7344 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7345 test -z "$NM" && NM
=nm
7346 test -z "$SED" && SED
=sed
7347 test -z "$OBJDUMP" && OBJDUMP
=objdump
7348 test -z "$RANLIB" && RANLIB
=:
7349 test -z "$STRIP" && STRIP
=:
7350 test -z "$ac_objext" && ac_objext
=o
7352 # Determine commands to create old-style static archives.
7353 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7354 old_postinstall_cmds
='chmod 644 $oldlib'
7355 old_postuninstall_cmds
=
7357 if test -n "$RANLIB"; then
7360 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7363 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7366 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7369 for cc_temp
in $compiler""; do
7371 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7372 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7377 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7380 # Only perform the check for file, if the check method requires it
7381 case $deplibs_check_method in
7383 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7384 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7385 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7386 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7394 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7395 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7396 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7397 for ac_dir
in $ac_dummy; do
7399 test -z "$ac_dir" && ac_dir
=.
7400 if test -f $ac_dir/${ac_tool_prefix}file; then
7401 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7402 if test -n "$file_magic_test_file"; then
7403 case $deplibs_check_method in
7405 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7406 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7407 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7408 $EGREP "$file_magic_regex" > /dev
/null
; then
7413 *** Warning: the command libtool uses to detect shared libraries,
7414 *** $file_magic_cmd, produces output that libtool cannot recognize.
7415 *** The result is that libtool may fail to recognize shared libraries
7416 *** as such. This will affect the creation of libtool libraries that
7417 *** depend on shared libraries, but programs linked with such libtool
7418 *** libraries will work regardless of this problem. Nevertheless, you
7419 *** may want to report the problem to your system manager and/or to
7420 *** bug-libtool@gnu.org
7430 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7435 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7436 if test -n "$MAGIC_CMD"; then
7437 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7438 echo "${ECHO_T}$MAGIC_CMD" >&6
7440 echo "$as_me:$LINENO: result: no" >&5
7441 echo "${ECHO_T}no" >&6
7444 if test -z "$lt_cv_path_MAGIC_CMD"; then
7445 if test -n "$ac_tool_prefix"; then
7446 echo "$as_me:$LINENO: checking for file" >&5
7447 echo $ECHO_N "checking for file... $ECHO_C" >&6
7448 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7456 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7457 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7458 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7459 for ac_dir
in $ac_dummy; do
7461 test -z "$ac_dir" && ac_dir
=.
7462 if test -f $ac_dir/file; then
7463 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7464 if test -n "$file_magic_test_file"; then
7465 case $deplibs_check_method in
7467 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7468 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7469 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7470 $EGREP "$file_magic_regex" > /dev
/null
; then
7475 *** Warning: the command libtool uses to detect shared libraries,
7476 *** $file_magic_cmd, produces output that libtool cannot recognize.
7477 *** The result is that libtool may fail to recognize shared libraries
7478 *** as such. This will affect the creation of libtool libraries that
7479 *** depend on shared libraries, but programs linked with such libtool
7480 *** libraries will work regardless of this problem. Nevertheless, you
7481 *** may want to report the problem to your system manager and/or to
7482 *** bug-libtool@gnu.org
7492 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7497 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7498 if test -n "$MAGIC_CMD"; then
7499 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7500 echo "${ECHO_T}$MAGIC_CMD" >&6
7502 echo "$as_me:$LINENO: result: no" >&5
7503 echo "${ECHO_T}no" >&6
7518 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7519 if test "${enable_libtool_lock+set}" = set; then
7520 enableval
="$enable_libtool_lock"
7523 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7526 # Check whether --with-pic or --without-pic was given.
7527 if test "${with_pic+set}" = set; then
7533 test -z "$pic_mode" && pic_mode
=default
7535 # Use C for the default configuration in the libtool script
7539 ac_cpp
='$CPP $CPPFLAGS'
7540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7545 # Source file extension for C test sources.
7548 # Object file extension for compiled C test sources.
7552 # Code to be used in simple compile tests
7553 lt_simple_compile_test_code
="int some_variable = 0;\n"
7555 # Code to be used in simple link tests
7556 lt_simple_link_test_code
='int main(){return(0);}\n'
7559 # If no C compiler was specified, use CC.
7562 # If no C compiler flags were specified, use CFLAGS.
7563 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7565 # Allow CC to be a program name with arguments.
7569 # save warnings/boilerplate of simple test code
7570 ac_outfile
=conftest.
$ac_objext
7571 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7572 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7573 _lt_compiler_boilerplate
=`cat conftest.err`
7576 ac_outfile
=conftest.
$ac_objext
7577 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7578 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7579 _lt_linker_boilerplate
=`cat conftest.err`
7584 lt_prog_compiler_no_builtin_flag
=
7586 if test "$GCC" = yes; then
7587 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7590 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7591 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7592 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 lt_cv_prog_compiler_rtti_exceptions
=no
7596 ac_outfile
=conftest.
$ac_objext
7597 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7598 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7599 # Insert the option either (1) after the last *FLAGS variable, or
7600 # (2) before a word containing "conftest.", or (3) at the end.
7601 # Note that $ac_compile itself does not contain backslashes and begins
7602 # with a dollar sign (not a hyphen), so the echo should work correctly.
7603 # The option is referenced via a variable to avoid confusing sed.
7604 lt_compile
=`echo "$ac_compile" | $SED \
7605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7607 -e 's:$: $lt_compiler_flag:'`
7608 (eval echo "\"\$as_me:7608: $lt_compile\"" >&5)
7609 (eval "$lt_compile" 2>conftest.err
)
7611 cat conftest.err
>&5
7612 echo "$as_me:7612: \$? = $ac_status" >&5
7613 if (exit $ac_status) && test -s "$ac_outfile"; then
7614 # The compiler can only warn and ignore the option if not recognized
7615 # So say no if there are warnings other than the usual output.
7616 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7618 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7619 lt_cv_prog_compiler_rtti_exceptions
=yes
7625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7626 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7628 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7629 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7636 lt_prog_compiler_wl
=
7637 lt_prog_compiler_pic
=
7638 lt_prog_compiler_static
=
7640 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7641 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7643 if test "$GCC" = yes; then
7644 lt_prog_compiler_wl
='-Wl,'
7645 lt_prog_compiler_static
='-static'
7649 # All AIX code is PIC.
7650 if test "$host_cpu" = ia64
; then
7651 # AIX 5 now supports IA64 processor
7652 lt_prog_compiler_static
='-Bstatic'
7657 # FIXME: we need at least 68020 code to build shared libraries, but
7658 # adding the `-m68020' flag to GCC prevents building anything better,
7660 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7663 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7664 # PIC is the default for these OSes.
7667 mingw
* | pw32
* | os2
*)
7668 # This hack is so that the source file can tell whether it is being
7669 # built for inclusion in a dll (and should export symbols for example).
7670 lt_prog_compiler_pic
='-DDLL_EXPORT'
7673 darwin
* | rhapsody
*)
7674 # PIC is the default on this platform
7675 # Common symbols not allowed in MH_DYLIB files
7676 lt_prog_compiler_pic
='-fno-common'
7680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7681 # Instead, we relocate shared libraries at runtime.
7685 # Just because we use GCC doesn't mean we suddenly get shared libraries
7686 # on systems that don't support them.
7687 lt_prog_compiler_can_build_shared
=no
7692 if test -d /usr
/nec
; then
7693 lt_prog_compiler_pic
=-Kconform_pic
7698 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7705 lt_prog_compiler_pic
='-fPIC'
7711 lt_prog_compiler_pic
='-fPIC'
7715 # PORTME Check for flag to pass linker flags through the system compiler.
7718 lt_prog_compiler_wl
='-Wl,'
7719 if test "$host_cpu" = ia64
; then
7720 # AIX 5 now supports IA64 processor
7721 lt_prog_compiler_static
='-Bstatic'
7723 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7727 # PIC is the default on this platform
7728 # Common symbols not allowed in MH_DYLIB files
7729 case $cc_basename in
7731 lt_prog_compiler_pic
='-qnocommon'
7732 lt_prog_compiler_wl
='-Wl,'
7737 mingw
* | pw32
* | os2
*)
7738 # This hack is so that the source file can tell whether it is being
7739 # built for inclusion in a dll (and should export symbols for example).
7740 lt_prog_compiler_pic
='-DDLL_EXPORT'
7743 hpux9
* | hpux10
* | hpux11
*)
7744 lt_prog_compiler_wl
='-Wl,'
7745 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7752 lt_prog_compiler_pic
='+Z'
7755 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7756 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7759 irix5
* | irix6
* | nonstopux
*)
7760 lt_prog_compiler_wl
='-Wl,'
7761 # PIC (with -KPIC) is the default.
7762 lt_prog_compiler_static
='-non_shared'
7766 lt_prog_compiler_pic
='-KPIC'
7767 lt_prog_compiler_static
='-Bstatic'
7771 case $cc_basename in
7773 lt_prog_compiler_wl
='-Wl,'
7774 lt_prog_compiler_pic
='-KPIC'
7775 lt_prog_compiler_static
='-static'
7777 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7778 # Portland Group compilers (*not* the Pentium gcc compiler,
7779 # which looks to be a dead project)
7780 lt_prog_compiler_wl
='-Wl,'
7781 lt_prog_compiler_pic
='-fpic'
7782 lt_prog_compiler_static
='-Bstatic'
7785 lt_prog_compiler_wl
='-Wl,'
7786 # All Alpha code is PIC.
7787 lt_prog_compiler_static
='-non_shared'
7792 osf3
* | osf4
* | osf5
*)
7793 lt_prog_compiler_wl
='-Wl,'
7794 # All OSF/1 code is PIC.
7795 lt_prog_compiler_static
='-non_shared'
7799 lt_prog_compiler_pic
='-KPIC'
7800 lt_prog_compiler_static
='-Bstatic'
7801 case $cc_basename in
7803 lt_prog_compiler_wl
='-Qoption ld ';;
7805 lt_prog_compiler_wl
='-Wl,';;
7810 lt_prog_compiler_wl
='-Qoption ld '
7811 lt_prog_compiler_pic
='-PIC'
7812 lt_prog_compiler_static
='-Bstatic'
7815 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7816 lt_prog_compiler_wl
='-Wl,'
7817 lt_prog_compiler_pic
='-KPIC'
7818 lt_prog_compiler_static
='-Bstatic'
7822 if test -d /usr
/nec
;then
7823 lt_prog_compiler_pic
='-Kconform_pic'
7824 lt_prog_compiler_static
='-Bstatic'
7828 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7829 lt_prog_compiler_wl
='-Wl,'
7830 lt_prog_compiler_pic
='-KPIC'
7831 lt_prog_compiler_static
='-Bstatic'
7835 lt_prog_compiler_wl
='-Wl,'
7836 lt_prog_compiler_can_build_shared
=no
7840 lt_prog_compiler_pic
='-pic'
7841 lt_prog_compiler_static
='-Bstatic'
7845 lt_prog_compiler_can_build_shared
=no
7850 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7851 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7854 # Check to make sure the PIC flag actually works.
7856 if test -n "$lt_prog_compiler_pic"; then
7858 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7859 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7860 if test "${lt_prog_compiler_pic_works+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 lt_prog_compiler_pic_works
=no
7864 ac_outfile
=conftest.
$ac_objext
7865 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7866 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7867 # Insert the option either (1) after the last *FLAGS variable, or
7868 # (2) before a word containing "conftest.", or (3) at the end.
7869 # Note that $ac_compile itself does not contain backslashes and begins
7870 # with a dollar sign (not a hyphen), so the echo should work correctly.
7871 # The option is referenced via a variable to avoid confusing sed.
7872 lt_compile
=`echo "$ac_compile" | $SED \
7873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7875 -e 's:$: $lt_compiler_flag:'`
7876 (eval echo "\"\$as_me:7876: $lt_compile\"" >&5)
7877 (eval "$lt_compile" 2>conftest.err
)
7879 cat conftest.err
>&5
7880 echo "$as_me:7880: \$? = $ac_status" >&5
7881 if (exit $ac_status) && test -s "$ac_outfile"; then
7882 # The compiler can only warn and ignore the option if not recognized
7883 # So say no if there are warnings other than the usual output.
7884 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7885 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7886 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7887 lt_prog_compiler_pic_works
=yes
7893 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7894 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7896 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7897 case $lt_prog_compiler_pic in
7899 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7902 lt_prog_compiler_pic
=
7903 lt_prog_compiler_can_build_shared
=no
7908 # For platforms which do not support PIC, -DPIC is meaningless:
7910 lt_prog_compiler_pic
=
7913 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7918 # Check to make sure the static flag actually works.
7920 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7921 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7922 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7923 if test "${lt_prog_compiler_static_works+set}" = set; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 lt_prog_compiler_static_works
=no
7927 save_LDFLAGS
="$LDFLAGS"
7928 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7929 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7930 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7931 # The linker can only warn and ignore the option if not recognized
7932 # So say no if there are warnings
7933 if test -s conftest.err
; then
7934 # Append any errors to the config.log.
7935 cat conftest.err
1>&5
7936 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7937 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7938 if diff conftest.exp conftest.er2
>/dev
/null
; then
7939 lt_prog_compiler_static_works
=yes
7942 lt_prog_compiler_static_works
=yes
7946 LDFLAGS
="$save_LDFLAGS"
7949 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7950 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7952 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7955 lt_prog_compiler_static
=
7959 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7960 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 lt_cv_prog_compiler_c_o
=no
7965 $rm -r conftest
2>/dev
/null
7969 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7971 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7972 # Insert the option either (1) after the last *FLAGS variable, or
7973 # (2) before a word containing "conftest.", or (3) at the end.
7974 # Note that $ac_compile itself does not contain backslashes and begins
7975 # with a dollar sign (not a hyphen), so the echo should work correctly.
7976 lt_compile
=`echo "$ac_compile" | $SED \
7977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7979 -e 's:$: $lt_compiler_flag:'`
7980 (eval echo "\"\$as_me:7980: $lt_compile\"" >&5)
7981 (eval "$lt_compile" 2>out
/conftest.err
)
7983 cat out
/conftest.err
>&5
7984 echo "$as_me:7984: \$? = $ac_status" >&5
7985 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7987 # The compiler can only warn and ignore the option if not recognized
7988 # So say no if there are warnings
7989 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7990 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7991 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7992 lt_cv_prog_compiler_c_o
=yes
7997 # SGI C++ compiler will create directory out/ii_files/ for
7998 # template instantiation
7999 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8000 $rm out
/* && rmdir out
8006 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8007 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8010 hard_links
="nottested"
8011 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8012 # do not overwrite the value of need_locks provided by the user
8013 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8014 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8017 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8019 ln conftest.a conftest.b
2>&5 || hard_links
=no
8020 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8021 echo "$as_me:$LINENO: result: $hard_links" >&5
8022 echo "${ECHO_T}$hard_links" >&6
8023 if test "$hard_links" = no
; then
8024 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8025 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8032 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8033 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8036 allow_undefined_flag
=
8037 enable_shared_with_static_runtimes
=no
8039 archive_expsym_cmds
=
8040 old_archive_From_new_cmds
=
8041 old_archive_from_expsyms_cmds
=
8042 export_dynamic_flag_spec
=
8043 whole_archive_flag_spec
=
8044 thread_safe_flag_spec
=
8045 hardcode_libdir_flag_spec
=
8046 hardcode_libdir_flag_spec_ld
=
8047 hardcode_libdir_separator
=
8050 hardcode_shlibpath_var
=unsupported
8051 link_all_deplibs
=unknown
8052 hardcode_automatic
=no
8055 always_export_symbols
=no
8056 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8057 # include_expsyms should be a list of space-separated symbols to be *always*
8058 # included in the symbol list
8060 # exclude_expsyms can be an extended regexp of symbols to exclude
8061 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8062 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8063 # as well as any symbol that contains `d'.
8064 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8065 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8066 # platforms (ab)use it in PIC code, but their linkers get confused if
8067 # the symbol is explicitly referenced. Since portable code cannot
8068 # rely on this symbol name, it's probably fine to never include it in
8069 # preloaded symbol tables.
8070 extract_expsyms_cmds
=
8071 # Just being paranoid about ensuring that cc_basename is set.
8072 for cc_temp
in $compiler""; do
8074 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8075 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8080 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8083 cygwin
* | mingw
* | pw32
*)
8084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8085 # When not using gcc, we currently assume that we are using
8086 # Microsoft Visual C++.
8087 if test "$GCC" != yes; then
8092 # we just hope/assume this is gcc and not c89 (= MSVC++)
8101 if test "$with_gnu_ld" = yes; then
8102 # If archive_cmds runs LD, not CC, wlarc should be empty
8105 # Set some defaults for GNU ld with shared library support. These
8106 # are reset later if shared libraries are not supported. Putting them
8107 # here allows them to be overridden if necessary.
8108 runpath_var
=LD_RUN_PATH
8109 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8110 export_dynamic_flag_spec
='${wl}--export-dynamic'
8111 # ancient GNU ld didn't support --whole-archive et. al.
8112 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8113 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8115 whole_archive_flag_spec
=
8117 supports_anon_versioning
=no
8118 case `$LD -v 2>/dev/null` in
8119 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8120 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8121 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8122 *\
2.11.
*) ;; # other 2.11 versions
8123 *) supports_anon_versioning
=yes ;;
8126 # See if GNU ld supports shared libraries.
8128 aix3
* | aix4
* | aix5
*)
8129 # On AIX/PPC, the GNU linker is very broken
8130 if test "$host_cpu" != ia64
; then
8134 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8135 *** to be unable to reliably create shared libraries on AIX.
8136 *** Therefore, libtool is disabling shared libraries support. If you
8137 *** really care for shared libraries, you may want to modify your PATH
8138 *** so that a non-GNU linker is found, and then restart.
8145 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)'
8146 hardcode_libdir_flag_spec
='-L$libdir'
8147 hardcode_minus_L
=yes
8149 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8150 # that the semantics of dynamic libraries on AmigaOS, at least up
8151 # to version 4, is to share data among multiple programs linked
8152 # with the same dynamic library. Since this doesn't match the
8153 # behavior of shared libraries on other platforms, we can't use
8159 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8160 allow_undefined_flag
=unsupported
8161 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8162 # support --undefined. This deserves some investigation. FIXME
8163 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8169 cygwin
* | mingw
* | pw32
*)
8170 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8171 # as there is no search path for DLLs.
8172 hardcode_libdir_flag_spec
='-L$libdir'
8173 allow_undefined_flag
=unsupported
8174 always_export_symbols
=no
8175 enable_shared_with_static_runtimes
=yes
8176 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8178 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8179 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8180 # If the export-symbols file already is a .def file (1st line
8181 # is EXPORTS), use it as is; otherwise, prepend...
8182 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8183 cp $export_symbols $output_objdir/$soname.def;
8185 echo EXPORTS > $output_objdir/$soname.def;
8186 cat $export_symbols >> $output_objdir/$soname.def;
8188 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8196 hardcode_shlibpath_var
=no
8197 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8198 export_dynamic_flag_spec
='${wl}-E'
8199 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8200 # Instead, shared libraries are loaded at an image base (0x10000000 by
8201 # default) and relocated if they conflict, which is a slow very memory
8202 # consuming and fragmenting process. To avoid this, we pick a random,
8203 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8204 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8205 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8206 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'
8210 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8212 case $cc_basename,$host_cpu in
8213 pgcc
*) # Portland Group C compiler
8214 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'
8215 tmp_addflag
=' $pic_flag'
8217 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8218 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'
8219 tmp_addflag
=' $pic_flag -Mnomain' ;;
8220 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8221 tmp_addflag
=' -i_dynamic' ;;
8222 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8223 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8224 ifc
* | ifort
*) # Intel Fortran compiler
8225 tmp_addflag
=' -nofor_main' ;;
8227 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8229 if test $supports_anon_versioning = yes; then
8230 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8231 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8232 $echo "local: *; };" >> $output_objdir/$libname.ver~
8233 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8241 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8242 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8245 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8251 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8255 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8256 *** create shared libraries on Solaris systems. Therefore, libtool
8257 *** is disabling shared libraries support. We urge you to upgrade GNU
8258 *** binutils to release 2.9.1 or newer. Another option is to modify
8259 *** your PATH or compiler configuration so that the native linker is
8260 *** used, and then restart.
8263 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8264 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8265 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8271 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8272 case `$LD -v 2>&1` in
8273 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8277 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8278 *** reliably create shared libraries on SCO systems. Therefore, libtool
8279 *** is disabling shared libraries support. We urge you to upgrade GNU
8280 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8281 *** your PATH or compiler configuration so that the native linker is
8282 *** used, and then restart.
8287 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8288 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8289 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8290 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8299 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8302 hardcode_shlibpath_var
=no
8306 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8315 if test "$ld_shlibs" = no
; then
8317 hardcode_libdir_flag_spec
=
8318 export_dynamic_flag_spec
=
8319 whole_archive_flag_spec
=
8322 # PORTME fill in a description of your system's linker (not GNU ld)
8325 allow_undefined_flag
=unsupported
8326 always_export_symbols
=yes
8327 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'
8328 # Note: this linker hardcodes the directories in LIBPATH if there
8329 # are no directories specified by -L.
8330 hardcode_minus_L
=yes
8331 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8332 # Neither direct hardcoding nor static linking is supported with a
8334 hardcode_direct
=unsupported
8339 if test "$host_cpu" = ia64
; then
8340 # On IA64, the linker does run time linking by default, so we don't
8341 # have to do anything special.
8342 aix_use_runtimelinking
=no
8343 exp_sym_flag
='-Bexport'
8346 # If we're using GNU nm, then we don't want the "-C" option.
8347 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8348 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8349 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'
8351 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'
8353 aix_use_runtimelinking
=no
8355 # Test if we are trying to use run time linking or normal
8356 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8357 # need to do runtime linking.
8358 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8359 for ld_flag
in $LDFLAGS; do
8360 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8361 aix_use_runtimelinking
=yes
8368 exp_sym_flag
='-bexport'
8369 no_entry_flag
='-bnoentry'
8372 # When large executables or shared objects are built, AIX ld can
8373 # have problems creating the table of contents. If linking a library
8374 # or program results in "error TOC overflow" add -mminimal-toc to
8375 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8376 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8380 hardcode_libdir_separator
=':'
8381 link_all_deplibs
=yes
8383 if test "$GCC" = yes; then
8384 case $host_os in aix4.
[012]|aix4.
[012].
*)
8385 # We only want to do this on AIX 4.2 and lower, the check
8386 # below for broken collect2 doesn't work under 4.3+
8387 collect2name
=`${CC} -print-prog-name=collect2`
8388 if test -f "$collect2name" && \
8389 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8391 # We have reworked collect2
8394 # We have old collect2
8395 hardcode_direct
=unsupported
8396 # It fails to find uninstalled libraries when the uninstalled
8397 # path is not listed in the libpath. Setting hardcode_minus_L
8398 # to unsupported forces relinking
8399 hardcode_minus_L
=yes
8400 hardcode_libdir_flag_spec
='-L$libdir'
8401 hardcode_libdir_separator
=
8405 shared_flag
='-shared'
8406 if test "$aix_use_runtimelinking" = yes; then
8407 shared_flag
="$shared_flag "'${wl}-G'
8411 if test "$host_cpu" = ia64
; then
8412 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8413 # chokes on -Wl,-G. The following line is correct:
8416 if test "$aix_use_runtimelinking" = yes; then
8417 shared_flag
='${wl}-G'
8419 shared_flag
='${wl}-bM:SRE'
8424 # It seems that -bexpall does not export symbols beginning with
8425 # underscore (_), so it is better to generate a list of symbols to export.
8426 always_export_symbols
=yes
8427 if test "$aix_use_runtimelinking" = yes; then
8428 # Warning - without using the other runtime loading flags (-brtl),
8429 # -berok will link without error, but may produce a broken library.
8430 allow_undefined_flag
='-berok'
8431 # Determine the default libpath from the value encoded in an empty executable.
8432 cat >conftest.
$ac_ext <<_ACEOF
8435 cat confdefs.h
>>conftest.
$ac_ext
8436 cat >>conftest.
$ac_ext <<_ACEOF
8437 /* end confdefs.h. */
8447 rm -f conftest.
$ac_objext conftest
$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>conftest.er1
8451 grep -v '^ *+' conftest.er1
>conftest.err
8453 cat conftest.err
>&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); } &&
8456 { ac_try
='test -z "$ac_c_werror_flag"
8457 || test ! -s conftest.err'
8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); }; } &&
8463 { ac_try
='test -s conftest$ac_exeext'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; }; then
8470 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8472 # Check for a 64-bit object if we didn't find anything.
8473 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.
$ac_ext >&5
8480 rm -f conftest.err conftest.
$ac_objext \
8481 conftest
$ac_exeext conftest.
$ac_ext
8482 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8484 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8485 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"
8487 if test "$host_cpu" = ia64
; then
8488 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8489 allow_undefined_flag
="-z nodefs"
8490 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"
8492 # Determine the default libpath from the value encoded in an empty executable.
8493 cat >conftest.
$ac_ext <<_ACEOF
8496 cat confdefs.h
>>conftest.
$ac_ext
8497 cat >>conftest.
$ac_ext <<_ACEOF
8498 /* end confdefs.h. */
8508 rm -f conftest.
$ac_objext conftest
$ac_exeext
8509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8510 (eval $ac_link) 2>conftest.er1
8512 grep -v '^ *+' conftest.er1
>conftest.err
8514 cat conftest.err
>&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); } &&
8517 { ac_try
='test -z "$ac_c_werror_flag"
8518 || test ! -s conftest.err'
8519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); }; } &&
8524 { ac_try
='test -s conftest$ac_exeext'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; }; then
8531 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8533 # Check for a 64-bit object if we didn't find anything.
8534 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.
$ac_ext >&5
8541 rm -f conftest.err conftest.
$ac_objext \
8542 conftest
$ac_exeext conftest.
$ac_ext
8543 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8545 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8546 # Warning - without using the other run time loading flags,
8547 # -berok will link without error, but may produce a broken library.
8548 no_undefined_flag
=' ${wl}-bernotok'
8549 allow_undefined_flag
=' ${wl}-berok'
8550 # Exported symbols can be pulled into shared objects from archives
8551 whole_archive_flag_spec
='$convenience'
8552 archive_cmds_need_lc
=yes
8553 # This is similar to how AIX traditionally builds its shared libraries.
8554 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'
8560 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)'
8561 hardcode_libdir_flag_spec
='-L$libdir'
8562 hardcode_minus_L
=yes
8563 # see comment about different semantics on the GNU ld section
8568 export_dynamic_flag_spec
=-rdynamic
8571 cygwin
* | mingw
* | pw32
*)
8572 # When not using gcc, we currently assume that we are using
8573 # Microsoft Visual C++.
8574 # hardcode_libdir_flag_spec is actually meaningless, as there is
8575 # no search path for DLLs.
8576 hardcode_libdir_flag_spec
=' '
8577 allow_undefined_flag
=unsupported
8578 # Tell ltmain to make .lib files, not .a files.
8580 # Tell ltmain to make .dll files, not .so files.
8582 # FIXME: Setting linknames here is a bad hack.
8583 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8584 # The linker will automatically build a .lib file if we build a DLL.
8585 old_archive_From_new_cmds
='true'
8586 # FIXME: Should let the user specify the lib program.
8587 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8588 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8589 enable_shared_with_static_runtimes
=yes
8592 darwin
* | rhapsody
*)
8594 rhapsody
* | darwin1.
[012])
8595 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8598 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8599 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8601 case ${MACOSX_DEPLOYMENT_TARGET} in
8603 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8606 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8612 archive_cmds_need_lc
=no
8614 hardcode_automatic
=yes
8615 hardcode_shlibpath_var
=unsupported
8616 whole_archive_flag_spec
=''
8617 link_all_deplibs
=yes
8618 if test "$GCC" = yes ; then
8619 output_verbose_link_cmd
='echo'
8620 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8621 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8622 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8623 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}'
8624 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}'
8626 case $cc_basename in
8628 output_verbose_link_cmd
='echo'
8629 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8630 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8631 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8632 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8633 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}'
8643 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8644 hardcode_libdir_flag_spec
='-L$libdir'
8645 hardcode_shlibpath_var
=no
8652 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8653 # support. Future versions do this automatically, but an explicit c++rt0.o
8654 # does not break anything, and helps significantly (at the cost of a little
8657 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8658 hardcode_libdir_flag_spec
='-R$libdir'
8660 hardcode_shlibpath_var
=no
8663 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8665 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8667 hardcode_minus_L
=yes
8668 hardcode_shlibpath_var
=no
8671 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8672 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8673 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8674 hardcode_libdir_flag_spec
='-R$libdir'
8676 hardcode_shlibpath_var
=no
8680 if test "$GCC" = yes; then
8681 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'
8683 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'
8685 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8686 hardcode_libdir_separator
=:
8689 # hardcode_minus_L: Not really in the search PATH,
8690 # but as the default location of the library.
8691 hardcode_minus_L
=yes
8692 export_dynamic_flag_spec
='${wl}-E'
8696 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8697 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8699 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8701 if test "$with_gnu_ld" = no
; then
8702 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8703 hardcode_libdir_separator
=:
8706 export_dynamic_flag_spec
='${wl}-E'
8708 # hardcode_minus_L: Not really in the search PATH,
8709 # but as the default location of the library.
8710 hardcode_minus_L
=yes
8715 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8718 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8721 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8724 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8730 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8736 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8740 if test "$with_gnu_ld" = no
; then
8741 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8742 hardcode_libdir_separator
=:
8746 hardcode_libdir_flag_spec_ld
='+b $libdir'
8748 hardcode_shlibpath_var
=no
8752 export_dynamic_flag_spec
='${wl}-E'
8754 # hardcode_minus_L: Not really in the search PATH,
8755 # but as the default location of the library.
8756 hardcode_minus_L
=yes
8762 irix5
* | irix6
* | nonstopux
*)
8763 if test "$GCC" = yes; then
8764 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'
8766 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'
8767 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8769 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8770 hardcode_libdir_separator
=:
8771 link_all_deplibs
=yes
8775 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8776 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8778 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8780 hardcode_libdir_flag_spec
='-R$libdir'
8782 hardcode_shlibpath_var
=no
8786 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8789 hardcode_libdir_separator
=:
8790 hardcode_shlibpath_var
=no
8795 hardcode_shlibpath_var
=no
8796 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8797 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8798 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8799 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8800 export_dynamic_flag_spec
='${wl}-E'
8803 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8804 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8805 hardcode_libdir_flag_spec
='-R$libdir'
8808 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8809 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8816 hardcode_libdir_flag_spec
='-L$libdir'
8817 hardcode_minus_L
=yes
8818 allow_undefined_flag
=unsupported
8819 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'
8820 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8824 if test "$GCC" = yes; then
8825 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8826 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'
8828 allow_undefined_flag
=' -expect_unresolved \*'
8829 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'
8831 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8832 hardcode_libdir_separator
=:
8835 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8836 if test "$GCC" = yes; then
8837 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8838 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'
8839 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8841 allow_undefined_flag
=' -expect_unresolved \*'
8842 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'
8843 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8844 $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'
8846 # Both c and cxx compiler support -rpath directly
8847 hardcode_libdir_flag_spec
='-rpath $libdir'
8849 hardcode_libdir_separator
=:
8853 no_undefined_flag
=' -z text'
8854 if test "$GCC" = yes; then
8856 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8857 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8858 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8861 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8862 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8863 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8865 hardcode_libdir_flag_spec
='-R$libdir'
8866 hardcode_shlibpath_var
=no
8868 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8870 # The compiler driver will combine linker options so we
8871 # cannot just pass the convience library names through
8872 # without $wl, iff we do not link with $LD.
8873 # Luckily, gcc supports the same syntax we need for Sun Studio.
8874 # Supported since Solaris 2.6 (maybe 2.5.1?)
8877 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8879 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8882 link_all_deplibs
=yes
8886 if test "x$host_vendor" = xsequent
; then
8887 # Use $CC to link under sequent, because it throws in some extra .o
8888 # files that make .init and .fini sections work.
8889 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8891 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8893 hardcode_libdir_flag_spec
='-L$libdir'
8895 hardcode_minus_L
=yes
8896 hardcode_shlibpath_var
=no
8900 case $host_vendor in
8902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8903 hardcode_direct
=yes # is this really true???
8906 ## LD is ld it makes a PLAMLIB
8907 ## CC just makes a GrossModule.
8908 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8909 reload_cmds
='$CC -r -o $output$reload_objs'
8913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8914 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8917 runpath_var
='LD_RUN_PATH'
8918 hardcode_shlibpath_var
=no
8922 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8923 hardcode_shlibpath_var
=no
8924 export_dynamic_flag_spec
='-Bexport'
8928 if test -d /usr
/nec
; then
8929 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8930 hardcode_shlibpath_var
=no
8931 runpath_var
=LD_RUN_PATH
8932 hardcode_runpath_var
=yes
8937 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8938 no_undefined_flag
='${wl}-z,text'
8939 archive_cmds_need_lc
=no
8940 hardcode_shlibpath_var
=no
8941 runpath_var
='LD_RUN_PATH'
8943 if test "$GCC" = yes; then
8944 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8947 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8952 sysv5
* | sco3.2v5
* | sco5v6
*)
8953 # Note: We can NOT use -z defs as we might desire, because we do not
8954 # link with -lc, and that would cause any symbols used from libc to
8955 # always be unresolved, which means just about no library would
8956 # ever link correctly. If we're not using GNU ld we use -z text
8957 # though, which does catch some bad symbols but isn't as heavy-handed
8959 no_undefined_flag
='${wl}-z,text'
8960 allow_undefined_flag
='${wl}-z,nodefs'
8961 archive_cmds_need_lc
=no
8962 hardcode_shlibpath_var
=no
8963 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8964 hardcode_libdir_separator
=':'
8965 link_all_deplibs
=yes
8966 export_dynamic_flag_spec
='${wl}-Bexport'
8967 runpath_var
='LD_RUN_PATH'
8969 if test "$GCC" = yes; then
8970 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8971 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8973 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8979 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8980 hardcode_libdir_flag_spec
='-L$libdir'
8981 hardcode_shlibpath_var
=no
8990 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8991 echo "${ECHO_T}$ld_shlibs" >&6
8992 test "$ld_shlibs" = no
&& can_build_shared
=no
8995 # Do we need to explicitly link libc?
8997 case "x$archive_cmds_need_lc" in
8999 # Assume -lc should be added
9000 archive_cmds_need_lc
=yes
9002 if test "$enable_shared" = yes && test "$GCC" = yes; then
9003 case $archive_cmds in
9005 # FIXME: we may have to deal with multi-command sequences.
9008 # Test whether the compiler implicitly links with -lc since on some
9009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9010 # to ld, don't add -lc before -lgcc.
9011 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9012 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9014 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9017 (eval $ac_compile) 2>&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } 2>conftest.err
; then
9023 libobjs
=conftest.
$ac_objext
9025 wl
=$lt_prog_compiler_wl
9026 pic_flag
=$lt_prog_compiler_pic
9032 lt_save_allow_undefined_flag
=$allow_undefined_flag
9033 allow_undefined_flag
=
9034 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9035 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }
9040 archive_cmds_need_lc
=no
9042 archive_cmds_need_lc
=yes
9044 allow_undefined_flag
=$lt_save_allow_undefined_flag
9046 cat conftest.err
1>&5
9049 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9050 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9057 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9058 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9060 libname_spec
='lib$name'
9068 shlibpath_overrides_runpath
=unknown
9070 dynamic_linker
="$host_os ld.so"
9071 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9072 if test "$GCC" = yes; then
9073 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9074 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9075 # if the path contains ";" then we assume it to be the separator
9076 # otherwise default to the standard path separator (i.e. ":") - it is
9077 # assumed that no part of a normal pathname contains ";" but that should
9078 # okay in the real world where ";" in dirpaths is itself problematic.
9079 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9081 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9084 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9086 need_lib_prefix
=unknown
9087 hardcode_into_libs
=no
9089 # when you set need_version to no, make sure it does not cause -set_version
9090 # flags to be left without arguments
9091 need_version
=unknown
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9097 shlibpath_var
=LIBPATH
9099 # AIX 3 has no versioning support, so we append a major version to the name.
9100 soname_spec
='${libname}${release}${shared_ext}$major'
9107 hardcode_into_libs
=yes
9108 if test "$host_cpu" = ia64
; then
9109 # AIX 5 supports IA64
9110 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9111 shlibpath_var
=LD_LIBRARY_PATH
9113 # With GCC up to 2.95.x, collect2 would create an import file
9114 # for dependence libraries. The import file would start with
9115 # the line `#! .'. This would cause the generated library to
9116 # depend on `.', always an invalid library. This was fixed in
9117 # development snapshots of GCC prior to 3.0.
9119 aix4 | aix4.
[01] | aix4.
[01].
*)
9120 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9122 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9129 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9130 # soname into executable. Probably we can add versioning support to
9131 # collect2, so additional links can be useful in future.
9132 if test "$aix_use_runtimelinking" = yes; then
9133 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9134 # instead of lib<name>.a to let people know that these are not
9135 # typical AIX shared libraries.
9136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9138 # We preserve .a as extension for shared libraries through AIX4.2
9139 # and later when we are not doing run time linking.
9140 library_names_spec
='${libname}${release}.a $libname.a'
9141 soname_spec
='${libname}${release}${shared_ext}$major'
9143 shlibpath_var
=LIBPATH
9148 library_names_spec
='$libname.ixlibrary $libname.a'
9149 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9150 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'
9154 library_names_spec
='${libname}${shared_ext}'
9155 dynamic_linker
="$host_os ld.so"
9156 shlibpath_var
=LIBRARY_PATH
9162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9163 soname_spec
='${libname}${release}${shared_ext}$major'
9164 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9165 shlibpath_var
=LD_LIBRARY_PATH
9166 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9167 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9168 # the default ld.so.conf also contains /usr/contrib/lib and
9169 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9170 # libtool to hard-code these into programs
9173 cygwin
* | mingw
* | pw32
*)
9174 version_type
=windows
9179 case $GCC,$host_os in
9180 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9181 library_names_spec
='$libname.dll.a'
9182 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9183 postinstall_cmds
='base_file=`basename \${file}`~
9184 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9185 dldir=$destdir/`dirname \$dlpath`~
9186 test -d \$dldir || mkdir -p \$dldir~
9187 $install_prog $dir/$dlname \$dldir/$dlname~
9188 chmod a+x \$dldir/$dlname'
9189 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9190 dlpath=$dir/\$dldll~
9192 shlibpath_overrides_runpath
=yes
9196 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9197 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9198 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9201 # MinGW DLLs use traditional 'lib' prefix
9202 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9203 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9204 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9205 # It is most probably a Windows format PATH printed by
9206 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9207 # path with ; separators, and with drive letters. We can handle the
9208 # drive letters (cygwin fileutils understands them), so leave them,
9209 # especially as we might pass files found there to a mingw objdump,
9210 # which wouldn't understand a cygwinified path. Ahh.
9211 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9213 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9217 # pw32 DLLs use 'pw' prefix rather than 'lib'
9218 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9227 dynamic_linker
='Win32 ld.exe'
9228 # FIXME: first we should search . and the directory the executable is in
9232 darwin
* | rhapsody
*)
9233 dynamic_linker
="$host_os dyld"
9237 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9238 soname_spec
='${libname}${release}${major}$shared_ext'
9239 shlibpath_overrides_runpath
=yes
9240 shlibpath_var
=DYLD_LIBRARY_PATH
9241 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9242 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9243 if test "$GCC" = yes; then
9244 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9246 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9248 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9256 soname_spec
='${libname}${release}${shared_ext}$major'
9257 shlibpath_var
=LD_LIBRARY_PATH
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9269 soname_spec
='${libname}${release}${shared_ext}$major'
9270 shlibpath_var
=LD_LIBRARY_PATH
9271 shlibpath_overrides_runpath
=no
9272 hardcode_into_libs
=yes
9273 dynamic_linker
='GNU ld.so'
9276 freebsd
* | dragonfly
*)
9277 # DragonFly does not have aout. When/if they implement a new
9278 # versioning mechanism, adjust this.
9279 if test -x /usr
/bin
/objformat
; then
9280 objformat
=`/usr/bin/objformat`
9283 freebsd
[123]*) objformat
=aout
;;
9287 version_type
=freebsd-
$objformat
9288 case $version_type in
9290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9299 shlibpath_var
=LD_LIBRARY_PATH
9302 shlibpath_overrides_runpath
=yes
9304 freebsd3.
[01]* | freebsdelf3.
[01]*)
9305 shlibpath_overrides_runpath
=yes
9306 hardcode_into_libs
=yes
9308 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9309 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9310 shlibpath_overrides_runpath
=no
9311 hardcode_into_libs
=yes
9313 freebsd
*) # from 4.6 on
9314 shlibpath_overrides_runpath
=yes
9315 hardcode_into_libs
=yes
9324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9325 soname_spec
='${libname}${release}${shared_ext}$major'
9326 shlibpath_var
=LD_LIBRARY_PATH
9327 hardcode_into_libs
=yes
9330 hpux9
* | hpux10
* | hpux11
*)
9331 # Give a soname corresponding to the major version so that dld.sl refuses to
9332 # link against other versions.
9339 hardcode_into_libs
=yes
9340 dynamic_linker
="$host_os dld.so"
9341 shlibpath_var
=LD_LIBRARY_PATH
9342 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9344 soname_spec
='${libname}${release}${shared_ext}$major'
9345 if test "X$HPUX_IA64_MODE" = X32
; then
9346 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9348 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9350 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9354 hardcode_into_libs
=yes
9355 dynamic_linker
="$host_os dld.sl"
9356 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9357 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9359 soname_spec
='${libname}${release}${shared_ext}$major'
9360 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9361 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9365 dynamic_linker
="$host_os dld.sl"
9366 shlibpath_var
=SHLIB_PATH
9367 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9369 soname_spec
='${libname}${release}${shared_ext}$major'
9372 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9373 postinstall_cmds
='chmod 555 $lib'
9380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9381 soname_spec
='${libname}${release}${shared_ext}$major'
9382 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9383 shlibpath_var
=LD_LIBRARY_PATH
9384 shlibpath_overrides_runpath
=no
9385 hardcode_into_libs
=yes
9388 irix5
* | irix6
* | nonstopux
*)
9390 nonstopux
*) version_type
=nonstopux
;;
9392 if test "$lt_cv_prog_gnu_ld" = yes; then
9400 soname_spec
='${libname}${release}${shared_ext}$major'
9401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9403 irix5
* | nonstopux
*)
9407 case $LD in # libtool.m4 will add one of these switches to LD
9408 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9409 libsuff
= shlibsuff
= libmagic
=32-bit;;
9410 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9411 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9412 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9413 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9414 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9418 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9419 shlibpath_overrides_runpath
=no
9420 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9421 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9422 hardcode_into_libs
=yes
9425 # No shared lib support for Linux oldld, aout, or coff.
9426 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9430 # This must be Linux ELF.
9435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9436 soname_spec
='${libname}${release}${shared_ext}$major'
9437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9438 shlibpath_var
=LD_LIBRARY_PATH
9439 shlibpath_overrides_runpath
=no
9440 # This implies no fast_install, which is unacceptable.
9441 # Some rework will be needed to allow for fast_install
9442 # before this can be enabled.
9443 hardcode_into_libs
=yes
9445 # find out which ABI we are using
9448 x86_64
*|s390x
*|powerpc64
*)
9449 echo '#line 9449 "configure"' > conftest.
$ac_ext
9450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9451 (eval $ac_compile) 2>&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; then
9455 case `/usr/bin/file conftest.$ac_objext` in
9458 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9466 # Append ld.so.conf contents to the search path
9467 if test -f /etc
/ld.so.conf
; then
9468 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9469 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9472 # We used to test for /lib/ld.so.1 and disable shared libraries on
9473 # powerpc, because MkLinux only supported shared libraries with the
9474 # GNU dynamic linker. Since this was broken with cross compilers,
9475 # most powerpc-linux boxes support dynamic linking these days and
9476 # people can always --disable-shared, the test was removed, and we
9477 # assume the GNU/Linux dynamic linker is in use.
9478 dynamic_linker
='GNU/Linux ld.so'
9485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9486 soname_spec
='${libname}${release}${shared_ext}$major'
9487 shlibpath_var
=LD_LIBRARY_PATH
9488 shlibpath_overrides_runpath
=no
9489 hardcode_into_libs
=yes
9490 dynamic_linker
='GNU ld.so'
9497 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9499 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9500 dynamic_linker
='NetBSD (a.out) ld.so'
9502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9503 soname_spec
='${libname}${release}${shared_ext}$major'
9504 dynamic_linker
='NetBSD ld.elf_so'
9506 shlibpath_var
=LD_LIBRARY_PATH
9507 shlibpath_overrides_runpath
=yes
9508 hardcode_into_libs
=yes
9513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9514 shlibpath_var
=LD_LIBRARY_PATH
9515 shlibpath_overrides_runpath
=yes
9522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9523 soname_spec
='${libname}${release}${shared_ext}$major'
9524 shlibpath_var
=LD_LIBRARY_PATH
9525 shlibpath_overrides_runpath
=yes
9530 sys_lib_dlsearch_path_spec
="/usr/lib"
9532 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9534 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9535 *) need_version
=no
;;
9537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9538 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9539 shlibpath_var
=LD_LIBRARY_PATH
9540 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9542 openbsd2.
[89] | openbsd2.
[89].
*)
9543 shlibpath_overrides_runpath
=no
9546 shlibpath_overrides_runpath
=yes
9550 shlibpath_overrides_runpath
=yes
9555 libname_spec
='$name'
9558 library_names_spec
='$libname${shared_ext} $libname.a'
9559 dynamic_linker
='OS/2 ld.exe'
9560 shlibpath_var
=LIBPATH
9563 osf3
* | osf4
* | osf5
*)
9567 soname_spec
='${libname}${release}${shared_ext}$major'
9568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569 shlibpath_var
=LD_LIBRARY_PATH
9570 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9571 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9579 soname_spec
='${libname}${release}${shared_ext}$major'
9580 shlibpath_var
=LD_LIBRARY_PATH
9581 shlibpath_overrides_runpath
=yes
9582 hardcode_into_libs
=yes
9583 # ldd complains unless libraries are executable
9584 postinstall_cmds
='chmod +x $lib'
9589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9590 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9591 shlibpath_var
=LD_LIBRARY_PATH
9592 shlibpath_overrides_runpath
=yes
9593 if test "$with_gnu_ld" = yes; then
9601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9602 soname_spec
='${libname}${release}${shared_ext}$major'
9603 shlibpath_var
=LD_LIBRARY_PATH
9604 case $host_vendor in
9606 shlibpath_overrides_runpath
=no
9608 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9609 runpath_var
=LD_RUN_PATH
9617 shlibpath_overrides_runpath
=no
9618 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9624 if test -d /usr
/nec
;then
9626 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9627 soname_spec
='$libname${shared_ext}.$major'
9628 shlibpath_var
=LD_LIBRARY_PATH
9632 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9633 version_type
=freebsd-elf
9636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9637 soname_spec
='${libname}${release}${shared_ext}$major'
9638 shlibpath_var
=LD_LIBRARY_PATH
9639 hardcode_into_libs
=yes
9640 if test "$with_gnu_ld" = yes; then
9641 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9642 shlibpath_overrides_runpath
=no
9644 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9645 shlibpath_overrides_runpath
=yes
9648 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9652 sys_lib_dlsearch_path_spec
='/usr/lib'
9657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9658 soname_spec
='${libname}${release}${shared_ext}$major'
9659 shlibpath_var
=LD_LIBRARY_PATH
9666 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9667 echo "${ECHO_T}$dynamic_linker" >&6
9668 test "$dynamic_linker" = no
&& can_build_shared
=no
9670 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9671 if test "$GCC" = yes; then
9672 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9675 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9676 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9678 if test -n "$hardcode_libdir_flag_spec" || \
9679 test -n "$runpath_var" || \
9680 test "X$hardcode_automatic" = "Xyes" ; then
9682 # We can hardcode non-existant directories.
9683 if test "$hardcode_direct" != no
&&
9684 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9685 # have to relink, otherwise we might link with an installed library
9686 # when we should be linking with a yet-to-be-installed one
9687 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9688 test "$hardcode_minus_L" != no
; then
9689 # Linking always hardcodes the temporary library directory.
9690 hardcode_action
=relink
9692 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9693 hardcode_action
=immediate
9696 # We cannot hardcode anything, or else we can only hardcode existing
9698 hardcode_action
=unsupported
9700 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9701 echo "${ECHO_T}$hardcode_action" >&6
9703 if test "$hardcode_action" = relink
; then
9704 # Fast installation is not supported
9705 enable_fast_install
=no
9706 elif test "$shlibpath_overrides_runpath" = yes ||
9707 test "$enable_shared" = no
; then
9708 # Fast installation is not necessary
9709 enable_fast_install
=needless
9714 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9715 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9716 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9717 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9718 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9719 echo "$as_me:$LINENO: result: yes" >&5
9720 echo "${ECHO_T}yes" >&6
9722 # FIXME - insert some real tests, host_os isn't really good enough
9725 if test -n "$STRIP" ; then
9726 striplib
="$STRIP -x"
9727 echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6
9730 echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6
9735 echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6
9741 if test "x$enable_dlopen" != xyes
; then
9742 enable_dlopen
=unknown
9743 enable_dlopen_self
=unknown
9744 enable_dlopen_self_static
=unknown
9751 lt_cv_dlopen
="load_add_on"
9753 lt_cv_dlopen_self
=yes
9757 lt_cv_dlopen
="LoadLibrary"
9762 lt_cv_dlopen
="dlopen"
9767 # if libdl is installed we need to link against it
9768 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9769 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9770 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 ac_check_lib_save_LIBS
=$LIBS
9775 cat >conftest.
$ac_ext <<_ACEOF
9778 cat confdefs.h
>>conftest.
$ac_ext
9779 cat >>conftest.
$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9782 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9797 rm -f conftest.
$ac_objext conftest
$ac_exeext
9798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799 (eval $ac_link) 2>conftest.er1
9801 grep -v '^ *+' conftest.er1
>conftest.err
9803 cat conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try
='test -z "$ac_c_werror_flag"
9807 || test ! -s conftest.err'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try
='test -s conftest$ac_exeext'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 ac_cv_lib_dl_dlopen
=yes
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.
$ac_ext >&5
9824 ac_cv_lib_dl_dlopen
=no
9826 rm -f conftest.err conftest.
$ac_objext \
9827 conftest
$ac_exeext conftest.
$ac_ext
9828 LIBS
=$ac_check_lib_save_LIBS
9830 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9831 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9832 if test $ac_cv_lib_dl_dlopen = yes; then
9833 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9838 lt_cv_dlopen_self
=yes
9845 echo "$as_me:$LINENO: checking for shl_load" >&5
9846 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9847 if test "${ac_cv_func_shl_load+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9850 cat >conftest.
$ac_ext <<_ACEOF
9853 cat confdefs.h
>>conftest.
$ac_ext
9854 cat >>conftest.
$ac_ext <<_ACEOF
9855 /* end confdefs.h. */
9856 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9858 #define shl_load innocuous_shl_load
9860 /* System header to define __stub macros and hopefully few prototypes,
9861 which can conflict with char shl_load (); below.
9862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9863 <limits.h> exists even on freestanding compilers. */
9866 # include <limits.h>
9868 # include <assert.h>
9873 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9881 /* The GNU C library defines this for functions which it implements
9882 to always fail with ENOSYS. Some functions are actually named
9883 something starting with __ and the normal name is an alias. */
9884 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9887 char (*f) () = shl_load;
9896 return f != shl_load;
9901 rm -f conftest.
$ac_objext conftest
$ac_exeext
9902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9903 (eval $ac_link) 2>conftest.er1
9905 grep -v '^ *+' conftest.er1
>conftest.err
9907 cat conftest.err
>&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); } &&
9910 { ac_try
='test -z "$ac_c_werror_flag"
9911 || test ! -s conftest.err'
9912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); }; } &&
9917 { ac_try
='test -s conftest$ac_exeext'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; }; then
9923 ac_cv_func_shl_load
=yes
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.
$ac_ext >&5
9928 ac_cv_func_shl_load
=no
9930 rm -f conftest.err conftest.
$ac_objext \
9931 conftest
$ac_exeext conftest.
$ac_ext
9933 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9934 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9935 if test $ac_cv_func_shl_load = yes; then
9936 lt_cv_dlopen
="shl_load"
9938 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9939 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9940 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 ac_check_lib_save_LIBS
=$LIBS
9945 cat >conftest.
$ac_ext <<_ACEOF
9948 cat confdefs.h
>>conftest.
$ac_ext
9949 cat >>conftest.
$ac_ext <<_ACEOF
9950 /* end confdefs.h. */
9952 /* Override any gcc2 internal prototype to avoid an error. */
9956 /* We use char because int might match the return type of a gcc2
9957 builtin and then its argument prototype would still apply. */
9967 rm -f conftest.
$ac_objext conftest
$ac_exeext
9968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9969 (eval $ac_link) 2>conftest.er1
9971 grep -v '^ *+' conftest.er1
>conftest.err
9973 cat conftest.err
>&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } &&
9976 { ac_try
='test -z "$ac_c_werror_flag"
9977 || test ! -s conftest.err'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; } &&
9983 { ac_try
='test -s conftest$ac_exeext'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then
9989 ac_cv_lib_dld_shl_load
=yes
9991 echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.
$ac_ext >&5
9994 ac_cv_lib_dld_shl_load
=no
9996 rm -f conftest.err conftest.
$ac_objext \
9997 conftest
$ac_exeext conftest.
$ac_ext
9998 LIBS
=$ac_check_lib_save_LIBS
10000 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10001 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10002 if test $ac_cv_lib_dld_shl_load = yes; then
10003 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10005 echo "$as_me:$LINENO: checking for dlopen" >&5
10006 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10007 if test "${ac_cv_func_dlopen+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 cat >conftest.
$ac_ext <<_ACEOF
10013 cat confdefs.h
>>conftest.
$ac_ext
10014 cat >>conftest.
$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10016 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10018 #define dlopen innocuous_dlopen
10020 /* System header to define __stub macros and hopefully few prototypes,
10021 which can conflict with char dlopen (); below.
10022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10023 <limits.h> exists even on freestanding compilers. */
10026 # include <limits.h>
10028 # include <assert.h>
10033 /* Override any gcc2 internal prototype to avoid an error. */
10038 /* We use char because int might match the return type of a gcc2
10039 builtin and then its argument prototype would still apply. */
10041 /* The GNU C library defines this for functions which it implements
10042 to always fail with ENOSYS. Some functions are actually named
10043 something starting with __ and the normal name is an alias. */
10044 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10047 char (*f) () = dlopen;
10056 return f != dlopen;
10061 rm -f conftest.
$ac_objext conftest
$ac_exeext
10062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10063 (eval $ac_link) 2>conftest.er1
10065 grep -v '^ *+' conftest.er1
>conftest.err
10067 cat conftest.err
>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } &&
10070 { ac_try
='test -z "$ac_c_werror_flag"
10071 || test ! -s conftest.err'
10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073 (eval $ac_try) 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; } &&
10077 { ac_try
='test -s conftest$ac_exeext'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; }; then
10083 ac_cv_func_dlopen
=yes
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.
$ac_ext >&5
10088 ac_cv_func_dlopen
=no
10090 rm -f conftest.err conftest.
$ac_objext \
10091 conftest
$ac_exeext conftest.
$ac_ext
10093 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10094 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10095 if test $ac_cv_func_dlopen = yes; then
10096 lt_cv_dlopen
="dlopen"
10098 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10099 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10100 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 ac_check_lib_save_LIBS
=$LIBS
10105 cat >conftest.
$ac_ext <<_ACEOF
10108 cat confdefs.h
>>conftest.
$ac_ext
10109 cat >>conftest.
$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any gcc2 internal prototype to avoid an error. */
10116 /* We use char because int might match the return type of a gcc2
10117 builtin and then its argument prototype would still apply. */
10127 rm -f conftest.
$ac_objext conftest
$ac_exeext
10128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10129 (eval $ac_link) 2>conftest.er1
10131 grep -v '^ *+' conftest.er1
>conftest.err
10133 cat conftest.err
>&5
10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 (exit $ac_status); } &&
10136 { ac_try
='test -z "$ac_c_werror_flag"
10137 || test ! -s conftest.err'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; } &&
10143 { ac_try
='test -s conftest$ac_exeext'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; }; then
10149 ac_cv_lib_dl_dlopen
=yes
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.
$ac_ext >&5
10154 ac_cv_lib_dl_dlopen
=no
10156 rm -f conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 LIBS
=$ac_check_lib_save_LIBS
10160 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10161 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10162 if test $ac_cv_lib_dl_dlopen = yes; then
10163 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10165 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10166 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10167 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 ac_check_lib_save_LIBS
=$LIBS
10171 LIBS
="-lsvld $LIBS"
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10179 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10194 rm -f conftest.
$ac_objext conftest
$ac_exeext
10195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10196 (eval $ac_link) 2>conftest.er1
10198 grep -v '^ *+' conftest.er1
>conftest.err
10200 cat conftest.err
>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); } &&
10203 { ac_try
='test -z "$ac_c_werror_flag"
10204 || test ! -s conftest.err'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; } &&
10210 { ac_try
='test -s conftest$ac_exeext'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; }; then
10216 ac_cv_lib_svld_dlopen
=yes
10218 echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.
$ac_ext >&5
10221 ac_cv_lib_svld_dlopen
=no
10223 rm -f conftest.err conftest.
$ac_objext \
10224 conftest
$ac_exeext conftest.
$ac_ext
10225 LIBS
=$ac_check_lib_save_LIBS
10227 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10228 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10229 if test $ac_cv_lib_svld_dlopen = yes; then
10230 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10232 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10233 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10234 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 ac_check_lib_save_LIBS
=$LIBS
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10246 /* Override any gcc2 internal prototype to avoid an error. */
10250 /* We use char because int might match the return type of a gcc2
10251 builtin and then its argument prototype would still apply. */
10261 rm -f conftest.
$ac_objext conftest
$ac_exeext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10263 (eval $ac_link) 2>conftest.er1
10265 grep -v '^ *+' conftest.er1
>conftest.err
10267 cat conftest.err
>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); } &&
10270 { ac_try
='test -z "$ac_c_werror_flag"
10271 || test ! -s conftest.err'
10272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10273 (eval $ac_try) 2>&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); }; } &&
10277 { ac_try
='test -s conftest$ac_exeext'
10278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10279 (eval $ac_try) 2>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }; }; then
10283 ac_cv_lib_dld_dld_link
=yes
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.
$ac_ext >&5
10288 ac_cv_lib_dld_dld_link
=no
10290 rm -f conftest.err conftest.
$ac_objext \
10291 conftest
$ac_exeext conftest.
$ac_ext
10292 LIBS
=$ac_check_lib_save_LIBS
10294 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10295 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10296 if test $ac_cv_lib_dld_dld_link = yes; then
10297 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10318 if test "x$lt_cv_dlopen" != xno
; then
10324 case $lt_cv_dlopen in
10326 save_CPPFLAGS
="$CPPFLAGS"
10327 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10329 save_LDFLAGS
="$LDFLAGS"
10330 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10333 LIBS
="$lt_cv_dlopen_libs $LIBS"
10335 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10336 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10337 if test "${lt_cv_dlopen_self+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 if test "$cross_compiling" = yes; then :
10341 lt_cv_dlopen_self
=cross
10343 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10344 lt_status
=$lt_dlunknown
10345 cat > conftest.
$ac_ext <<EOF
10346 #line 10346 "configure"
10347 #include "confdefs.h"
10356 # define LT_DLGLOBAL RTLD_GLOBAL
10359 # define LT_DLGLOBAL DL_GLOBAL
10361 # define LT_DLGLOBAL 0
10365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10366 find out it does not work in some platform. */
10367 #ifndef LT_DLLAZY_OR_NOW
10369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10372 # define LT_DLLAZY_OR_NOW DL_LAZY
10375 # define LT_DLLAZY_OR_NOW RTLD_NOW
10378 # define LT_DLLAZY_OR_NOW DL_NOW
10380 # define LT_DLLAZY_OR_NOW 0
10388 extern "C" void exit (int);
10391 void fnord() { int i=42;}
10394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10395 int status = $lt_dlunknown;
10399 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10400 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10401 /* dlclose (self); */
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10414 (.
/conftest
; exit; ) >&5 2>/dev
/null
10416 case x
$lt_status in
10417 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10418 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10419 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10422 # compilation failed
10423 lt_cv_dlopen_self
=no
10430 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10431 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10433 if test "x$lt_cv_dlopen_self" = xyes
; then
10434 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10435 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10436 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10437 if test "${lt_cv_dlopen_self_static+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 if test "$cross_compiling" = yes; then :
10441 lt_cv_dlopen_self_static
=cross
10443 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10444 lt_status
=$lt_dlunknown
10445 cat > conftest.
$ac_ext <<EOF
10446 #line 10446 "configure"
10447 #include "confdefs.h"
10456 # define LT_DLGLOBAL RTLD_GLOBAL
10459 # define LT_DLGLOBAL DL_GLOBAL
10461 # define LT_DLGLOBAL 0
10465 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10466 find out it does not work in some platform. */
10467 #ifndef LT_DLLAZY_OR_NOW
10469 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10472 # define LT_DLLAZY_OR_NOW DL_LAZY
10475 # define LT_DLLAZY_OR_NOW RTLD_NOW
10478 # define LT_DLLAZY_OR_NOW DL_NOW
10480 # define LT_DLLAZY_OR_NOW 0
10488 extern "C" void exit (int);
10491 void fnord() { int i=42;}
10494 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10495 int status = $lt_dlunknown;
10499 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10500 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10501 /* dlclose (self); */
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510 (eval $ac_link) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10514 (.
/conftest
; exit; ) >&5 2>/dev
/null
10516 case x
$lt_status in
10517 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10518 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10519 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10522 # compilation failed
10523 lt_cv_dlopen_self_static
=no
10530 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10531 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10534 CPPFLAGS
="$save_CPPFLAGS"
10535 LDFLAGS
="$save_LDFLAGS"
10540 case $lt_cv_dlopen_self in
10541 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10542 *) enable_dlopen_self
=unknown
;;
10545 case $lt_cv_dlopen_self_static in
10546 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10547 *) enable_dlopen_self_static
=unknown
;;
10552 # Report which library types will actually be built
10553 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10554 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10555 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10556 echo "${ECHO_T}$can_build_shared" >&6
10558 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10559 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10560 test "$can_build_shared" = "no" && enable_shared
=no
10562 # On AIX, shared libraries and static libraries use the same namespace, and
10563 # are all built from PIC.
10566 test "$enable_shared" = yes && enable_static
=no
10567 if test -n "$RANLIB"; then
10568 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10569 postinstall_cmds
='$RANLIB $lib'
10574 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10575 test "$enable_shared" = yes && enable_static
=no
10579 echo "$as_me:$LINENO: result: $enable_shared" >&5
10580 echo "${ECHO_T}$enable_shared" >&6
10582 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10583 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10584 # Make sure either enable_shared or enable_static is yes.
10585 test "$enable_shared" = yes || enable_static
=yes
10586 echo "$as_me:$LINENO: result: $enable_static" >&5
10587 echo "${ECHO_T}$enable_static" >&6
10589 # The else clause should only fire when bootstrapping the
10590 # libtool distribution, otherwise you forgot to ship ltmain.sh
10591 # with your package, and you will get complaints that there are
10592 # no rules to generate ltmain.sh.
10593 if test -f "$ltmain"; then
10594 # See if we are running on zsh, and set the options which allow our commands through
10595 # without removal of \ escapes.
10596 if test -n "${ZSH_VERSION+set}" ; then
10597 setopt NO_GLOB_SUBST
10599 # Now quote all the things that may contain metacharacters while being
10600 # careful not to overquote the AC_SUBSTed values. We take copies of the
10601 # variables and quote the copies for generation of the libtool script.
10602 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10604 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10605 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10606 deplibs_check_method reload_flag reload_cmds need_locks \
10607 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10608 lt_cv_sys_global_symbol_to_c_name_address \
10609 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10610 old_postinstall_cmds old_postuninstall_cmds \
10614 lt_prog_compiler_wl \
10615 lt_prog_compiler_pic \
10616 lt_prog_compiler_static \
10617 lt_prog_compiler_no_builtin_flag \
10618 export_dynamic_flag_spec \
10619 thread_safe_flag_spec \
10620 whole_archive_flag_spec \
10621 enable_shared_with_static_runtimes \
10623 old_archive_from_new_cmds \
10628 compiler_lib_search_path \
10630 archive_expsym_cmds \
10632 postuninstall_cmds \
10633 old_archive_from_expsyms_cmds \
10634 allow_undefined_flag \
10635 no_undefined_flag \
10636 export_symbols_cmds \
10637 hardcode_libdir_flag_spec \
10638 hardcode_libdir_flag_spec_ld \
10639 hardcode_libdir_separator \
10640 hardcode_automatic \
10642 module_expsym_cmds \
10643 lt_cv_prog_compiler_c_o \
10645 include_expsyms
; do
10648 old_archive_cmds | \
10649 old_archive_from_new_cmds | \
10651 archive_expsym_cmds | \
10653 module_expsym_cmds | \
10654 old_archive_from_expsyms_cmds | \
10655 export_symbols_cmds | \
10656 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10657 postinstall_cmds | postuninstall_cmds | \
10658 old_postinstall_cmds | old_postuninstall_cmds | \
10659 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
10660 # Double-quote double-evaled strings.
10661 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10664 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10670 *'\$0 --fallback-echo"')
10671 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10675 cfgfile
="${ofile}T"
10676 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10678 { echo "$as_me:$LINENO: creating $ofile" >&5
10679 echo "$as_me: creating $ofile" >&6;}
10681 cat <<__EOF__ >> "$cfgfile"
10684 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10685 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10686 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10688 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10689 # Free Software Foundation, Inc.
10691 # This file is part of GNU Libtool:
10692 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10694 # This program is free software; you can redistribute it and/or modify
10695 # it under the terms of the GNU General Public License as published by
10696 # the Free Software Foundation; either version 2 of the License, or
10697 # (at your option) any later version.
10699 # This program is distributed in the hope that it will be useful, but
10700 # WITHOUT ANY WARRANTY; without even the implied warranty of
10701 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10702 # General Public License for more details.
10704 # You should have received a copy of the GNU General Public License
10705 # along with this program; if not, write to the Free Software
10706 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10708 # As a special exception to the GNU General Public License, if you
10709 # distribute this file as part of a program that contains a
10710 # configuration script generated by Autoconf, you may include it under
10711 # the same distribution terms that you use for the rest of that program.
10713 # A sed program that does not truncate output.
10716 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10717 Xsed="$SED -e 1s/^X//"
10719 # The HP-UX ksh and POSIX shell print the target directory to stdout
10720 # if CDPATH is set.
10721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10723 # The names of the tagged configurations supported by this script.
10726 # ### BEGIN LIBTOOL CONFIG
10728 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10730 # Shell to use when invoking shell scripts.
10733 # Whether or not to build shared libraries.
10734 build_libtool_libs=$enable_shared
10736 # Whether or not to build static libraries.
10737 build_old_libs=$enable_static
10739 # Whether or not to add -lc for building shared libraries.
10740 build_libtool_need_lc=$archive_cmds_need_lc
10742 # Whether or not to disallow shared libs when runtime libs are static
10743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10745 # Whether or not to optimize for fast installation.
10746 fast_install=$enable_fast_install
10749 host_alias=$host_alias
10753 # The build system.
10754 build_alias=$build_alias
10758 # An echo program that does not interpret backslashes.
10763 AR_FLAGS=$lt_AR_FLAGS
10768 # LTCC compiler flags.
10769 LTCFLAGS=$lt_LTCFLAGS
10771 # A language-specific compiler.
10774 # Is the compiler the GNU C compiler?
10777 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
10778 gcc_ver=\`gcc -dumpversion\`
10783 # The linker used to build libraries.
10786 # Whether we need hard or soft links.
10789 # A BSD-compatible nm program.
10792 # A symbol stripping program
10795 # Used to examine libraries when file_magic_cmd begins "file"
10796 MAGIC_CMD=$MAGIC_CMD
10798 # Used on cygwin: DLL creation program.
10801 # Used on cygwin: object dumper.
10804 # Used on cygwin: assembler.
10807 # The name of the directory that contains temporary libtool files.
10810 # How to create reloadable object files.
10811 reload_flag=$lt_reload_flag
10812 reload_cmds=$lt_reload_cmds
10814 # How to pass a linker flag through the compiler.
10815 wl=$lt_lt_prog_compiler_wl
10817 # Object file suffix (normally "o").
10818 objext="$ac_objext"
10820 # Old archive suffix (normally "a").
10823 # Shared library suffix (normally ".so").
10824 shrext_cmds='$shrext_cmds'
10826 # Executable file suffix (normally "").
10829 # Additional compiler flags for building library objects.
10830 pic_flag=$lt_lt_prog_compiler_pic
10833 # What is the maximum length of a command?
10834 max_cmd_len=$lt_cv_sys_max_cmd_len
10836 # Does compiler simultaneously support -c and -o options?
10837 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10839 # Must we lock files when doing compilation?
10840 need_locks=$lt_need_locks
10842 # Do we need the lib prefix for modules?
10843 need_lib_prefix=$need_lib_prefix
10845 # Do we need a version for libraries?
10846 need_version=$need_version
10848 # Whether dlopen is supported.
10849 dlopen_support=$enable_dlopen
10851 # Whether dlopen of programs is supported.
10852 dlopen_self=$enable_dlopen_self
10854 # Whether dlopen of statically linked programs is supported.
10855 dlopen_self_static=$enable_dlopen_self_static
10857 # Compiler flag to prevent dynamic linking.
10858 link_static_flag=$lt_lt_prog_compiler_static
10860 # Compiler flag to turn off builtin functions.
10861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10863 # Compiler flag to allow reflexive dlopens.
10864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10866 # Compiler flag to generate shared objects directly from archives.
10867 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10869 # Compiler flag to generate thread-safe objects.
10870 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10872 # Library versioning type.
10873 version_type=$version_type
10875 # Format of library name prefix.
10876 libname_spec=$lt_libname_spec
10878 # List of archive names. First name is the real one, the rest are links.
10879 # The last name is the one that the linker finds with -lNAME.
10880 library_names_spec=$lt_library_names_spec
10882 # The coded name of the library, if different from the real name.
10883 soname_spec=$lt_soname_spec
10885 # Commands used to build and install an old-style archive.
10887 old_archive_cmds=$lt_old_archive_cmds
10888 old_postinstall_cmds=$lt_old_postinstall_cmds
10889 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10891 # Create an old-style archive from a shared archive.
10892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10894 # Create a temporary old-style archive to link instead of a shared archive.
10895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10897 # Commands used to build and install a shared archive.
10898 archive_cmds=$lt_archive_cmds
10899 archive_expsym_cmds=$lt_archive_expsym_cmds
10900 postinstall_cmds=$lt_postinstall_cmds
10901 postuninstall_cmds=$lt_postuninstall_cmds
10903 # Commands used to build a loadable module (assumed same as above if empty)
10904 module_cmds=$lt_module_cmds
10905 module_expsym_cmds=$lt_module_expsym_cmds
10907 # Commands to strip libraries.
10908 old_striplib=$lt_old_striplib
10909 striplib=$lt_striplib
10911 # Dependencies to place before the objects being linked to create a
10913 predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10915 # Dependencies to place after the objects being linked to create a
10917 postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10919 # Dependencies to place before the objects being linked to create a
10921 predeps=$lt_predeps
10923 # Dependencies to place after the objects being linked to create a
10925 postdeps=$lt_postdeps
10927 # The library search path used internally by the compiler when linking
10928 # a shared library.
10929 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10931 # Method to check whether dependent libraries are shared objects.
10932 deplibs_check_method=$lt_deplibs_check_method
10934 # Command to use when deplibs_check_method == file_magic.
10935 file_magic_cmd=$lt_file_magic_cmd
10937 # Flag that allows shared libraries with undefined symbols to be built.
10938 allow_undefined_flag=$lt_allow_undefined_flag
10940 # Flag that forces no undefined symbols.
10941 no_undefined_flag=$lt_no_undefined_flag
10943 # Commands used to finish a libtool library installation in a directory.
10944 finish_cmds=$lt_finish_cmds
10946 # Same as above, but a single script fragment to be evaled but not shown.
10947 finish_eval=$lt_finish_eval
10949 # Take the output of nm and produce a listing of raw symbols and C names.
10950 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10952 # Transform the output of nm in a proper C declaration
10953 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10955 # Transform the output of nm in a C name address pair
10956 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10958 # This is the shared library runtime path variable.
10959 runpath_var=$runpath_var
10961 # This is the shared library path variable.
10962 shlibpath_var=$shlibpath_var
10964 # Is shlibpath searched before the hard-coded library search path?
10965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10967 # How to hardcode a shared library path into an executable.
10968 hardcode_action=$hardcode_action
10970 # Whether we should hardcode library paths into libraries.
10971 hardcode_into_libs=$hardcode_into_libs
10973 # Flag to hardcode \$libdir into a binary during linking.
10974 # This must work even if \$libdir does not exist.
10975 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10977 # If ld is used when linking, flag to hardcode \$libdir into
10978 # a binary during linking. This must work even if \$libdir does
10980 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10982 # Whether we need a single -rpath flag with a separated argument.
10983 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10985 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10986 # resulting binary.
10987 hardcode_direct=$hardcode_direct
10989 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10990 # resulting binary.
10991 hardcode_minus_L=$hardcode_minus_L
10993 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10994 # the resulting binary.
10995 hardcode_shlibpath_var=$hardcode_shlibpath_var
10997 # Set to yes if building a shared library automatically hardcodes DIR into the library
10998 # and all subsequent libraries and executables linked against it.
10999 hardcode_automatic=$hardcode_automatic
11001 # Variables whose values should be saved in libtool wrapper scripts and
11002 # restored at relink time.
11003 variables_saved_for_relink="$variables_saved_for_relink"
11005 # Whether libtool must link a program against all its dependency libraries.
11006 link_all_deplibs=$link_all_deplibs
11008 # Compile-time system search path for libraries
11009 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
11011 # Run-time system search path for libraries
11012 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11014 # Fix the shell variable \$srcfile for the compiler.
11015 fix_srcfile_path="$fix_srcfile_path"
11017 # Set to yes if exported symbols are required.
11018 always_export_symbols=$always_export_symbols
11020 # The commands to list exported symbols.
11021 export_symbols_cmds=$lt_export_symbols_cmds
11023 # The commands to extract the exported symbol list from a shared archive.
11024 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11026 # Symbols that should not be listed in the preloaded symbols.
11027 exclude_expsyms=$lt_exclude_expsyms
11029 # Symbols that must always be exported.
11030 include_expsyms=$lt_include_expsyms
11032 # ### END LIBTOOL CONFIG
11039 cat <<\EOF
>> "$cfgfile"
11041 # AIX sometimes has problems with the GCC collect2 program. For some
11042 # reason, if we set the COLLECT_NAMES environment variable, the problems
11043 # vanish in a puff of smoke.
11044 if test "X${COLLECT_NAMES+set}" != Xset
; then
11046 export COLLECT_NAMES
11052 # We use sed instead of cat because bash on DJGPP gets confused if
11053 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11054 # text mode, it properly converts lines to CR/LF. This bash problem
11055 # is reportedly fixed, but why not run on old versions too?
11056 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
11058 mv -f "$cfgfile" "$ofile" || \
11059 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11063 # If there is no Makefile yet, we rely on a make rule to execute
11064 # `config.status --recheck' to rerun these tests and create the
11065 # libtool script then.
11066 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11067 if test -f "$ltmain_in"; then
11068 test -f Makefile
&& make "$ltmain"
11074 ac_cpp
='$CPP $CPPFLAGS'
11075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11082 # Check whether --with-tags or --without-tags was given.
11083 if test "${with_tags+set}" = set; then
11084 withval
="$with_tags"
11085 tagnames
="$withval"
11088 if test -f "$ltmain" && test -n "$tagnames"; then
11089 if test ! -f "${ofile}"; then
11090 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11091 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11094 if test -z "$LTCC"; then
11095 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11096 if test -z "$LTCC"; then
11097 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11098 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11100 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11101 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11104 if test -z "$LTCFLAGS"; then
11105 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11108 # Extract list of available tagged configurations in $ofile.
11109 # Note that this assumes the entire list is on one line.
11110 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11112 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
11113 for tagname
in $tagnames; do
11115 # Check whether tagname contains only valid characters
11116 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11118 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11119 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11120 { (exit 1); exit 1; }; }
11124 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
11126 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11127 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11128 { (exit 1); exit 1; }; }
11131 # Update the list of available tags.
11132 if test -n "$tagname"; then
11133 echo appending configuration tag
\"$tagname\" to
$ofile
11137 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11138 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11139 (test "X$CXX" != "Xg++"))) ; then
11141 ac_cpp
='$CXXCPP $CPPFLAGS'
11142 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11149 archive_cmds_need_lc_CXX
=no
11150 allow_undefined_flag_CXX
=
11151 always_export_symbols_CXX
=no
11152 archive_expsym_cmds_CXX
=
11153 export_dynamic_flag_spec_CXX
=
11154 hardcode_direct_CXX
=no
11155 hardcode_libdir_flag_spec_CXX
=
11156 hardcode_libdir_flag_spec_ld_CXX
=
11157 hardcode_libdir_separator_CXX
=
11158 hardcode_minus_L_CXX
=no
11159 hardcode_shlibpath_var_CXX
=unsupported
11160 hardcode_automatic_CXX
=no
11162 module_expsym_cmds_CXX
=
11163 link_all_deplibs_CXX
=unknown
11164 old_archive_cmds_CXX
=$old_archive_cmds
11165 no_undefined_flag_CXX
=
11166 whole_archive_flag_spec_CXX
=
11167 enable_shared_with_static_runtimes_CXX
=no
11169 # Dependencies to place before and after the object being linked:
11170 predep_objects_CXX
=
11171 postdep_objects_CXX
=
11174 compiler_lib_search_path_CXX
=
11176 # Source file extension for C++ test sources.
11179 # Object file extension for compiled C++ test sources.
11183 # Code to be used in simple compile tests
11184 lt_simple_compile_test_code
="int some_variable = 0;\n"
11186 # Code to be used in simple link tests
11187 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }\n'
11189 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11191 # If no C compiler was specified, use CC.
11194 # If no C compiler flags were specified, use CFLAGS.
11195 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11197 # Allow CC to be a program name with arguments.
11201 # save warnings/boilerplate of simple test code
11202 ac_outfile
=conftest.
$ac_objext
11203 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
11204 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11205 _lt_compiler_boilerplate
=`cat conftest.err`
11208 ac_outfile
=conftest.
$ac_objext
11209 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
11210 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11211 _lt_linker_boilerplate
=`cat conftest.err`
11215 # Allow CC to be a program name with arguments.
11220 lt_save_with_gnu_ld
=$with_gnu_ld
11221 lt_save_path_LD
=$lt_cv_path_LD
11222 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11223 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11225 $as_unset lt_cv_prog_gnu_ld
11227 if test -n "${lt_cv_path_LDCXX+set}"; then
11228 lt_cv_path_LD
=$lt_cv_path_LDCXX
11230 $as_unset lt_cv_path_LD
11232 test -z "${LDCXX+set}" || LD
=$LDCXX
11236 for cc_temp
in $compiler""; do
11238 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11239 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11244 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11247 # We don't want -fno-exception wen compiling C++ code, so set the
11248 # no_builtin_flag separately
11249 if test "$GXX" = yes; then
11250 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11252 lt_prog_compiler_no_builtin_flag_CXX
=
11255 if test "$GXX" = yes; then
11256 # Set up default GNU C++ configuration
11259 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11260 if test "${with_gnu_ld+set}" = set; then
11261 withval
="$with_gnu_ld"
11262 test "$withval" = no || with_gnu_ld
=yes
11267 if test "$GCC" = yes; then
11268 # Check if gcc -print-prog-name=ld gives a path.
11269 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11270 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11273 # gcc leaves a trailing carriage return which upsets mingw
11274 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11276 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11279 # Accept absolute paths.
11281 re_direlt
='/[^/][^/]*/\.\./'
11282 # Canonicalize the pathname of ld
11283 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
11284 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
11285 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11287 test -z "$LD" && LD
="$ac_prog"
11290 # If it fails, then pretend we aren't using GCC.
11294 # If it is relative, then search for the first ld in PATH.
11295 with_gnu_ld
=unknown
11298 elif test "$with_gnu_ld" = yes; then
11299 echo "$as_me:$LINENO: checking for GNU ld" >&5
11300 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11302 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11303 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11305 if test "${lt_cv_path_LD+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 if test -z "$LD"; then
11309 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11310 for ac_dir
in $PATH; do
11312 test -z "$ac_dir" && ac_dir
=.
11313 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11314 lt_cv_path_LD
="$ac_dir/$ac_prog"
11315 # Check to see if the program is GNU ld. I'd rather use --version,
11316 # but apparently some variants of GNU ld only accept -v.
11317 # Break only if it was the GNU/non-GNU ld that we prefer.
11318 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11319 *GNU
* |
*'with BFD'*)
11320 test "$with_gnu_ld" != no
&& break
11323 test "$with_gnu_ld" != yes && break
11330 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11334 LD
="$lt_cv_path_LD"
11335 if test -n "$LD"; then
11336 echo "$as_me:$LINENO: result: $LD" >&5
11337 echo "${ECHO_T}$LD" >&6
11339 echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6
11342 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11343 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11344 { (exit 1); exit 1; }; }
11345 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11346 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11347 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11351 case `$LD -v 2>&1 </dev/null` in
11352 *GNU
* |
*'with BFD'*)
11353 lt_cv_prog_gnu_ld
=yes
11356 lt_cv_prog_gnu_ld
=no
11360 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11361 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11362 with_gnu_ld
=$lt_cv_prog_gnu_ld
11366 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11367 # archiving commands below assume that GNU ld is being used.
11368 if test "$with_gnu_ld" = yes; then
11369 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11370 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'
11372 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11373 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11375 # If archive_cmds runs LD, not CC, wlarc should be empty
11376 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11377 # investigate it a little bit more. (MM)
11380 # ancient GNU ld didn't support --whole-archive et. al.
11381 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11382 grep 'no-whole-archive' > /dev
/null
; then
11383 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11385 whole_archive_flag_spec_CXX
=
11391 # A generic and very simple default shared library creation
11392 # command for GNU C++ for the case where it uses the native
11393 # linker, instead of GNU ld. If possible, this setting should
11394 # overridden to take advantage of the native linker features on
11395 # the platform it is being used on.
11396 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11399 # Commands to make compiler produce verbose output that lists
11400 # what "hidden" libraries, object files and flags are used when
11401 # linking a shared library.
11402 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11410 # PORTME: fill in a description of your system's C++ link characteristics
11411 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11412 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11416 # FIXME: insert proper C++ library support
11420 if test "$host_cpu" = ia64
; then
11421 # On IA64, the linker does run time linking by default, so we don't
11422 # have to do anything special.
11423 aix_use_runtimelinking
=no
11424 exp_sym_flag
='-Bexport'
11427 aix_use_runtimelinking
=no
11429 # Test if we are trying to use run time linking or normal
11430 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11431 # need to do runtime linking.
11432 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11433 for ld_flag
in $LDFLAGS; do
11436 aix_use_runtimelinking
=yes
11444 exp_sym_flag
='-bexport'
11445 no_entry_flag
='-bnoentry'
11448 # When large executables or shared objects are built, AIX ld can
11449 # have problems creating the table of contents. If linking a library
11450 # or program results in "error TOC overflow" add -mminimal-toc to
11451 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11452 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11454 archive_cmds_CXX
=''
11455 hardcode_direct_CXX
=yes
11456 hardcode_libdir_separator_CXX
=':'
11457 link_all_deplibs_CXX
=yes
11459 if test "$GXX" = yes; then
11460 case $host_os in aix4.
[012]|aix4.
[012].
*)
11461 # We only want to do this on AIX 4.2 and lower, the check
11462 # below for broken collect2 doesn't work under 4.3+
11463 collect2name
=`${CC} -print-prog-name=collect2`
11464 if test -f "$collect2name" && \
11465 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
11467 # We have reworked collect2
11468 hardcode_direct_CXX
=yes
11470 # We have old collect2
11471 hardcode_direct_CXX
=unsupported
11472 # It fails to find uninstalled libraries when the uninstalled
11473 # path is not listed in the libpath. Setting hardcode_minus_L
11474 # to unsupported forces relinking
11475 hardcode_minus_L_CXX
=yes
11476 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11477 hardcode_libdir_separator_CXX
=
11481 shared_flag
='-shared'
11482 if test "$aix_use_runtimelinking" = yes; then
11483 shared_flag
="$shared_flag "'${wl}-G'
11487 if test "$host_cpu" = ia64
; then
11488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11489 # chokes on -Wl,-G. The following line is correct:
11492 if test "$aix_use_runtimelinking" = yes; then
11493 shared_flag
='${wl}-G'
11495 shared_flag
='${wl}-bM:SRE'
11500 # It seems that -bexpall does not export symbols beginning with
11501 # underscore (_), so it is better to generate a list of symbols to export.
11502 always_export_symbols_CXX
=yes
11503 if test "$aix_use_runtimelinking" = yes; then
11504 # Warning - without using the other runtime loading flags (-brtl),
11505 # -berok will link without error, but may produce a broken library.
11506 allow_undefined_flag_CXX
='-berok'
11507 # Determine the default libpath from the value encoded in an empty executable.
11508 cat >conftest.
$ac_ext <<_ACEOF
11511 cat confdefs.h
>>conftest.
$ac_ext
11512 cat >>conftest.
$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11523 rm -f conftest.
$ac_objext conftest
$ac_exeext
11524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11525 (eval $ac_link) 2>conftest.er1
11527 grep -v '^ *+' conftest.er1
>conftest.err
11529 cat conftest.err
>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } &&
11532 { ac_try
='test -z "$ac_cxx_werror_flag"
11533 || test ! -s conftest.err'
11534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535 (eval $ac_try) 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; } &&
11539 { ac_try
='test -s conftest$ac_exeext'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; }; then
11546 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11548 # Check for a 64-bit object if we didn't find anything.
11549 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11556 rm -f conftest.err conftest.
$ac_objext \
11557 conftest
$ac_exeext conftest.
$ac_ext
11558 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11560 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11562 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"
11564 if test "$host_cpu" = ia64
; then
11565 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11566 allow_undefined_flag_CXX
="-z nodefs"
11567 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"
11569 # Determine the default libpath from the value encoded in an empty executable.
11570 cat >conftest.
$ac_ext <<_ACEOF
11573 cat confdefs.h
>>conftest.
$ac_ext
11574 cat >>conftest.
$ac_ext <<_ACEOF
11575 /* end confdefs.h. */
11585 rm -f conftest.
$ac_objext conftest
$ac_exeext
11586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11587 (eval $ac_link) 2>conftest.er1
11589 grep -v '^ *+' conftest.er1
>conftest.err
11591 cat conftest.err
>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } &&
11594 { ac_try
='test -z "$ac_cxx_werror_flag"
11595 || test ! -s conftest.err'
11596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11597 (eval $ac_try) 2>&5
11599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 (exit $ac_status); }; } &&
11601 { ac_try
='test -s conftest$ac_exeext'
11602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11603 (eval $ac_try) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); }; }; then
11608 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11610 # Check for a 64-bit object if we didn't find anything.
11611 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.
$ac_ext >&5
11618 rm -f conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11620 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11622 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11623 # Warning - without using the other run time loading flags,
11624 # -berok will link without error, but may produce a broken library.
11625 no_undefined_flag_CXX
=' ${wl}-bernotok'
11626 allow_undefined_flag_CXX
=' ${wl}-berok'
11627 # Exported symbols can be pulled into shared objects from archives
11628 whole_archive_flag_spec_CXX
='$convenience'
11629 archive_cmds_need_lc_CXX
=yes
11630 # This is similar to how AIX traditionally builds its shared libraries.
11631 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'
11637 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
11638 allow_undefined_flag_CXX
=unsupported
11639 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11640 # support --undefined. This deserves some investigation. FIXME
11641 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11648 case $cc_basename in
11650 # FIXME: insert proper C++ library support
11656 cygwin
* | mingw
* | pw32
*)
11657 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11658 # as there is no search path for DLLs.
11659 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11660 allow_undefined_flag_CXX
=unsupported
11661 always_export_symbols_CXX
=no
11662 enable_shared_with_static_runtimes_CXX
=yes
11664 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
11665 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'
11666 # If the export-symbols file already is a .def file (1st line
11667 # is EXPORTS), use it as is; otherwise, prepend...
11668 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11669 cp $export_symbols $output_objdir/$soname.def;
11671 echo EXPORTS > $output_objdir/$soname.def;
11672 cat $export_symbols >> $output_objdir/$soname.def;
11674 $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'
11679 darwin
* | rhapsody
*)
11681 rhapsody
* | darwin1.
[012])
11682 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
11685 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11686 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11688 case ${MACOSX_DEPLOYMENT_TARGET} in
11690 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11693 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
11699 archive_cmds_need_lc_CXX
=no
11700 hardcode_direct_CXX
=no
11701 hardcode_automatic_CXX
=yes
11702 hardcode_shlibpath_var_CXX
=unsupported
11703 whole_archive_flag_spec_CXX
=''
11704 link_all_deplibs_CXX
=yes
11706 if test "$GXX" = yes ; then
11707 lt_int_apple_cc_single_mod
=no
11708 output_verbose_link_cmd
='echo'
11709 if $CC -dumpspecs 2>&1 |
$EGREP 'single_module' >/dev
/null
; then
11710 lt_int_apple_cc_single_mod
=yes
11712 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11713 archive_cmds_CXX
='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11715 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'
11717 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11718 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11719 if test "X$lt_int_apple_cc_single_mod" = Xyes
; then
11720 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}'
11722 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}'
11724 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}'
11726 case $cc_basename in
11728 output_verbose_link_cmd
='echo'
11729 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11730 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11731 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11732 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11733 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}'
11743 case $cc_basename in
11745 # FIXME: insert proper C++ library support
11749 # Green Hills C++ Compiler
11750 # FIXME: insert proper C++ library support
11754 # FIXME: insert proper C++ library support
11760 # C++ shared libraries reported to be fairly broken before switch to ELF
11764 archive_cmds_need_lc_CXX
=no
11766 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11767 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11774 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11775 hardcode_libdir_separator_CXX
=:
11776 export_dynamic_flag_spec_CXX
='${wl}-E'
11777 hardcode_direct_CXX
=yes
11778 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11779 # but as the default
11780 # location of the library.
11782 case $cc_basename in
11784 # FIXME: insert proper C++ library support
11788 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'
11789 # Commands to make compiler produce verbose output that lists
11790 # what "hidden" libraries, object files and flags are used when
11791 # linking a shared library.
11793 # There doesn't appear to be a way to prevent this compiler from
11794 # explicitly linking system object files so we need to strip them
11795 # from the output so that they don't get included in the library
11797 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'
11800 if test "$GXX" = yes; then
11801 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'
11803 # FIXME: insert proper C++ library support
11810 if test $with_gnu_ld = no
; then
11811 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11812 hardcode_libdir_separator_CXX
=:
11816 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11819 export_dynamic_flag_spec_CXX
='${wl}-E'
11825 hardcode_direct_CXX
=no
11826 hardcode_shlibpath_var_CXX
=no
11829 hardcode_direct_CXX
=yes
11830 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11831 # but as the default
11832 # location of the library.
11836 case $cc_basename in
11838 # FIXME: insert proper C++ library support
11844 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11847 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11850 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11853 # Commands to make compiler produce verbose output that lists
11854 # what "hidden" libraries, object files and flags are used when
11855 # linking a shared library.
11857 # There doesn't appear to be a way to prevent this compiler from
11858 # explicitly linking system object files so we need to strip them
11859 # from the output so that they don't get included in the library
11861 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'
11864 if test "$GXX" = yes; then
11865 if test $with_gnu_ld = no
; then
11868 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11871 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11874 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'
11879 # FIXME: insert proper C++ library support
11886 hardcode_direct_CXX
=no
11887 hardcode_shlibpath_var_CXX
=no
11888 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11889 export_dynamic_flag_spec_CXX
='${wl}-E'
11890 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11891 # Instead, shared libraries are loaded at an image base (0x10000000 by
11892 # default) and relocated if they conflict, which is a slow very memory
11893 # consuming and fragmenting process. To avoid this, we pick a random,
11894 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11895 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11896 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'
11897 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'
11900 case $cc_basename in
11903 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'
11905 # Archives containing C++ object files must be created using
11906 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11907 # necessary to make sure instantiated templates are included
11909 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11912 if test "$GXX" = yes; then
11913 if test "$with_gnu_ld" = no
; then
11914 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'
11916 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'
11919 link_all_deplibs_CXX
=yes
11922 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11923 hardcode_libdir_separator_CXX
=:
11926 case $cc_basename in
11928 # Kuck and Associates, Inc. (KAI) C++ Compiler
11930 # KCC will only create a shared library if the output file
11931 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11932 # to its proper name (with version) after linking.
11933 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'
11934 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'
11935 # Commands to make compiler produce verbose output that lists
11936 # what "hidden" libraries, object files and flags are used when
11937 # linking a shared library.
11939 # There doesn't appear to be a way to prevent this compiler from
11940 # explicitly linking system object files so we need to strip them
11941 # from the output so that they don't get included in the library
11943 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'
11945 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11946 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11948 # Archives containing C++ object files must be created using
11949 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11950 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11955 # version 8.0 and above of icpc choke on multiply defined symbols
11956 # if we add $predep_objects and $postdep_objects, however 7.1 and
11957 # earlier do not add the objects themselves.
11958 case `$CC -V 2>&1` in
11960 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11961 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'
11963 *) # Version 8.0 or newer
11966 ia64
*) tmp_idyn
=' -i_dynamic';;
11968 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11969 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'
11972 archive_cmds_need_lc_CXX
=no
11973 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11974 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11975 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11978 # Portland Group C++ compiler
11979 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11980 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'
11982 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11983 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11984 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'
11988 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11989 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'
11991 runpath_var
=LD_RUN_PATH
11992 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11993 hardcode_libdir_separator_CXX
=:
11995 # Commands to make compiler produce verbose output that lists
11996 # what "hidden" libraries, object files and flags are used when
11997 # linking a shared library.
11999 # There doesn't appear to be a way to prevent this compiler from
12000 # explicitly linking system object files so we need to strip them
12001 # from the output so that they don't get included in the library
12003 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'
12008 # FIXME: insert proper C++ library support
12012 # FIXME: insert proper C++ library support
12016 case $cc_basename in
12018 # FIXME: insert proper C++ library support
12022 # FIXME: insert proper C++ library support
12028 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12029 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12031 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12032 hardcode_direct_CXX
=yes
12033 hardcode_shlibpath_var_CXX
=no
12035 # Workaround some broken pre-1.5 toolchains
12036 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12039 # C++ shared libraries are fairly broken
12043 hardcode_direct_CXX
=yes
12044 hardcode_shlibpath_var_CXX
=no
12045 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12046 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12047 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12048 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12049 export_dynamic_flag_spec_CXX
='${wl}-E'
12050 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12052 output_verbose_link_cmd
='echo'
12055 case $cc_basename in
12057 # Kuck and Associates, Inc. (KAI) C++ Compiler
12059 # KCC will only create a shared library if the output file
12060 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12061 # to its proper name (with version) after linking.
12062 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'
12064 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12065 hardcode_libdir_separator_CXX
=:
12067 # Archives containing C++ object files must be created using
12068 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12069 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12073 # Rational C++ 2.4.1
12074 # FIXME: insert proper C++ library support
12078 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12079 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'
12081 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12082 hardcode_libdir_separator_CXX
=:
12084 # Commands to make compiler produce verbose output that lists
12085 # what "hidden" libraries, object files and flags are used when
12086 # linking a shared library.
12088 # There doesn't appear to be a way to prevent this compiler from
12089 # explicitly linking system object files so we need to strip them
12090 # from the output so that they don't get included in the library
12092 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'
12095 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12096 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12097 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'
12099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12100 hardcode_libdir_separator_CXX
=:
12102 # Commands to make compiler produce verbose output that lists
12103 # what "hidden" libraries, object files and flags are used when
12104 # linking a shared library.
12105 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12108 # FIXME: insert proper C++ library support
12115 case $cc_basename in
12117 # Kuck and Associates, Inc. (KAI) C++ Compiler
12119 # KCC will only create a shared library if the output file
12120 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12121 # to its proper name (with version) after linking.
12122 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'
12124 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12125 hardcode_libdir_separator_CXX
=:
12127 # Archives containing C++ object files must be created using
12128 # the KAI C++ compiler.
12129 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12132 # Rational C++ 2.4.1
12133 # FIXME: insert proper C++ library support
12137 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12138 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'
12139 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12140 echo "-hidden">> $lib.exp~
12141 $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~
12144 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12145 hardcode_libdir_separator_CXX
=:
12147 # Commands to make compiler produce verbose output that lists
12148 # what "hidden" libraries, object files and flags are used when
12149 # linking a shared library.
12151 # There doesn't appear to be a way to prevent this compiler from
12152 # explicitly linking system object files so we need to strip them
12153 # from the output so that they don't get included in the library
12155 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'
12158 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12159 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12160 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'
12162 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12163 hardcode_libdir_separator_CXX
=:
12165 # Commands to make compiler produce verbose output that lists
12166 # what "hidden" libraries, object files and flags are used when
12167 # linking a shared library.
12168 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12171 # FIXME: insert proper C++ library support
12178 # FIXME: insert proper C++ library support
12182 case $cc_basename in
12185 # FIXME: insert proper C++ library support
12190 # FIXME: insert proper C++ library support
12194 # FIXME: insert proper C++ library support
12200 case $cc_basename in
12202 # Sun C++ 4.2, 5.x and Centerline C++
12203 archive_cmds_need_lc_CXX
=yes
12204 no_undefined_flag_CXX
=' -zdefs'
12205 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12206 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12207 $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'
12209 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12210 hardcode_shlibpath_var_CXX
=no
12212 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12214 # The C++ compiler is used as linker so we must use $wl
12215 # flag to pass the commands to the underlying system
12216 # linker. We must also pass each convience library through
12217 # to the system linker between allextract/defaultextract.
12218 # The C++ compiler will combine linker options so we
12219 # cannot just pass the convience library names through
12221 # Supported since Solaris 2.6 (maybe 2.5.1?)
12222 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12225 link_all_deplibs_CXX
=yes
12227 output_verbose_link_cmd
='echo'
12229 # Archives containing C++ object files must be created using
12230 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12231 # necessary to make sure instantiated templates are included
12233 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12236 # Green Hills C++ Compiler
12237 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12239 # The C++ compiler must be used to create the archive.
12240 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12243 # GNU C++ compiler with Solaris linker
12244 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12245 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12246 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12247 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12248 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12249 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12251 # Commands to make compiler produce verbose output that lists
12252 # what "hidden" libraries, object files and flags are used when
12253 # linking a shared library.
12254 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12256 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12258 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12259 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12260 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12262 # Commands to make compiler produce verbose output that lists
12263 # what "hidden" libraries, object files and flags are used when
12264 # linking a shared library.
12265 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12268 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12273 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12274 no_undefined_flag_CXX
='${wl}-z,text'
12275 archive_cmds_need_lc_CXX
=no
12276 hardcode_shlibpath_var_CXX
=no
12277 runpath_var
='LD_RUN_PATH'
12279 case $cc_basename in
12281 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12282 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12285 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12286 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12290 sysv5
* | sco3.2v5
* | sco5v6
*)
12291 # Note: We can NOT use -z defs as we might desire, because we do not
12292 # link with -lc, and that would cause any symbols used from libc to
12293 # always be unresolved, which means just about no library would
12294 # ever link correctly. If we're not using GNU ld we use -z text
12295 # though, which does catch some bad symbols but isn't as heavy-handed
12297 # For security reasons, it is highly recommended that you always
12298 # use absolute paths for naming shared libraries, and exclude the
12299 # DT_RUNPATH tag from executables and libraries. But doing so
12300 # requires that you compile everything twice, which is a pain.
12301 # So that behaviour is only enabled if SCOABSPATH is set to a
12302 # non-empty value in the environment. Most likely only useful for
12303 # creating official distributions of packages.
12304 # This is a hack until libtool officially supports absolute path
12305 # names for shared libraries.
12306 no_undefined_flag_CXX
='${wl}-z,text'
12307 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12308 archive_cmds_need_lc_CXX
=no
12309 hardcode_shlibpath_var_CXX
=no
12310 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12311 hardcode_libdir_separator_CXX
=':'
12312 link_all_deplibs_CXX
=yes
12313 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12314 runpath_var
='LD_RUN_PATH'
12316 case $cc_basename in
12318 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12319 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12322 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12323 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12328 case $cc_basename in
12330 # NonStop-UX NCC 3.20
12331 # FIXME: insert proper C++ library support
12335 # FIXME: insert proper C++ library support
12341 # FIXME: insert proper C++ library support
12345 # FIXME: insert proper C++ library support
12349 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12350 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12351 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12357 cat > conftest.
$ac_ext <<EOF
12361 Foo (void) { a = 0; }
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; then
12372 # Parse the compiler output and extract the necessary
12373 # objects, libraries and library flags.
12375 # Sentinel used to keep track of whether or not we are before
12376 # the conftest object file.
12377 pre_test_object_deps_done
=no
12379 # The `*' in the case matches for architectures that use `case' in
12380 # $output_verbose_cmd can trigger glob expansion during the loop
12381 # eval without this substitution.
12382 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12384 for p
in `eval $output_verbose_link_cmd`; do
12388 # Some compilers place space between "-{L,R}" and the path.
12389 # Remove the space.
12390 if test $p = "-L" \
12391 ||
test $p = "-R"; then
12398 if test "$pre_test_object_deps_done" = no
; then
12401 # Internal compiler library paths should come after those
12402 # provided the user. The postdeps already come after the
12403 # user supplied libs so there is no need to process them.
12404 if test -z "$compiler_lib_search_path_CXX"; then
12405 compiler_lib_search_path_CXX
="${prev}${p}"
12407 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12410 # The "-l" case would never come before the object being
12411 # linked, so don't bother handling this case.
12414 if test -z "$postdeps_CXX"; then
12415 postdeps_CXX
="${prev}${p}"
12417 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12423 # This assumes that the test object file only shows up
12424 # once in the compiler output.
12425 if test "$p" = "conftest.$objext"; then
12426 pre_test_object_deps_done
=yes
12430 if test "$pre_test_object_deps_done" = no
; then
12431 if test -z "$predep_objects_CXX"; then
12432 predep_objects_CXX
="$p"
12434 predep_objects_CXX
="$predep_objects_CXX $p"
12437 if test -z "$postdep_objects_CXX"; then
12438 postdep_objects_CXX
="$p"
12440 postdep_objects_CXX
="$postdep_objects_CXX $p"
12445 *) ;; # Ignore the rest.
12453 echo "libtool.m4: error: problem compiling CXX test program"
12456 $rm -f confest.
$objext
12458 # PORTME: override above test on systems where it is broken
12461 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12462 # hack all around it, let's just trust "g++" to DTRT.
12463 predep_objects_CXX
=
12464 postdep_objects_CXX
=
12469 case $cc_basename in
12471 # Adding this requires a known-good setup of shared libraries for
12472 # Sun compiler versions before 5.6, else PIC objects from an old
12473 # archive will be linked into the output, leading to subtle bugs.
12474 postdeps_CXX
='-lCstd -lCrun'
12481 case " $postdeps_CXX " in
12482 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12485 lt_prog_compiler_wl_CXX
=
12486 lt_prog_compiler_pic_CXX
=
12487 lt_prog_compiler_static_CXX
=
12489 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12490 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12492 # C++ specific cases for pic, static, wl, etc.
12493 if test "$GXX" = yes; then
12494 lt_prog_compiler_wl_CXX
='-Wl,'
12495 lt_prog_compiler_static_CXX
='-static'
12499 # All AIX code is PIC.
12500 if test "$host_cpu" = ia64
; then
12501 # AIX 5 now supports IA64 processor
12502 lt_prog_compiler_static_CXX
='-Bstatic'
12506 # FIXME: we need at least 68020 code to build shared libraries, but
12507 # adding the `-m68020' flag to GCC prevents building anything better,
12509 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12511 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12512 # PIC is the default for these OSes.
12514 mingw
* | os2
* | pw32
*)
12515 # This hack is so that the source file can tell whether it is being
12516 # built for inclusion in a dll (and should export symbols for example).
12517 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12519 darwin
* | rhapsody
*)
12520 # PIC is the default on this platform
12521 # Common symbols not allowed in MH_DYLIB files
12522 lt_prog_compiler_pic_CXX
='-fno-common'
12525 # DJGPP does not support shared libraries at all
12526 lt_prog_compiler_pic_CXX
=
12529 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12530 # Instead, we relocate shared libraries at runtime.
12533 if test -d /usr
/nec
; then
12534 lt_prog_compiler_pic_CXX
=-Kconform_pic
12538 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12539 # not for PA HP-UX.
12544 lt_prog_compiler_pic_CXX
='-fPIC'
12549 lt_prog_compiler_pic_CXX
='-fPIC'
12555 # All AIX code is PIC.
12556 if test "$host_cpu" = ia64
; then
12557 # AIX 5 now supports IA64 processor
12558 lt_prog_compiler_static_CXX
='-Bstatic'
12560 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12564 case $cc_basename in
12566 # Green Hills C++ Compiler
12567 # _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"
12572 # PIC is the default on this platform
12573 # Common symbols not allowed in MH_DYLIB files
12574 case $cc_basename in
12576 lt_prog_compiler_pic_CXX
='-qnocommon'
12577 lt_prog_compiler_wl_CXX
='-Wl,'
12582 case $cc_basename in
12584 lt_prog_compiler_pic_CXX
='-KPIC'
12587 # Green Hills C++ Compiler
12588 lt_prog_compiler_pic_CXX
='-pic'
12594 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12595 # FreeBSD uses GNU C++
12597 hpux9
* | hpux10
* | hpux11
*)
12598 case $cc_basename in
12600 lt_prog_compiler_wl_CXX
='-Wl,'
12601 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12602 if test "$host_cpu" != ia64
; then
12603 lt_prog_compiler_pic_CXX
='+Z'
12607 lt_prog_compiler_wl_CXX
='-Wl,'
12608 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12614 lt_prog_compiler_pic_CXX
='+Z'
12623 # This is c89, which is MS Visual C++ (no shared libs)
12624 # Anyone wants to do a port?
12626 irix5
* | irix6
* | nonstopux
*)
12627 case $cc_basename in
12629 lt_prog_compiler_wl_CXX
='-Wl,'
12630 lt_prog_compiler_static_CXX
='-non_shared'
12631 # CC pic flag -KPIC is the default.
12638 case $cc_basename in
12641 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12642 lt_prog_compiler_pic_CXX
='-fPIC'
12646 lt_prog_compiler_wl_CXX
='-Wl,'
12647 lt_prog_compiler_pic_CXX
='-KPIC'
12648 lt_prog_compiler_static_CXX
='-static'
12651 # Portland Group C++ compiler.
12652 lt_prog_compiler_wl_CXX
='-Wl,'
12653 lt_prog_compiler_pic_CXX
='-fpic'
12654 lt_prog_compiler_static_CXX
='-Bstatic'
12658 # Make sure the PIC flag is empty. It appears that all Alpha
12659 # Linux and Compaq Tru64 Unix objects are PIC.
12660 lt_prog_compiler_pic_CXX
=
12661 lt_prog_compiler_static_CXX
='-non_shared'
12672 case $cc_basename in
12674 lt_prog_compiler_pic_CXX
='-W c,exportall'
12682 osf3
* | osf4
* | osf5
*)
12683 case $cc_basename in
12685 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12688 # Rational C++ 2.4.1
12689 lt_prog_compiler_pic_CXX
='-pic'
12692 # Digital/Compaq C++
12693 lt_prog_compiler_wl_CXX
='-Wl,'
12694 # Make sure the PIC flag is empty. It appears that all Alpha
12695 # Linux and Compaq Tru64 Unix objects are PIC.
12696 lt_prog_compiler_pic_CXX
=
12697 lt_prog_compiler_static_CXX
='-non_shared'
12706 case $cc_basename in
12708 # Sun C++ 4.2, 5.x and Centerline C++
12709 lt_prog_compiler_pic_CXX
='-KPIC'
12710 lt_prog_compiler_static_CXX
='-Bstatic'
12711 lt_prog_compiler_wl_CXX
='-Qoption ld '
12714 # Green Hills C++ Compiler
12715 lt_prog_compiler_pic_CXX
='-PIC'
12722 case $cc_basename in
12725 lt_prog_compiler_pic_CXX
='-pic'
12726 lt_prog_compiler_static_CXX
='-Bstatic'
12730 lt_prog_compiler_pic_CXX
='-pic'
12737 case $cc_basename in
12739 # NonStop-UX NCC 3.20
12740 lt_prog_compiler_pic_CXX
='-KPIC'
12746 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12747 case $cc_basename in
12749 lt_prog_compiler_wl_CXX
='-Wl,'
12750 lt_prog_compiler_pic_CXX
='-KPIC'
12751 lt_prog_compiler_static_CXX
='-Bstatic'
12758 lt_prog_compiler_can_build_shared_CXX
=no
12763 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12764 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12767 # Check to make sure the PIC flag actually works.
12769 if test -n "$lt_prog_compiler_pic_CXX"; then
12771 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12772 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12773 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 lt_prog_compiler_pic_works_CXX
=no
12777 ac_outfile
=conftest.
$ac_objext
12778 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12779 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12780 # Insert the option either (1) after the last *FLAGS variable, or
12781 # (2) before a word containing "conftest.", or (3) at the end.
12782 # Note that $ac_compile itself does not contain backslashes and begins
12783 # with a dollar sign (not a hyphen), so the echo should work correctly.
12784 # The option is referenced via a variable to avoid confusing sed.
12785 lt_compile
=`echo "$ac_compile" | $SED \
12786 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12788 -e 's:$: $lt_compiler_flag:'`
12789 (eval echo "\"\$as_me:12789: $lt_compile\"" >&5)
12790 (eval "$lt_compile" 2>conftest.err
)
12792 cat conftest.err
>&5
12793 echo "$as_me:12793: \$? = $ac_status" >&5
12794 if (exit $ac_status) && test -s "$ac_outfile"; then
12795 # The compiler can only warn and ignore the option if not recognized
12796 # So say no if there are warnings other than the usual output.
12797 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12798 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12799 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12800 lt_prog_compiler_pic_works_CXX
=yes
12806 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12807 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12809 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12810 case $lt_prog_compiler_pic_CXX in
12812 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12815 lt_prog_compiler_pic_CXX
=
12816 lt_prog_compiler_can_build_shared_CXX
=no
12821 # For platforms which do not support PIC, -DPIC is meaningless:
12823 lt_prog_compiler_pic_CXX
=
12826 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12831 # Check to make sure the static flag actually works.
12833 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12834 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12835 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12836 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12839 lt_prog_compiler_static_works_CXX
=no
12840 save_LDFLAGS
="$LDFLAGS"
12841 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12842 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12843 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12844 # The linker can only warn and ignore the option if not recognized
12845 # So say no if there are warnings
12846 if test -s conftest.err
; then
12847 # Append any errors to the config.log.
12848 cat conftest.err
1>&5
12849 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12850 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12851 if diff conftest.exp conftest.er2
>/dev
/null
; then
12852 lt_prog_compiler_static_works_CXX
=yes
12855 lt_prog_compiler_static_works_CXX
=yes
12859 LDFLAGS
="$save_LDFLAGS"
12862 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12863 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12865 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12868 lt_prog_compiler_static_CXX
=
12872 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12873 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12874 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 lt_cv_prog_compiler_c_o_CXX
=no
12878 $rm -r conftest
2>/dev
/null
12882 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12884 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12885 # Insert the option either (1) after the last *FLAGS variable, or
12886 # (2) before a word containing "conftest.", or (3) at the end.
12887 # Note that $ac_compile itself does not contain backslashes and begins
12888 # with a dollar sign (not a hyphen), so the echo should work correctly.
12889 lt_compile
=`echo "$ac_compile" | $SED \
12890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12892 -e 's:$: $lt_compiler_flag:'`
12893 (eval echo "\"\$as_me:12893: $lt_compile\"" >&5)
12894 (eval "$lt_compile" 2>out
/conftest.err
)
12896 cat out
/conftest.err
>&5
12897 echo "$as_me:12897: \$? = $ac_status" >&5
12898 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12900 # The compiler can only warn and ignore the option if not recognized
12901 # So say no if there are warnings
12902 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12903 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12904 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12905 lt_cv_prog_compiler_c_o_CXX
=yes
12910 # SGI C++ compiler will create directory out/ii_files/ for
12911 # template instantiation
12912 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12913 $rm out
/* && rmdir out
12919 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12920 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12923 hard_links
="nottested"
12924 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12925 # do not overwrite the value of need_locks provided by the user
12926 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12927 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12930 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12932 ln conftest.a conftest.b
2>&5 || hard_links
=no
12933 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12934 echo "$as_me:$LINENO: result: $hard_links" >&5
12935 echo "${ECHO_T}$hard_links" >&6
12936 if test "$hard_links" = no
; then
12937 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12938 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12945 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12946 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12948 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12951 # If we're using GNU nm, then we don't want the "-C" option.
12952 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12953 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12954 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'
12956 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'
12960 export_symbols_cmds_CXX
="$ltdll_cmds"
12963 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'
12966 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12970 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12971 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12972 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12975 # Do we need to explicitly link libc?
12977 case "x$archive_cmds_need_lc_CXX" in
12979 # Assume -lc should be added
12980 archive_cmds_need_lc_CXX
=yes
12982 if test "$enable_shared" = yes && test "$GCC" = yes; then
12983 case $archive_cmds_CXX in
12985 # FIXME: we may have to deal with multi-command sequences.
12988 # Test whether the compiler implicitly links with -lc since on some
12989 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12990 # to ld, don't add -lc before -lgcc.
12991 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12992 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12994 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); } 2>conftest.err
; then
13003 libobjs
=conftest.
$ac_objext
13005 wl
=$lt_prog_compiler_wl_CXX
13006 pic_flag
=$lt_prog_compiler_pic_CXX
13012 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13013 allow_undefined_flag_CXX
=
13014 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13015 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }
13020 archive_cmds_need_lc_CXX
=no
13022 archive_cmds_need_lc_CXX
=yes
13024 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13026 cat conftest.err
1>&5
13029 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13030 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13037 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13038 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13039 library_names_spec
=
13040 libname_spec
='lib$name'
13044 postuninstall_cmds
=
13048 shlibpath_overrides_runpath
=unknown
13050 dynamic_linker
="$host_os ld.so"
13051 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13052 if test "$GCC" = yes; then
13053 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13054 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
13055 # if the path contains ";" then we assume it to be the separator
13056 # otherwise default to the standard path separator (i.e. ":") - it is
13057 # assumed that no part of a normal pathname contains ";" but that should
13058 # okay in the real world where ";" in dirpaths is itself problematic.
13059 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13061 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13064 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13066 need_lib_prefix
=unknown
13067 hardcode_into_libs
=no
13069 # when you set need_version to no, make sure it does not cause -set_version
13070 # flags to be left without arguments
13071 need_version
=unknown
13076 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13077 shlibpath_var
=LIBPATH
13079 # AIX 3 has no versioning support, so we append a major version to the name.
13080 soname_spec
='${libname}${release}${shared_ext}$major'
13087 hardcode_into_libs
=yes
13088 if test "$host_cpu" = ia64
; then
13089 # AIX 5 supports IA64
13090 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13091 shlibpath_var
=LD_LIBRARY_PATH
13093 # With GCC up to 2.95.x, collect2 would create an import file
13094 # for dependence libraries. The import file would start with
13095 # the line `#! .'. This would cause the generated library to
13096 # depend on `.', always an invalid library. This was fixed in
13097 # development snapshots of GCC prior to 3.0.
13099 aix4 | aix4.
[01] | aix4.
[01].
*)
13100 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13102 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13105 can_build_shared
=no
13109 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13110 # soname into executable. Probably we can add versioning support to
13111 # collect2, so additional links can be useful in future.
13112 if test "$aix_use_runtimelinking" = yes; then
13113 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13114 # instead of lib<name>.a to let people know that these are not
13115 # typical AIX shared libraries.
13116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13118 # We preserve .a as extension for shared libraries through AIX4.2
13119 # and later when we are not doing run time linking.
13120 library_names_spec
='${libname}${release}.a $libname.a'
13121 soname_spec
='${libname}${release}${shared_ext}$major'
13123 shlibpath_var
=LIBPATH
13128 library_names_spec
='$libname.ixlibrary $libname.a'
13129 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13130 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'
13134 library_names_spec
='${libname}${shared_ext}'
13135 dynamic_linker
="$host_os ld.so"
13136 shlibpath_var
=LIBRARY_PATH
13142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13143 soname_spec
='${libname}${release}${shared_ext}$major'
13144 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13145 shlibpath_var
=LD_LIBRARY_PATH
13146 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13147 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13148 # the default ld.so.conf also contains /usr/contrib/lib and
13149 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13150 # libtool to hard-code these into programs
13153 cygwin
* | mingw
* | pw32
*)
13154 version_type
=windows
13159 case $GCC,$host_os in
13160 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13161 library_names_spec
='$libname.dll.a'
13162 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13163 postinstall_cmds
='base_file=`basename \${file}`~
13164 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13165 dldir=$destdir/`dirname \$dlpath`~
13166 test -d \$dldir || mkdir -p \$dldir~
13167 $install_prog $dir/$dlname \$dldir/$dlname~
13168 chmod a+x \$dldir/$dlname'
13169 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13170 dlpath=$dir/\$dldll~
13172 shlibpath_overrides_runpath
=yes
13176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13177 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13178 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13181 # MinGW DLLs use traditional 'lib' prefix
13182 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13183 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13184 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13185 # It is most probably a Windows format PATH printed by
13186 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13187 # path with ; separators, and with drive letters. We can handle the
13188 # drive letters (cygwin fileutils understands them), so leave them,
13189 # especially as we might pass files found there to a mingw objdump,
13190 # which wouldn't understand a cygwinified path. Ahh.
13191 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13193 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13197 # pw32 DLLs use 'pw' prefix rather than 'lib'
13198 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13204 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13207 dynamic_linker
='Win32 ld.exe'
13208 # FIXME: first we should search . and the directory the executable is in
13212 darwin
* | rhapsody
*)
13213 dynamic_linker
="$host_os dyld"
13214 version_type
=darwin
13217 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13218 soname_spec
='${libname}${release}${major}$shared_ext'
13219 shlibpath_overrides_runpath
=yes
13220 shlibpath_var
=DYLD_LIBRARY_PATH
13221 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13222 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13223 if test "$GCC" = yes; then
13224 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13226 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13228 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13236 soname_spec
='${libname}${release}${shared_ext}$major'
13237 shlibpath_var
=LD_LIBRARY_PATH
13248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13249 soname_spec
='${libname}${release}${shared_ext}$major'
13250 shlibpath_var
=LD_LIBRARY_PATH
13251 shlibpath_overrides_runpath
=no
13252 hardcode_into_libs
=yes
13253 dynamic_linker
='GNU ld.so'
13256 freebsd
* | dragonfly
*)
13257 # DragonFly does not have aout. When/if they implement a new
13258 # versioning mechanism, adjust this.
13259 if test -x /usr
/bin
/objformat
; then
13260 objformat
=`/usr/bin/objformat`
13263 freebsd
[123]*) objformat
=aout
;;
13264 *) objformat
=elf
;;
13267 version_type
=freebsd-
$objformat
13268 case $version_type in
13270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13275 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13279 shlibpath_var
=LD_LIBRARY_PATH
13282 shlibpath_overrides_runpath
=yes
13284 freebsd3.
[01]* | freebsdelf3.
[01]*)
13285 shlibpath_overrides_runpath
=yes
13286 hardcode_into_libs
=yes
13288 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13289 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13290 shlibpath_overrides_runpath
=no
13291 hardcode_into_libs
=yes
13293 freebsd
*) # from 4.6 on
13294 shlibpath_overrides_runpath
=yes
13295 hardcode_into_libs
=yes
13304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13305 soname_spec
='${libname}${release}${shared_ext}$major'
13306 shlibpath_var
=LD_LIBRARY_PATH
13307 hardcode_into_libs
=yes
13310 hpux9
* | hpux10
* | hpux11
*)
13311 # Give a soname corresponding to the major version so that dld.sl refuses to
13312 # link against other versions.
13319 hardcode_into_libs
=yes
13320 dynamic_linker
="$host_os dld.so"
13321 shlibpath_var
=LD_LIBRARY_PATH
13322 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13324 soname_spec
='${libname}${release}${shared_ext}$major'
13325 if test "X$HPUX_IA64_MODE" = X32
; then
13326 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13328 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13330 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13334 hardcode_into_libs
=yes
13335 dynamic_linker
="$host_os dld.sl"
13336 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13337 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13339 soname_spec
='${libname}${release}${shared_ext}$major'
13340 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13341 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13345 dynamic_linker
="$host_os dld.sl"
13346 shlibpath_var
=SHLIB_PATH
13347 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13349 soname_spec
='${libname}${release}${shared_ext}$major'
13352 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13353 postinstall_cmds
='chmod 555 $lib'
13360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13361 soname_spec
='${libname}${release}${shared_ext}$major'
13362 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13363 shlibpath_var
=LD_LIBRARY_PATH
13364 shlibpath_overrides_runpath
=no
13365 hardcode_into_libs
=yes
13368 irix5
* | irix6
* | nonstopux
*)
13370 nonstopux
*) version_type
=nonstopux
;;
13372 if test "$lt_cv_prog_gnu_ld" = yes; then
13380 soname_spec
='${libname}${release}${shared_ext}$major'
13381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13383 irix5
* | nonstopux
*)
13384 libsuff
= shlibsuff
=
13387 case $LD in # libtool.m4 will add one of these switches to LD
13388 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13389 libsuff
= shlibsuff
= libmagic
=32-bit;;
13390 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13391 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13392 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13393 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13394 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13398 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13399 shlibpath_overrides_runpath
=no
13400 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13401 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13402 hardcode_into_libs
=yes
13405 # No shared lib support for Linux oldld, aout, or coff.
13406 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13410 # This must be Linux ELF.
13415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13416 soname_spec
='${libname}${release}${shared_ext}$major'
13417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13418 shlibpath_var
=LD_LIBRARY_PATH
13419 shlibpath_overrides_runpath
=no
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs
=yes
13425 # find out which ABI we are using
13427 case "$host_cpu" in
13428 x86_64
*|s390x
*|powerpc64
*)
13429 echo '#line 13429 "configure"' > conftest.
$ac_ext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13431 (eval $ac_compile) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; then
13435 case `/usr/bin/file conftest.$ac_objext` in
13438 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13446 # Append ld.so.conf contents to the search path
13447 if test -f /etc
/ld.so.conf
; then
13448 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13449 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13452 # We used to test for /lib/ld.so.1 and disable shared libraries on
13453 # powerpc, because MkLinux only supported shared libraries with the
13454 # GNU dynamic linker. Since this was broken with cross compilers,
13455 # most powerpc-linux boxes support dynamic linking these days and
13456 # people can always --disable-shared, the test was removed, and we
13457 # assume the GNU/Linux dynamic linker is in use.
13458 dynamic_linker
='GNU/Linux ld.so'
13465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13466 soname_spec
='${libname}${release}${shared_ext}$major'
13467 shlibpath_var
=LD_LIBRARY_PATH
13468 shlibpath_overrides_runpath
=no
13469 hardcode_into_libs
=yes
13470 dynamic_linker
='GNU ld.so'
13477 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13480 dynamic_linker
='NetBSD (a.out) ld.so'
13482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13483 soname_spec
='${libname}${release}${shared_ext}$major'
13484 dynamic_linker
='NetBSD ld.elf_so'
13486 shlibpath_var
=LD_LIBRARY_PATH
13487 shlibpath_overrides_runpath
=yes
13488 hardcode_into_libs
=yes
13493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13494 shlibpath_var
=LD_LIBRARY_PATH
13495 shlibpath_overrides_runpath
=yes
13502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13503 soname_spec
='${libname}${release}${shared_ext}$major'
13504 shlibpath_var
=LD_LIBRARY_PATH
13505 shlibpath_overrides_runpath
=yes
13510 sys_lib_dlsearch_path_spec
="/usr/lib"
13512 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13514 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13515 *) need_version
=no
;;
13517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13518 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13519 shlibpath_var
=LD_LIBRARY_PATH
13520 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13522 openbsd2.
[89] | openbsd2.
[89].
*)
13523 shlibpath_overrides_runpath
=no
13526 shlibpath_overrides_runpath
=yes
13530 shlibpath_overrides_runpath
=yes
13535 libname_spec
='$name'
13538 library_names_spec
='$libname${shared_ext} $libname.a'
13539 dynamic_linker
='OS/2 ld.exe'
13540 shlibpath_var
=LIBPATH
13543 osf3
* | osf4
* | osf5
*)
13547 soname_spec
='${libname}${release}${shared_ext}$major'
13548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13549 shlibpath_var
=LD_LIBRARY_PATH
13550 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13551 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13559 soname_spec
='${libname}${release}${shared_ext}$major'
13560 shlibpath_var
=LD_LIBRARY_PATH
13561 shlibpath_overrides_runpath
=yes
13562 hardcode_into_libs
=yes
13563 # ldd complains unless libraries are executable
13564 postinstall_cmds
='chmod +x $lib'
13569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13570 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13571 shlibpath_var
=LD_LIBRARY_PATH
13572 shlibpath_overrides_runpath
=yes
13573 if test "$with_gnu_ld" = yes; then
13581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13582 soname_spec
='${libname}${release}${shared_ext}$major'
13583 shlibpath_var
=LD_LIBRARY_PATH
13584 case $host_vendor in
13586 shlibpath_overrides_runpath
=no
13588 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13589 runpath_var
=LD_RUN_PATH
13597 shlibpath_overrides_runpath
=no
13598 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13604 if test -d /usr
/nec
;then
13606 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13607 soname_spec
='$libname${shared_ext}.$major'
13608 shlibpath_var
=LD_LIBRARY_PATH
13612 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13613 version_type
=freebsd-elf
13616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13617 soname_spec
='${libname}${release}${shared_ext}$major'
13618 shlibpath_var
=LD_LIBRARY_PATH
13619 hardcode_into_libs
=yes
13620 if test "$with_gnu_ld" = yes; then
13621 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13622 shlibpath_overrides_runpath
=no
13624 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13625 shlibpath_overrides_runpath
=yes
13628 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13632 sys_lib_dlsearch_path_spec
='/usr/lib'
13637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13638 soname_spec
='${libname}${release}${shared_ext}$major'
13639 shlibpath_var
=LD_LIBRARY_PATH
13646 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13647 echo "${ECHO_T}$dynamic_linker" >&6
13648 test "$dynamic_linker" = no
&& can_build_shared
=no
13650 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13651 if test "$GCC" = yes; then
13652 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13655 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13656 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13657 hardcode_action_CXX
=
13658 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13659 test -n "$runpath_var_CXX" || \
13660 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13662 # We can hardcode non-existant directories.
13663 if test "$hardcode_direct_CXX" != no
&&
13664 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13665 # have to relink, otherwise we might link with an installed library
13666 # when we should be linking with a yet-to-be-installed one
13667 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13668 test "$hardcode_minus_L_CXX" != no
; then
13669 # Linking always hardcodes the temporary library directory.
13670 hardcode_action_CXX
=relink
13672 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13673 hardcode_action_CXX
=immediate
13676 # We cannot hardcode anything, or else we can only hardcode existing
13678 hardcode_action_CXX
=unsupported
13680 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13681 echo "${ECHO_T}$hardcode_action_CXX" >&6
13683 if test "$hardcode_action_CXX" = relink
; then
13684 # Fast installation is not supported
13685 enable_fast_install
=no
13686 elif test "$shlibpath_overrides_runpath" = yes ||
13687 test "$enable_shared" = no
; then
13688 # Fast installation is not necessary
13689 enable_fast_install
=needless
13693 # The else clause should only fire when bootstrapping the
13694 # libtool distribution, otherwise you forgot to ship ltmain.sh
13695 # with your package, and you will get complaints that there are
13696 # no rules to generate ltmain.sh.
13697 if test -f "$ltmain"; then
13698 # See if we are running on zsh, and set the options which allow our commands through
13699 # without removal of \ escapes.
13700 if test -n "${ZSH_VERSION+set}" ; then
13701 setopt NO_GLOB_SUBST
13703 # Now quote all the things that may contain metacharacters while being
13704 # careful not to overquote the AC_SUBSTed values. We take copies of the
13705 # variables and quote the copies for generation of the libtool script.
13706 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13708 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13709 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13710 deplibs_check_method reload_flag reload_cmds need_locks \
13711 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13712 lt_cv_sys_global_symbol_to_c_name_address \
13713 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13714 old_postinstall_cmds old_postuninstall_cmds \
13718 lt_prog_compiler_wl_CXX \
13719 lt_prog_compiler_pic_CXX \
13720 lt_prog_compiler_static_CXX \
13721 lt_prog_compiler_no_builtin_flag_CXX \
13722 export_dynamic_flag_spec_CXX \
13723 thread_safe_flag_spec_CXX \
13724 whole_archive_flag_spec_CXX \
13725 enable_shared_with_static_runtimes_CXX \
13726 old_archive_cmds_CXX \
13727 old_archive_from_new_cmds_CXX \
13728 predep_objects_CXX \
13729 postdep_objects_CXX \
13732 compiler_lib_search_path_CXX \
13734 archive_expsym_cmds_CXX \
13735 postinstall_cmds_CXX \
13736 postuninstall_cmds_CXX \
13737 old_archive_from_expsyms_cmds_CXX \
13738 allow_undefined_flag_CXX \
13739 no_undefined_flag_CXX \
13740 export_symbols_cmds_CXX \
13741 hardcode_libdir_flag_spec_CXX \
13742 hardcode_libdir_flag_spec_ld_CXX \
13743 hardcode_libdir_separator_CXX \
13744 hardcode_automatic_CXX \
13746 module_expsym_cmds_CXX \
13747 lt_cv_prog_compiler_c_o_CXX \
13748 exclude_expsyms_CXX \
13749 include_expsyms_CXX
; do
13752 old_archive_cmds_CXX | \
13753 old_archive_from_new_cmds_CXX | \
13754 archive_cmds_CXX | \
13755 archive_expsym_cmds_CXX | \
13756 module_cmds_CXX | \
13757 module_expsym_cmds_CXX | \
13758 old_archive_from_expsyms_cmds_CXX | \
13759 export_symbols_cmds_CXX | \
13760 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13761 postinstall_cmds | postuninstall_cmds | \
13762 old_postinstall_cmds | old_postuninstall_cmds | \
13763 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13764 # Double-quote double-evaled strings.
13765 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13768 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13774 *'\$0 --fallback-echo"')
13775 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13781 cat <<__EOF__ >> "$cfgfile"
13782 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13784 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13786 # Shell to use when invoking shell scripts.
13789 # Whether or not to build shared libraries.
13790 build_libtool_libs=$enable_shared
13792 # Whether or not to build static libraries.
13793 build_old_libs=$enable_static
13795 # Whether or not to add -lc for building shared libraries.
13796 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13798 # Whether or not to disallow shared libs when runtime libs are static
13799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13801 # Whether or not to optimize for fast installation.
13802 fast_install=$enable_fast_install
13805 host_alias=$host_alias
13809 # The build system.
13810 build_alias=$build_alias
13814 # An echo program that does not interpret backslashes.
13819 AR_FLAGS=$lt_AR_FLAGS
13824 # LTCC compiler flags.
13825 LTCFLAGS=$lt_LTCFLAGS
13827 # A language-specific compiler.
13828 CC=$lt_compiler_CXX
13830 # Is the compiler the GNU C compiler?
13833 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
13834 gcc_ver=\`gcc -dumpversion\`
13839 # The linker used to build libraries.
13842 # Whether we need hard or soft links.
13845 # A BSD-compatible nm program.
13848 # A symbol stripping program
13851 # Used to examine libraries when file_magic_cmd begins "file"
13852 MAGIC_CMD=$MAGIC_CMD
13854 # Used on cygwin: DLL creation program.
13857 # Used on cygwin: object dumper.
13860 # Used on cygwin: assembler.
13863 # The name of the directory that contains temporary libtool files.
13866 # How to create reloadable object files.
13867 reload_flag=$lt_reload_flag
13868 reload_cmds=$lt_reload_cmds
13870 # How to pass a linker flag through the compiler.
13871 wl=$lt_lt_prog_compiler_wl_CXX
13873 # Object file suffix (normally "o").
13874 objext="$ac_objext"
13876 # Old archive suffix (normally "a").
13879 # Shared library suffix (normally ".so").
13880 shrext_cmds='$shrext_cmds'
13882 # Executable file suffix (normally "").
13885 # Additional compiler flags for building library objects.
13886 pic_flag=$lt_lt_prog_compiler_pic_CXX
13889 # What is the maximum length of a command?
13890 max_cmd_len=$lt_cv_sys_max_cmd_len
13892 # Does compiler simultaneously support -c and -o options?
13893 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13895 # Must we lock files when doing compilation?
13896 need_locks=$lt_need_locks
13898 # Do we need the lib prefix for modules?
13899 need_lib_prefix=$need_lib_prefix
13901 # Do we need a version for libraries?
13902 need_version=$need_version
13904 # Whether dlopen is supported.
13905 dlopen_support=$enable_dlopen
13907 # Whether dlopen of programs is supported.
13908 dlopen_self=$enable_dlopen_self
13910 # Whether dlopen of statically linked programs is supported.
13911 dlopen_self_static=$enable_dlopen_self_static
13913 # Compiler flag to prevent dynamic linking.
13914 link_static_flag=$lt_lt_prog_compiler_static_CXX
13916 # Compiler flag to turn off builtin functions.
13917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13919 # Compiler flag to allow reflexive dlopens.
13920 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13922 # Compiler flag to generate shared objects directly from archives.
13923 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13925 # Compiler flag to generate thread-safe objects.
13926 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13928 # Library versioning type.
13929 version_type=$version_type
13931 # Format of library name prefix.
13932 libname_spec=$lt_libname_spec
13934 # List of archive names. First name is the real one, the rest are links.
13935 # The last name is the one that the linker finds with -lNAME.
13936 library_names_spec=$lt_library_names_spec
13938 # The coded name of the library, if different from the real name.
13939 soname_spec=$lt_soname_spec
13941 # Commands used to build and install an old-style archive.
13943 old_archive_cmds=$lt_old_archive_cmds_CXX
13944 old_postinstall_cmds=$lt_old_postinstall_cmds
13945 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13947 # Create an old-style archive from a shared archive.
13948 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13950 # Create a temporary old-style archive to link instead of a shared archive.
13951 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13953 # Commands used to build and install a shared archive.
13954 archive_cmds=$lt_archive_cmds_CXX
13955 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13956 postinstall_cmds=$lt_postinstall_cmds
13957 postuninstall_cmds=$lt_postuninstall_cmds
13959 # Commands used to build a loadable module (assumed same as above if empty)
13960 module_cmds=$lt_module_cmds_CXX
13961 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13963 # Commands to strip libraries.
13964 old_striplib=$lt_old_striplib
13965 striplib=$lt_striplib
13967 # Dependencies to place before the objects being linked to create a
13969 predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13971 # Dependencies to place after the objects being linked to create a
13973 postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13975 # Dependencies to place before the objects being linked to create a
13977 predeps=$lt_predeps_CXX
13979 # Dependencies to place after the objects being linked to create a
13981 postdeps=$lt_postdeps_CXX
13983 # The library search path used internally by the compiler when linking
13984 # a shared library.
13985 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13987 # Method to check whether dependent libraries are shared objects.
13988 deplibs_check_method=$lt_deplibs_check_method
13990 # Command to use when deplibs_check_method == file_magic.
13991 file_magic_cmd=$lt_file_magic_cmd
13993 # Flag that allows shared libraries with undefined symbols to be built.
13994 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13996 # Flag that forces no undefined symbols.
13997 no_undefined_flag=$lt_no_undefined_flag_CXX
13999 # Commands used to finish a libtool library installation in a directory.
14000 finish_cmds=$lt_finish_cmds
14002 # Same as above, but a single script fragment to be evaled but not shown.
14003 finish_eval=$lt_finish_eval
14005 # Take the output of nm and produce a listing of raw symbols and C names.
14006 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14008 # Transform the output of nm in a proper C declaration
14009 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14011 # Transform the output of nm in a C name address pair
14012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14014 # This is the shared library runtime path variable.
14015 runpath_var=$runpath_var
14017 # This is the shared library path variable.
14018 shlibpath_var=$shlibpath_var
14020 # Is shlibpath searched before the hard-coded library search path?
14021 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14023 # How to hardcode a shared library path into an executable.
14024 hardcode_action=$hardcode_action_CXX
14026 # Whether we should hardcode library paths into libraries.
14027 hardcode_into_libs=$hardcode_into_libs
14029 # Flag to hardcode \$libdir into a binary during linking.
14030 # This must work even if \$libdir does not exist.
14031 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14033 # If ld is used when linking, flag to hardcode \$libdir into
14034 # a binary during linking. This must work even if \$libdir does
14036 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14038 # Whether we need a single -rpath flag with a separated argument.
14039 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14041 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14042 # resulting binary.
14043 hardcode_direct=$hardcode_direct_CXX
14045 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14046 # resulting binary.
14047 hardcode_minus_L=$hardcode_minus_L_CXX
14049 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14050 # the resulting binary.
14051 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14053 # Set to yes if building a shared library automatically hardcodes DIR into the library
14054 # and all subsequent libraries and executables linked against it.
14055 hardcode_automatic=$hardcode_automatic_CXX
14057 # Variables whose values should be saved in libtool wrapper scripts and
14058 # restored at relink time.
14059 variables_saved_for_relink="$variables_saved_for_relink"
14061 # Whether libtool must link a program against all its dependency libraries.
14062 link_all_deplibs=$link_all_deplibs_CXX
14064 # Compile-time system search path for libraries
14065 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
14067 # Run-time system search path for libraries
14068 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14070 # Fix the shell variable \$srcfile for the compiler.
14071 fix_srcfile_path="$fix_srcfile_path_CXX"
14073 # Set to yes if exported symbols are required.
14074 always_export_symbols=$always_export_symbols_CXX
14076 # The commands to list exported symbols.
14077 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14079 # The commands to extract the exported symbol list from a shared archive.
14080 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14082 # Symbols that should not be listed in the preloaded symbols.
14083 exclude_expsyms=$lt_exclude_expsyms_CXX
14085 # Symbols that must always be exported.
14086 include_expsyms=$lt_include_expsyms_CXX
14088 # ### END LIBTOOL TAG CONFIG: $tagname
14094 # If there is no Makefile yet, we rely on a make rule to execute
14095 # `config.status --recheck' to rerun these tests and create the
14096 # libtool script then.
14097 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14098 if test -f "$ltmain_in"; then
14099 test -f Makefile
&& make "$ltmain"
14105 ac_cpp
='$CPP $CPPFLAGS'
14106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14114 with_gnu_ldcxx
=$with_gnu_ld
14115 with_gnu_ld
=$lt_save_with_gnu_ld
14116 lt_cv_path_LDCXX
=$lt_cv_path_LD
14117 lt_cv_path_LD
=$lt_save_path_LD
14118 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14119 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14127 if test -n "$F77" && test "X$F77" != "Xno"; then
14130 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14131 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14132 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14135 archive_cmds_need_lc_F77
=no
14136 allow_undefined_flag_F77
=
14137 always_export_symbols_F77
=no
14138 archive_expsym_cmds_F77
=
14139 export_dynamic_flag_spec_F77
=
14140 hardcode_direct_F77
=no
14141 hardcode_libdir_flag_spec_F77
=
14142 hardcode_libdir_flag_spec_ld_F77
=
14143 hardcode_libdir_separator_F77
=
14144 hardcode_minus_L_F77
=no
14145 hardcode_automatic_F77
=no
14147 module_expsym_cmds_F77
=
14148 link_all_deplibs_F77
=unknown
14149 old_archive_cmds_F77
=$old_archive_cmds
14150 no_undefined_flag_F77
=
14151 whole_archive_flag_spec_F77
=
14152 enable_shared_with_static_runtimes_F77
=no
14154 # Source file extension for f77 test sources.
14157 # Object file extension for compiled f77 test sources.
14161 # Code to be used in simple compile tests
14162 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14164 # Code to be used in simple link tests
14165 lt_simple_link_test_code
=" program t\n end\n"
14167 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14169 # If no C compiler was specified, use CC.
14172 # If no C compiler flags were specified, use CFLAGS.
14173 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14175 # Allow CC to be a program name with arguments.
14179 # save warnings/boilerplate of simple test code
14180 ac_outfile
=conftest.
$ac_objext
14181 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
14182 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14183 _lt_compiler_boilerplate
=`cat conftest.err`
14186 ac_outfile
=conftest.
$ac_objext
14187 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
14188 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14189 _lt_linker_boilerplate
=`cat conftest.err`
14193 # Allow CC to be a program name with arguments.
14198 for cc_temp
in $compiler""; do
14200 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14201 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14206 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14209 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14210 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14211 echo "$as_me:$LINENO: result: $can_build_shared" >&5
14212 echo "${ECHO_T}$can_build_shared" >&6
14214 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14215 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14216 test "$can_build_shared" = "no" && enable_shared
=no
14218 # On AIX, shared libraries and static libraries use the same namespace, and
14219 # are all built from PIC.
14222 test "$enable_shared" = yes && enable_static
=no
14223 if test -n "$RANLIB"; then
14224 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14225 postinstall_cmds
='$RANLIB $lib'
14229 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14230 test "$enable_shared" = yes && enable_static
=no
14234 echo "$as_me:$LINENO: result: $enable_shared" >&5
14235 echo "${ECHO_T}$enable_shared" >&6
14237 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14238 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14239 # Make sure either enable_shared or enable_static is yes.
14240 test "$enable_shared" = yes || enable_static
=yes
14241 echo "$as_me:$LINENO: result: $enable_static" >&5
14242 echo "${ECHO_T}$enable_static" >&6
14247 lt_prog_compiler_wl_F77
=
14248 lt_prog_compiler_pic_F77
=
14249 lt_prog_compiler_static_F77
=
14251 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14252 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14254 if test "$GCC" = yes; then
14255 lt_prog_compiler_wl_F77
='-Wl,'
14256 lt_prog_compiler_static_F77
='-static'
14260 # All AIX code is PIC.
14261 if test "$host_cpu" = ia64
; then
14262 # AIX 5 now supports IA64 processor
14263 lt_prog_compiler_static_F77
='-Bstatic'
14268 # FIXME: we need at least 68020 code to build shared libraries, but
14269 # adding the `-m68020' flag to GCC prevents building anything better,
14271 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14274 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14275 # PIC is the default for these OSes.
14278 mingw
* | pw32
* | os2
*)
14279 # This hack is so that the source file can tell whether it is being
14280 # built for inclusion in a dll (and should export symbols for example).
14281 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14284 darwin
* | rhapsody
*)
14285 # PIC is the default on this platform
14286 # Common symbols not allowed in MH_DYLIB files
14287 lt_prog_compiler_pic_F77
='-fno-common'
14291 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14292 # Instead, we relocate shared libraries at runtime.
14296 # Just because we use GCC doesn't mean we suddenly get shared libraries
14297 # on systems that don't support them.
14298 lt_prog_compiler_can_build_shared_F77
=no
14303 if test -d /usr
/nec
; then
14304 lt_prog_compiler_pic_F77
=-Kconform_pic
14309 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14310 # not for PA HP-UX.
14316 lt_prog_compiler_pic_F77
='-fPIC'
14322 lt_prog_compiler_pic_F77
='-fPIC'
14326 # PORTME Check for flag to pass linker flags through the system compiler.
14329 lt_prog_compiler_wl_F77
='-Wl,'
14330 if test "$host_cpu" = ia64
; then
14331 # AIX 5 now supports IA64 processor
14332 lt_prog_compiler_static_F77
='-Bstatic'
14334 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14338 # PIC is the default on this platform
14339 # Common symbols not allowed in MH_DYLIB files
14340 case $cc_basename in
14342 lt_prog_compiler_pic_F77
='-qnocommon'
14343 lt_prog_compiler_wl_F77
='-Wl,'
14348 mingw
* | pw32
* | os2
*)
14349 # This hack is so that the source file can tell whether it is being
14350 # built for inclusion in a dll (and should export symbols for example).
14351 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14354 hpux9
* | hpux10
* | hpux11
*)
14355 lt_prog_compiler_wl_F77
='-Wl,'
14356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14357 # not for PA HP-UX.
14363 lt_prog_compiler_pic_F77
='+Z'
14366 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14367 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14370 irix5
* | irix6
* | nonstopux
*)
14371 lt_prog_compiler_wl_F77
='-Wl,'
14372 # PIC (with -KPIC) is the default.
14373 lt_prog_compiler_static_F77
='-non_shared'
14377 lt_prog_compiler_pic_F77
='-KPIC'
14378 lt_prog_compiler_static_F77
='-Bstatic'
14382 case $cc_basename in
14384 lt_prog_compiler_wl_F77
='-Wl,'
14385 lt_prog_compiler_pic_F77
='-KPIC'
14386 lt_prog_compiler_static_F77
='-static'
14388 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14389 # Portland Group compilers (*not* the Pentium gcc compiler,
14390 # which looks to be a dead project)
14391 lt_prog_compiler_wl_F77
='-Wl,'
14392 lt_prog_compiler_pic_F77
='-fpic'
14393 lt_prog_compiler_static_F77
='-Bstatic'
14396 lt_prog_compiler_wl_F77
='-Wl,'
14397 # All Alpha code is PIC.
14398 lt_prog_compiler_static_F77
='-non_shared'
14403 osf3
* | osf4
* | osf5
*)
14404 lt_prog_compiler_wl_F77
='-Wl,'
14405 # All OSF/1 code is PIC.
14406 lt_prog_compiler_static_F77
='-non_shared'
14410 lt_prog_compiler_pic_F77
='-KPIC'
14411 lt_prog_compiler_static_F77
='-Bstatic'
14412 case $cc_basename in
14413 f77
* | f90
* | f95
*)
14414 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14416 lt_prog_compiler_wl_F77
='-Wl,';;
14421 lt_prog_compiler_wl_F77
='-Qoption ld '
14422 lt_prog_compiler_pic_F77
='-PIC'
14423 lt_prog_compiler_static_F77
='-Bstatic'
14426 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14427 lt_prog_compiler_wl_F77
='-Wl,'
14428 lt_prog_compiler_pic_F77
='-KPIC'
14429 lt_prog_compiler_static_F77
='-Bstatic'
14433 if test -d /usr
/nec
;then
14434 lt_prog_compiler_pic_F77
='-Kconform_pic'
14435 lt_prog_compiler_static_F77
='-Bstatic'
14439 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14440 lt_prog_compiler_wl_F77
='-Wl,'
14441 lt_prog_compiler_pic_F77
='-KPIC'
14442 lt_prog_compiler_static_F77
='-Bstatic'
14446 lt_prog_compiler_wl_F77
='-Wl,'
14447 lt_prog_compiler_can_build_shared_F77
=no
14451 lt_prog_compiler_pic_F77
='-pic'
14452 lt_prog_compiler_static_F77
='-Bstatic'
14456 lt_prog_compiler_can_build_shared_F77
=no
14461 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14462 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14465 # Check to make sure the PIC flag actually works.
14467 if test -n "$lt_prog_compiler_pic_F77"; then
14469 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14470 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14471 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 lt_prog_compiler_pic_works_F77
=no
14475 ac_outfile
=conftest.
$ac_objext
14476 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14477 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14478 # Insert the option either (1) after the last *FLAGS variable, or
14479 # (2) before a word containing "conftest.", or (3) at the end.
14480 # Note that $ac_compile itself does not contain backslashes and begins
14481 # with a dollar sign (not a hyphen), so the echo should work correctly.
14482 # The option is referenced via a variable to avoid confusing sed.
14483 lt_compile
=`echo "$ac_compile" | $SED \
14484 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14485 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14486 -e 's:$: $lt_compiler_flag:'`
14487 (eval echo "\"\$as_me:14487: $lt_compile\"" >&5)
14488 (eval "$lt_compile" 2>conftest.err
)
14490 cat conftest.err
>&5
14491 echo "$as_me:14491: \$? = $ac_status" >&5
14492 if (exit $ac_status) && test -s "$ac_outfile"; then
14493 # The compiler can only warn and ignore the option if not recognized
14494 # So say no if there are warnings other than the usual output.
14495 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14496 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14497 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14498 lt_prog_compiler_pic_works_F77
=yes
14504 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14505 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14507 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14508 case $lt_prog_compiler_pic_F77 in
14510 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14513 lt_prog_compiler_pic_F77
=
14514 lt_prog_compiler_can_build_shared_F77
=no
14519 # For platforms which do not support PIC, -DPIC is meaningless:
14521 lt_prog_compiler_pic_F77
=
14524 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14529 # Check to make sure the static flag actually works.
14531 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14532 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14533 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14534 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 lt_prog_compiler_static_works_F77
=no
14538 save_LDFLAGS
="$LDFLAGS"
14539 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14540 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14541 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14542 # The linker can only warn and ignore the option if not recognized
14543 # So say no if there are warnings
14544 if test -s conftest.err
; then
14545 # Append any errors to the config.log.
14546 cat conftest.err
1>&5
14547 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14548 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14549 if diff conftest.exp conftest.er2
>/dev
/null
; then
14550 lt_prog_compiler_static_works_F77
=yes
14553 lt_prog_compiler_static_works_F77
=yes
14557 LDFLAGS
="$save_LDFLAGS"
14560 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14561 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14563 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14566 lt_prog_compiler_static_F77
=
14570 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14571 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14572 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14573 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 lt_cv_prog_compiler_c_o_F77
=no
14576 $rm -r conftest
2>/dev
/null
14580 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14582 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14583 # Insert the option either (1) after the last *FLAGS variable, or
14584 # (2) before a word containing "conftest.", or (3) at the end.
14585 # Note that $ac_compile itself does not contain backslashes and begins
14586 # with a dollar sign (not a hyphen), so the echo should work correctly.
14587 lt_compile
=`echo "$ac_compile" | $SED \
14588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14590 -e 's:$: $lt_compiler_flag:'`
14591 (eval echo "\"\$as_me:14591: $lt_compile\"" >&5)
14592 (eval "$lt_compile" 2>out
/conftest.err
)
14594 cat out
/conftest.err
>&5
14595 echo "$as_me:14595: \$? = $ac_status" >&5
14596 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14598 # The compiler can only warn and ignore the option if not recognized
14599 # So say no if there are warnings
14600 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14601 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14602 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14603 lt_cv_prog_compiler_c_o_F77
=yes
14608 # SGI C++ compiler will create directory out/ii_files/ for
14609 # template instantiation
14610 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14611 $rm out
/* && rmdir out
14617 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14618 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14621 hard_links
="nottested"
14622 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14623 # do not overwrite the value of need_locks provided by the user
14624 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14625 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14628 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14630 ln conftest.a conftest.b
2>&5 || hard_links
=no
14631 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14632 echo "$as_me:$LINENO: result: $hard_links" >&5
14633 echo "${ECHO_T}$hard_links" >&6
14634 if test "$hard_links" = no
; then
14635 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14636 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14643 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14644 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14647 allow_undefined_flag_F77
=
14648 enable_shared_with_static_runtimes_F77
=no
14650 archive_expsym_cmds_F77
=
14651 old_archive_From_new_cmds_F77
=
14652 old_archive_from_expsyms_cmds_F77
=
14653 export_dynamic_flag_spec_F77
=
14654 whole_archive_flag_spec_F77
=
14655 thread_safe_flag_spec_F77
=
14656 hardcode_libdir_flag_spec_F77
=
14657 hardcode_libdir_flag_spec_ld_F77
=
14658 hardcode_libdir_separator_F77
=
14659 hardcode_direct_F77
=no
14660 hardcode_minus_L_F77
=no
14661 hardcode_shlibpath_var_F77
=unsupported
14662 link_all_deplibs_F77
=unknown
14663 hardcode_automatic_F77
=no
14665 module_expsym_cmds_F77
=
14666 always_export_symbols_F77
=no
14667 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14668 # include_expsyms should be a list of space-separated symbols to be *always*
14669 # included in the symbol list
14670 include_expsyms_F77
=
14671 # exclude_expsyms can be an extended regexp of symbols to exclude
14672 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14673 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14674 # as well as any symbol that contains `d'.
14675 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14676 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14677 # platforms (ab)use it in PIC code, but their linkers get confused if
14678 # the symbol is explicitly referenced. Since portable code cannot
14679 # rely on this symbol name, it's probably fine to never include it in
14680 # preloaded symbol tables.
14681 extract_expsyms_cmds
=
14682 # Just being paranoid about ensuring that cc_basename is set.
14683 for cc_temp
in $compiler""; do
14685 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14686 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14691 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14694 cygwin
* | mingw
* | pw32
*)
14695 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14696 # When not using gcc, we currently assume that we are using
14697 # Microsoft Visual C++.
14698 if test "$GCC" != yes; then
14703 # we just hope/assume this is gcc and not c89 (= MSVC++)
14712 if test "$with_gnu_ld" = yes; then
14713 # If archive_cmds runs LD, not CC, wlarc should be empty
14716 # Set some defaults for GNU ld with shared library support. These
14717 # are reset later if shared libraries are not supported. Putting them
14718 # here allows them to be overridden if necessary.
14719 runpath_var
=LD_RUN_PATH
14720 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14721 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14722 # ancient GNU ld didn't support --whole-archive et. al.
14723 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14724 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14726 whole_archive_flag_spec_F77
=
14728 supports_anon_versioning
=no
14729 case `$LD -v 2>/dev/null` in
14730 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14731 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14732 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14733 *\
2.11.
*) ;; # other 2.11 versions
14734 *) supports_anon_versioning
=yes ;;
14737 # See if GNU ld supports shared libraries.
14739 aix3
* | aix4
* | aix5
*)
14740 # On AIX/PPC, the GNU linker is very broken
14741 if test "$host_cpu" != ia64
; then
14745 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14746 *** to be unable to reliably create shared libraries on AIX.
14747 *** Therefore, libtool is disabling shared libraries support. If you
14748 *** really care for shared libraries, you may want to modify your PATH
14749 *** so that a non-GNU linker is found, and then restart.
14756 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)'
14757 hardcode_libdir_flag_spec_F77
='-L$libdir'
14758 hardcode_minus_L_F77
=yes
14760 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14761 # that the semantics of dynamic libraries on AmigaOS, at least up
14762 # to version 4, is to share data among multiple programs linked
14763 # with the same dynamic library. Since this doesn't match the
14764 # behavior of shared libraries on other platforms, we can't use
14770 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14771 allow_undefined_flag_F77
=unsupported
14772 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14773 # support --undefined. This deserves some investigation. FIXME
14774 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14780 cygwin
* | mingw
* | pw32
*)
14781 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14782 # as there is no search path for DLLs.
14783 hardcode_libdir_flag_spec_F77
='-L$libdir'
14784 allow_undefined_flag_F77
=unsupported
14785 always_export_symbols_F77
=no
14786 enable_shared_with_static_runtimes_F77
=yes
14787 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14789 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14790 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14791 # If the export-symbols file already is a .def file (1st line
14792 # is EXPORTS), use it as is; otherwise, prepend...
14793 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14794 cp $export_symbols $output_objdir/$soname.def;
14796 echo EXPORTS > $output_objdir/$soname.def;
14797 cat $export_symbols >> $output_objdir/$soname.def;
14799 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14806 hardcode_direct_F77
=no
14807 hardcode_shlibpath_var_F77
=no
14808 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14809 export_dynamic_flag_spec_F77
='${wl}-E'
14810 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14811 # Instead, shared libraries are loaded at an image base (0x10000000 by
14812 # default) and relocated if they conflict, which is a slow very memory
14813 # consuming and fragmenting process. To avoid this, we pick a random,
14814 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14815 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14816 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'
14817 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'
14821 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14823 case $cc_basename,$host_cpu in
14824 pgcc
*) # Portland Group C compiler
14825 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'
14826 tmp_addflag
=' $pic_flag'
14828 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14829 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'
14830 tmp_addflag
=' $pic_flag -Mnomain' ;;
14831 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14832 tmp_addflag
=' -i_dynamic' ;;
14833 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14834 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14835 ifc
* | ifort
*) # Intel Fortran compiler
14836 tmp_addflag
=' -nofor_main' ;;
14838 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14840 if test $supports_anon_versioning = yes; then
14841 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14843 $echo "local: *; };" >> $output_objdir/$libname.ver~
14844 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14852 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14853 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14856 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14857 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14862 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14867 *** create shared libraries on Solaris systems. Therefore, libtool
14868 *** is disabling shared libraries support. We urge you to upgrade GNU
14869 *** binutils to release 2.9.1 or newer. Another option is to modify
14870 *** your PATH or compiler configuration so that the native linker is
14871 *** used, and then restart.
14874 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14875 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14876 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14882 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14883 case `$LD -v 2>&1` in
14884 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14889 *** reliably create shared libraries on SCO systems. Therefore, libtool
14890 *** is disabling shared libraries support. We urge you to upgrade GNU
14891 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14892 *** your PATH or compiler configuration so that the native linker is
14893 *** used, and then restart.
14898 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14899 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14900 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14901 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14910 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14912 hardcode_direct_F77
=yes
14913 hardcode_shlibpath_var_F77
=no
14917 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14918 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14919 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14926 if test "$ld_shlibs_F77" = no
; then
14928 hardcode_libdir_flag_spec_F77
=
14929 export_dynamic_flag_spec_F77
=
14930 whole_archive_flag_spec_F77
=
14933 # PORTME fill in a description of your system's linker (not GNU ld)
14936 allow_undefined_flag_F77
=unsupported
14937 always_export_symbols_F77
=yes
14938 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'
14939 # Note: this linker hardcodes the directories in LIBPATH if there
14940 # are no directories specified by -L.
14941 hardcode_minus_L_F77
=yes
14942 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14943 # Neither direct hardcoding nor static linking is supported with a
14945 hardcode_direct_F77
=unsupported
14950 if test "$host_cpu" = ia64
; then
14951 # On IA64, the linker does run time linking by default, so we don't
14952 # have to do anything special.
14953 aix_use_runtimelinking
=no
14954 exp_sym_flag
='-Bexport'
14957 # If we're using GNU nm, then we don't want the "-C" option.
14958 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14959 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14960 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'
14962 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'
14964 aix_use_runtimelinking
=no
14966 # Test if we are trying to use run time linking or normal
14967 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14968 # need to do runtime linking.
14969 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14970 for ld_flag
in $LDFLAGS; do
14971 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14972 aix_use_runtimelinking
=yes
14979 exp_sym_flag
='-bexport'
14980 no_entry_flag
='-bnoentry'
14983 # When large executables or shared objects are built, AIX ld can
14984 # have problems creating the table of contents. If linking a library
14985 # or program results in "error TOC overflow" add -mminimal-toc to
14986 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14987 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14989 archive_cmds_F77
=''
14990 hardcode_direct_F77
=yes
14991 hardcode_libdir_separator_F77
=':'
14992 link_all_deplibs_F77
=yes
14994 if test "$GCC" = yes; then
14995 case $host_os in aix4.
[012]|aix4.
[012].
*)
14996 # We only want to do this on AIX 4.2 and lower, the check
14997 # below for broken collect2 doesn't work under 4.3+
14998 collect2name
=`${CC} -print-prog-name=collect2`
14999 if test -f "$collect2name" && \
15000 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15002 # We have reworked collect2
15003 hardcode_direct_F77
=yes
15005 # We have old collect2
15006 hardcode_direct_F77
=unsupported
15007 # It fails to find uninstalled libraries when the uninstalled
15008 # path is not listed in the libpath. Setting hardcode_minus_L
15009 # to unsupported forces relinking
15010 hardcode_minus_L_F77
=yes
15011 hardcode_libdir_flag_spec_F77
='-L$libdir'
15012 hardcode_libdir_separator_F77
=
15016 shared_flag
='-shared'
15017 if test "$aix_use_runtimelinking" = yes; then
15018 shared_flag
="$shared_flag "'${wl}-G'
15022 if test "$host_cpu" = ia64
; then
15023 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15024 # chokes on -Wl,-G. The following line is correct:
15027 if test "$aix_use_runtimelinking" = yes; then
15028 shared_flag
='${wl}-G'
15030 shared_flag
='${wl}-bM:SRE'
15035 # It seems that -bexpall does not export symbols beginning with
15036 # underscore (_), so it is better to generate a list of symbols to export.
15037 always_export_symbols_F77
=yes
15038 if test "$aix_use_runtimelinking" = yes; then
15039 # Warning - without using the other runtime loading flags (-brtl),
15040 # -berok will link without error, but may produce a broken library.
15041 allow_undefined_flag_F77
='-berok'
15042 # Determine the default libpath from the value encoded in an empty executable.
15043 cat >conftest.
$ac_ext <<_ACEOF
15048 rm -f conftest.
$ac_objext conftest
$ac_exeext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15050 (eval $ac_link) 2>conftest.er1
15052 grep -v '^ *+' conftest.er1
>conftest.err
15054 cat conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -z "$ac_f77_werror_flag"
15058 || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try
='test -s conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15071 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15073 # Check for a 64-bit object if we didn't find anything.
15074 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.
$ac_ext >&5
15081 rm -f conftest.err conftest.
$ac_objext \
15082 conftest
$ac_exeext conftest.
$ac_ext
15083 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15085 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15086 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"
15088 if test "$host_cpu" = ia64
; then
15089 hardcode_libdir_flag_spec_F77
='${wl}-R $libdir:/usr/lib:/lib'
15090 allow_undefined_flag_F77
="-z nodefs"
15091 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"
15093 # Determine the default libpath from the value encoded in an empty executable.
15094 cat >conftest.
$ac_ext <<_ACEOF
15099 rm -f conftest.
$ac_objext conftest
$ac_exeext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15101 (eval $ac_link) 2>conftest.er1
15103 grep -v '^ *+' conftest.er1
>conftest.err
15105 cat conftest.err
>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -z "$ac_f77_werror_flag"
15109 || test ! -s conftest.err'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; } &&
15115 { ac_try
='test -s conftest$ac_exeext'
15116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15117 (eval $ac_try) 2>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); }; }; then
15122 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15124 # Check for a 64-bit object if we didn't find anything.
15125 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.
$ac_ext >&5
15132 rm -f conftest.err conftest.
$ac_objext \
15133 conftest
$ac_exeext conftest.
$ac_ext
15134 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15136 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15137 # Warning - without using the other run time loading flags,
15138 # -berok will link without error, but may produce a broken library.
15139 no_undefined_flag_F77
=' ${wl}-bernotok'
15140 allow_undefined_flag_F77
=' ${wl}-berok'
15141 # Exported symbols can be pulled into shared objects from archives
15142 whole_archive_flag_spec_F77
='$convenience'
15143 archive_cmds_need_lc_F77
=yes
15144 # This is similar to how AIX traditionally builds its shared libraries.
15145 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'
15151 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)'
15152 hardcode_libdir_flag_spec_F77
='-L$libdir'
15153 hardcode_minus_L_F77
=yes
15154 # see comment about different semantics on the GNU ld section
15159 export_dynamic_flag_spec_F77
=-rdynamic
15162 cygwin
* | mingw
* | pw32
*)
15163 # When not using gcc, we currently assume that we are using
15164 # Microsoft Visual C++.
15165 # hardcode_libdir_flag_spec is actually meaningless, as there is
15166 # no search path for DLLs.
15167 hardcode_libdir_flag_spec_F77
=' '
15168 allow_undefined_flag_F77
=unsupported
15169 # Tell ltmain to make .lib files, not .a files.
15171 # Tell ltmain to make .dll files, not .so files.
15173 # FIXME: Setting linknames here is a bad hack.
15174 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15175 # The linker will automatically build a .lib file if we build a DLL.
15176 old_archive_From_new_cmds_F77
='true'
15177 # FIXME: Should let the user specify the lib program.
15178 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15179 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15180 enable_shared_with_static_runtimes_F77
=yes
15183 darwin
* | rhapsody
*)
15185 rhapsody
* | darwin1.
[012])
15186 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15189 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15190 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15192 case ${MACOSX_DEPLOYMENT_TARGET} in
15194 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15197 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15203 archive_cmds_need_lc_F77
=no
15204 hardcode_direct_F77
=no
15205 hardcode_automatic_F77
=yes
15206 hardcode_shlibpath_var_F77
=unsupported
15207 whole_archive_flag_spec_F77
=''
15208 link_all_deplibs_F77
=yes
15209 if test "$GCC" = yes ; then
15210 output_verbose_link_cmd
='echo'
15211 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15212 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15213 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15214 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}'
15215 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}'
15217 case $cc_basename in
15219 output_verbose_link_cmd
='echo'
15220 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15221 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15222 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15223 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15224 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}'
15234 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15235 hardcode_libdir_flag_spec_F77
='-L$libdir'
15236 hardcode_shlibpath_var_F77
=no
15243 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15244 # support. Future versions do this automatically, but an explicit c++rt0.o
15245 # does not break anything, and helps significantly (at the cost of a little
15248 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15249 hardcode_libdir_flag_spec_F77
='-R$libdir'
15250 hardcode_direct_F77
=yes
15251 hardcode_shlibpath_var_F77
=no
15254 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15256 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15257 hardcode_direct_F77
=yes
15258 hardcode_minus_L_F77
=yes
15259 hardcode_shlibpath_var_F77
=no
15262 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15263 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15264 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15265 hardcode_libdir_flag_spec_F77
='-R$libdir'
15266 hardcode_direct_F77
=yes
15267 hardcode_shlibpath_var_F77
=no
15271 if test "$GCC" = yes; then
15272 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'
15274 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'
15276 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15277 hardcode_libdir_separator_F77
=:
15278 hardcode_direct_F77
=yes
15280 # hardcode_minus_L: Not really in the search PATH,
15281 # but as the default location of the library.
15282 hardcode_minus_L_F77
=yes
15283 export_dynamic_flag_spec_F77
='${wl}-E'
15287 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15288 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15290 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15292 if test "$with_gnu_ld" = no
; then
15293 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15294 hardcode_libdir_separator_F77
=:
15296 hardcode_direct_F77
=yes
15297 export_dynamic_flag_spec_F77
='${wl}-E'
15299 # hardcode_minus_L: Not really in the search PATH,
15300 # but as the default location of the library.
15301 hardcode_minus_L_F77
=yes
15306 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15309 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15312 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15315 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15324 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15327 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15331 if test "$with_gnu_ld" = no
; then
15332 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15333 hardcode_libdir_separator_F77
=:
15337 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15338 hardcode_direct_F77
=no
15339 hardcode_shlibpath_var_F77
=no
15342 hardcode_direct_F77
=yes
15343 export_dynamic_flag_spec_F77
='${wl}-E'
15345 # hardcode_minus_L: Not really in the search PATH,
15346 # but as the default location of the library.
15347 hardcode_minus_L_F77
=yes
15353 irix5
* | irix6
* | nonstopux
*)
15354 if test "$GCC" = yes; then
15355 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'
15357 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'
15358 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15360 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15361 hardcode_libdir_separator_F77
=:
15362 link_all_deplibs_F77
=yes
15366 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15367 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15369 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15371 hardcode_libdir_flag_spec_F77
='-R$libdir'
15372 hardcode_direct_F77
=yes
15373 hardcode_shlibpath_var_F77
=no
15377 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15378 hardcode_direct_F77
=yes
15379 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15380 hardcode_libdir_separator_F77
=:
15381 hardcode_shlibpath_var_F77
=no
15385 hardcode_direct_F77
=yes
15386 hardcode_shlibpath_var_F77
=no
15387 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15388 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15389 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15390 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15391 export_dynamic_flag_spec_F77
='${wl}-E'
15394 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15395 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15396 hardcode_libdir_flag_spec_F77
='-R$libdir'
15399 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15400 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15407 hardcode_libdir_flag_spec_F77
='-L$libdir'
15408 hardcode_minus_L_F77
=yes
15409 allow_undefined_flag_F77
=unsupported
15410 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'
15411 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15415 if test "$GCC" = yes; then
15416 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15417 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'
15419 allow_undefined_flag_F77
=' -expect_unresolved \*'
15420 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'
15422 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15423 hardcode_libdir_separator_F77
=:
15426 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15427 if test "$GCC" = yes; then
15428 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15429 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'
15430 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15432 allow_undefined_flag_F77
=' -expect_unresolved \*'
15433 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'
15434 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~
15435 $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'
15437 # Both c and cxx compiler support -rpath directly
15438 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15440 hardcode_libdir_separator_F77
=:
15444 no_undefined_flag_F77
=' -z text'
15445 if test "$GCC" = yes; then
15447 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15448 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15449 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15452 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15453 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15454 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15456 hardcode_libdir_flag_spec_F77
='-R$libdir'
15457 hardcode_shlibpath_var_F77
=no
15459 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15461 # The compiler driver will combine linker options so we
15462 # cannot just pass the convience library names through
15463 # without $wl, iff we do not link with $LD.
15464 # Luckily, gcc supports the same syntax we need for Sun Studio.
15465 # Supported since Solaris 2.6 (maybe 2.5.1?)
15468 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15470 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15473 link_all_deplibs_F77
=yes
15477 if test "x$host_vendor" = xsequent
; then
15478 # Use $CC to link under sequent, because it throws in some extra .o
15479 # files that make .init and .fini sections work.
15480 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15482 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15484 hardcode_libdir_flag_spec_F77
='-L$libdir'
15485 hardcode_direct_F77
=yes
15486 hardcode_minus_L_F77
=yes
15487 hardcode_shlibpath_var_F77
=no
15491 case $host_vendor in
15493 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15494 hardcode_direct_F77
=yes # is this really true???
15497 ## LD is ld it makes a PLAMLIB
15498 ## CC just makes a GrossModule.
15499 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15500 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15501 hardcode_direct_F77
=no
15504 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15505 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15508 runpath_var
='LD_RUN_PATH'
15509 hardcode_shlibpath_var_F77
=no
15513 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15514 hardcode_shlibpath_var_F77
=no
15515 export_dynamic_flag_spec_F77
='-Bexport'
15519 if test -d /usr
/nec
; then
15520 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15521 hardcode_shlibpath_var_F77
=no
15522 runpath_var
=LD_RUN_PATH
15523 hardcode_runpath_var
=yes
15528 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15529 no_undefined_flag_F77
='${wl}-z,text'
15530 archive_cmds_need_lc_F77
=no
15531 hardcode_shlibpath_var_F77
=no
15532 runpath_var
='LD_RUN_PATH'
15534 if test "$GCC" = yes; then
15535 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15536 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15538 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15539 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15543 sysv5
* | sco3.2v5
* | sco5v6
*)
15544 # Note: We can NOT use -z defs as we might desire, because we do not
15545 # link with -lc, and that would cause any symbols used from libc to
15546 # always be unresolved, which means just about no library would
15547 # ever link correctly. If we're not using GNU ld we use -z text
15548 # though, which does catch some bad symbols but isn't as heavy-handed
15550 no_undefined_flag_F77
='${wl}-z,text'
15551 allow_undefined_flag_F77
='${wl}-z,nodefs'
15552 archive_cmds_need_lc_F77
=no
15553 hardcode_shlibpath_var_F77
=no
15554 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15555 hardcode_libdir_separator_F77
=':'
15556 link_all_deplibs_F77
=yes
15557 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15558 runpath_var
='LD_RUN_PATH'
15560 if test "$GCC" = yes; then
15561 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15562 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15564 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15565 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15570 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15571 hardcode_libdir_flag_spec_F77
='-L$libdir'
15572 hardcode_shlibpath_var_F77
=no
15581 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15582 echo "${ECHO_T}$ld_shlibs_F77" >&6
15583 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15586 # Do we need to explicitly link libc?
15588 case "x$archive_cmds_need_lc_F77" in
15590 # Assume -lc should be added
15591 archive_cmds_need_lc_F77
=yes
15593 if test "$enable_shared" = yes && test "$GCC" = yes; then
15594 case $archive_cmds_F77 in
15596 # FIXME: we may have to deal with multi-command sequences.
15599 # Test whether the compiler implicitly links with -lc since on some
15600 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15601 # to ld, don't add -lc before -lgcc.
15602 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15603 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15605 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15608 (eval $ac_compile) 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } 2>conftest.err
; then
15614 libobjs
=conftest.
$ac_objext
15616 wl
=$lt_prog_compiler_wl_F77
15617 pic_flag
=$lt_prog_compiler_pic_F77
15623 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15624 allow_undefined_flag_F77
=
15625 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15626 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }
15631 archive_cmds_need_lc_F77
=no
15633 archive_cmds_need_lc_F77
=yes
15635 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15637 cat conftest.err
1>&5
15640 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15641 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15648 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15649 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15650 library_names_spec
=
15651 libname_spec
='lib$name'
15655 postuninstall_cmds
=
15659 shlibpath_overrides_runpath
=unknown
15661 dynamic_linker
="$host_os ld.so"
15662 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15663 if test "$GCC" = yes; then
15664 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15665 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15666 # if the path contains ";" then we assume it to be the separator
15667 # otherwise default to the standard path separator (i.e. ":") - it is
15668 # assumed that no part of a normal pathname contains ";" but that should
15669 # okay in the real world where ";" in dirpaths is itself problematic.
15670 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15672 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15675 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15677 need_lib_prefix
=unknown
15678 hardcode_into_libs
=no
15680 # when you set need_version to no, make sure it does not cause -set_version
15681 # flags to be left without arguments
15682 need_version
=unknown
15687 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15688 shlibpath_var
=LIBPATH
15690 # AIX 3 has no versioning support, so we append a major version to the name.
15691 soname_spec
='${libname}${release}${shared_ext}$major'
15698 hardcode_into_libs
=yes
15699 if test "$host_cpu" = ia64
; then
15700 # AIX 5 supports IA64
15701 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15702 shlibpath_var
=LD_LIBRARY_PATH
15704 # With GCC up to 2.95.x, collect2 would create an import file
15705 # for dependence libraries. The import file would start with
15706 # the line `#! .'. This would cause the generated library to
15707 # depend on `.', always an invalid library. This was fixed in
15708 # development snapshots of GCC prior to 3.0.
15710 aix4 | aix4.
[01] | aix4.
[01].
*)
15711 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15713 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15716 can_build_shared
=no
15720 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15721 # soname into executable. Probably we can add versioning support to
15722 # collect2, so additional links can be useful in future.
15723 if test "$aix_use_runtimelinking" = yes; then
15724 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15725 # instead of lib<name>.a to let people know that these are not
15726 # typical AIX shared libraries.
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15729 # We preserve .a as extension for shared libraries through AIX4.2
15730 # and later when we are not doing run time linking.
15731 library_names_spec
='${libname}${release}.a $libname.a'
15732 soname_spec
='${libname}${release}${shared_ext}$major'
15734 shlibpath_var
=LIBPATH
15739 library_names_spec
='$libname.ixlibrary $libname.a'
15740 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15741 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'
15745 library_names_spec
='${libname}${shared_ext}'
15746 dynamic_linker
="$host_os ld.so"
15747 shlibpath_var
=LIBRARY_PATH
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15755 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15756 shlibpath_var
=LD_LIBRARY_PATH
15757 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15758 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15759 # the default ld.so.conf also contains /usr/contrib/lib and
15760 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15761 # libtool to hard-code these into programs
15764 cygwin
* | mingw
* | pw32
*)
15765 version_type
=windows
15770 case $GCC,$host_os in
15771 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15772 library_names_spec
='$libname.dll.a'
15773 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15774 postinstall_cmds
='base_file=`basename \${file}`~
15775 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15776 dldir=$destdir/`dirname \$dlpath`~
15777 test -d \$dldir || mkdir -p \$dldir~
15778 $install_prog $dir/$dlname \$dldir/$dlname~
15779 chmod a+x \$dldir/$dlname'
15780 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15781 dlpath=$dir/\$dldll~
15783 shlibpath_overrides_runpath
=yes
15787 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15788 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15789 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15792 # MinGW DLLs use traditional 'lib' prefix
15793 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15794 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15795 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15796 # It is most probably a Windows format PATH printed by
15797 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15798 # path with ; separators, and with drive letters. We can handle the
15799 # drive letters (cygwin fileutils understands them), so leave them,
15800 # especially as we might pass files found there to a mingw objdump,
15801 # which wouldn't understand a cygwinified path. Ahh.
15802 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15804 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15808 # pw32 DLLs use 'pw' prefix rather than 'lib'
15809 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15815 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15818 dynamic_linker
='Win32 ld.exe'
15819 # FIXME: first we should search . and the directory the executable is in
15823 darwin
* | rhapsody
*)
15824 dynamic_linker
="$host_os dyld"
15825 version_type
=darwin
15828 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15829 soname_spec
='${libname}${release}${major}$shared_ext'
15830 shlibpath_overrides_runpath
=yes
15831 shlibpath_var
=DYLD_LIBRARY_PATH
15832 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15833 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15834 if test "$GCC" = yes; then
15835 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15837 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15839 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15847 soname_spec
='${libname}${release}${shared_ext}$major'
15848 shlibpath_var
=LD_LIBRARY_PATH
15859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15860 soname_spec
='${libname}${release}${shared_ext}$major'
15861 shlibpath_var
=LD_LIBRARY_PATH
15862 shlibpath_overrides_runpath
=no
15863 hardcode_into_libs
=yes
15864 dynamic_linker
='GNU ld.so'
15867 freebsd
* | dragonfly
*)
15868 # DragonFly does not have aout. When/if they implement a new
15869 # versioning mechanism, adjust this.
15870 if test -x /usr
/bin
/objformat
; then
15871 objformat
=`/usr/bin/objformat`
15874 freebsd
[123]*) objformat
=aout
;;
15875 *) objformat
=elf
;;
15878 version_type
=freebsd-
$objformat
15879 case $version_type in
15881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15890 shlibpath_var
=LD_LIBRARY_PATH
15893 shlibpath_overrides_runpath
=yes
15895 freebsd3.
[01]* | freebsdelf3.
[01]*)
15896 shlibpath_overrides_runpath
=yes
15897 hardcode_into_libs
=yes
15899 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15900 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15901 shlibpath_overrides_runpath
=no
15902 hardcode_into_libs
=yes
15904 freebsd
*) # from 4.6 on
15905 shlibpath_overrides_runpath
=yes
15906 hardcode_into_libs
=yes
15915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15916 soname_spec
='${libname}${release}${shared_ext}$major'
15917 shlibpath_var
=LD_LIBRARY_PATH
15918 hardcode_into_libs
=yes
15921 hpux9
* | hpux10
* | hpux11
*)
15922 # Give a soname corresponding to the major version so that dld.sl refuses to
15923 # link against other versions.
15930 hardcode_into_libs
=yes
15931 dynamic_linker
="$host_os dld.so"
15932 shlibpath_var
=LD_LIBRARY_PATH
15933 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15935 soname_spec
='${libname}${release}${shared_ext}$major'
15936 if test "X$HPUX_IA64_MODE" = X32
; then
15937 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15939 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15941 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15945 hardcode_into_libs
=yes
15946 dynamic_linker
="$host_os dld.sl"
15947 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15948 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15950 soname_spec
='${libname}${release}${shared_ext}$major'
15951 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15952 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15956 dynamic_linker
="$host_os dld.sl"
15957 shlibpath_var
=SHLIB_PATH
15958 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15960 soname_spec
='${libname}${release}${shared_ext}$major'
15963 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15964 postinstall_cmds
='chmod 555 $lib'
15971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15972 soname_spec
='${libname}${release}${shared_ext}$major'
15973 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15974 shlibpath_var
=LD_LIBRARY_PATH
15975 shlibpath_overrides_runpath
=no
15976 hardcode_into_libs
=yes
15979 irix5
* | irix6
* | nonstopux
*)
15981 nonstopux
*) version_type
=nonstopux
;;
15983 if test "$lt_cv_prog_gnu_ld" = yes; then
15991 soname_spec
='${libname}${release}${shared_ext}$major'
15992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15994 irix5
* | nonstopux
*)
15995 libsuff
= shlibsuff
=
15998 case $LD in # libtool.m4 will add one of these switches to LD
15999 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16000 libsuff
= shlibsuff
= libmagic
=32-bit;;
16001 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16002 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16003 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16004 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16005 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16009 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16010 shlibpath_overrides_runpath
=no
16011 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16012 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16013 hardcode_into_libs
=yes
16016 # No shared lib support for Linux oldld, aout, or coff.
16017 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16021 # This must be Linux ELF.
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16027 soname_spec
='${libname}${release}${shared_ext}$major'
16028 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16029 shlibpath_var
=LD_LIBRARY_PATH
16030 shlibpath_overrides_runpath
=no
16031 # This implies no fast_install, which is unacceptable.
16032 # Some rework will be needed to allow for fast_install
16033 # before this can be enabled.
16034 hardcode_into_libs
=yes
16036 # find out which ABI we are using
16038 case "$host_cpu" in
16039 x86_64
*|s390x
*|powerpc64
*)
16040 echo '#line 16040 "configure"' > conftest.
$ac_ext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; then
16046 case `/usr/bin/file conftest.$ac_objext` in
16049 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
16057 # Append ld.so.conf contents to the search path
16058 if test -f /etc
/ld.so.conf
; then
16059 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16060 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
16063 # We used to test for /lib/ld.so.1 and disable shared libraries on
16064 # powerpc, because MkLinux only supported shared libraries with the
16065 # GNU dynamic linker. Since this was broken with cross compilers,
16066 # most powerpc-linux boxes support dynamic linking these days and
16067 # people can always --disable-shared, the test was removed, and we
16068 # assume the GNU/Linux dynamic linker is in use.
16069 dynamic_linker
='GNU/Linux ld.so'
16076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16077 soname_spec
='${libname}${release}${shared_ext}$major'
16078 shlibpath_var
=LD_LIBRARY_PATH
16079 shlibpath_overrides_runpath
=no
16080 hardcode_into_libs
=yes
16081 dynamic_linker
='GNU ld.so'
16088 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16090 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16091 dynamic_linker
='NetBSD (a.out) ld.so'
16093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16094 soname_spec
='${libname}${release}${shared_ext}$major'
16095 dynamic_linker
='NetBSD ld.elf_so'
16097 shlibpath_var
=LD_LIBRARY_PATH
16098 shlibpath_overrides_runpath
=yes
16099 hardcode_into_libs
=yes
16104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16105 shlibpath_var
=LD_LIBRARY_PATH
16106 shlibpath_overrides_runpath
=yes
16113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16114 soname_spec
='${libname}${release}${shared_ext}$major'
16115 shlibpath_var
=LD_LIBRARY_PATH
16116 shlibpath_overrides_runpath
=yes
16121 sys_lib_dlsearch_path_spec
="/usr/lib"
16123 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16125 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16126 *) need_version
=no
;;
16128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16129 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16130 shlibpath_var
=LD_LIBRARY_PATH
16131 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16133 openbsd2.
[89] | openbsd2.
[89].
*)
16134 shlibpath_overrides_runpath
=no
16137 shlibpath_overrides_runpath
=yes
16141 shlibpath_overrides_runpath
=yes
16146 libname_spec
='$name'
16149 library_names_spec
='$libname${shared_ext} $libname.a'
16150 dynamic_linker
='OS/2 ld.exe'
16151 shlibpath_var
=LIBPATH
16154 osf3
* | osf4
* | osf5
*)
16158 soname_spec
='${libname}${release}${shared_ext}$major'
16159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16160 shlibpath_var
=LD_LIBRARY_PATH
16161 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16162 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16170 soname_spec
='${libname}${release}${shared_ext}$major'
16171 shlibpath_var
=LD_LIBRARY_PATH
16172 shlibpath_overrides_runpath
=yes
16173 hardcode_into_libs
=yes
16174 # ldd complains unless libraries are executable
16175 postinstall_cmds
='chmod +x $lib'
16180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16181 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16182 shlibpath_var
=LD_LIBRARY_PATH
16183 shlibpath_overrides_runpath
=yes
16184 if test "$with_gnu_ld" = yes; then
16192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16193 soname_spec
='${libname}${release}${shared_ext}$major'
16194 shlibpath_var
=LD_LIBRARY_PATH
16195 case $host_vendor in
16197 shlibpath_overrides_runpath
=no
16199 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16200 runpath_var
=LD_RUN_PATH
16208 shlibpath_overrides_runpath
=no
16209 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16215 if test -d /usr
/nec
;then
16217 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16218 soname_spec
='$libname${shared_ext}.$major'
16219 shlibpath_var
=LD_LIBRARY_PATH
16223 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16224 version_type
=freebsd-elf
16227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16228 soname_spec
='${libname}${release}${shared_ext}$major'
16229 shlibpath_var
=LD_LIBRARY_PATH
16230 hardcode_into_libs
=yes
16231 if test "$with_gnu_ld" = yes; then
16232 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16233 shlibpath_overrides_runpath
=no
16235 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16236 shlibpath_overrides_runpath
=yes
16239 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16243 sys_lib_dlsearch_path_spec
='/usr/lib'
16248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16249 soname_spec
='${libname}${release}${shared_ext}$major'
16250 shlibpath_var
=LD_LIBRARY_PATH
16257 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16258 echo "${ECHO_T}$dynamic_linker" >&6
16259 test "$dynamic_linker" = no
&& can_build_shared
=no
16261 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16262 if test "$GCC" = yes; then
16263 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16266 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16267 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16268 hardcode_action_F77
=
16269 if test -n "$hardcode_libdir_flag_spec_F77" || \
16270 test -n "$runpath_var_F77" || \
16271 test "X$hardcode_automatic_F77" = "Xyes" ; then
16273 # We can hardcode non-existant directories.
16274 if test "$hardcode_direct_F77" != no
&&
16275 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16276 # have to relink, otherwise we might link with an installed library
16277 # when we should be linking with a yet-to-be-installed one
16278 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16279 test "$hardcode_minus_L_F77" != no
; then
16280 # Linking always hardcodes the temporary library directory.
16281 hardcode_action_F77
=relink
16283 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16284 hardcode_action_F77
=immediate
16287 # We cannot hardcode anything, or else we can only hardcode existing
16289 hardcode_action_F77
=unsupported
16291 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16292 echo "${ECHO_T}$hardcode_action_F77" >&6
16294 if test "$hardcode_action_F77" = relink
; then
16295 # Fast installation is not supported
16296 enable_fast_install
=no
16297 elif test "$shlibpath_overrides_runpath" = yes ||
16298 test "$enable_shared" = no
; then
16299 # Fast installation is not necessary
16300 enable_fast_install
=needless
16304 # The else clause should only fire when bootstrapping the
16305 # libtool distribution, otherwise you forgot to ship ltmain.sh
16306 # with your package, and you will get complaints that there are
16307 # no rules to generate ltmain.sh.
16308 if test -f "$ltmain"; then
16309 # See if we are running on zsh, and set the options which allow our commands through
16310 # without removal of \ escapes.
16311 if test -n "${ZSH_VERSION+set}" ; then
16312 setopt NO_GLOB_SUBST
16314 # Now quote all the things that may contain metacharacters while being
16315 # careful not to overquote the AC_SUBSTed values. We take copies of the
16316 # variables and quote the copies for generation of the libtool script.
16317 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16319 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16320 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16321 deplibs_check_method reload_flag reload_cmds need_locks \
16322 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16323 lt_cv_sys_global_symbol_to_c_name_address \
16324 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16325 old_postinstall_cmds old_postuninstall_cmds \
16329 lt_prog_compiler_wl_F77 \
16330 lt_prog_compiler_pic_F77 \
16331 lt_prog_compiler_static_F77 \
16332 lt_prog_compiler_no_builtin_flag_F77 \
16333 export_dynamic_flag_spec_F77 \
16334 thread_safe_flag_spec_F77 \
16335 whole_archive_flag_spec_F77 \
16336 enable_shared_with_static_runtimes_F77 \
16337 old_archive_cmds_F77 \
16338 old_archive_from_new_cmds_F77 \
16339 predep_objects_F77 \
16340 postdep_objects_F77 \
16343 compiler_lib_search_path_F77 \
16345 archive_expsym_cmds_F77 \
16346 postinstall_cmds_F77 \
16347 postuninstall_cmds_F77 \
16348 old_archive_from_expsyms_cmds_F77 \
16349 allow_undefined_flag_F77 \
16350 no_undefined_flag_F77 \
16351 export_symbols_cmds_F77 \
16352 hardcode_libdir_flag_spec_F77 \
16353 hardcode_libdir_flag_spec_ld_F77 \
16354 hardcode_libdir_separator_F77 \
16355 hardcode_automatic_F77 \
16357 module_expsym_cmds_F77 \
16358 lt_cv_prog_compiler_c_o_F77 \
16359 exclude_expsyms_F77 \
16360 include_expsyms_F77
; do
16363 old_archive_cmds_F77 | \
16364 old_archive_from_new_cmds_F77 | \
16365 archive_cmds_F77 | \
16366 archive_expsym_cmds_F77 | \
16367 module_cmds_F77 | \
16368 module_expsym_cmds_F77 | \
16369 old_archive_from_expsyms_cmds_F77 | \
16370 export_symbols_cmds_F77 | \
16371 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16372 postinstall_cmds | postuninstall_cmds | \
16373 old_postinstall_cmds | old_postuninstall_cmds | \
16374 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16375 # Double-quote double-evaled strings.
16376 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16379 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16385 *'\$0 --fallback-echo"')
16386 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16392 cat <<__EOF__ >> "$cfgfile"
16393 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16395 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16397 # Shell to use when invoking shell scripts.
16400 # Whether or not to build shared libraries.
16401 build_libtool_libs=$enable_shared
16403 # Whether or not to build static libraries.
16404 build_old_libs=$enable_static
16406 # Whether or not to add -lc for building shared libraries.
16407 build_libtool_need_lc=$archive_cmds_need_lc_F77
16409 # Whether or not to disallow shared libs when runtime libs are static
16410 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16412 # Whether or not to optimize for fast installation.
16413 fast_install=$enable_fast_install
16416 host_alias=$host_alias
16420 # The build system.
16421 build_alias=$build_alias
16425 # An echo program that does not interpret backslashes.
16430 AR_FLAGS=$lt_AR_FLAGS
16435 # LTCC compiler flags.
16436 LTCFLAGS=$lt_LTCFLAGS
16438 # A language-specific compiler.
16439 CC=$lt_compiler_F77
16441 # Is the compiler the GNU C compiler?
16444 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
16445 gcc_ver=\`gcc -dumpversion\`
16450 # The linker used to build libraries.
16453 # Whether we need hard or soft links.
16456 # A BSD-compatible nm program.
16459 # A symbol stripping program
16462 # Used to examine libraries when file_magic_cmd begins "file"
16463 MAGIC_CMD=$MAGIC_CMD
16465 # Used on cygwin: DLL creation program.
16468 # Used on cygwin: object dumper.
16471 # Used on cygwin: assembler.
16474 # The name of the directory that contains temporary libtool files.
16477 # How to create reloadable object files.
16478 reload_flag=$lt_reload_flag
16479 reload_cmds=$lt_reload_cmds
16481 # How to pass a linker flag through the compiler.
16482 wl=$lt_lt_prog_compiler_wl_F77
16484 # Object file suffix (normally "o").
16485 objext="$ac_objext"
16487 # Old archive suffix (normally "a").
16490 # Shared library suffix (normally ".so").
16491 shrext_cmds='$shrext_cmds'
16493 # Executable file suffix (normally "").
16496 # Additional compiler flags for building library objects.
16497 pic_flag=$lt_lt_prog_compiler_pic_F77
16500 # What is the maximum length of a command?
16501 max_cmd_len=$lt_cv_sys_max_cmd_len
16503 # Does compiler simultaneously support -c and -o options?
16504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16506 # Must we lock files when doing compilation?
16507 need_locks=$lt_need_locks
16509 # Do we need the lib prefix for modules?
16510 need_lib_prefix=$need_lib_prefix
16512 # Do we need a version for libraries?
16513 need_version=$need_version
16515 # Whether dlopen is supported.
16516 dlopen_support=$enable_dlopen
16518 # Whether dlopen of programs is supported.
16519 dlopen_self=$enable_dlopen_self
16521 # Whether dlopen of statically linked programs is supported.
16522 dlopen_self_static=$enable_dlopen_self_static
16524 # Compiler flag to prevent dynamic linking.
16525 link_static_flag=$lt_lt_prog_compiler_static_F77
16527 # Compiler flag to turn off builtin functions.
16528 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16530 # Compiler flag to allow reflexive dlopens.
16531 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16533 # Compiler flag to generate shared objects directly from archives.
16534 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16536 # Compiler flag to generate thread-safe objects.
16537 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16539 # Library versioning type.
16540 version_type=$version_type
16542 # Format of library name prefix.
16543 libname_spec=$lt_libname_spec
16545 # List of archive names. First name is the real one, the rest are links.
16546 # The last name is the one that the linker finds with -lNAME.
16547 library_names_spec=$lt_library_names_spec
16549 # The coded name of the library, if different from the real name.
16550 soname_spec=$lt_soname_spec
16552 # Commands used to build and install an old-style archive.
16554 old_archive_cmds=$lt_old_archive_cmds_F77
16555 old_postinstall_cmds=$lt_old_postinstall_cmds
16556 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16558 # Create an old-style archive from a shared archive.
16559 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16561 # Create a temporary old-style archive to link instead of a shared archive.
16562 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16564 # Commands used to build and install a shared archive.
16565 archive_cmds=$lt_archive_cmds_F77
16566 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16567 postinstall_cmds=$lt_postinstall_cmds
16568 postuninstall_cmds=$lt_postuninstall_cmds
16570 # Commands used to build a loadable module (assumed same as above if empty)
16571 module_cmds=$lt_module_cmds_F77
16572 module_expsym_cmds=$lt_module_expsym_cmds_F77
16574 # Commands to strip libraries.
16575 old_striplib=$lt_old_striplib
16576 striplib=$lt_striplib
16578 # Dependencies to place before the objects being linked to create a
16580 predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16582 # Dependencies to place after the objects being linked to create a
16584 postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16586 # Dependencies to place before the objects being linked to create a
16588 predeps=$lt_predeps_F77
16590 # Dependencies to place after the objects being linked to create a
16592 postdeps=$lt_postdeps_F77
16594 # The library search path used internally by the compiler when linking
16595 # a shared library.
16596 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16598 # Method to check whether dependent libraries are shared objects.
16599 deplibs_check_method=$lt_deplibs_check_method
16601 # Command to use when deplibs_check_method == file_magic.
16602 file_magic_cmd=$lt_file_magic_cmd
16604 # Flag that allows shared libraries with undefined symbols to be built.
16605 allow_undefined_flag=$lt_allow_undefined_flag_F77
16607 # Flag that forces no undefined symbols.
16608 no_undefined_flag=$lt_no_undefined_flag_F77
16610 # Commands used to finish a libtool library installation in a directory.
16611 finish_cmds=$lt_finish_cmds
16613 # Same as above, but a single script fragment to be evaled but not shown.
16614 finish_eval=$lt_finish_eval
16616 # Take the output of nm and produce a listing of raw symbols and C names.
16617 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16619 # Transform the output of nm in a proper C declaration
16620 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16622 # Transform the output of nm in a C name address pair
16623 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16625 # This is the shared library runtime path variable.
16626 runpath_var=$runpath_var
16628 # This is the shared library path variable.
16629 shlibpath_var=$shlibpath_var
16631 # Is shlibpath searched before the hard-coded library search path?
16632 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16634 # How to hardcode a shared library path into an executable.
16635 hardcode_action=$hardcode_action_F77
16637 # Whether we should hardcode library paths into libraries.
16638 hardcode_into_libs=$hardcode_into_libs
16640 # Flag to hardcode \$libdir into a binary during linking.
16641 # This must work even if \$libdir does not exist.
16642 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16644 # If ld is used when linking, flag to hardcode \$libdir into
16645 # a binary during linking. This must work even if \$libdir does
16647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16649 # Whether we need a single -rpath flag with a separated argument.
16650 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16652 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16653 # resulting binary.
16654 hardcode_direct=$hardcode_direct_F77
16656 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16657 # resulting binary.
16658 hardcode_minus_L=$hardcode_minus_L_F77
16660 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16661 # the resulting binary.
16662 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16664 # Set to yes if building a shared library automatically hardcodes DIR into the library
16665 # and all subsequent libraries and executables linked against it.
16666 hardcode_automatic=$hardcode_automatic_F77
16668 # Variables whose values should be saved in libtool wrapper scripts and
16669 # restored at relink time.
16670 variables_saved_for_relink="$variables_saved_for_relink"
16672 # Whether libtool must link a program against all its dependency libraries.
16673 link_all_deplibs=$link_all_deplibs_F77
16675 # Compile-time system search path for libraries
16676 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16678 # Run-time system search path for libraries
16679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16681 # Fix the shell variable \$srcfile for the compiler.
16682 fix_srcfile_path="$fix_srcfile_path_F77"
16684 # Set to yes if exported symbols are required.
16685 always_export_symbols=$always_export_symbols_F77
16687 # The commands to list exported symbols.
16688 export_symbols_cmds=$lt_export_symbols_cmds_F77
16690 # The commands to extract the exported symbol list from a shared archive.
16691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16693 # Symbols that should not be listed in the preloaded symbols.
16694 exclude_expsyms=$lt_exclude_expsyms_F77
16696 # Symbols that must always be exported.
16697 include_expsyms=$lt_include_expsyms_F77
16699 # ### END LIBTOOL TAG CONFIG: $tagname
16705 # If there is no Makefile yet, we rely on a make rule to execute
16706 # `config.status --recheck' to rerun these tests and create the
16707 # libtool script then.
16708 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16709 if test -f "$ltmain_in"; then
16710 test -f Makefile
&& make "$ltmain"
16716 ac_cpp
='$CPP $CPPFLAGS'
16717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16729 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16733 # Source file extension for Java test sources.
16736 # Object file extension for compiled Java test sources.
16740 # Code to be used in simple compile tests
16741 lt_simple_compile_test_code
="class foo {}\n"
16743 # Code to be used in simple link tests
16744 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16746 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16748 # If no C compiler was specified, use CC.
16751 # If no C compiler flags were specified, use CFLAGS.
16752 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16754 # Allow CC to be a program name with arguments.
16758 # save warnings/boilerplate of simple test code
16759 ac_outfile
=conftest.
$ac_objext
16760 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16761 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16762 _lt_compiler_boilerplate
=`cat conftest.err`
16765 ac_outfile
=conftest.
$ac_objext
16766 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16767 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16768 _lt_linker_boilerplate
=`cat conftest.err`
16772 # Allow CC to be a program name with arguments.
16777 for cc_temp
in $compiler""; do
16779 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16780 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16785 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16788 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16789 archive_cmds_need_lc_GCJ
=no
16791 old_archive_cmds_GCJ
=$old_archive_cmds
16794 lt_prog_compiler_no_builtin_flag_GCJ
=
16796 if test "$GCC" = yes; then
16797 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16800 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16801 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16802 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16803 echo $ECHO_N "(cached) $ECHO_C" >&6
16805 lt_cv_prog_compiler_rtti_exceptions
=no
16806 ac_outfile
=conftest.
$ac_objext
16807 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16808 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16809 # Insert the option either (1) after the last *FLAGS variable, or
16810 # (2) before a word containing "conftest.", or (3) at the end.
16811 # Note that $ac_compile itself does not contain backslashes and begins
16812 # with a dollar sign (not a hyphen), so the echo should work correctly.
16813 # The option is referenced via a variable to avoid confusing sed.
16814 lt_compile
=`echo "$ac_compile" | $SED \
16815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16817 -e 's:$: $lt_compiler_flag:'`
16818 (eval echo "\"\$as_me:16818: $lt_compile\"" >&5)
16819 (eval "$lt_compile" 2>conftest.err
)
16821 cat conftest.err
>&5
16822 echo "$as_me:16822: \$? = $ac_status" >&5
16823 if (exit $ac_status) && test -s "$ac_outfile"; then
16824 # The compiler can only warn and ignore the option if not recognized
16825 # So say no if there are warnings other than the usual output.
16826 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16827 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16828 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16829 lt_cv_prog_compiler_rtti_exceptions
=yes
16835 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16836 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16838 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16839 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16846 lt_prog_compiler_wl_GCJ
=
16847 lt_prog_compiler_pic_GCJ
=
16848 lt_prog_compiler_static_GCJ
=
16850 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16851 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16853 if test "$GCC" = yes; then
16854 lt_prog_compiler_wl_GCJ
='-Wl,'
16855 lt_prog_compiler_static_GCJ
='-static'
16859 # All AIX code is PIC.
16860 if test "$host_cpu" = ia64
; then
16861 # AIX 5 now supports IA64 processor
16862 lt_prog_compiler_static_GCJ
='-Bstatic'
16867 # FIXME: we need at least 68020 code to build shared libraries, but
16868 # adding the `-m68020' flag to GCC prevents building anything better,
16870 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16873 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16874 # PIC is the default for these OSes.
16877 mingw
* | pw32
* | os2
*)
16878 # This hack is so that the source file can tell whether it is being
16879 # built for inclusion in a dll (and should export symbols for example).
16880 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16883 darwin
* | rhapsody
*)
16884 # PIC is the default on this platform
16885 # Common symbols not allowed in MH_DYLIB files
16886 lt_prog_compiler_pic_GCJ
='-fno-common'
16890 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16891 # Instead, we relocate shared libraries at runtime.
16895 # Just because we use GCC doesn't mean we suddenly get shared libraries
16896 # on systems that don't support them.
16897 lt_prog_compiler_can_build_shared_GCJ
=no
16902 if test -d /usr
/nec
; then
16903 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16908 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16909 # not for PA HP-UX.
16915 lt_prog_compiler_pic_GCJ
='-fPIC'
16921 lt_prog_compiler_pic_GCJ
='-fPIC'
16925 # PORTME Check for flag to pass linker flags through the system compiler.
16928 lt_prog_compiler_wl_GCJ
='-Wl,'
16929 if test "$host_cpu" = ia64
; then
16930 # AIX 5 now supports IA64 processor
16931 lt_prog_compiler_static_GCJ
='-Bstatic'
16933 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16937 # PIC is the default on this platform
16938 # Common symbols not allowed in MH_DYLIB files
16939 case $cc_basename in
16941 lt_prog_compiler_pic_GCJ
='-qnocommon'
16942 lt_prog_compiler_wl_GCJ
='-Wl,'
16947 mingw
* | pw32
* | os2
*)
16948 # This hack is so that the source file can tell whether it is being
16949 # built for inclusion in a dll (and should export symbols for example).
16950 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16953 hpux9
* | hpux10
* | hpux11
*)
16954 lt_prog_compiler_wl_GCJ
='-Wl,'
16955 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16956 # not for PA HP-UX.
16962 lt_prog_compiler_pic_GCJ
='+Z'
16965 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16966 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16969 irix5
* | irix6
* | nonstopux
*)
16970 lt_prog_compiler_wl_GCJ
='-Wl,'
16971 # PIC (with -KPIC) is the default.
16972 lt_prog_compiler_static_GCJ
='-non_shared'
16976 lt_prog_compiler_pic_GCJ
='-KPIC'
16977 lt_prog_compiler_static_GCJ
='-Bstatic'
16981 case $cc_basename in
16983 lt_prog_compiler_wl_GCJ
='-Wl,'
16984 lt_prog_compiler_pic_GCJ
='-KPIC'
16985 lt_prog_compiler_static_GCJ
='-static'
16987 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16988 # Portland Group compilers (*not* the Pentium gcc compiler,
16989 # which looks to be a dead project)
16990 lt_prog_compiler_wl_GCJ
='-Wl,'
16991 lt_prog_compiler_pic_GCJ
='-fpic'
16992 lt_prog_compiler_static_GCJ
='-Bstatic'
16995 lt_prog_compiler_wl_GCJ
='-Wl,'
16996 # All Alpha code is PIC.
16997 lt_prog_compiler_static_GCJ
='-non_shared'
17002 osf3
* | osf4
* | osf5
*)
17003 lt_prog_compiler_wl_GCJ
='-Wl,'
17004 # All OSF/1 code is PIC.
17005 lt_prog_compiler_static_GCJ
='-non_shared'
17009 lt_prog_compiler_pic_GCJ
='-KPIC'
17010 lt_prog_compiler_static_GCJ
='-Bstatic'
17011 case $cc_basename in
17012 f77
* | f90
* | f95
*)
17013 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17015 lt_prog_compiler_wl_GCJ
='-Wl,';;
17020 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17021 lt_prog_compiler_pic_GCJ
='-PIC'
17022 lt_prog_compiler_static_GCJ
='-Bstatic'
17025 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17026 lt_prog_compiler_wl_GCJ
='-Wl,'
17027 lt_prog_compiler_pic_GCJ
='-KPIC'
17028 lt_prog_compiler_static_GCJ
='-Bstatic'
17032 if test -d /usr
/nec
;then
17033 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17034 lt_prog_compiler_static_GCJ
='-Bstatic'
17038 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17039 lt_prog_compiler_wl_GCJ
='-Wl,'
17040 lt_prog_compiler_pic_GCJ
='-KPIC'
17041 lt_prog_compiler_static_GCJ
='-Bstatic'
17045 lt_prog_compiler_wl_GCJ
='-Wl,'
17046 lt_prog_compiler_can_build_shared_GCJ
=no
17050 lt_prog_compiler_pic_GCJ
='-pic'
17051 lt_prog_compiler_static_GCJ
='-Bstatic'
17055 lt_prog_compiler_can_build_shared_GCJ
=no
17060 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17061 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17064 # Check to make sure the PIC flag actually works.
17066 if test -n "$lt_prog_compiler_pic_GCJ"; then
17068 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17069 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17070 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 lt_prog_compiler_pic_works_GCJ
=no
17074 ac_outfile
=conftest.
$ac_objext
17075 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17076 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17077 # Insert the option either (1) after the last *FLAGS variable, or
17078 # (2) before a word containing "conftest.", or (3) at the end.
17079 # Note that $ac_compile itself does not contain backslashes and begins
17080 # with a dollar sign (not a hyphen), so the echo should work correctly.
17081 # The option is referenced via a variable to avoid confusing sed.
17082 lt_compile
=`echo "$ac_compile" | $SED \
17083 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17085 -e 's:$: $lt_compiler_flag:'`
17086 (eval echo "\"\$as_me:17086: $lt_compile\"" >&5)
17087 (eval "$lt_compile" 2>conftest.err
)
17089 cat conftest.err
>&5
17090 echo "$as_me:17090: \$? = $ac_status" >&5
17091 if (exit $ac_status) && test -s "$ac_outfile"; then
17092 # The compiler can only warn and ignore the option if not recognized
17093 # So say no if there are warnings other than the usual output.
17094 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17095 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17096 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17097 lt_prog_compiler_pic_works_GCJ
=yes
17103 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17104 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17106 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17107 case $lt_prog_compiler_pic_GCJ in
17109 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17112 lt_prog_compiler_pic_GCJ
=
17113 lt_prog_compiler_can_build_shared_GCJ
=no
17118 # For platforms which do not support PIC, -DPIC is meaningless:
17120 lt_prog_compiler_pic_GCJ
=
17123 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17128 # Check to make sure the static flag actually works.
17130 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17131 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17132 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
17133 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 lt_prog_compiler_static_works_GCJ
=no
17137 save_LDFLAGS
="$LDFLAGS"
17138 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17139 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
17140 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17141 # The linker can only warn and ignore the option if not recognized
17142 # So say no if there are warnings
17143 if test -s conftest.err
; then
17144 # Append any errors to the config.log.
17145 cat conftest.err
1>&5
17146 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17147 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17148 if diff conftest.exp conftest.er2
>/dev
/null
; then
17149 lt_prog_compiler_static_works_GCJ
=yes
17152 lt_prog_compiler_static_works_GCJ
=yes
17156 LDFLAGS
="$save_LDFLAGS"
17159 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17160 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
17162 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17165 lt_prog_compiler_static_GCJ
=
17169 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17170 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17171 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 lt_cv_prog_compiler_c_o_GCJ
=no
17175 $rm -r conftest
2>/dev
/null
17179 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17181 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17182 # Insert the option either (1) after the last *FLAGS variable, or
17183 # (2) before a word containing "conftest.", or (3) at the end.
17184 # Note that $ac_compile itself does not contain backslashes and begins
17185 # with a dollar sign (not a hyphen), so the echo should work correctly.
17186 lt_compile
=`echo "$ac_compile" | $SED \
17187 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17189 -e 's:$: $lt_compiler_flag:'`
17190 (eval echo "\"\$as_me:17190: $lt_compile\"" >&5)
17191 (eval "$lt_compile" 2>out
/conftest.err
)
17193 cat out
/conftest.err
>&5
17194 echo "$as_me:17194: \$? = $ac_status" >&5
17195 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17197 # The compiler can only warn and ignore the option if not recognized
17198 # So say no if there are warnings
17199 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17200 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17201 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17202 lt_cv_prog_compiler_c_o_GCJ
=yes
17207 # SGI C++ compiler will create directory out/ii_files/ for
17208 # template instantiation
17209 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17210 $rm out
/* && rmdir out
17216 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17217 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17220 hard_links
="nottested"
17221 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17222 # do not overwrite the value of need_locks provided by the user
17223 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17224 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17227 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17229 ln conftest.a conftest.b
2>&5 || hard_links
=no
17230 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17231 echo "$as_me:$LINENO: result: $hard_links" >&5
17232 echo "${ECHO_T}$hard_links" >&6
17233 if test "$hard_links" = no
; then
17234 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17235 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17242 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17243 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17246 allow_undefined_flag_GCJ
=
17247 enable_shared_with_static_runtimes_GCJ
=no
17249 archive_expsym_cmds_GCJ
=
17250 old_archive_From_new_cmds_GCJ
=
17251 old_archive_from_expsyms_cmds_GCJ
=
17252 export_dynamic_flag_spec_GCJ
=
17253 whole_archive_flag_spec_GCJ
=
17254 thread_safe_flag_spec_GCJ
=
17255 hardcode_libdir_flag_spec_GCJ
=
17256 hardcode_libdir_flag_spec_ld_GCJ
=
17257 hardcode_libdir_separator_GCJ
=
17258 hardcode_direct_GCJ
=no
17259 hardcode_minus_L_GCJ
=no
17260 hardcode_shlibpath_var_GCJ
=unsupported
17261 link_all_deplibs_GCJ
=unknown
17262 hardcode_automatic_GCJ
=no
17264 module_expsym_cmds_GCJ
=
17265 always_export_symbols_GCJ
=no
17266 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17267 # include_expsyms should be a list of space-separated symbols to be *always*
17268 # included in the symbol list
17269 include_expsyms_GCJ
=
17270 # exclude_expsyms can be an extended regexp of symbols to exclude
17271 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17272 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17273 # as well as any symbol that contains `d'.
17274 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17275 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17276 # platforms (ab)use it in PIC code, but their linkers get confused if
17277 # the symbol is explicitly referenced. Since portable code cannot
17278 # rely on this symbol name, it's probably fine to never include it in
17279 # preloaded symbol tables.
17280 extract_expsyms_cmds
=
17281 # Just being paranoid about ensuring that cc_basename is set.
17282 for cc_temp
in $compiler""; do
17284 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17285 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17290 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17293 cygwin
* | mingw
* | pw32
*)
17294 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17295 # When not using gcc, we currently assume that we are using
17296 # Microsoft Visual C++.
17297 if test "$GCC" != yes; then
17302 # we just hope/assume this is gcc and not c89 (= MSVC++)
17311 if test "$with_gnu_ld" = yes; then
17312 # If archive_cmds runs LD, not CC, wlarc should be empty
17315 # Set some defaults for GNU ld with shared library support. These
17316 # are reset later if shared libraries are not supported. Putting them
17317 # here allows them to be overridden if necessary.
17318 runpath_var
=LD_RUN_PATH
17319 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17320 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17321 # ancient GNU ld didn't support --whole-archive et. al.
17322 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17323 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17325 whole_archive_flag_spec_GCJ
=
17327 supports_anon_versioning
=no
17328 case `$LD -v 2>/dev/null` in
17329 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17330 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17331 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17332 *\
2.11.
*) ;; # other 2.11 versions
17333 *) supports_anon_versioning
=yes ;;
17336 # See if GNU ld supports shared libraries.
17338 aix3
* | aix4
* | aix5
*)
17339 # On AIX/PPC, the GNU linker is very broken
17340 if test "$host_cpu" != ia64
; then
17344 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17345 *** to be unable to reliably create shared libraries on AIX.
17346 *** Therefore, libtool is disabling shared libraries support. If you
17347 *** really care for shared libraries, you may want to modify your PATH
17348 *** so that a non-GNU linker is found, and then restart.
17355 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)'
17356 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17357 hardcode_minus_L_GCJ
=yes
17359 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17360 # that the semantics of dynamic libraries on AmigaOS, at least up
17361 # to version 4, is to share data among multiple programs linked
17362 # with the same dynamic library. Since this doesn't match the
17363 # behavior of shared libraries on other platforms, we can't use
17369 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17370 allow_undefined_flag_GCJ
=unsupported
17371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17372 # support --undefined. This deserves some investigation. FIXME
17373 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17379 cygwin
* | mingw
* | pw32
*)
17380 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17381 # as there is no search path for DLLs.
17382 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17383 allow_undefined_flag_GCJ
=unsupported
17384 always_export_symbols_GCJ
=no
17385 enable_shared_with_static_runtimes_GCJ
=yes
17386 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17388 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17389 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17390 # If the export-symbols file already is a .def file (1st line
17391 # is EXPORTS), use it as is; otherwise, prepend...
17392 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17393 cp $export_symbols $output_objdir/$soname.def;
17395 echo EXPORTS > $output_objdir/$soname.def;
17396 cat $export_symbols >> $output_objdir/$soname.def;
17398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17405 hardcode_direct_GCJ
=no
17406 hardcode_shlibpath_var_GCJ
=no
17407 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17408 export_dynamic_flag_spec_GCJ
='${wl}-E'
17409 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17410 # Instead, shared libraries are loaded at an image base (0x10000000 by
17411 # default) and relocated if they conflict, which is a slow very memory
17412 # consuming and fragmenting process. To avoid this, we pick a random,
17413 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17414 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17415 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'
17416 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'
17420 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17422 case $cc_basename,$host_cpu in
17423 pgcc
*) # Portland Group C compiler
17424 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'
17425 tmp_addflag
=' $pic_flag'
17427 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17428 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'
17429 tmp_addflag
=' $pic_flag -Mnomain' ;;
17430 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17431 tmp_addflag
=' -i_dynamic' ;;
17432 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17433 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17434 ifc
* | ifort
*) # Intel Fortran compiler
17435 tmp_addflag
=' -nofor_main' ;;
17437 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17439 if test $supports_anon_versioning = yes; then
17440 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17441 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17442 $echo "local: *; };" >> $output_objdir/$libname.ver~
17443 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17451 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17452 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17455 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17456 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17461 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17465 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17466 *** create shared libraries on Solaris systems. Therefore, libtool
17467 *** is disabling shared libraries support. We urge you to upgrade GNU
17468 *** binutils to release 2.9.1 or newer. Another option is to modify
17469 *** your PATH or compiler configuration so that the native linker is
17470 *** used, and then restart.
17473 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17474 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17475 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17481 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17482 case `$LD -v 2>&1` in
17483 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17487 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17488 *** reliably create shared libraries on SCO systems. Therefore, libtool
17489 *** is disabling shared libraries support. We urge you to upgrade GNU
17490 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17491 *** your PATH or compiler configuration so that the native linker is
17492 *** used, and then restart.
17497 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17498 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17499 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17500 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17509 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17511 hardcode_direct_GCJ
=yes
17512 hardcode_shlibpath_var_GCJ
=no
17516 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17517 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17518 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17525 if test "$ld_shlibs_GCJ" = no
; then
17527 hardcode_libdir_flag_spec_GCJ
=
17528 export_dynamic_flag_spec_GCJ
=
17529 whole_archive_flag_spec_GCJ
=
17532 # PORTME fill in a description of your system's linker (not GNU ld)
17535 allow_undefined_flag_GCJ
=unsupported
17536 always_export_symbols_GCJ
=yes
17537 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'
17538 # Note: this linker hardcodes the directories in LIBPATH if there
17539 # are no directories specified by -L.
17540 hardcode_minus_L_GCJ
=yes
17541 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17542 # Neither direct hardcoding nor static linking is supported with a
17544 hardcode_direct_GCJ
=unsupported
17549 if test "$host_cpu" = ia64
; then
17550 # On IA64, the linker does run time linking by default, so we don't
17551 # have to do anything special.
17552 aix_use_runtimelinking
=no
17553 exp_sym_flag
='-Bexport'
17556 # If we're using GNU nm, then we don't want the "-C" option.
17557 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17558 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17559 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'
17561 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'
17563 aix_use_runtimelinking
=no
17565 # Test if we are trying to use run time linking or normal
17566 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17567 # need to do runtime linking.
17568 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17569 for ld_flag
in $LDFLAGS; do
17570 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17571 aix_use_runtimelinking
=yes
17578 exp_sym_flag
='-bexport'
17579 no_entry_flag
='-bnoentry'
17582 # When large executables or shared objects are built, AIX ld can
17583 # have problems creating the table of contents. If linking a library
17584 # or program results in "error TOC overflow" add -mminimal-toc to
17585 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17586 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17588 archive_cmds_GCJ
=''
17589 hardcode_direct_GCJ
=yes
17590 hardcode_libdir_separator_GCJ
=':'
17591 link_all_deplibs_GCJ
=yes
17593 if test "$GCC" = yes; then
17594 case $host_os in aix4.
[012]|aix4.
[012].
*)
17595 # We only want to do this on AIX 4.2 and lower, the check
17596 # below for broken collect2 doesn't work under 4.3+
17597 collect2name
=`${CC} -print-prog-name=collect2`
17598 if test -f "$collect2name" && \
17599 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17601 # We have reworked collect2
17602 hardcode_direct_GCJ
=yes
17604 # We have old collect2
17605 hardcode_direct_GCJ
=unsupported
17606 # It fails to find uninstalled libraries when the uninstalled
17607 # path is not listed in the libpath. Setting hardcode_minus_L
17608 # to unsupported forces relinking
17609 hardcode_minus_L_GCJ
=yes
17610 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17611 hardcode_libdir_separator_GCJ
=
17615 shared_flag
='-shared'
17616 if test "$aix_use_runtimelinking" = yes; then
17617 shared_flag
="$shared_flag "'${wl}-G'
17621 if test "$host_cpu" = ia64
; then
17622 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17623 # chokes on -Wl,-G. The following line is correct:
17626 if test "$aix_use_runtimelinking" = yes; then
17627 shared_flag
='${wl}-G'
17629 shared_flag
='${wl}-bM:SRE'
17634 # It seems that -bexpall does not export symbols beginning with
17635 # underscore (_), so it is better to generate a list of symbols to export.
17636 always_export_symbols_GCJ
=yes
17637 if test "$aix_use_runtimelinking" = yes; then
17638 # Warning - without using the other runtime loading flags (-brtl),
17639 # -berok will link without error, but may produce a broken library.
17640 allow_undefined_flag_GCJ
='-berok'
17641 # Determine the default libpath from the value encoded in an empty executable.
17642 cat >conftest.
$ac_ext <<_ACEOF
17645 cat confdefs.h
>>conftest.
$ac_ext
17646 cat >>conftest.
$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17657 rm -f conftest.
$ac_objext conftest
$ac_exeext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17659 (eval $ac_link) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try
='test -s conftest$ac_exeext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17680 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17682 # Check for a 64-bit object if we didn't find anything.
17683 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.
$ac_ext >&5
17690 rm -f conftest.err conftest.
$ac_objext \
17691 conftest
$ac_exeext conftest.
$ac_ext
17692 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17694 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17695 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"
17697 if test "$host_cpu" = ia64
; then
17698 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17699 allow_undefined_flag_GCJ
="-z nodefs"
17700 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"
17702 # Determine the default libpath from the value encoded in an empty executable.
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17718 rm -f conftest.
$ac_objext conftest
$ac_exeext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17720 (eval $ac_link) 2>conftest.er1
17722 grep -v '^ *+' conftest.er1
>conftest.err
17724 cat conftest.err
>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try
='test -z "$ac_c_werror_flag"
17728 || test ! -s conftest.err'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try
='test -s conftest$ac_exeext'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; }; then
17741 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17743 # Check for a 64-bit object if we didn't find anything.
17744 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17747 echo "$as_me: failed program was:" >&5
17748 sed 's/^/| /' conftest.
$ac_ext >&5
17751 rm -f conftest.err conftest.
$ac_objext \
17752 conftest
$ac_exeext conftest.
$ac_ext
17753 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17755 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17756 # Warning - without using the other run time loading flags,
17757 # -berok will link without error, but may produce a broken library.
17758 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17759 allow_undefined_flag_GCJ
=' ${wl}-berok'
17760 # Exported symbols can be pulled into shared objects from archives
17761 whole_archive_flag_spec_GCJ
='$convenience'
17762 archive_cmds_need_lc_GCJ
=yes
17763 # This is similar to how AIX traditionally builds its shared libraries.
17764 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'
17770 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)'
17771 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17772 hardcode_minus_L_GCJ
=yes
17773 # see comment about different semantics on the GNU ld section
17778 export_dynamic_flag_spec_GCJ
=-rdynamic
17781 cygwin
* | mingw
* | pw32
*)
17782 # When not using gcc, we currently assume that we are using
17783 # Microsoft Visual C++.
17784 # hardcode_libdir_flag_spec is actually meaningless, as there is
17785 # no search path for DLLs.
17786 hardcode_libdir_flag_spec_GCJ
=' '
17787 allow_undefined_flag_GCJ
=unsupported
17788 # Tell ltmain to make .lib files, not .a files.
17790 # Tell ltmain to make .dll files, not .so files.
17792 # FIXME: Setting linknames here is a bad hack.
17793 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17794 # The linker will automatically build a .lib file if we build a DLL.
17795 old_archive_From_new_cmds_GCJ
='true'
17796 # FIXME: Should let the user specify the lib program.
17797 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17798 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17799 enable_shared_with_static_runtimes_GCJ
=yes
17802 darwin
* | rhapsody
*)
17804 rhapsody
* | darwin1.
[012])
17805 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17808 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17809 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17811 case ${MACOSX_DEPLOYMENT_TARGET} in
17813 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17816 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17822 archive_cmds_need_lc_GCJ
=no
17823 hardcode_direct_GCJ
=no
17824 hardcode_automatic_GCJ
=yes
17825 hardcode_shlibpath_var_GCJ
=unsupported
17826 whole_archive_flag_spec_GCJ
=''
17827 link_all_deplibs_GCJ
=yes
17828 if test "$GCC" = yes ; then
17829 output_verbose_link_cmd
='echo'
17830 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17831 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17832 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17833 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}'
17834 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}'
17836 case $cc_basename in
17838 output_verbose_link_cmd
='echo'
17839 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17840 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17841 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17842 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17843 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}'
17853 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17854 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17855 hardcode_shlibpath_var_GCJ
=no
17862 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17863 # support. Future versions do this automatically, but an explicit c++rt0.o
17864 # does not break anything, and helps significantly (at the cost of a little
17867 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17868 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17869 hardcode_direct_GCJ
=yes
17870 hardcode_shlibpath_var_GCJ
=no
17873 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17875 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17876 hardcode_direct_GCJ
=yes
17877 hardcode_minus_L_GCJ
=yes
17878 hardcode_shlibpath_var_GCJ
=no
17881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17882 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17883 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17884 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17885 hardcode_direct_GCJ
=yes
17886 hardcode_shlibpath_var_GCJ
=no
17890 if test "$GCC" = yes; then
17891 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'
17893 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'
17895 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17896 hardcode_libdir_separator_GCJ
=:
17897 hardcode_direct_GCJ
=yes
17899 # hardcode_minus_L: Not really in the search PATH,
17900 # but as the default location of the library.
17901 hardcode_minus_L_GCJ
=yes
17902 export_dynamic_flag_spec_GCJ
='${wl}-E'
17906 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17907 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17909 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17911 if test "$with_gnu_ld" = no
; then
17912 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17913 hardcode_libdir_separator_GCJ
=:
17915 hardcode_direct_GCJ
=yes
17916 export_dynamic_flag_spec_GCJ
='${wl}-E'
17918 # hardcode_minus_L: Not really in the search PATH,
17919 # but as the default location of the library.
17920 hardcode_minus_L_GCJ
=yes
17925 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17928 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17931 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17934 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17940 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17943 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17946 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17950 if test "$with_gnu_ld" = no
; then
17951 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17952 hardcode_libdir_separator_GCJ
=:
17956 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17957 hardcode_direct_GCJ
=no
17958 hardcode_shlibpath_var_GCJ
=no
17961 hardcode_direct_GCJ
=yes
17962 export_dynamic_flag_spec_GCJ
='${wl}-E'
17964 # hardcode_minus_L: Not really in the search PATH,
17965 # but as the default location of the library.
17966 hardcode_minus_L_GCJ
=yes
17972 irix5
* | irix6
* | nonstopux
*)
17973 if test "$GCC" = yes; then
17974 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'
17976 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'
17977 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17979 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17980 hardcode_libdir_separator_GCJ
=:
17981 link_all_deplibs_GCJ
=yes
17985 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17986 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17988 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17990 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17991 hardcode_direct_GCJ
=yes
17992 hardcode_shlibpath_var_GCJ
=no
17996 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17997 hardcode_direct_GCJ
=yes
17998 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17999 hardcode_libdir_separator_GCJ
=:
18000 hardcode_shlibpath_var_GCJ
=no
18004 hardcode_direct_GCJ
=yes
18005 hardcode_shlibpath_var_GCJ
=no
18006 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18007 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18008 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18009 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18010 export_dynamic_flag_spec_GCJ
='${wl}-E'
18013 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18014 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18015 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18018 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18019 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18026 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18027 hardcode_minus_L_GCJ
=yes
18028 allow_undefined_flag_GCJ
=unsupported
18029 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'
18030 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18034 if test "$GCC" = yes; then
18035 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18036 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'
18038 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18039 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'
18041 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18042 hardcode_libdir_separator_GCJ
=:
18045 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18046 if test "$GCC" = yes; then
18047 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18048 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'
18049 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18051 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18052 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'
18053 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~
18054 $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'
18056 # Both c and cxx compiler support -rpath directly
18057 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18059 hardcode_libdir_separator_GCJ
=:
18063 no_undefined_flag_GCJ
=' -z text'
18064 if test "$GCC" = yes; then
18066 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18067 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18068 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18071 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18072 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18073 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18075 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18076 hardcode_shlibpath_var_GCJ
=no
18078 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18080 # The compiler driver will combine linker options so we
18081 # cannot just pass the convience library names through
18082 # without $wl, iff we do not link with $LD.
18083 # Luckily, gcc supports the same syntax we need for Sun Studio.
18084 # Supported since Solaris 2.6 (maybe 2.5.1?)
18087 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
18089 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
18092 link_all_deplibs_GCJ
=yes
18096 if test "x$host_vendor" = xsequent
; then
18097 # Use $CC to link under sequent, because it throws in some extra .o
18098 # files that make .init and .fini sections work.
18099 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18101 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18103 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18104 hardcode_direct_GCJ
=yes
18105 hardcode_minus_L_GCJ
=yes
18106 hardcode_shlibpath_var_GCJ
=no
18110 case $host_vendor in
18112 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18113 hardcode_direct_GCJ
=yes # is this really true???
18116 ## LD is ld it makes a PLAMLIB
18117 ## CC just makes a GrossModule.
18118 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18119 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18120 hardcode_direct_GCJ
=no
18123 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18124 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18127 runpath_var
='LD_RUN_PATH'
18128 hardcode_shlibpath_var_GCJ
=no
18132 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18133 hardcode_shlibpath_var_GCJ
=no
18134 export_dynamic_flag_spec_GCJ
='-Bexport'
18138 if test -d /usr
/nec
; then
18139 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18140 hardcode_shlibpath_var_GCJ
=no
18141 runpath_var
=LD_RUN_PATH
18142 hardcode_runpath_var
=yes
18147 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
18148 no_undefined_flag_GCJ
='${wl}-z,text'
18149 archive_cmds_need_lc_GCJ
=no
18150 hardcode_shlibpath_var_GCJ
=no
18151 runpath_var
='LD_RUN_PATH'
18153 if test "$GCC" = yes; then
18154 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18155 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18157 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18158 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18162 sysv5
* | sco3.2v5
* | sco5v6
*)
18163 # Note: We can NOT use -z defs as we might desire, because we do not
18164 # link with -lc, and that would cause any symbols used from libc to
18165 # always be unresolved, which means just about no library would
18166 # ever link correctly. If we're not using GNU ld we use -z text
18167 # though, which does catch some bad symbols but isn't as heavy-handed
18169 no_undefined_flag_GCJ
='${wl}-z,text'
18170 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18171 archive_cmds_need_lc_GCJ
=no
18172 hardcode_shlibpath_var_GCJ
=no
18173 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18174 hardcode_libdir_separator_GCJ
=':'
18175 link_all_deplibs_GCJ
=yes
18176 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18177 runpath_var
='LD_RUN_PATH'
18179 if test "$GCC" = yes; then
18180 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18181 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18183 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18184 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18189 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18190 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18191 hardcode_shlibpath_var_GCJ
=no
18200 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18201 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18202 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18205 # Do we need to explicitly link libc?
18207 case "x$archive_cmds_need_lc_GCJ" in
18209 # Assume -lc should be added
18210 archive_cmds_need_lc_GCJ
=yes
18212 if test "$enable_shared" = yes && test "$GCC" = yes; then
18213 case $archive_cmds_GCJ in
18215 # FIXME: we may have to deal with multi-command sequences.
18218 # Test whether the compiler implicitly links with -lc since on some
18219 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18220 # to ld, don't add -lc before -lgcc.
18221 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18222 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18224 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227 (eval $ac_compile) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } 2>conftest.err
; then
18233 libobjs
=conftest.
$ac_objext
18235 wl
=$lt_prog_compiler_wl_GCJ
18236 pic_flag
=$lt_prog_compiler_pic_GCJ
18242 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18243 allow_undefined_flag_GCJ
=
18244 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18245 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }
18250 archive_cmds_need_lc_GCJ
=no
18252 archive_cmds_need_lc_GCJ
=yes
18254 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18256 cat conftest.err
1>&5
18259 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18260 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18267 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18268 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18269 library_names_spec
=
18270 libname_spec
='lib$name'
18274 postuninstall_cmds
=
18278 shlibpath_overrides_runpath
=unknown
18280 dynamic_linker
="$host_os ld.so"
18281 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18282 if test "$GCC" = yes; then
18283 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18284 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18285 # if the path contains ";" then we assume it to be the separator
18286 # otherwise default to the standard path separator (i.e. ":") - it is
18287 # assumed that no part of a normal pathname contains ";" but that should
18288 # okay in the real world where ";" in dirpaths is itself problematic.
18289 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18291 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18294 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18296 need_lib_prefix
=unknown
18297 hardcode_into_libs
=no
18299 # when you set need_version to no, make sure it does not cause -set_version
18300 # flags to be left without arguments
18301 need_version
=unknown
18306 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18307 shlibpath_var
=LIBPATH
18309 # AIX 3 has no versioning support, so we append a major version to the name.
18310 soname_spec
='${libname}${release}${shared_ext}$major'
18317 hardcode_into_libs
=yes
18318 if test "$host_cpu" = ia64
; then
18319 # AIX 5 supports IA64
18320 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18321 shlibpath_var
=LD_LIBRARY_PATH
18323 # With GCC up to 2.95.x, collect2 would create an import file
18324 # for dependence libraries. The import file would start with
18325 # the line `#! .'. This would cause the generated library to
18326 # depend on `.', always an invalid library. This was fixed in
18327 # development snapshots of GCC prior to 3.0.
18329 aix4 | aix4.
[01] | aix4.
[01].
*)
18330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18332 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18335 can_build_shared
=no
18339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18340 # soname into executable. Probably we can add versioning support to
18341 # collect2, so additional links can be useful in future.
18342 if test "$aix_use_runtimelinking" = yes; then
18343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18344 # instead of lib<name>.a to let people know that these are not
18345 # typical AIX shared libraries.
18346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18348 # We preserve .a as extension for shared libraries through AIX4.2
18349 # and later when we are not doing run time linking.
18350 library_names_spec
='${libname}${release}.a $libname.a'
18351 soname_spec
='${libname}${release}${shared_ext}$major'
18353 shlibpath_var
=LIBPATH
18358 library_names_spec
='$libname.ixlibrary $libname.a'
18359 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18360 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'
18364 library_names_spec
='${libname}${shared_ext}'
18365 dynamic_linker
="$host_os ld.so"
18366 shlibpath_var
=LIBRARY_PATH
18372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18373 soname_spec
='${libname}${release}${shared_ext}$major'
18374 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18375 shlibpath_var
=LD_LIBRARY_PATH
18376 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18377 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18378 # the default ld.so.conf also contains /usr/contrib/lib and
18379 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18380 # libtool to hard-code these into programs
18383 cygwin
* | mingw
* | pw32
*)
18384 version_type
=windows
18389 case $GCC,$host_os in
18390 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18391 library_names_spec
='$libname.dll.a'
18392 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18393 postinstall_cmds
='base_file=`basename \${file}`~
18394 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18395 dldir=$destdir/`dirname \$dlpath`~
18396 test -d \$dldir || mkdir -p \$dldir~
18397 $install_prog $dir/$dlname \$dldir/$dlname~
18398 chmod a+x \$dldir/$dlname'
18399 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18400 dlpath=$dir/\$dldll~
18402 shlibpath_overrides_runpath
=yes
18406 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18407 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18408 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18411 # MinGW DLLs use traditional 'lib' prefix
18412 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18413 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18414 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18415 # It is most probably a Windows format PATH printed by
18416 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18417 # path with ; separators, and with drive letters. We can handle the
18418 # drive letters (cygwin fileutils understands them), so leave them,
18419 # especially as we might pass files found there to a mingw objdump,
18420 # which wouldn't understand a cygwinified path. Ahh.
18421 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18423 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18427 # pw32 DLLs use 'pw' prefix rather than 'lib'
18428 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18434 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18437 dynamic_linker
='Win32 ld.exe'
18438 # FIXME: first we should search . and the directory the executable is in
18442 darwin
* | rhapsody
*)
18443 dynamic_linker
="$host_os dyld"
18444 version_type
=darwin
18447 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18448 soname_spec
='${libname}${release}${major}$shared_ext'
18449 shlibpath_overrides_runpath
=yes
18450 shlibpath_var
=DYLD_LIBRARY_PATH
18451 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18452 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18453 if test "$GCC" = yes; then
18454 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18456 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18458 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18466 soname_spec
='${libname}${release}${shared_ext}$major'
18467 shlibpath_var
=LD_LIBRARY_PATH
18478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18479 soname_spec
='${libname}${release}${shared_ext}$major'
18480 shlibpath_var
=LD_LIBRARY_PATH
18481 shlibpath_overrides_runpath
=no
18482 hardcode_into_libs
=yes
18483 dynamic_linker
='GNU ld.so'
18486 freebsd
* | dragonfly
*)
18487 # DragonFly does not have aout. When/if they implement a new
18488 # versioning mechanism, adjust this.
18489 if test -x /usr
/bin
/objformat
; then
18490 objformat
=`/usr/bin/objformat`
18493 freebsd
[123]*) objformat
=aout
;;
18494 *) objformat
=elf
;;
18497 version_type
=freebsd-
$objformat
18498 case $version_type in
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18505 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18509 shlibpath_var
=LD_LIBRARY_PATH
18512 shlibpath_overrides_runpath
=yes
18514 freebsd3.
[01]* | freebsdelf3.
[01]*)
18515 shlibpath_overrides_runpath
=yes
18516 hardcode_into_libs
=yes
18518 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18519 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18520 shlibpath_overrides_runpath
=no
18521 hardcode_into_libs
=yes
18523 freebsd
*) # from 4.6 on
18524 shlibpath_overrides_runpath
=yes
18525 hardcode_into_libs
=yes
18534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18535 soname_spec
='${libname}${release}${shared_ext}$major'
18536 shlibpath_var
=LD_LIBRARY_PATH
18537 hardcode_into_libs
=yes
18540 hpux9
* | hpux10
* | hpux11
*)
18541 # Give a soname corresponding to the major version so that dld.sl refuses to
18542 # link against other versions.
18549 hardcode_into_libs
=yes
18550 dynamic_linker
="$host_os dld.so"
18551 shlibpath_var
=LD_LIBRARY_PATH
18552 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18554 soname_spec
='${libname}${release}${shared_ext}$major'
18555 if test "X$HPUX_IA64_MODE" = X32
; then
18556 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18558 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18560 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18564 hardcode_into_libs
=yes
18565 dynamic_linker
="$host_os dld.sl"
18566 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18567 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18569 soname_spec
='${libname}${release}${shared_ext}$major'
18570 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18571 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18575 dynamic_linker
="$host_os dld.sl"
18576 shlibpath_var
=SHLIB_PATH
18577 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18579 soname_spec
='${libname}${release}${shared_ext}$major'
18582 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18583 postinstall_cmds
='chmod 555 $lib'
18590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18591 soname_spec
='${libname}${release}${shared_ext}$major'
18592 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=no
18595 hardcode_into_libs
=yes
18598 irix5
* | irix6
* | nonstopux
*)
18600 nonstopux
*) version_type
=nonstopux
;;
18602 if test "$lt_cv_prog_gnu_ld" = yes; then
18610 soname_spec
='${libname}${release}${shared_ext}$major'
18611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18613 irix5
* | nonstopux
*)
18614 libsuff
= shlibsuff
=
18617 case $LD in # libtool.m4 will add one of these switches to LD
18618 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18619 libsuff
= shlibsuff
= libmagic
=32-bit;;
18620 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18621 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18622 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18623 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18624 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18628 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18629 shlibpath_overrides_runpath
=no
18630 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18631 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18632 hardcode_into_libs
=yes
18635 # No shared lib support for Linux oldld, aout, or coff.
18636 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18640 # This must be Linux ELF.
18645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18646 soname_spec
='${libname}${release}${shared_ext}$major'
18647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18648 shlibpath_var
=LD_LIBRARY_PATH
18649 shlibpath_overrides_runpath
=no
18650 # This implies no fast_install, which is unacceptable.
18651 # Some rework will be needed to allow for fast_install
18652 # before this can be enabled.
18653 hardcode_into_libs
=yes
18655 # find out which ABI we are using
18657 case "$host_cpu" in
18658 x86_64
*|s390x
*|powerpc64
*)
18659 echo '#line 18659 "configure"' > conftest.
$ac_ext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; then
18665 case `/usr/bin/file conftest.$ac_objext` in
18668 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18676 # Append ld.so.conf contents to the search path
18677 if test -f /etc
/ld.so.conf
; then
18678 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/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18679 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18682 # We used to test for /lib/ld.so.1 and disable shared libraries on
18683 # powerpc, because MkLinux only supported shared libraries with the
18684 # GNU dynamic linker. Since this was broken with cross compilers,
18685 # most powerpc-linux boxes support dynamic linking these days and
18686 # people can always --disable-shared, the test was removed, and we
18687 # assume the GNU/Linux dynamic linker is in use.
18688 dynamic_linker
='GNU/Linux ld.so'
18695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18696 soname_spec
='${libname}${release}${shared_ext}$major'
18697 shlibpath_var
=LD_LIBRARY_PATH
18698 shlibpath_overrides_runpath
=no
18699 hardcode_into_libs
=yes
18700 dynamic_linker
='GNU ld.so'
18707 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18710 dynamic_linker
='NetBSD (a.out) ld.so'
18712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18713 soname_spec
='${libname}${release}${shared_ext}$major'
18714 dynamic_linker
='NetBSD ld.elf_so'
18716 shlibpath_var
=LD_LIBRARY_PATH
18717 shlibpath_overrides_runpath
=yes
18718 hardcode_into_libs
=yes
18723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18724 shlibpath_var
=LD_LIBRARY_PATH
18725 shlibpath_overrides_runpath
=yes
18732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18733 soname_spec
='${libname}${release}${shared_ext}$major'
18734 shlibpath_var
=LD_LIBRARY_PATH
18735 shlibpath_overrides_runpath
=yes
18740 sys_lib_dlsearch_path_spec
="/usr/lib"
18742 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18744 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18745 *) need_version
=no
;;
18747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18748 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18749 shlibpath_var
=LD_LIBRARY_PATH
18750 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18752 openbsd2.
[89] | openbsd2.
[89].
*)
18753 shlibpath_overrides_runpath
=no
18756 shlibpath_overrides_runpath
=yes
18760 shlibpath_overrides_runpath
=yes
18765 libname_spec
='$name'
18768 library_names_spec
='$libname${shared_ext} $libname.a'
18769 dynamic_linker
='OS/2 ld.exe'
18770 shlibpath_var
=LIBPATH
18773 osf3
* | osf4
* | osf5
*)
18777 soname_spec
='${libname}${release}${shared_ext}$major'
18778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18779 shlibpath_var
=LD_LIBRARY_PATH
18780 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18781 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18789 soname_spec
='${libname}${release}${shared_ext}$major'
18790 shlibpath_var
=LD_LIBRARY_PATH
18791 shlibpath_overrides_runpath
=yes
18792 hardcode_into_libs
=yes
18793 # ldd complains unless libraries are executable
18794 postinstall_cmds
='chmod +x $lib'
18799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18800 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18801 shlibpath_var
=LD_LIBRARY_PATH
18802 shlibpath_overrides_runpath
=yes
18803 if test "$with_gnu_ld" = yes; then
18811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18812 soname_spec
='${libname}${release}${shared_ext}$major'
18813 shlibpath_var
=LD_LIBRARY_PATH
18814 case $host_vendor in
18816 shlibpath_overrides_runpath
=no
18818 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18819 runpath_var
=LD_RUN_PATH
18827 shlibpath_overrides_runpath
=no
18828 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18834 if test -d /usr
/nec
;then
18836 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18837 soname_spec
='$libname${shared_ext}.$major'
18838 shlibpath_var
=LD_LIBRARY_PATH
18842 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18843 version_type
=freebsd-elf
18846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18847 soname_spec
='${libname}${release}${shared_ext}$major'
18848 shlibpath_var
=LD_LIBRARY_PATH
18849 hardcode_into_libs
=yes
18850 if test "$with_gnu_ld" = yes; then
18851 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18852 shlibpath_overrides_runpath
=no
18854 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18855 shlibpath_overrides_runpath
=yes
18858 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18862 sys_lib_dlsearch_path_spec
='/usr/lib'
18867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18868 soname_spec
='${libname}${release}${shared_ext}$major'
18869 shlibpath_var
=LD_LIBRARY_PATH
18876 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18877 echo "${ECHO_T}$dynamic_linker" >&6
18878 test "$dynamic_linker" = no
&& can_build_shared
=no
18880 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18881 if test "$GCC" = yes; then
18882 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18885 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18886 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18887 hardcode_action_GCJ
=
18888 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18889 test -n "$runpath_var_GCJ" || \
18890 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18892 # We can hardcode non-existant directories.
18893 if test "$hardcode_direct_GCJ" != no
&&
18894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18895 # have to relink, otherwise we might link with an installed library
18896 # when we should be linking with a yet-to-be-installed one
18897 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18898 test "$hardcode_minus_L_GCJ" != no
; then
18899 # Linking always hardcodes the temporary library directory.
18900 hardcode_action_GCJ
=relink
18902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18903 hardcode_action_GCJ
=immediate
18906 # We cannot hardcode anything, or else we can only hardcode existing
18908 hardcode_action_GCJ
=unsupported
18910 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18911 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18913 if test "$hardcode_action_GCJ" = relink
; then
18914 # Fast installation is not supported
18915 enable_fast_install
=no
18916 elif test "$shlibpath_overrides_runpath" = yes ||
18917 test "$enable_shared" = no
; then
18918 # Fast installation is not necessary
18919 enable_fast_install
=needless
18923 # The else clause should only fire when bootstrapping the
18924 # libtool distribution, otherwise you forgot to ship ltmain.sh
18925 # with your package, and you will get complaints that there are
18926 # no rules to generate ltmain.sh.
18927 if test -f "$ltmain"; then
18928 # See if we are running on zsh, and set the options which allow our commands through
18929 # without removal of \ escapes.
18930 if test -n "${ZSH_VERSION+set}" ; then
18931 setopt NO_GLOB_SUBST
18933 # Now quote all the things that may contain metacharacters while being
18934 # careful not to overquote the AC_SUBSTed values. We take copies of the
18935 # variables and quote the copies for generation of the libtool script.
18936 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18938 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18939 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18940 deplibs_check_method reload_flag reload_cmds need_locks \
18941 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18942 lt_cv_sys_global_symbol_to_c_name_address \
18943 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18944 old_postinstall_cmds old_postuninstall_cmds \
18948 lt_prog_compiler_wl_GCJ \
18949 lt_prog_compiler_pic_GCJ \
18950 lt_prog_compiler_static_GCJ \
18951 lt_prog_compiler_no_builtin_flag_GCJ \
18952 export_dynamic_flag_spec_GCJ \
18953 thread_safe_flag_spec_GCJ \
18954 whole_archive_flag_spec_GCJ \
18955 enable_shared_with_static_runtimes_GCJ \
18956 old_archive_cmds_GCJ \
18957 old_archive_from_new_cmds_GCJ \
18958 predep_objects_GCJ \
18959 postdep_objects_GCJ \
18962 compiler_lib_search_path_GCJ \
18964 archive_expsym_cmds_GCJ \
18965 postinstall_cmds_GCJ \
18966 postuninstall_cmds_GCJ \
18967 old_archive_from_expsyms_cmds_GCJ \
18968 allow_undefined_flag_GCJ \
18969 no_undefined_flag_GCJ \
18970 export_symbols_cmds_GCJ \
18971 hardcode_libdir_flag_spec_GCJ \
18972 hardcode_libdir_flag_spec_ld_GCJ \
18973 hardcode_libdir_separator_GCJ \
18974 hardcode_automatic_GCJ \
18976 module_expsym_cmds_GCJ \
18977 lt_cv_prog_compiler_c_o_GCJ \
18978 exclude_expsyms_GCJ \
18979 include_expsyms_GCJ
; do
18982 old_archive_cmds_GCJ | \
18983 old_archive_from_new_cmds_GCJ | \
18984 archive_cmds_GCJ | \
18985 archive_expsym_cmds_GCJ | \
18986 module_cmds_GCJ | \
18987 module_expsym_cmds_GCJ | \
18988 old_archive_from_expsyms_cmds_GCJ | \
18989 export_symbols_cmds_GCJ | \
18990 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18991 postinstall_cmds | postuninstall_cmds | \
18992 old_postinstall_cmds | old_postuninstall_cmds | \
18993 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18994 # Double-quote double-evaled strings.
18995 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18998 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19004 *'\$0 --fallback-echo"')
19005 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19011 cat <<__EOF__ >> "$cfgfile"
19012 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19014 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19016 # Shell to use when invoking shell scripts.
19019 # Whether or not to build shared libraries.
19020 build_libtool_libs=$enable_shared
19022 # Whether or not to build static libraries.
19023 build_old_libs=$enable_static
19025 # Whether or not to add -lc for building shared libraries.
19026 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19028 # Whether or not to disallow shared libs when runtime libs are static
19029 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19031 # Whether or not to optimize for fast installation.
19032 fast_install=$enable_fast_install
19035 host_alias=$host_alias
19039 # The build system.
19040 build_alias=$build_alias
19044 # An echo program that does not interpret backslashes.
19049 AR_FLAGS=$lt_AR_FLAGS
19054 # LTCC compiler flags.
19055 LTCFLAGS=$lt_LTCFLAGS
19057 # A language-specific compiler.
19058 CC=$lt_compiler_GCJ
19060 # Is the compiler the GNU C compiler?
19063 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
19064 gcc_ver=\`gcc -dumpversion\`
19069 # The linker used to build libraries.
19072 # Whether we need hard or soft links.
19075 # A BSD-compatible nm program.
19078 # A symbol stripping program
19081 # Used to examine libraries when file_magic_cmd begins "file"
19082 MAGIC_CMD=$MAGIC_CMD
19084 # Used on cygwin: DLL creation program.
19087 # Used on cygwin: object dumper.
19090 # Used on cygwin: assembler.
19093 # The name of the directory that contains temporary libtool files.
19096 # How to create reloadable object files.
19097 reload_flag=$lt_reload_flag
19098 reload_cmds=$lt_reload_cmds
19100 # How to pass a linker flag through the compiler.
19101 wl=$lt_lt_prog_compiler_wl_GCJ
19103 # Object file suffix (normally "o").
19104 objext="$ac_objext"
19106 # Old archive suffix (normally "a").
19109 # Shared library suffix (normally ".so").
19110 shrext_cmds='$shrext_cmds'
19112 # Executable file suffix (normally "").
19115 # Additional compiler flags for building library objects.
19116 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19119 # What is the maximum length of a command?
19120 max_cmd_len=$lt_cv_sys_max_cmd_len
19122 # Does compiler simultaneously support -c and -o options?
19123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19125 # Must we lock files when doing compilation?
19126 need_locks=$lt_need_locks
19128 # Do we need the lib prefix for modules?
19129 need_lib_prefix=$need_lib_prefix
19131 # Do we need a version for libraries?
19132 need_version=$need_version
19134 # Whether dlopen is supported.
19135 dlopen_support=$enable_dlopen
19137 # Whether dlopen of programs is supported.
19138 dlopen_self=$enable_dlopen_self
19140 # Whether dlopen of statically linked programs is supported.
19141 dlopen_self_static=$enable_dlopen_self_static
19143 # Compiler flag to prevent dynamic linking.
19144 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19146 # Compiler flag to turn off builtin functions.
19147 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19149 # Compiler flag to allow reflexive dlopens.
19150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19152 # Compiler flag to generate shared objects directly from archives.
19153 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19155 # Compiler flag to generate thread-safe objects.
19156 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19158 # Library versioning type.
19159 version_type=$version_type
19161 # Format of library name prefix.
19162 libname_spec=$lt_libname_spec
19164 # List of archive names. First name is the real one, the rest are links.
19165 # The last name is the one that the linker finds with -lNAME.
19166 library_names_spec=$lt_library_names_spec
19168 # The coded name of the library, if different from the real name.
19169 soname_spec=$lt_soname_spec
19171 # Commands used to build and install an old-style archive.
19173 old_archive_cmds=$lt_old_archive_cmds_GCJ
19174 old_postinstall_cmds=$lt_old_postinstall_cmds
19175 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19177 # Create an old-style archive from a shared archive.
19178 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19180 # Create a temporary old-style archive to link instead of a shared archive.
19181 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19183 # Commands used to build and install a shared archive.
19184 archive_cmds=$lt_archive_cmds_GCJ
19185 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19186 postinstall_cmds=$lt_postinstall_cmds
19187 postuninstall_cmds=$lt_postuninstall_cmds
19189 # Commands used to build a loadable module (assumed same as above if empty)
19190 module_cmds=$lt_module_cmds_GCJ
19191 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19193 # Commands to strip libraries.
19194 old_striplib=$lt_old_striplib
19195 striplib=$lt_striplib
19197 # Dependencies to place before the objects being linked to create a
19199 predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19201 # Dependencies to place after the objects being linked to create a
19203 postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19205 # Dependencies to place before the objects being linked to create a
19207 predeps=$lt_predeps_GCJ
19209 # Dependencies to place after the objects being linked to create a
19211 postdeps=$lt_postdeps_GCJ
19213 # The library search path used internally by the compiler when linking
19214 # a shared library.
19215 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19217 # Method to check whether dependent libraries are shared objects.
19218 deplibs_check_method=$lt_deplibs_check_method
19220 # Command to use when deplibs_check_method == file_magic.
19221 file_magic_cmd=$lt_file_magic_cmd
19223 # Flag that allows shared libraries with undefined symbols to be built.
19224 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19226 # Flag that forces no undefined symbols.
19227 no_undefined_flag=$lt_no_undefined_flag_GCJ
19229 # Commands used to finish a libtool library installation in a directory.
19230 finish_cmds=$lt_finish_cmds
19232 # Same as above, but a single script fragment to be evaled but not shown.
19233 finish_eval=$lt_finish_eval
19235 # Take the output of nm and produce a listing of raw symbols and C names.
19236 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19238 # Transform the output of nm in a proper C declaration
19239 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19241 # Transform the output of nm in a C name address pair
19242 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19244 # This is the shared library runtime path variable.
19245 runpath_var=$runpath_var
19247 # This is the shared library path variable.
19248 shlibpath_var=$shlibpath_var
19250 # Is shlibpath searched before the hard-coded library search path?
19251 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19253 # How to hardcode a shared library path into an executable.
19254 hardcode_action=$hardcode_action_GCJ
19256 # Whether we should hardcode library paths into libraries.
19257 hardcode_into_libs=$hardcode_into_libs
19259 # Flag to hardcode \$libdir into a binary during linking.
19260 # This must work even if \$libdir does not exist.
19261 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19263 # If ld is used when linking, flag to hardcode \$libdir into
19264 # a binary during linking. This must work even if \$libdir does
19266 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19268 # Whether we need a single -rpath flag with a separated argument.
19269 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19271 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19272 # resulting binary.
19273 hardcode_direct=$hardcode_direct_GCJ
19275 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19276 # resulting binary.
19277 hardcode_minus_L=$hardcode_minus_L_GCJ
19279 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19280 # the resulting binary.
19281 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19283 # Set to yes if building a shared library automatically hardcodes DIR into the library
19284 # and all subsequent libraries and executables linked against it.
19285 hardcode_automatic=$hardcode_automatic_GCJ
19287 # Variables whose values should be saved in libtool wrapper scripts and
19288 # restored at relink time.
19289 variables_saved_for_relink="$variables_saved_for_relink"
19291 # Whether libtool must link a program against all its dependency libraries.
19292 link_all_deplibs=$link_all_deplibs_GCJ
19294 # Compile-time system search path for libraries
19295 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19297 # Run-time system search path for libraries
19298 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19300 # Fix the shell variable \$srcfile for the compiler.
19301 fix_srcfile_path="$fix_srcfile_path_GCJ"
19303 # Set to yes if exported symbols are required.
19304 always_export_symbols=$always_export_symbols_GCJ
19306 # The commands to list exported symbols.
19307 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19309 # The commands to extract the exported symbol list from a shared archive.
19310 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19312 # Symbols that should not be listed in the preloaded symbols.
19313 exclude_expsyms=$lt_exclude_expsyms_GCJ
19315 # Symbols that must always be exported.
19316 include_expsyms=$lt_include_expsyms_GCJ
19318 # ### END LIBTOOL TAG CONFIG: $tagname
19324 # If there is no Makefile yet, we rely on a make rule to execute
19325 # `config.status --recheck' to rerun these tests and create the
19326 # libtool script then.
19327 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19328 if test -f "$ltmain_in"; then
19329 test -f Makefile
&& make "$ltmain"
19335 ac_cpp
='$CPP $CPPFLAGS'
19336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19351 # Source file extension for RC test sources.
19354 # Object file extension for compiled RC test sources.
19358 # Code to be used in simple compile tests
19359 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19361 # Code to be used in simple link tests
19362 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19364 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19366 # If no C compiler was specified, use CC.
19369 # If no C compiler flags were specified, use CFLAGS.
19370 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19372 # Allow CC to be a program name with arguments.
19376 # save warnings/boilerplate of simple test code
19377 ac_outfile
=conftest.
$ac_objext
19378 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19379 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19380 _lt_compiler_boilerplate
=`cat conftest.err`
19383 ac_outfile
=conftest.
$ac_objext
19384 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19385 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19386 _lt_linker_boilerplate
=`cat conftest.err`
19390 # Allow CC to be a program name with arguments.
19395 for cc_temp
in $compiler""; do
19397 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19398 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19403 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19405 lt_cv_prog_compiler_c_o_RC
=yes
19407 # The else clause should only fire when bootstrapping the
19408 # libtool distribution, otherwise you forgot to ship ltmain.sh
19409 # with your package, and you will get complaints that there are
19410 # no rules to generate ltmain.sh.
19411 if test -f "$ltmain"; then
19412 # See if we are running on zsh, and set the options which allow our commands through
19413 # without removal of \ escapes.
19414 if test -n "${ZSH_VERSION+set}" ; then
19415 setopt NO_GLOB_SUBST
19417 # Now quote all the things that may contain metacharacters while being
19418 # careful not to overquote the AC_SUBSTed values. We take copies of the
19419 # variables and quote the copies for generation of the libtool script.
19420 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19422 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19423 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19424 deplibs_check_method reload_flag reload_cmds need_locks \
19425 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19426 lt_cv_sys_global_symbol_to_c_name_address \
19427 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19428 old_postinstall_cmds old_postuninstall_cmds \
19432 lt_prog_compiler_wl_RC \
19433 lt_prog_compiler_pic_RC \
19434 lt_prog_compiler_static_RC \
19435 lt_prog_compiler_no_builtin_flag_RC \
19436 export_dynamic_flag_spec_RC \
19437 thread_safe_flag_spec_RC \
19438 whole_archive_flag_spec_RC \
19439 enable_shared_with_static_runtimes_RC \
19440 old_archive_cmds_RC \
19441 old_archive_from_new_cmds_RC \
19442 predep_objects_RC \
19443 postdep_objects_RC \
19446 compiler_lib_search_path_RC \
19448 archive_expsym_cmds_RC \
19449 postinstall_cmds_RC \
19450 postuninstall_cmds_RC \
19451 old_archive_from_expsyms_cmds_RC \
19452 allow_undefined_flag_RC \
19453 no_undefined_flag_RC \
19454 export_symbols_cmds_RC \
19455 hardcode_libdir_flag_spec_RC \
19456 hardcode_libdir_flag_spec_ld_RC \
19457 hardcode_libdir_separator_RC \
19458 hardcode_automatic_RC \
19460 module_expsym_cmds_RC \
19461 lt_cv_prog_compiler_c_o_RC \
19462 exclude_expsyms_RC \
19463 include_expsyms_RC
; do
19466 old_archive_cmds_RC | \
19467 old_archive_from_new_cmds_RC | \
19468 archive_cmds_RC | \
19469 archive_expsym_cmds_RC | \
19471 module_expsym_cmds_RC | \
19472 old_archive_from_expsyms_cmds_RC | \
19473 export_symbols_cmds_RC | \
19474 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19475 postinstall_cmds | postuninstall_cmds | \
19476 old_postinstall_cmds | old_postuninstall_cmds | \
19477 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19478 # Double-quote double-evaled strings.
19479 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19482 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19488 *'\$0 --fallback-echo"')
19489 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19495 cat <<__EOF__ >> "$cfgfile"
19496 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19498 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19500 # Shell to use when invoking shell scripts.
19503 # Whether or not to build shared libraries.
19504 build_libtool_libs=$enable_shared
19506 # Whether or not to build static libraries.
19507 build_old_libs=$enable_static
19509 # Whether or not to add -lc for building shared libraries.
19510 build_libtool_need_lc=$archive_cmds_need_lc_RC
19512 # Whether or not to disallow shared libs when runtime libs are static
19513 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19515 # Whether or not to optimize for fast installation.
19516 fast_install=$enable_fast_install
19519 host_alias=$host_alias
19523 # The build system.
19524 build_alias=$build_alias
19528 # An echo program that does not interpret backslashes.
19533 AR_FLAGS=$lt_AR_FLAGS
19538 # LTCC compiler flags.
19539 LTCFLAGS=$lt_LTCFLAGS
19541 # A language-specific compiler.
19544 # Is the compiler the GNU C compiler?
19547 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
19548 gcc_ver=\`gcc -dumpversion\`
19553 # The linker used to build libraries.
19556 # Whether we need hard or soft links.
19559 # A BSD-compatible nm program.
19562 # A symbol stripping program
19565 # Used to examine libraries when file_magic_cmd begins "file"
19566 MAGIC_CMD=$MAGIC_CMD
19568 # Used on cygwin: DLL creation program.
19571 # Used on cygwin: object dumper.
19574 # Used on cygwin: assembler.
19577 # The name of the directory that contains temporary libtool files.
19580 # How to create reloadable object files.
19581 reload_flag=$lt_reload_flag
19582 reload_cmds=$lt_reload_cmds
19584 # How to pass a linker flag through the compiler.
19585 wl=$lt_lt_prog_compiler_wl_RC
19587 # Object file suffix (normally "o").
19588 objext="$ac_objext"
19590 # Old archive suffix (normally "a").
19593 # Shared library suffix (normally ".so").
19594 shrext_cmds='$shrext_cmds'
19596 # Executable file suffix (normally "").
19599 # Additional compiler flags for building library objects.
19600 pic_flag=$lt_lt_prog_compiler_pic_RC
19603 # What is the maximum length of a command?
19604 max_cmd_len=$lt_cv_sys_max_cmd_len
19606 # Does compiler simultaneously support -c and -o options?
19607 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19609 # Must we lock files when doing compilation?
19610 need_locks=$lt_need_locks
19612 # Do we need the lib prefix for modules?
19613 need_lib_prefix=$need_lib_prefix
19615 # Do we need a version for libraries?
19616 need_version=$need_version
19618 # Whether dlopen is supported.
19619 dlopen_support=$enable_dlopen
19621 # Whether dlopen of programs is supported.
19622 dlopen_self=$enable_dlopen_self
19624 # Whether dlopen of statically linked programs is supported.
19625 dlopen_self_static=$enable_dlopen_self_static
19627 # Compiler flag to prevent dynamic linking.
19628 link_static_flag=$lt_lt_prog_compiler_static_RC
19630 # Compiler flag to turn off builtin functions.
19631 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19633 # Compiler flag to allow reflexive dlopens.
19634 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19636 # Compiler flag to generate shared objects directly from archives.
19637 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19639 # Compiler flag to generate thread-safe objects.
19640 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19642 # Library versioning type.
19643 version_type=$version_type
19645 # Format of library name prefix.
19646 libname_spec=$lt_libname_spec
19648 # List of archive names. First name is the real one, the rest are links.
19649 # The last name is the one that the linker finds with -lNAME.
19650 library_names_spec=$lt_library_names_spec
19652 # The coded name of the library, if different from the real name.
19653 soname_spec=$lt_soname_spec
19655 # Commands used to build and install an old-style archive.
19657 old_archive_cmds=$lt_old_archive_cmds_RC
19658 old_postinstall_cmds=$lt_old_postinstall_cmds
19659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19661 # Create an old-style archive from a shared archive.
19662 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19664 # Create a temporary old-style archive to link instead of a shared archive.
19665 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19667 # Commands used to build and install a shared archive.
19668 archive_cmds=$lt_archive_cmds_RC
19669 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19670 postinstall_cmds=$lt_postinstall_cmds
19671 postuninstall_cmds=$lt_postuninstall_cmds
19673 # Commands used to build a loadable module (assumed same as above if empty)
19674 module_cmds=$lt_module_cmds_RC
19675 module_expsym_cmds=$lt_module_expsym_cmds_RC
19677 # Commands to strip libraries.
19678 old_striplib=$lt_old_striplib
19679 striplib=$lt_striplib
19681 # Dependencies to place before the objects being linked to create a
19683 predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19685 # Dependencies to place after the objects being linked to create a
19687 postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19689 # Dependencies to place before the objects being linked to create a
19691 predeps=$lt_predeps_RC
19693 # Dependencies to place after the objects being linked to create a
19695 postdeps=$lt_postdeps_RC
19697 # The library search path used internally by the compiler when linking
19698 # a shared library.
19699 compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19701 # Method to check whether dependent libraries are shared objects.
19702 deplibs_check_method=$lt_deplibs_check_method
19704 # Command to use when deplibs_check_method == file_magic.
19705 file_magic_cmd=$lt_file_magic_cmd
19707 # Flag that allows shared libraries with undefined symbols to be built.
19708 allow_undefined_flag=$lt_allow_undefined_flag_RC
19710 # Flag that forces no undefined symbols.
19711 no_undefined_flag=$lt_no_undefined_flag_RC
19713 # Commands used to finish a libtool library installation in a directory.
19714 finish_cmds=$lt_finish_cmds
19716 # Same as above, but a single script fragment to be evaled but not shown.
19717 finish_eval=$lt_finish_eval
19719 # Take the output of nm and produce a listing of raw symbols and C names.
19720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19722 # Transform the output of nm in a proper C declaration
19723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19725 # Transform the output of nm in a C name address pair
19726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19728 # This is the shared library runtime path variable.
19729 runpath_var=$runpath_var
19731 # This is the shared library path variable.
19732 shlibpath_var=$shlibpath_var
19734 # Is shlibpath searched before the hard-coded library search path?
19735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19737 # How to hardcode a shared library path into an executable.
19738 hardcode_action=$hardcode_action_RC
19740 # Whether we should hardcode library paths into libraries.
19741 hardcode_into_libs=$hardcode_into_libs
19743 # Flag to hardcode \$libdir into a binary during linking.
19744 # This must work even if \$libdir does not exist.
19745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19747 # If ld is used when linking, flag to hardcode \$libdir into
19748 # a binary during linking. This must work even if \$libdir does
19750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19752 # Whether we need a single -rpath flag with a separated argument.
19753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19756 # resulting binary.
19757 hardcode_direct=$hardcode_direct_RC
19759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19760 # resulting binary.
19761 hardcode_minus_L=$hardcode_minus_L_RC
19763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19764 # the resulting binary.
19765 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19767 # Set to yes if building a shared library automatically hardcodes DIR into the library
19768 # and all subsequent libraries and executables linked against it.
19769 hardcode_automatic=$hardcode_automatic_RC
19771 # Variables whose values should be saved in libtool wrapper scripts and
19772 # restored at relink time.
19773 variables_saved_for_relink="$variables_saved_for_relink"
19775 # Whether libtool must link a program against all its dependency libraries.
19776 link_all_deplibs=$link_all_deplibs_RC
19778 # Compile-time system search path for libraries
19779 sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19781 # Run-time system search path for libraries
19782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19784 # Fix the shell variable \$srcfile for the compiler.
19785 fix_srcfile_path="$fix_srcfile_path_RC"
19787 # Set to yes if exported symbols are required.
19788 always_export_symbols=$always_export_symbols_RC
19790 # The commands to list exported symbols.
19791 export_symbols_cmds=$lt_export_symbols_cmds_RC
19793 # The commands to extract the exported symbol list from a shared archive.
19794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19796 # Symbols that should not be listed in the preloaded symbols.
19797 exclude_expsyms=$lt_exclude_expsyms_RC
19799 # Symbols that must always be exported.
19800 include_expsyms=$lt_include_expsyms_RC
19802 # ### END LIBTOOL TAG CONFIG: $tagname
19808 # If there is no Makefile yet, we rely on a make rule to execute
19809 # `config.status --recheck' to rerun these tests and create the
19810 # libtool script then.
19811 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19812 if test -f "$ltmain_in"; then
19813 test -f Makefile
&& make "$ltmain"
19819 ac_cpp
='$CPP $CPPFLAGS'
19820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19829 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19830 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19831 { (exit 1); exit 1; }; }
19835 # Append the new tag name to the list of available tags.
19836 if test -n "$tagname" ; then
19837 available_tags
="$available_tags $tagname"
19843 # Now substitute the updated list of available tags.
19844 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19845 mv "${ofile}T" "$ofile"
19849 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19850 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19851 { (exit 1); exit 1; }; }
19857 # This can be used to rebuild libtool when needed
19858 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19860 # Always use our own libtool.
19861 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19863 # Prevent multiple expansion
19885 if test "$PS" = "ps"
19887 { { echo "$as_me:$LINENO: error: Cannot find pathname to ps" >&5
19888 echo "$as_me: error: Cannot find pathname to ps" >&2;}
19889 { (exit 1); exit 1; }; }
19892 if test x
$GXX = xyes
19894 CFLAGS
="-Wall $CFLAGS"
19897 CFLAGS
="-I.. -I$srcdir/.. $CFLAGS"
19900 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19901 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19902 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 cat >conftest.
$ac_ext <<_ACEOF
19908 cat confdefs.h
>>conftest.
$ac_ext
19909 cat >>conftest.
$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <sys/types.h>
19912 #include <sys/wait.h>
19913 #ifndef WEXITSTATUS
19914 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19917 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19925 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19930 rm -f conftest.
$ac_objext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>conftest.er1
19934 grep -v '^ *+' conftest.er1
>conftest.err
19936 cat conftest.err
>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try
='test -z "$ac_c_werror_flag"
19940 || test ! -s conftest.err'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; } &&
19946 { ac_try
='test -s conftest.$ac_objext'
19947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19948 (eval $ac_try) 2>&5
19950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); }; }; then
19952 ac_cv_header_sys_wait_h
=yes
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.
$ac_ext >&5
19957 ac_cv_header_sys_wait_h
=no
19959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19961 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19962 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19963 if test $ac_cv_header_sys_wait_h = yes; then
19965 cat >>confdefs.h
<<\_ACEOF
19966 #define HAVE_SYS_WAIT_H 1
19973 for ac_header
in unistd.h fcntl.h
19975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19977 echo "$as_me:$LINENO: checking for $ac_header" >&5
19978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19985 # Is the header compilable?
19986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19988 cat >conftest.
$ac_ext <<_ACEOF
19991 cat confdefs.h
>>conftest.
$ac_ext
19992 cat >>conftest.
$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 $ac_includes_default
19995 #include <$ac_header>
19997 rm -f conftest.
$ac_objext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19999 (eval $ac_compile) 2>conftest.er1
20001 grep -v '^ *+' conftest.er1
>conftest.err
20003 cat conftest.err
>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try
='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try
='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_header_compiler
=yes
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 ac_header_compiler
=no
20026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20028 echo "${ECHO_T}$ac_header_compiler" >&6
20030 # Is the header present?
20031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20033 cat >conftest.
$ac_ext <<_ACEOF
20036 cat confdefs.h
>>conftest.
$ac_ext
20037 cat >>conftest.
$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <$ac_header>
20041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20044 grep -v '^ *+' conftest.er1
>conftest.err
20046 cat conftest.err
>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } >/dev
/null
; then
20049 if test -s conftest.err
; then
20050 ac_cpp_err
=$ac_c_preproc_warn_flag
20051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20058 if test -z "$ac_cpp_err"; then
20059 ac_header_preproc
=yes
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.
$ac_ext >&5
20064 ac_header_preproc
=no
20066 rm -f conftest.err conftest.
$ac_ext
20067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20068 echo "${ECHO_T}$ac_header_preproc" >&6
20070 # So? What about this header?
20071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20077 ac_header_preproc
=yes
20080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20094 ## -------------------------------------------------- ##
20095 ## Report this to courier-users@lists.sourceforge.net ##
20096 ## -------------------------------------------------- ##
20099 sed "s/^/$as_me: WARNING: /" >&2
20102 echo "$as_me:$LINENO: checking for $ac_header" >&5
20103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 eval "$as_ac_Header=\$ac_header_preproc"
20109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20114 cat >>confdefs.h
<<_ACEOF
20115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20123 echo "$as_me:$LINENO: checking for pid_t" >&5
20124 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20125 if test "${ac_cv_type_pid_t+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 cat >conftest.
$ac_ext <<_ACEOF
20131 cat confdefs.h
>>conftest.
$ac_ext
20132 cat >>conftest.
$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20140 if (sizeof (pid_t))
20146 rm -f conftest.
$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>conftest.er1
20150 grep -v '^ *+' conftest.er1
>conftest.err
20152 cat conftest.err
>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try
='test -z "$ac_c_werror_flag"
20156 || test ! -s conftest.err'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try
='test -s conftest.$ac_objext'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; }; then
20168 ac_cv_type_pid_t
=yes
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.
$ac_ext >&5
20173 ac_cv_type_pid_t
=no
20175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20177 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20178 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20179 if test $ac_cv_type_pid_t = yes; then
20183 cat >>confdefs.h
<<_ACEOF
20191 # Check whether --with-random or --without-random was given.
20192 if test "${with_random+set}" = set; then
20193 withval
="$with_random"
20203 echo "$as_me:$LINENO: checking for random source" >&5
20204 echo $ECHO_N "checking for random source... $ECHO_C" >&6
20205 if test "${random_cv_RANDOM+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 if test -c /dev
/urandom
20210 random_cv_RANDOM
=/dev
/urandom
20212 if test -c /dev
/random
20214 random_cv_RANDOM
=/dev
/random
20216 random_cv_RANDOM
="none"
20221 echo "$as_me:$LINENO: result: $random_cv_RANDOM" >&5
20222 echo "${ECHO_T}$random_cv_RANDOM" >&6
20223 random
="$random_cv_RANDOM"
20230 if test "$random" != "none"
20233 cat >>confdefs.h
<<_ACEOF
20234 #define RANDOM "$random"
20239 echo "$as_me:$LINENO: checking for some good options for ps" >&5
20240 echo $ECHO_N "checking for some good options for ps... $ECHO_C" >&6
20241 if test "${random_cv_PS_OPTIONS+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 for opts
in -Afl -Afw -Af -Al -afl -afw -af -al Afl Afw Af Al afl afw af al
20246 ps
$opts >/dev
/null
2>/dev
/null ||
continue
20249 random_cv_PS_OPTIONS
="$opts"
20252 echo "$as_me:$LINENO: result: $random_cv_PS_OPTIONS" >&5
20253 echo "${ECHO_T}$random_cv_PS_OPTIONS" >&6
20256 cat >>confdefs.h
<<_ACEOF
20257 #define PS_OPTIONS "$random_cv_PS_OPTIONS"
20261 cat >>confdefs.h
<<_ACEOF
20266 if test "$W" != "w"
20269 cat >>confdefs.h
<<_ACEOF
20275 ac_config_files
="$ac_config_files Makefile"
20276 cat >confcache
<<\_ACEOF
20277 # This file is a shell script that caches the results of configure
20278 # tests run on this system so they can be shared between configure
20279 # scripts and configure runs, see configure's option --config-cache.
20280 # It is not useful on other systems. If it contains results you don't
20281 # want to keep, you may remove or edit it.
20283 # config.status only pays attention to the cache file if you give it
20284 # the --recheck option to rerun configure.
20286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20288 # following values.
20292 # The following way of writing the cache mishandles newlines in values,
20293 # but we know of no workaround that is simple, portable, and efficient.
20294 # So, don't put newlines in cache variables' values.
20295 # Ultrix sh set writes to stderr and can't be redirected directly,
20296 # and sets the high bit in the cache file unless we assign to the vars.
20299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20301 # `set' does not quote correctly, so add quotes (double-quote
20302 # substitution turns \\\\ into \\, and sed turns \\ into \).
20305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20308 # `set' quotes correctly as required by POSIX, so do not add quotes.
20310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20321 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20322 if test -w $cache_file; then
20323 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20324 cat confcache
>$cache_file
20326 echo "not updating unwritable cache $cache_file"
20331 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20332 # Let make expand exec_prefix.
20333 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20335 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20336 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20337 # trailing colons and then remove the whole line if VPATH becomes empty
20338 # (actually we leave an empty line to preserve line numbers).
20339 if test "x$srcdir" = x.
; then
20340 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20341 s/:*\$(srcdir):*/:/;
20342 s/:*\${srcdir}:*/:/;
20344 s/^\([^=]*=[ ]*\):*/\1/;
20350 DEFS
=-DHAVE_CONFIG_H
20354 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20355 # 1. Remove the extension, and $U if already installed.
20356 ac_i
=`echo "$ac_i" |
20357 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20359 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20360 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20362 LIBOBJS
=$ac_libobjs
20364 LTLIBOBJS
=$ac_ltlibobjs
20367 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20368 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20369 Usually this means the macro was only invoked conditionally." >&5
20370 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20371 Usually this means the macro was only invoked conditionally." >&2;}
20372 { (exit 1); exit 1; }; }
20374 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20375 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20376 Usually this means the macro was only invoked conditionally." >&5
20377 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20378 Usually this means the macro was only invoked conditionally." >&2;}
20379 { (exit 1); exit 1; }; }
20381 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20382 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20383 Usually this means the macro was only invoked conditionally." >&5
20384 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20385 Usually this means the macro was only invoked conditionally." >&2;}
20386 { (exit 1); exit 1; }; }
20388 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20389 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20390 Usually this means the macro was only invoked conditionally." >&5
20391 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20392 Usually this means the macro was only invoked conditionally." >&2;}
20393 { (exit 1); exit 1; }; }
20396 : ${CONFIG_STATUS=./config.status}
20397 ac_clean_files_save
=$ac_clean_files
20398 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20399 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20400 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20401 cat >$CONFIG_STATUS <<_ACEOF
20403 # Generated by $as_me.
20404 # Run this file to recreate the current configuration.
20405 # Compiler output produced by configure, useful for debugging
20406 # configure, is in config.log if it exists.
20409 ac_cs_recheck=false
20411 SHELL=\${CONFIG_SHELL-$SHELL}
20414 cat >>$CONFIG_STATUS <<\_ACEOF
20415 ## --------------------- ##
20416 ## M4sh Initialization. ##
20417 ## --------------------- ##
20419 # Be Bourne compatible
20420 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20423 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20424 # is contrary to our usage. Disable this feature.
20425 alias -g '${1+"$@"}'='"$@"'
20426 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20429 DUALCASE
=1; export DUALCASE
# for MKS sh
20431 # Support unset when possible.
20432 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20439 # Work around bugs in pre-3.0 UWIN ksh.
20440 $as_unset ENV MAIL MAILPATH
20447 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20448 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20449 LC_TELEPHONE LC_TIME
20451 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20452 eval $as_var=C
; export $as_var
20458 # Required to use basename.
20459 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20465 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20466 as_basename
=basename
20472 # Name of the executable.
20473 as_me
=`$as_basename "$0" ||
20474 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20475 X"$0" : 'X\(//\)$' \| \
20476 X"$0" : 'X\(/\)$' \| \
20477 . : '\(.\)' 2>/dev/null ||
20479 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20480 /^X\/\(\/\/\)$/{ s//\1/; q; }
20481 /^X\/\(\/\).*/{ s//\1/; q; }
20485 # PATH needs CR, and LINENO needs CR and PATH.
20486 # Avoid depending upon Character Ranges.
20487 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20488 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20489 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20490 as_cr_digits
='0123456789'
20491 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20493 # The user is always right.
20494 if test "${PATH_SEPARATOR+set}" != set; then
20495 echo "#! /bin/sh" >conf$$.sh
20496 echo "exit 0" >>conf$$.sh
20498 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20507 as_lineno_1
=$LINENO
20508 as_lineno_2
=$LINENO
20509 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20510 test "x$as_lineno_1" != "x$as_lineno_2" &&
20511 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20512 # Find who we are. Look in the path if we contain no path at all
20515 *[\\/]* ) as_myself
=$0 ;;
20516 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20517 for as_dir
in $PATH
20520 test -z "$as_dir" && as_dir
=.
20521 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20526 # We did not find ourselves, most probably we were run as `sh COMMAND'
20527 # in which case we are not to be found in the path.
20528 if test "x$as_myself" = x
; then
20531 if test ! -f "$as_myself"; then
20532 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20533 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20534 { (exit 1); exit 1; }; }
20536 case $CONFIG_SHELL in
20538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20539 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20542 test -z "$as_dir" && as_dir
=.
20543 for as_base
in sh bash ksh sh5
; do
20546 if ("$as_dir/$as_base" -c '
20547 as_lineno_1=$LINENO
20548 as_lineno_2=$LINENO
20549 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20550 test "x$as_lineno_1" != "x$as_lineno_2" &&
20551 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20552 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20553 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20554 CONFIG_SHELL
=$as_dir/$as_base
20555 export CONFIG_SHELL
20556 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20564 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20565 # uniformly replaced by the line number. The first 'sed' inserts a
20566 # line-number line before each line; the second 'sed' does the real
20567 # work. The second script uses 'N' to pair each line-number line
20568 # with the numbered line, and appends trailing '-' during
20569 # substitution so that $LINENO is not a special case at line end.
20570 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20571 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20572 sed '=' <$as_myself |
20577 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20580 s,^['$as_cr_digits']*\n,,
20581 ' >$as_me.lineno
&&
20582 chmod +x
$as_me.lineno ||
20583 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20584 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20585 { (exit 1); exit 1; }; }
20587 # Don't try to exec as it changes $[0], causing all sort of problems
20588 # (the dirname of $[0] is not the place where we might find the
20589 # original and so on. Autoconf is especially sensible to this).
20591 # Exit status is that of the last command.
20596 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20597 *c
*,-n*) ECHO_N
= ECHO_C
='
20599 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20600 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20603 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20609 rm -f conf$$ conf$$.exe conf$$.
file
20611 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20612 # We could just check for DJGPP; but this test a) works b) is more generic
20613 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20614 if test -f conf$$.exe
; then
20615 # Don't use ln at all; we don't have any links
20620 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20625 rm -f conf$$ conf$$.exe conf$$.
file
20627 if mkdir
-p .
2>/dev
/null
; then
20630 test -d .
/-p && rmdir .
/-p
20634 as_executable_p
="test -f"
20636 # Sed expression to map a string onto a valid CPP name.
20637 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20639 # Sed expression to map a string onto a valid variable name.
20640 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20644 # We need space, tab and new line, in precisely that order.
20654 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20655 # report actual input values of CONFIG_FILES etc. instead of their
20656 # values after options handling. Logging --version etc. is OK.
20660 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20661 ## Running $as_me. ##
20666 This file was extended by random128 $as_me 0.10, which was
20667 generated by GNU Autoconf 2.59. Invocation command line was
20669 CONFIG_FILES = $CONFIG_FILES
20670 CONFIG_HEADERS = $CONFIG_HEADERS
20671 CONFIG_LINKS = $CONFIG_LINKS
20672 CONFIG_COMMANDS = $CONFIG_COMMANDS
20676 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20680 # Files that config.status was made for.
20681 if test -n "$ac_config_files"; then
20682 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20685 if test -n "$ac_config_headers"; then
20686 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20689 if test -n "$ac_config_links"; then
20690 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20693 if test -n "$ac_config_commands"; then
20694 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20697 cat >>$CONFIG_STATUS <<\_ACEOF
20700 \`$as_me' instantiates files from templates according to the
20701 current configuration.
20703 Usage: $0 [OPTIONS] [FILE]...
20705 -h, --help print this help, then exit
20706 -V, --version print version number, then exit
20707 -q, --quiet do not print progress messages
20708 -d, --debug don't remove temporary files
20709 --recheck update $as_me by reconfiguring in the same conditions
20710 --file=FILE[:TEMPLATE]
20711 instantiate the configuration file FILE
20712 --header=FILE[:TEMPLATE]
20713 instantiate the configuration header FILE
20715 Configuration files:
20718 Configuration headers:
20721 Configuration commands:
20724 Report bugs to <bug-autoconf@gnu.org>."
20727 cat >>$CONFIG_STATUS <<_ACEOF
20729 random128 config.status 0.10
20730 configured by $0, generated by GNU Autoconf 2.59,
20731 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20733 Copyright (C) 2003 Free Software Foundation, Inc.
20734 This config.status script is free software; the Free Software Foundation
20735 gives unlimited permission to copy, distribute and modify it."
20740 cat >>$CONFIG_STATUS <<\_ACEOF
20741 # If no file are specified by the user, then we need to provide default
20742 # value. By we need to know if files were specified by the user.
20748 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20749 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20757 *) # This is not an option, so the user has probably given explicit
20760 ac_need_defaults
=false
;;
20764 # Handling of the options.
20766 cat >>$CONFIG_STATUS <<\_ACEOF
20767 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20769 --version |
--vers* |
-V )
20770 echo "$ac_cs_version"; exit 0 ;;
20772 # Conflict between --help and --header
20773 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20774 Try \`$0 --help' for more information." >&5
20775 echo "$as_me: error: ambiguous option: $1
20776 Try \`$0 --help' for more information." >&2;}
20777 { (exit 1); exit 1; }; };;
20778 --help |
--hel |
-h )
20779 echo "$ac_cs_usage"; exit 0 ;;
20780 --debug |
--d* |
-d )
20782 --file |
--fil |
--fi |
--f )
20784 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20785 ac_need_defaults
=false
;;
20786 --header |
--heade |
--head |
--hea )
20788 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20789 ac_need_defaults
=false
;;
20790 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20791 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20794 # This is an error.
20795 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20796 Try \`$0 --help' for more information." >&5
20797 echo "$as_me: error: unrecognized option: $1
20798 Try \`$0 --help' for more information." >&2;}
20799 { (exit 1); exit 1; }; } ;;
20801 *) ac_config_targets
="$ac_config_targets $1" ;;
20807 ac_configure_extra_args
=
20809 if $ac_cs_silent; then
20811 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20815 cat >>$CONFIG_STATUS <<_ACEOF
20816 if \$ac_cs_recheck; then
20817 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20818 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20823 cat >>$CONFIG_STATUS <<_ACEOF
20825 # INIT-COMMANDS section.
20828 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20834 cat >>$CONFIG_STATUS <<\_ACEOF
20835 for ac_config_target
in $ac_config_targets
20837 case "$ac_config_target" in
20838 # Handling of arguments.
20839 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20840 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20841 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20842 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20843 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20844 { (exit 1); exit 1; }; };;
20848 # If the user did not use the arguments to specify the items to instantiate,
20849 # then the envvar interface is used. Set only those that are not.
20850 # We use the long form for the default assignment because of an extremely
20851 # bizarre bug on SunOS 4.1.3.
20852 if $ac_need_defaults; then
20853 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20854 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20855 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20858 # Have a temporary directory for convenience. Make it in the build tree
20859 # simply because there is no reason to put it here, and in addition,
20860 # creating and moving files from /tmp can sometimes cause problems.
20861 # Create a temporary directory, and hook for its removal unless debugging.
20864 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20865 trap '{ (exit 1); exit 1; }' 1 2 13 15
20868 # Create a (secure) tmp directory for tmp files.
20871 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20872 test -n "$tmp" && test -d "$tmp"
20875 tmp
=.
/confstat$$
-$RANDOM
20876 (umask 077 && mkdir
$tmp)
20879 echo "$me: cannot create a temporary directory in ." >&2
20880 { (exit 1); exit 1; }
20885 cat >>$CONFIG_STATUS <<_ACEOF
20888 # CONFIG_FILES section.
20891 # No need to generate the scripts if there are no CONFIG_FILES.
20892 # This happens for instance when ./config.status config.h
20893 if test -n "\$CONFIG_FILES"; then
20894 # Protect against being on the right side of a sed subst in config.status.
20895 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20896 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20897 s,@SHELL@,$SHELL,;t t
20898 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20899 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20900 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20901 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20902 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20903 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20904 s,@exec_prefix@,$exec_prefix,;t t
20905 s,@prefix@,$prefix,;t t
20906 s,@program_transform_name@,$program_transform_name,;t t
20907 s,@bindir@,$bindir,;t t
20908 s,@sbindir@,$sbindir,;t t
20909 s,@libexecdir@,$libexecdir,;t t
20910 s,@datadir@,$datadir,;t t
20911 s,@sysconfdir@,$sysconfdir,;t t
20912 s,@sharedstatedir@,$sharedstatedir,;t t
20913 s,@localstatedir@,$localstatedir,;t t
20914 s,@libdir@,$libdir,;t t
20915 s,@includedir@,$includedir,;t t
20916 s,@oldincludedir@,$oldincludedir,;t t
20917 s,@infodir@,$infodir,;t t
20918 s,@mandir@,$mandir,;t t
20919 s,@build_alias@,$build_alias,;t t
20920 s,@host_alias@,$host_alias,;t t
20921 s,@target_alias@,$target_alias,;t t
20922 s,@DEFS@,$DEFS,;t t
20923 s,@ECHO_C@,$ECHO_C,;t t
20924 s,@ECHO_N@,$ECHO_N,;t t
20925 s,@ECHO_T@,$ECHO_T,;t t
20926 s,@LIBS@,$LIBS,;t t
20927 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20928 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20929 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20930 s,@CYGPATH_W@,$CYGPATH_W,;t t
20931 s,@PACKAGE@,$PACKAGE,;t t
20932 s,@VERSION@,$VERSION,;t t
20933 s,@ACLOCAL@,$ACLOCAL,;t t
20934 s,@AUTOCONF@,$AUTOCONF,;t t
20935 s,@AUTOMAKE@,$AUTOMAKE,;t t
20936 s,@AUTOHEADER@,$AUTOHEADER,;t t
20937 s,@MAKEINFO@,$MAKEINFO,;t t
20938 s,@install_sh@,$install_sh,;t t
20939 s,@STRIP@,$STRIP,;t t
20940 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20941 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20942 s,@mkdir_p@,$mkdir_p,;t t
20944 s,@SET_MAKE@,$SET_MAKE,;t t
20945 s,@am__leading_dot@,$am__leading_dot,;t t
20946 s,@AMTAR@,$AMTAR,;t t
20947 s,@am__tar@,$am__tar,;t t
20948 s,@am__untar@,$am__untar,;t t
20950 s,@CFLAGS@,$CFLAGS,;t t
20951 s,@LDFLAGS@,$LDFLAGS,;t t
20952 s,@CPPFLAGS@,$CPPFLAGS,;t t
20953 s,@ac_ct_CC@,$ac_ct_CC,;t t
20954 s,@EXEEXT@,$EXEEXT,;t t
20955 s,@OBJEXT@,$OBJEXT,;t t
20956 s,@DEPDIR@,$DEPDIR,;t t
20957 s,@am__include@,$am__include,;t t
20958 s,@am__quote@,$am__quote,;t t
20959 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20960 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20961 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20962 s,@CCDEPMODE@,$CCDEPMODE,;t t
20963 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20964 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20966 s,@EGREP@,$EGREP,;t t
20967 s,@LN_S@,$LN_S,;t t
20970 s,@build@,$build,;t t
20971 s,@build_cpu@,$build_cpu,;t t
20972 s,@build_vendor@,$build_vendor,;t t
20973 s,@build_os@,$build_os,;t t
20974 s,@host@,$host,;t t
20975 s,@host_cpu@,$host_cpu,;t t
20976 s,@host_vendor@,$host_vendor,;t t
20977 s,@host_os@,$host_os,;t t
20979 s,@ECHO@,$ECHO,;t t
20981 s,@ac_ct_AR@,$ac_ct_AR,;t t
20982 s,@RANLIB@,$RANLIB,;t t
20983 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20985 s,@CXXFLAGS@,$CXXFLAGS,;t t
20986 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20987 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20988 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20989 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20990 s,@CXXCPP@,$CXXCPP,;t t
20992 s,@FFLAGS@,$FFLAGS,;t t
20993 s,@ac_ct_F77@,$ac_ct_F77,;t t
20994 s,@LIBTOOL@,$LIBTOOL,;t t
20995 s,@LIBOBJS@,$LIBOBJS,;t t
20996 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21001 cat >>$CONFIG_STATUS <<\_ACEOF
21002 # Split the substitutions into bite-sized pieces for seds with
21003 # small command number limits, like on Digital OSF/1 and HP-UX.
21004 ac_max_sed_lines
=48
21005 ac_sed_frag
=1 # Number of current file.
21006 ac_beg
=1 # First line for current file.
21007 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21010 while $ac_more_lines; do
21011 if test $ac_beg -gt 1; then
21012 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21014 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21016 if test ! -s $tmp/subs.frag
; then
21017 ac_more_lines
=false
21019 # The purpose of the label and of the branching condition is to
21020 # speed up the sed processing (if there are no `@' at all, there
21021 # is no need to browse any of the substitutions).
21022 # These are the two extra sed commands mentioned above.
21024 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21025 if test -z "$ac_sed_cmds"; then
21026 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21028 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21030 ac_sed_frag
=`expr $ac_sed_frag + 1`
21032 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21035 if test -z "$ac_sed_cmds"; then
21038 fi # test -n "$CONFIG_FILES"
21041 cat >>$CONFIG_STATUS <<\_ACEOF
21042 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21043 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21045 - |
*:- |
*:-:* ) # input from stdin
21047 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21048 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21049 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21050 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21051 * ) ac_file_in
=$ac_file.
in ;;
21054 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21055 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21057 X"$ac_file" : 'X\(//\)[^/]' \| \
21058 X"$ac_file" : 'X\(//\)$' \| \
21059 X"$ac_file" : 'X\(/\)' \| \
21060 . : '\(.\)' 2>/dev/null ||
21062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21064 /^X\(\/\/\)$/{ s//\1/; q; }
21065 /^X\(\/\).*/{ s//\1/; q; }
21067 { if $as_mkdir_p; then
21072 while test ! -d "$as_dir"; do
21073 as_dirs
="$as_dir $as_dirs"
21074 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21076 X"$as_dir" : 'X\(//\)[^/]' \| \
21077 X"$as_dir" : 'X\(//\)$' \| \
21078 X"$as_dir" : 'X\(/\)' \| \
21079 . : '\(.\)' 2>/dev/null ||
21081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21083 /^X\(\/\/\)$/{ s//\1/; q; }
21084 /^X\(\/\).*/{ s//\1/; q; }
21087 test ! -n "$as_dirs" || mkdir
$as_dirs
21088 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21090 { (exit 1); exit 1; }; }; }
21094 if test "$ac_dir" != .
; then
21095 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21096 # A "../" for each directory in $ac_dir_suffix.
21097 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21099 ac_dir_suffix
= ac_top_builddir
=
21103 .
) # No --srcdir option. We are building in place.
21105 if test -z "$ac_top_builddir"; then
21108 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21110 [\\/]* | ?
:[\\/]* ) # Absolute path.
21111 ac_srcdir
=$srcdir$ac_dir_suffix;
21112 ac_top_srcdir
=$srcdir ;;
21113 *) # Relative path.
21114 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21115 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21118 # Do not use `cd foo && pwd` to compute absolute paths, because
21119 # the directories may not exist.
21121 .
) ac_abs_builddir
="$ac_dir";;
21124 .
) ac_abs_builddir
=`pwd`;;
21125 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21126 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21129 case $ac_abs_builddir in
21130 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21132 case ${ac_top_builddir}.
in
21133 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21134 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21135 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21138 case $ac_abs_builddir in
21139 .
) ac_abs_srcdir
=$ac_srcdir;;
21142 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21143 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21144 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21147 case $ac_abs_builddir in
21148 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21150 case $ac_top_srcdir in
21151 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21152 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21153 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21159 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21160 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21163 if test x
"$ac_file" != x-
; then
21164 { echo "$as_me:$LINENO: creating $ac_file" >&5
21165 echo "$as_me: creating $ac_file" >&6;}
21168 # Let's still pretend it is `configure' which instantiates (i.e., don't
21169 # use $as_me), people would be surprised to read:
21170 # /* config.h. Generated by config.status. */
21171 if test x
"$ac_file" = x-
; then
21174 configure_input
="$ac_file. "
21176 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21177 sed 's,.*/,,'` by configure."
21179 # First look for the input files in the build tree, otherwise in the
21181 ac_file_inputs
=`IFS=:
21182 for f in $ac_file_in; do
21184 -) echo $tmp/stdin ;;
21186 # Absolute (can't be DOS-style, as IFS=:)
21187 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21188 echo "$as_me: error: cannot find input file: $f" >&2;}
21189 { (exit 1); exit 1; }; }
21192 if test -f "$f"; then
21195 elif test -f "$srcdir/$f"; then
21200 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21201 echo "$as_me: error: cannot find input file: $f" >&2;}
21202 { (exit 1); exit 1; }; }
21205 done` ||
{ (exit 1); exit 1; }
21207 cat >>$CONFIG_STATUS <<_ACEOF
21211 cat >>$CONFIG_STATUS <<\_ACEOF
21213 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21214 s
,@configure_input@
,$configure_input,;t t
21215 s
,@srcdir@
,$ac_srcdir,;t t
21216 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21217 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21218 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21219 s
,@builddir@
,$ac_builddir,;t t
21220 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21221 s
,@top_builddir@
,$ac_top_builddir,;t t
21222 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21223 s
,@INSTALL@
,$ac_INSTALL,;t t
21224 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21226 if test x"$ac_file" != x-; then
21227 mv $tmp/out $ac_file
21235 cat >>$CONFIG_STATUS <<\_ACEOF
21238 # CONFIG_HEADER section.
21241 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21242 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21244 # ac_d sets the value in "#define NAME VALUE" lines.
21245 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21246 ac_dB
='[ ].*$,\1#\2'
21249 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21250 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21251 ac_uB
='$,\1#\2define\3'
21255 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21256 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21258 - |
*:- |
*:-:* ) # input from stdin
21260 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21261 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21262 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21263 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21264 * ) ac_file_in
=$ac_file.
in ;;
21267 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21268 echo "$as_me: creating $ac_file" >&6;}
21270 # First look for the input files in the build tree, otherwise in the
21272 ac_file_inputs
=`IFS=:
21273 for f in $ac_file_in; do
21275 -) echo $tmp/stdin ;;
21277 # Absolute (can't be DOS-style, as IFS=:)
21278 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21279 echo "$as_me: error: cannot find input file: $f" >&2;}
21280 { (exit 1); exit 1; }; }
21281 # Do quote $f, to prevent DOS paths from being IFS'd.
21284 if test -f "$f"; then
21287 elif test -f "$srcdir/$f"; then
21292 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21293 echo "$as_me: error: cannot find input file: $f" >&2;}
21294 { (exit 1); exit 1; }; }
21297 done` ||
{ (exit 1); exit 1; }
21298 # Remove the trailing spaces.
21299 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21303 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21304 # `conftest.undefs', that substitutes the proper values into
21305 # config.h.in to produce config.h. The first handles `#define'
21306 # templates, and the second `#undef' templates.
21307 # And first: Protect against being on the right side of a sed subst in
21308 # config.status. Protect against being in an unquoted here document
21309 # in config.status.
21310 rm -f conftest.defines conftest.undefs
21311 # Using a here document instead of a string reduces the quoting nightmare.
21312 # Putting comments in sed scripts is not portable.
21314 # `end' is used to avoid that the second main sed command (meant for
21315 # 0-ary CPP macros) applies to n-ary macro definitions.
21316 # See the Autoconf documentation for `clear'.
21317 cat >confdef2sed.
sed <<\_ACEOF
21322 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21324 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21327 # If some macros were called several times there might be several times
21328 # the same #defines, which is useless. Nevertheless, we may not want to
21329 # sort them, since we want the *last* AC-DEFINE to be honored.
21330 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21331 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21332 rm -f confdef2sed.sed
21334 # This sed command replaces #undef with comments. This is necessary, for
21335 # example, in the case of _POSIX_SOURCE, which is predefined and required
21336 # on some systems where configure will not decide to define it.
21337 cat >>conftest.undefs <<\_ACEOF
21338 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21341 # Break up conftest.defines because some shells have a limit on the size
21342 # of here documents, and old seds have small limits too (100 cmds).
21343 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21344 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21345 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21346 echo ' :' >>$CONFIG_STATUS
21347 rm -f conftest.tail
21348 while grep . conftest.defines >/dev/null
21350 # Write a limited-size here document to $tmp/defines.sed.
21351 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21352 # Speed up: don't consider the non `#define' lines.
21353 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21354 # Work around the forget-to-reset-the-flag bug.
21355 echo 't clr' >>$CONFIG_STATUS
21356 echo ': clr' >>$CONFIG_STATUS
21357 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21359 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21361 mv $tmp/out $tmp/in
21363 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21364 rm -f conftest.defines
21365 mv conftest.
tail conftest.defines
21367 rm -f conftest.defines
21368 echo ' fi # grep' >>$CONFIG_STATUS
21369 echo >>$CONFIG_STATUS
21371 # Break up conftest.undefs because some shells have a limit on the size
21372 # of here documents, and old seds have small limits too (100 cmds).
21373 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21374 rm -f conftest.
tail
21375 while grep . conftest.undefs
>/dev
/null
21377 # Write a limited-size here document to $tmp/undefs.sed.
21378 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21379 # Speed up: don't consider the non
`#undef'
21380 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21381 # Work around the forget-to-reset-the-flag bug.
21382 echo 't clr' >>$CONFIG_STATUS
21383 echo ': clr' >>$CONFIG_STATUS
21384 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21386 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21388 mv $tmp/out $tmp/in
21390 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21391 rm -f conftest.undefs
21392 mv conftest.tail conftest.undefs
21394 rm -f conftest.undefs
21396 cat >>$CONFIG_STATUS <<\_ACEOF
21397 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21398 # use $as_me), people would be surprised to read:
21399 # /* config.h. Generated by config.status. */
21400 if test x
"$ac_file" = x-
; then
21401 echo "/* Generated by configure. */" >$tmp/config.h
21403 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21405 cat $tmp/in >>$tmp/config.h
21407 if test x
"$ac_file" != x-
; then
21408 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21409 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21410 echo "$as_me: $ac_file is unchanged" >&6;}
21412 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21414 X"$ac_file" : 'X\(//\)[^/]' \| \
21415 X"$ac_file" : 'X\(//\)$' \| \
21416 X"$ac_file" : 'X\(/\)' \| \
21417 . : '\(.\)' 2>/dev/null ||
21419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21421 /^X\(\/\/\)$/{ s//\1/; q; }
21422 /^X\(\/\).*/{ s//\1/; q; }
21424 { if $as_mkdir_p; then
21429 while test ! -d "$as_dir"; do
21430 as_dirs
="$as_dir $as_dirs"
21431 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21433 X"$as_dir" : 'X\(//\)[^/]' \| \
21434 X"$as_dir" : 'X\(//\)$' \| \
21435 X"$as_dir" : 'X\(/\)' \| \
21436 . : '\(.\)' 2>/dev/null ||
21438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21440 /^X\(\/\/\)$/{ s//\1/; q; }
21441 /^X\(\/\).*/{ s//\1/; q; }
21444 test ! -n "$as_dirs" || mkdir
$as_dirs
21445 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21447 { (exit 1); exit 1; }; }; }
21450 mv $tmp/config.h
$ac_file
21454 rm -f $tmp/config.h
21456 # Compute $ac_file's index in $config_headers.
21458 for _am_header
in $config_headers :; do
21459 case $_am_header in
21460 $ac_file |
$ac_file:* )
21463 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21466 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21467 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21468 X$ac_file : 'X\(//\)[^/]' \| \
21469 X$ac_file : 'X\(//\)$' \| \
21470 X$ac_file : 'X\(/\)' \| \
21471 . : '\(.\)' 2>/dev/null ||
21473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21474 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21475 /^X\(\/\/\)$/{ s//\1/; q; }
21476 /^X\(\/\).*/{ s//\1/; q; }
21477 s/.*/./; q'`/stamp-h
$_am_stamp_count
21480 cat >>$CONFIG_STATUS <<\_ACEOF
21483 # CONFIG_COMMANDS section.
21485 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21486 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21487 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21488 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21489 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21490 X"$ac_dest" : 'X\(//\)[^/]' \| \
21491 X"$ac_dest" : 'X\(//\)$' \| \
21492 X"$ac_dest" : 'X\(/\)' \| \
21493 . : '\(.\)' 2>/dev/null ||
21495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21496 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21497 /^X\(\/\/\)$/{ s//\1/; q; }
21498 /^X\(\/\).*/{ s//\1/; q; }
21500 { if $as_mkdir_p; then
21505 while test ! -d "$as_dir"; do
21506 as_dirs
="$as_dir $as_dirs"
21507 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21509 X"$as_dir" : 'X\(//\)[^/]' \| \
21510 X"$as_dir" : 'X\(//\)$' \| \
21511 X"$as_dir" : 'X\(/\)' \| \
21512 . : '\(.\)' 2>/dev/null ||
21514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21516 /^X\(\/\/\)$/{ s//\1/; q; }
21517 /^X\(\/\).*/{ s//\1/; q; }
21520 test ! -n "$as_dirs" || mkdir
$as_dirs
21521 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21523 { (exit 1); exit 1; }; }; }
21527 if test "$ac_dir" != .
; then
21528 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21529 # A "../" for each directory in $ac_dir_suffix.
21530 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21532 ac_dir_suffix
= ac_top_builddir
=
21536 .
) # No --srcdir option. We are building in place.
21538 if test -z "$ac_top_builddir"; then
21541 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21543 [\\/]* | ?
:[\\/]* ) # Absolute path.
21544 ac_srcdir
=$srcdir$ac_dir_suffix;
21545 ac_top_srcdir
=$srcdir ;;
21546 *) # Relative path.
21547 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21548 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21551 # Do not use `cd foo && pwd` to compute absolute paths, because
21552 # the directories may not exist.
21554 .
) ac_abs_builddir
="$ac_dir";;
21557 .
) ac_abs_builddir
=`pwd`;;
21558 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21559 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21562 case $ac_abs_builddir in
21563 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21565 case ${ac_top_builddir}.
in
21566 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21567 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21568 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21571 case $ac_abs_builddir in
21572 .
) ac_abs_srcdir
=$ac_srcdir;;
21575 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21576 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21577 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21580 case $ac_abs_builddir in
21581 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21583 case $ac_top_srcdir in
21584 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21585 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21586 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21591 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21592 echo "$as_me: executing $ac_dest commands" >&6;}
21594 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21595 # Strip MF so we end up with the name of the file.
21596 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21597 # Check whether this is an Automake generated Makefile or not.
21598 # We used to match only the files named `Makefile.in', but
21599 # some people rename them; so instead we look at the file content.
21600 # Grep'ing the first line is not enough: some people post-process
21601 # each Makefile.in and add a new line on top of each file to say so.
21602 # So let's grep whole file.
21603 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21604 dirpart
=`(dirname "$mf") 2>/dev/null ||
21605 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21606 X"$mf" : 'X\(//\)[^/]' \| \
21607 X"$mf" : 'X\(//\)$' \| \
21608 X"$mf" : 'X\(/\)' \| \
21609 . : '\(.\)' 2>/dev/null ||
21611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21613 /^X\(\/\/\)$/{ s//\1/; q; }
21614 /^X\(\/\).*/{ s//\1/; q; }
21619 # Extract the definition of DEPDIR, am__include, and am__quote
21620 # from the Makefile without running `make'.
21621 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21622 test -z "$DEPDIR" && continue
21623 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21624 test -z "am__include" && continue
21625 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21626 # When using ansi2knr, U may be empty or an underscore; expand it
21627 U
=`sed -n 's/^U = //p' < "$mf"`
21628 # Find all dependency output files, they are included files with
21629 # $(DEPDIR) in their names. We invoke sed twice because it is the
21630 # simplest approach to changing $(DEPDIR) to its actual value in the
21632 for file in `sed -n "
21633 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21634 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21635 # Make sure the directory exists.
21636 test -f "$dirpart/$file" && continue
21637 fdir
=`(dirname "$file") 2>/dev/null ||
21638 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21639 X"$file" : 'X\(//\)[^/]' \| \
21640 X"$file" : 'X\(//\)$' \| \
21641 X"$file" : 'X\(/\)' \| \
21642 . : '\(.\)' 2>/dev/null ||
21644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21646 /^X\(\/\/\)$/{ s//\1/; q; }
21647 /^X\(\/\).*/{ s//\1/; q; }
21649 { if $as_mkdir_p; then
21650 mkdir
-p $dirpart/$fdir
21652 as_dir
=$dirpart/$fdir
21654 while test ! -d "$as_dir"; do
21655 as_dirs
="$as_dir $as_dirs"
21656 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21658 X"$as_dir" : 'X\(//\)[^/]' \| \
21659 X"$as_dir" : 'X\(//\)$' \| \
21660 X"$as_dir" : 'X\(/\)' \| \
21661 . : '\(.\)' 2>/dev/null ||
21663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21664 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21665 /^X\(\/\/\)$/{ s//\1/; q; }
21666 /^X\(\/\).*/{ s//\1/; q; }
21669 test ! -n "$as_dirs" || mkdir
$as_dirs
21670 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21671 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21672 { (exit 1); exit 1; }; }; }
21674 # echo "creating $dirpart/$file"
21675 echo '# dummy' > "$dirpart/$file"
21683 cat >>$CONFIG_STATUS <<\_ACEOF
21685 { (exit 0); exit 0; }
21687 chmod +x
$CONFIG_STATUS
21688 ac_clean_files
=$ac_clean_files_save
21691 # configure is writing to config.log, and then calls config.status.
21692 # config.status does its own redirection, appending to config.log.
21693 # Unfortunately, on DOS this fails, as config.log is still kept open
21694 # by configure, so config.status won't be able to write to it; its
21695 # output is simply discarded. So we exec the FD to /dev/null,
21696 # effectively closing config.log, so it can be properly (re)opened and
21697 # appended to by config.status. When coming back to configure, we
21698 # need to make the FD available again.
21699 if test "$no_create" != yes; then
21701 ac_config_status_args
=
21702 test "$silent" = yes &&
21703 ac_config_status_args
="$ac_config_status_args --quiet"
21705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21708 # would make configure fail if this is the last instruction.
21709 $ac_cs_success ||
{ (exit 1); exit 1; }