2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gsl 1.11.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
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+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo; then
568 # Avoid inline document here, it may be left over
570 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $ECHO works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591 if test -z "$lt_ECHO"; then
592 if test "X${echo_test_string+set}" != Xset; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
604 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606 test "X$echo_testing_string" = "X$echo_test_string"; then
609 # The Solaris, AIX, and Digital Unix default echo programs unquote
610 # backslashes. This makes it impossible to quote backslashes using
611 # echo "$something" | sed 's/\\/\\\\/g'
613 # So, first we look for a working echo in the user's PATH.
615 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616 for dir in $PATH /usr/ucb; do
618 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621 test "X$echo_testing_string" = "X$echo_test_string"; then
628 if test "X$ECHO" = Xecho; then
629 # We didn't find a better echo, so look for alternatives.
630 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # This shell has a builtin print -r that does the trick.
635 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636 test "X$CONFIG_SHELL" != X/bin/ksh; then
637 # If we have ksh, try running configure again with it.
638 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639 export ORIGINAL_CONFIG_SHELL
640 CONFIG_SHELL=/bin/ksh
642 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648 test "X$echo_testing_string" = "X$echo_test_string"; then
651 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652 test "X$echo_testing_string" = 'X\t' &&
653 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657 SHELL="$CONFIG_SHELL"
659 ECHO="$CONFIG_SHELL $0 --fallback-echo"
660 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 ECHO="$CONFIG_SHELL $0 --fallback-echo"
666 # maybe with a smaller string...
669 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
677 if test "$prev" != 'sed 50q "$0"'; then
678 echo_test_string=`eval $prev`
679 export echo_test_string
680 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682 # Oops. We lost completely, so just stick with echo.
691 # Copy echo and quote the copy suitably for passing to libtool from
692 # the Makefile, instead of quoting the original, which is used later.
694 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
701 exec 7<&0 </dev/null 6>&1
704 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705 # so uname gets run too.
706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
711 ac_default_prefix=/usr/local
713 ac_config_libobj_dir=.
719 SHELL=${CONFIG_SHELL-/bin/sh}
721 # Identity of this package.
723 PACKAGE_TARNAME='gsl'
724 PACKAGE_VERSION='1.11'
725 PACKAGE_STRING='gsl 1.11'
728 ac_unique_file="gsl_math.h"
729 # Factoring default headers for most tests.
730 ac_includes_default="\
732 #ifdef HAVE_SYS_TYPES_H
733 # include <sys/types.h>
735 #ifdef HAVE_SYS_STAT_H
736 # include <sys/stat.h>
742 # ifdef HAVE_STDLIB_H
747 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
752 #ifdef HAVE_STRINGS_H
753 # include <strings.h>
755 #ifdef HAVE_INTTYPES_H
756 # include <inttypes.h>
774 program_transform_name
816 INSTALL_STRIP_PROGRAM
825 MAINTAINER_MODE_FALSE
865 HAVE_GNUSPARC_IEEE_INTERFACE
866 HAVE_GNUM68K_IEEE_INTERFACE
867 HAVE_GNUPPC_IEEE_INTERFACE
868 HAVE_GNUX86_IEEE_INTERFACE
869 HAVE_SUNOS4_IEEE_INTERFACE
870 HAVE_SOLARIS_IEEE_INTERFACE
871 HAVE_HPUX11_IEEE_INTERFACE
872 HAVE_HPUX_IEEE_INTERFACE
873 HAVE_TRU64_IEEE_INTERFACE
874 HAVE_IRIX_IEEE_INTERFACE
875 HAVE_AIX_IEEE_INTERFACE
876 HAVE_FREEBSD_IEEE_INTERFACE
877 HAVE_OS2EMX_IEEE_INTERFACE
878 HAVE_NETBSD_IEEE_INTERFACE
879 HAVE_OPENBSD_IEEE_INTERFACE
880 HAVE_DARWIN_IEEE_INTERFACE
881 HAVE_DARWIN86_IEEE_INTERFACE
884 ac_precious_vars='build_alias
895 # Initialize some variables set by options.
897 ac_init_version=false
898 # The variables have the same names as the options, with
899 # dashes changed to underlines.
907 program_transform_name=s,x,x,
915 # Installation directory options.
916 # These are left unexpanded so users can "make install exec_prefix=/foo"
917 # and all the variables that are supposed to be based on exec_prefix
918 # by default will actually change.
919 # Use braces instead of parens because sh, perl, etc. also accept them.
920 # (The list follows the same order as the GNU Coding Standards.)
921 bindir='${exec_prefix}/bin'
922 sbindir='${exec_prefix}/sbin'
923 libexecdir='${exec_prefix}/libexec'
924 datarootdir='${prefix}/share'
925 datadir='${datarootdir}'
926 sysconfdir='${prefix}/etc'
927 sharedstatedir='${prefix}/com'
928 localstatedir='${prefix}/var'
929 includedir='${prefix}/include'
930 oldincludedir='/usr/include'
931 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
932 infodir='${datarootdir}/info'
937 libdir='${exec_prefix}/lib'
938 localedir='${datarootdir}/locale'
939 mandir='${datarootdir}/man'
945 # If the previous option needs an argument, assign it.
946 if test -n "$ac_prev"; then
947 eval $ac_prev=\$ac_option
953 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
957 # Accept the important Cygnus configure options, so we can diagnose typos.
959 case $ac_dashdash$ac_option in
963 -bindir | --bindir | --bindi | --bind | --bin | --bi)
965 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
968 -build | --build | --buil | --bui | --bu)
969 ac_prev=build_alias ;;
970 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
971 build_alias=$ac_optarg ;;
973 -cache-file | --cache-file | --cache-fil | --cache-fi \
974 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
975 ac_prev=cache_file ;;
976 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
977 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
978 cache_file=$ac_optarg ;;
981 cache_file=config.cache ;;
983 -datadir | --datadir | --datadi | --datad)
985 -datadir=* | --datadir=* | --datadi=* | --datad=*)
986 datadir=$ac_optarg ;;
988 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
989 | --dataroo | --dataro | --datar)
990 ac_prev=datarootdir ;;
991 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
992 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
993 datarootdir=$ac_optarg ;;
995 -disable-* | --disable-*)
996 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
999 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1000 { (exit 1); exit 1; }; }
1001 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1002 eval enable_$ac_feature=no ;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1007 docdir=$ac_optarg ;;
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1012 dvidir=$ac_optarg ;;
1014 -enable-* | --enable-*)
1015 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1019 { (exit 1); exit 1; }; }
1020 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1021 eval enable_$ac_feature=\$ac_optarg ;;
1023 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1024 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1025 | --exec | --exe | --ex)
1026 ac_prev=exec_prefix ;;
1027 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1028 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1029 | --exec=* | --exe=* | --ex=*)
1030 exec_prefix=$ac_optarg ;;
1032 -gas | --gas | --ga | --g)
1033 # Obsolete; use --with-gas.
1036 -help | --help | --hel | --he | -h)
1037 ac_init_help=long ;;
1038 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1039 ac_init_help=recursive ;;
1040 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1041 ac_init_help=short ;;
1043 -host | --host | --hos | --ho)
1044 ac_prev=host_alias ;;
1045 -host=* | --host=* | --hos=* | --ho=*)
1046 host_alias=$ac_optarg ;;
1048 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1050 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1052 htmldir=$ac_optarg ;;
1054 -includedir | --includedir | --includedi | --included | --include \
1055 | --includ | --inclu | --incl | --inc)
1056 ac_prev=includedir ;;
1057 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1058 | --includ=* | --inclu=* | --incl=* | --inc=*)
1059 includedir=$ac_optarg ;;
1061 -infodir | --infodir | --infodi | --infod | --info | --inf)
1063 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1064 infodir=$ac_optarg ;;
1066 -libdir | --libdir | --libdi | --libd)
1068 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1069 libdir=$ac_optarg ;;
1071 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1072 | --libexe | --libex | --libe)
1073 ac_prev=libexecdir ;;
1074 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1075 | --libexe=* | --libex=* | --libe=*)
1076 libexecdir=$ac_optarg ;;
1078 -localedir | --localedir | --localedi | --localed | --locale)
1079 ac_prev=localedir ;;
1080 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1081 localedir=$ac_optarg ;;
1083 -localstatedir | --localstatedir | --localstatedi | --localstated \
1084 | --localstate | --localstat | --localsta | --localst | --locals)
1085 ac_prev=localstatedir ;;
1086 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1088 localstatedir=$ac_optarg ;;
1090 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1092 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1093 mandir=$ac_optarg ;;
1095 -nfp | --nfp | --nf)
1096 # Obsolete; use --without-fp.
1099 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1100 | --no-cr | --no-c | -n)
1103 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1104 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1107 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1108 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1109 | --oldin | --oldi | --old | --ol | --o)
1110 ac_prev=oldincludedir ;;
1111 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1112 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1113 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1114 oldincludedir=$ac_optarg ;;
1116 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1118 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1119 prefix=$ac_optarg ;;
1121 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1122 | --program-pre | --program-pr | --program-p)
1123 ac_prev=program_prefix ;;
1124 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1125 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1126 program_prefix=$ac_optarg ;;
1128 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1129 | --program-suf | --program-su | --program-s)
1130 ac_prev=program_suffix ;;
1131 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1132 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1133 program_suffix=$ac_optarg ;;
1135 -program-transform-name | --program-transform-name \
1136 | --program-transform-nam | --program-transform-na \
1137 | --program-transform-n | --program-transform- \
1138 | --program-transform | --program-transfor \
1139 | --program-transfo | --program-transf \
1140 | --program-trans | --program-tran \
1141 | --progr-tra | --program-tr | --program-t)
1142 ac_prev=program_transform_name ;;
1143 -program-transform-name=* | --program-transform-name=* \
1144 | --program-transform-nam=* | --program-transform-na=* \
1145 | --program-transform-n=* | --program-transform-=* \
1146 | --program-transform=* | --program-transfor=* \
1147 | --program-transfo=* | --program-transf=* \
1148 | --program-trans=* | --program-tran=* \
1149 | --progr-tra=* | --program-tr=* | --program-t=*)
1150 program_transform_name=$ac_optarg ;;
1152 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1154 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1155 pdfdir=$ac_optarg ;;
1157 -psdir | --psdir | --psdi | --psd | --ps)
1159 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1163 | -silent | --silent | --silen | --sile | --sil)
1166 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1168 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1170 sbindir=$ac_optarg ;;
1172 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1173 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1174 | --sharedst | --shareds | --shared | --share | --shar \
1176 ac_prev=sharedstatedir ;;
1177 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1178 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1179 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1181 sharedstatedir=$ac_optarg ;;
1183 -site | --site | --sit)
1185 -site=* | --site=* | --sit=*)
1188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1191 srcdir=$ac_optarg ;;
1193 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1194 | --syscon | --sysco | --sysc | --sys | --sy)
1195 ac_prev=sysconfdir ;;
1196 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1197 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1198 sysconfdir=$ac_optarg ;;
1200 -target | --target | --targe | --targ | --tar | --ta | --t)
1201 ac_prev=target_alias ;;
1202 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1203 target_alias=$ac_optarg ;;
1205 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1208 -version | --version | --versio | --versi | --vers | -V)
1209 ac_init_version=: ;;
1212 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1213 # Reject names that are not valid shell variable names.
1214 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1215 { echo "$as_me: error: invalid package name: $ac_package" >&2
1216 { (exit 1); exit 1; }; }
1217 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1218 eval with_$ac_package=\$ac_optarg ;;
1220 -without-* | --without-*)
1221 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1224 { echo "$as_me: error: invalid package name: $ac_package" >&2
1225 { (exit 1); exit 1; }; }
1226 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1227 eval with_$ac_package=no ;;
1230 # Obsolete; use --with-x.
1233 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1234 | --x-incl | --x-inc | --x-in | --x-i)
1235 ac_prev=x_includes ;;
1236 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1237 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1238 x_includes=$ac_optarg ;;
1240 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1241 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1242 ac_prev=x_libraries ;;
1243 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1244 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1245 x_libraries=$ac_optarg ;;
1247 -*) { echo "$as_me: error: unrecognized option: $ac_option
1248 Try \`$0 --help' for more information." >&2
1249 { (exit 1); exit 1; }; }
1253 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1256 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1257 { (exit 1); exit 1; }; }
1258 eval $ac_envvar=\$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1265 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1272 if test -n "$ac_prev"; then
1273 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1274 { echo "$as_me: error: missing argument to $ac_option" >&2
1275 { (exit 1); exit 1; }; }
1278 # Be sure to have absolute directory names.
1279 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280 datadir sysconfdir sharedstatedir localstatedir includedir \
1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282 libdir localedir mandir
1284 eval ac_val=\$$ac_var
1286 [\\/$]* | ?:[\\/]* ) continue;;
1287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1289 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1290 { (exit 1); exit 1; }; }
1293 # There might be people who depend on the old broken behavior: `$host'
1294 # used to hold the argument of --host etc.
1295 # FIXME: To remove some day.
1298 target=$target_alias
1300 # FIXME: To remove some day.
1301 if test "x$host_alias" != x; then
1302 if test "x$build_alias" = x; then
1303 cross_compiling=maybe
1304 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1305 If a cross compiler is detected then cross compile mode will be used." >&2
1306 elif test "x$build_alias" != "x$host_alias"; then
1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1314 test "$silent" = yes && exec 6>/dev/null
1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1318 ac_ls_di=`ls -di .` &&
1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1320 { echo "$as_me: error: Working directory cannot be determined" >&2
1321 { (exit 1); exit 1; }; }
1322 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1323 { echo "$as_me: error: pwd does not report name of working directory" >&2
1324 { (exit 1); exit 1; }; }
1327 # Find the source files, if location was not specified.
1328 if test -z "$srcdir"; then
1329 ac_srcdir_defaulted=yes
1330 # Try the directory containing this script, then the parent directory.
1331 ac_confdir=`$as_dirname -- "$0" ||
1332 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1333 X"$0" : 'X\(//\)[^/]' \| \
1334 X"$0" : 'X\(//\)$' \| \
1335 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1355 if test ! -r "$srcdir/$ac_unique_file"; then
1359 ac_srcdir_defaulted=no
1361 if test ! -r "$srcdir/$ac_unique_file"; then
1362 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1363 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1364 { (exit 1); exit 1; }; }
1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1368 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1369 { (exit 1); exit 1; }; }
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1379 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 for ac_var in $ac_precious_vars; do
1382 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_${ac_var}_value=\$${ac_var}
1384 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures gsl 1.11 to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/gsl]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --program-prefix=PREFIX prepend PREFIX to installed program names
1454 --program-suffix=SUFFIX append SUFFIX to installed program names
1455 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1458 --build=BUILD configure for building on BUILD [guessed]
1459 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1463 if test -n "$ac_init_help"; then
1464 case $ac_init_help in
1465 short | recursive ) echo "Configuration of gsl 1.11:";;
1470 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1471 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1472 --enable-maintainer-mode enable make rules and dependencies not useful
1473 (and sometimes confusing) to the casual installer
1474 --enable-shared[=PKGS] build shared libraries [default=yes]
1475 --enable-static[=PKGS] build static libraries [default=yes]
1476 --enable-fast-install[=PKGS]
1477 optimize for fast installation [default=yes]
1478 --disable-libtool-lock avoid locking (might break parallel builds)
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-pic try to use only PIC/non-PIC objects [default=use
1485 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1487 Some influential environment variables:
1488 CC C compiler command
1489 CFLAGS C compiler flags
1490 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1491 nonstandard directory <lib dir>
1492 LIBS libraries to pass to the linker, e.g. -l<library>
1493 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1494 you have headers in a nonstandard directory <include dir>
1497 Use these variables to override the choices made by `configure' or to help
1498 it to find libraries and programs with nonstandard names/locations.
1504 if test "$ac_init_help" = "recursive"; then
1505 # If there are subdirs, report their specific --help.
1506 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1507 test -d "$ac_dir" || continue
1511 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1514 # A ".." for each directory in $ac_dir_suffix.
1515 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1516 case $ac_top_builddir_sub in
1517 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1521 ac_abs_top_builddir=$ac_pwd
1522 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1523 # for backward compatibility:
1524 ac_top_builddir=$ac_top_build_prefix
1527 .) # We are building in place.
1529 ac_top_srcdir=$ac_top_builddir_sub
1530 ac_abs_top_srcdir=$ac_pwd ;;
1531 [\\/]* | ?:[\\/]* ) # Absolute name.
1532 ac_srcdir=$srcdir$ac_dir_suffix;
1533 ac_top_srcdir=$srcdir
1534 ac_abs_top_srcdir=$srcdir ;;
1536 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1537 ac_top_srcdir=$ac_top_build_prefix$srcdir
1538 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1540 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1542 cd "$ac_dir" || { ac_status=$?; continue; }
1543 # Check for guested configure.
1544 if test -f "$ac_srcdir/configure.gnu"; then
1546 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1547 elif test -f "$ac_srcdir/configure"; then
1549 $SHELL "$ac_srcdir/configure" --help=recursive
1551 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1553 cd "$ac_pwd" || { ac_status=$?; break; }
1557 test -n "$ac_init_help" && exit $ac_status
1558 if $ac_init_version; then
1561 generated by GNU Autoconf 2.61
1563 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1564 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1565 This configure script is free software; the Free Software Foundation
1566 gives unlimited permission to copy, distribute and modify it.
1570 cat >config.log <<_ACEOF
1571 This file contains any messages produced by compilers while
1572 running configure, to aid debugging if configure makes a mistake.
1574 It was created by gsl $as_me 1.11, which was
1575 generated by GNU Autoconf 2.61. Invocation command line was
1587 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1588 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1589 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1590 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1591 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1593 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1594 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1596 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1597 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1598 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1599 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1600 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1601 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1602 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 echo "PATH: $as_dir"
1627 # Keep a trace of the command line.
1628 # Strip out --no-create and --no-recursion so they do not pile up.
1629 # Strip out --silent because we don't want to record it for future runs.
1630 # Also quote any args containing shell meta-characters.
1631 # Make two passes to allow for proper duplicate-argument suppression.
1635 ac_must_keep_next=false
1641 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1642 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1643 | -silent | --silent | --silen | --sile | --sil)
1646 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1651 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1652 if test $ac_must_keep_next = true; then
1653 ac_must_keep_next=false # Got value, back to normal.
1656 *=* | --config-cache | -C | -disable-* | --disable-* \
1657 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1658 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1659 | -with-* | --with-* | -without-* | --without-* | --x)
1660 case "$ac_configure_args0 " in
1661 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1664 -* ) ac_must_keep_next=true ;;
1667 ac_configure_args="$ac_configure_args '$ac_arg'"
1672 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1673 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1675 # When interrupted or exit'd, cleanup temporary files, and complete
1676 # config.log. We remove comments because anyway the quotes in there
1677 # would cause problems or look ugly.
1678 # WARNING: Use '\'' to represent an apostrophe within the trap.
1679 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1680 trap 'exit_status=$?
1681 # Save into config.log some information that might help in debugging.
1686 ## ---------------- ##
1687 ## Cache variables. ##
1688 ## ---------------- ##
1691 # The following way of writing the cache mishandles newlines in values,
1693 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1694 eval ac_val=\$$ac_var
1698 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1702 _ | IFS | as_nl) ;; #(
1703 *) $as_unset $ac_var ;;
1708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1709 *${as_nl}ac_space=\ *)
1711 "s/'\''/'\''\\\\'\'''\''/g;
1712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1723 ## ----------------- ##
1724 ## Output variables. ##
1725 ## ----------------- ##
1728 for ac_var in $ac_subst_vars
1730 eval ac_val=\$$ac_var
1732 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1734 echo "$ac_var='\''$ac_val'\''"
1738 if test -n "$ac_subst_files"; then
1740 ## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##
1745 for ac_var in $ac_subst_files
1747 eval ac_val=\$$ac_var
1749 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751 echo "$ac_var='\''$ac_val'\''"
1756 if test -s confdefs.h; then
1766 test "$ac_signal" != 0 &&
1767 echo "$as_me: caught signal $ac_signal"
1768 echo "$as_me: exit $exit_status"
1770 rm -f core *.core core.conftest.* &&
1771 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1774 for ac_signal in 1 2 13 15; do
1775 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1779 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1780 rm -f -r conftest* confdefs.h
1782 # Predefined preprocessor variables.
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1794 cat >>confdefs.h <<_ACEOF
1795 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_STRING "$PACKAGE_STRING"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer explicitly selected file to automatically selected ones.
1811 if test -n "$CONFIG_SITE"; then
1812 set x "$CONFIG_SITE"
1813 elif test "x$prefix" != xNONE; then
1814 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1816 set x "$ac_default_prefix/share/config.site" \
1817 "$ac_default_prefix/etc/config.site"
1822 if test -r "$ac_site_file"; then
1823 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1824 echo "$as_me: loading site script $ac_site_file" >&6;}
1825 sed 's/^/| /' "$ac_site_file" >&5
1830 if test -r "$cache_file"; then
1831 # Some versions of bash will fail to source /dev/null (special
1832 # files actually), so we avoid doing that.
1833 if test -f "$cache_file"; then
1834 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1835 echo "$as_me: loading cache $cache_file" >&6;}
1837 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1838 *) . "./$cache_file";;
1842 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1843 echo "$as_me: creating cache $cache_file" >&6;}
1847 # Check that the precious variables saved in the cache have kept the same
1849 ac_cache_corrupted=false
1850 for ac_var in $ac_precious_vars; do
1851 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1852 eval ac_new_set=\$ac_env_${ac_var}_set
1853 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1854 eval ac_new_val=\$ac_env_${ac_var}_value
1855 case $ac_old_set,$ac_new_set in
1857 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1858 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1859 ac_cache_corrupted=: ;;
1861 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1862 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1863 ac_cache_corrupted=: ;;
1866 if test "x$ac_old_val" != "x$ac_new_val"; then
1867 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1868 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1869 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1870 echo "$as_me: former value: $ac_old_val" >&2;}
1871 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1872 echo "$as_me: current value: $ac_new_val" >&2;}
1873 ac_cache_corrupted=:
1876 # Pass precious variables to config.status.
1877 if test "$ac_new_set" = set; then
1879 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1880 *) ac_arg=$ac_var=$ac_new_val ;;
1882 case " $ac_configure_args " in
1883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1884 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1888 if $ac_cache_corrupted; then
1889 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1890 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1892 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1893 { (exit 1); exit 1; }; }
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1929 am__api_version='1.10'
1932 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1933 if test -f "$ac_dir/install-sh"; then
1935 ac_install_sh="$ac_aux_dir/install-sh -c"
1937 elif test -f "$ac_dir/install.sh"; then
1939 ac_install_sh="$ac_aux_dir/install.sh -c"
1941 elif test -f "$ac_dir/shtool"; then
1943 ac_install_sh="$ac_aux_dir/shtool install -c"
1947 if test -z "$ac_aux_dir"; then
1948 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1949 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1950 { (exit 1); exit 1; }; }
1953 # These three variables are undocumented and unsupported,
1954 # and are intended to be withdrawn in a future Autoconf release.
1955 # They can cause serious problems if a builder's source tree is in a directory
1956 # whose full name contains unusual characters.
1957 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1958 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1959 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1962 # Find a good install program. We prefer a C program (faster),
1963 # so one script is as good as another. But avoid the broken or
1964 # incompatible versions:
1965 # SysV /etc/install, /usr/sbin/install
1966 # SunOS /usr/etc/install
1967 # IRIX /sbin/install
1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1973 # OS/2's system install, which has a completely different semantic
1974 # ./install, which can be erroneously created by make from ./install.sh.
1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1977 if test -z "$INSTALL"; then
1978 if test "${ac_cv_path_install+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 # Account for people who put trailing slashes in PATH elements.
1988 ./ | .// | /cC/* | \
1989 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1990 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1993 # OSF1 and SCO ODT 3.0 have their own names for install.
1994 # Don't use installbsd from OSF since it installs stuff as root
1996 for ac_prog in ginstall scoinst install; do
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1999 if test $ac_prog = install &&
2000 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2001 # AIX install. It has an incompatible calling convention.
2003 elif test $ac_prog = install &&
2004 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2005 # program-specific install script used by HP pwplus--don't use.
2008 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2021 if test "${ac_cv_path_install+set}" = set; then
2022 INSTALL=$ac_cv_path_install
2024 # As a last resort, use the slow shell script. Don't cache a
2025 # value for INSTALL within a source directory, because that will
2026 # break other packages using the cache if that directory is
2027 # removed, or if the value is a relative name.
2028 INSTALL=$ac_install_sh
2031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2032 echo "${ECHO_T}$INSTALL" >&6; }
2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2035 # It thinks the first close brace ends the variable substitution.
2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2042 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2043 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2046 echo timestamp > conftest.file
2047 # Do `set' in a subshell so we don't clobber the current shell's
2048 # arguments. Must try -L first in case configure is actually a
2049 # symlink; some systems play weird games with the mod time of symlinks
2050 # (eg FreeBSD returns the mod time of the symlink's containing
2053 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2054 if test "$*" = "X"; then
2056 set X `ls -t $srcdir/configure conftest.file`
2059 if test "$*" != "X $srcdir/configure conftest.file" \
2060 && test "$*" != "X conftest.file $srcdir/configure"; then
2062 # If neither matched, then we have a broken ls. This can happen
2063 # if, for instance, CONFIG_SHELL is bash and it inherits a
2064 # broken ls alias from the environment. This has actually
2065 # happened. Such a system could not be considered "sane".
2066 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2067 alias in your environment" >&5
2068 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2069 alias in your environment" >&2;}
2070 { (exit 1); exit 1; }; }
2073 test "$2" = conftest.file
2079 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2080 Check your system clock" >&5
2081 echo "$as_me: error: newly created file is older than distributed files!
2082 Check your system clock" >&2;}
2083 { (exit 1); exit 1; }; }
2085 { echo "$as_me:$LINENO: result: yes" >&5
2086 echo "${ECHO_T}yes" >&6; }
2087 test "$program_prefix" != NONE &&
2088 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2089 # Use a double $ so make ignores it.
2090 test "$program_suffix" != NONE &&
2091 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2092 # Double any \ or $. echo might interpret backslashes.
2093 # By default was `s,x,x', remove it if useless.
2094 cat <<\_ACEOF >conftest.sed
2095 s/[\\$]/&&/g;s/;s,x,x,$//
2097 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2100 # expand $ac_aux_dir to an absolute path
2101 am_aux_dir=`cd $ac_aux_dir && pwd`
2103 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2104 # Use eval to expand $SHELL
2105 if eval "$MISSING --run true"; then
2106 am_missing_run="$MISSING --run "
2109 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2110 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2113 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2114 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2115 if test -z "$MKDIR_P"; then
2116 if test "${ac_cv_path_mkdir+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2123 test -z "$as_dir" && as_dir=.
2124 for ac_prog in mkdir gmkdir; do
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2127 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2128 'mkdir (GNU coreutils) '* | \
2129 'mkdir (coreutils) '* | \
2130 'mkdir (fileutils) '4.1*)
2131 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2141 if test "${ac_cv_path_mkdir+set}" = set; then
2142 MKDIR_P="$ac_cv_path_mkdir -p"
2144 # As a last resort, use the slow shell script. Don't cache a
2145 # value for MKDIR_P within a source directory, because that will
2146 # break other packages using the cache if that directory is
2147 # removed, or if the value is a relative name.
2148 test -d ./--version && rmdir ./--version
2149 MKDIR_P="$ac_install_sh -d"
2152 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2153 echo "${ECHO_T}$MKDIR_P" >&6; }
2157 [\\/$]* | ?:[\\/]*) ;;
2158 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2161 for ac_prog in gawk mawk nawk awk
2163 # Extract the first word of "$ac_prog", so it can be a program name with args.
2164 set dummy $ac_prog; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_AWK+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$AWK"; then
2171 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_AWK="$ac_prog"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$AWK"; then
2192 { echo "$as_me:$LINENO: result: $AWK" >&5
2193 echo "${ECHO_T}$AWK" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2200 test -n "$AWK" && break
2203 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2204 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2205 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2206 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 cat >conftest.make <<\_ACEOF
2212 @echo '@@@%%%=$(MAKE)=@@@%%%'
2214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2215 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2217 eval ac_cv_prog_make_${ac_make}_set=yes;;
2219 eval ac_cv_prog_make_${ac_make}_set=no;;
2223 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2224 { echo "$as_me:$LINENO: result: yes" >&5
2225 echo "${ECHO_T}yes" >&6; }
2228 { echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6; }
2230 SET_MAKE="MAKE=${MAKE-make}"
2233 rm -rf .tst 2>/dev/null
2234 mkdir .tst 2>/dev/null
2235 if test -d .tst; then
2240 rmdir .tst 2>/dev/null
2242 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2243 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2244 # is not polluted with repeated "-I."
2245 am__isrc=' -I$(srcdir)'
2246 # test to see if srcdir already configured
2247 if test -f $srcdir/config.status; then
2248 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2249 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2250 { (exit 1); exit 1; }; }
2254 # test whether we have cygpath
2255 if test -z "$CYGPATH_W"; then
2256 if (cygpath --version) >/dev/null 2>/dev/null; then
2257 CYGPATH_W='cygpath -w'
2264 # Define the identity of the package.
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE "$PACKAGE"
2274 cat >>confdefs.h <<_ACEOF
2275 #define VERSION "$VERSION"
2278 # Some tools Automake needs.
2280 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2283 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2286 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2289 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2292 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2294 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2296 # Installed binaries are usually stripped using `strip' when the user
2297 # run `make install-strip'. However `strip' might not be the right
2298 # tool to use in cross-compilation environments, therefore Automake
2299 # will honor the `STRIP' environment variable to overrule this program.
2300 if test "$cross_compiling" != no; then
2301 if test -n "$ac_tool_prefix"; then
2302 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}strip; ac_word=$2
2304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2306 if test "${ac_cv_prog_STRIP+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$STRIP"; then
2310 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 STRIP=$ac_cv_prog_STRIP
2330 if test -n "$STRIP"; then
2331 { echo "$as_me:$LINENO: result: $STRIP" >&5
2332 echo "${ECHO_T}$STRIP" >&6; }
2334 { echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6; }
2340 if test -z "$ac_cv_prog_STRIP"; then
2342 # Extract the first word of "strip", so it can be a program name with args.
2343 set dummy strip; ac_word=$2
2344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2346 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$ac_ct_STRIP"; then
2350 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359 ac_cv_prog_ac_ct_STRIP="strip"
2360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2369 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2370 if test -n "$ac_ct_STRIP"; then
2371 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2372 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2374 { echo "$as_me:$LINENO: result: no" >&5
2375 echo "${ECHO_T}no" >&6; }
2378 if test "x$ac_ct_STRIP" = x; then
2381 case $cross_compiling:$ac_tool_warned in
2383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
2386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387 whose name does not start with the host triplet. If you think this
2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2389 ac_tool_warned=yes ;;
2394 STRIP="$ac_cv_prog_STRIP"
2398 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2400 # We need awk for the "check" target. The system "awk" is bad on
2402 # Always define AMTAR for backward compatibility.
2404 AMTAR=${AMTAR-"${am_missing_run}tar"}
2406 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2412 ac_config_headers="$ac_config_headers config.h"
2414 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2415 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2416 # Check whether --enable-maintainer-mode was given.
2417 if test "${enable_maintainer_mode+set}" = set; then
2418 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2420 USE_MAINTAINER_MODE=no
2423 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2424 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2425 if test $USE_MAINTAINER_MODE = yes; then
2426 MAINTAINER_MODE_TRUE=
2427 MAINTAINER_MODE_FALSE='#'
2429 MAINTAINER_MODE_TRUE='#'
2430 MAINTAINER_MODE_FALSE=
2433 MAINT=$MAINTAINER_MODE_TRUE
2445 GSL_LT_VERSION="${GSL_CURRENT}:${GSL_REVISION}:${GSL_AGE}"
2448 GSL_LT_CBLAS_VERSION="${CBLAS_CURRENT}:${CBLAS_REVISION}:${CBLAS_AGE}"
2456 cat >>confdefs.h <<\_ACEOF
2463 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2464 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2465 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 cat >conftest.make <<\_ACEOF
2472 @echo '@@@%%%=$(MAKE)=@@@%%%'
2474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2477 eval ac_cv_prog_make_${ac_make}_set=yes;;
2479 eval ac_cv_prog_make_${ac_make}_set=no;;
2483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2484 { echo "$as_me:$LINENO: result: yes" >&5
2485 echo "${ECHO_T}yes" >&6; }
2488 { echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6; }
2490 SET_MAKE="MAKE=${MAKE-make}"
2494 # Make sure we can run config.sub.
2495 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2496 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2497 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2498 { (exit 1); exit 1; }; }
2500 { echo "$as_me:$LINENO: checking build system type" >&5
2501 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_build+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 ac_build_alias=$build_alias
2506 test "x$ac_build_alias" = x &&
2507 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2508 test "x$ac_build_alias" = x &&
2509 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2510 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2511 { (exit 1); exit 1; }; }
2512 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2513 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2514 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2515 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2519 echo "${ECHO_T}$ac_cv_build" >&6; }
2520 case $ac_cv_build in
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2523 echo "$as_me: error: invalid value of canonical build" >&2;}
2524 { (exit 1); exit 1; }; };;
2527 ac_save_IFS=$IFS; IFS='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2540 { echo "$as_me:$LINENO: checking host system type" >&5
2541 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_host+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test "x$host_alias" = x; then
2546 ac_cv_host=$ac_cv_build
2548 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2555 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2556 echo "${ECHO_T}$ac_cv_host" >&6; }
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2560 echo "$as_me: error: invalid value of canonical host" >&2;}
2561 { (exit 1); exit 1; }; };;
2564 ac_save_IFS=$IFS; IFS='-'
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2574 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2585 ac_cpp='$CPP $CPPFLAGS'
2586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 if test -n "$ac_tool_prefix"; then
2590 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2594 if test "${ac_cv_prog_CC+set}" = set; then
2595 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 if test -n "$CC"; then
2598 ac_cv_prog_CC="$CC" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 if test -n "$CC"; then
2619 { echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6; }
2622 { echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6; }
2628 if test -z "$ac_cv_prog_CC"; then
2630 # Extract the first word of "gcc", so it can be a program name with args.
2631 set dummy gcc; ac_word=$2
2632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 if test -n "$ac_ct_CC"; then
2638 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_ac_ct_CC="gcc"
2648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2658 if test -n "$ac_ct_CC"; then
2659 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660 echo "${ECHO_T}$ac_ct_CC" >&6; }
2662 { echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6; }
2666 if test "x$ac_ct_CC" = x; then
2669 case $cross_compiling:$ac_tool_warned in
2671 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2672 whose name does not start with the host triplet. If you think this
2673 configuration is useful to you, please write to autoconf@gnu.org." >&5
2674 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2675 whose name does not start with the host triplet. If you think this
2676 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2677 ac_tool_warned=yes ;;
2685 if test -z "$CC"; then
2686 if test -n "$ac_tool_prefix"; then
2687 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2688 set dummy ${ac_tool_prefix}cc; ac_word=$2
2689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691 if test "${ac_cv_prog_CC+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 if test -n "$CC"; then
2695 ac_cv_prog_CC="$CC" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_CC="${ac_tool_prefix}cc"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 if test -n "$CC"; then
2716 { echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6; }
2719 { echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6; }
2726 if test -z "$CC"; then
2727 # Extract the first word of "cc", so it can be a program name with args.
2728 set dummy cc; ac_word=$2
2729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 if test -n "$CC"; then
2735 ac_cv_prog_CC="$CC" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2746 ac_prog_rejected=yes
2750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test $ac_prog_rejected = yes; then
2758 # We found a bogon in the path, so make sure we never use it.
2759 set dummy $ac_cv_prog_CC
2761 if test $# != 0; then
2762 # We chose a different compiler from the bogus one.
2763 # However, it has the same basename, so the bogon will be chosen
2764 # first if we set CC to just the basename; use the full file name.
2766 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2772 if test -n "$CC"; then
2773 { echo "$as_me:$LINENO: result: $CC" >&5
2774 echo "${ECHO_T}$CC" >&6; }
2776 { echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6; }
2782 if test -z "$CC"; then
2783 if test -n "$ac_tool_prefix"; then
2784 for ac_prog in cl.exe
2786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2790 if test "${ac_cv_prog_CC+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CC"; then
2794 ac_cv_prog_CC="$CC" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$CC"; then
2815 { echo "$as_me:$LINENO: result: $CC" >&5
2816 echo "${ECHO_T}$CC" >&6; }
2818 { echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6; }
2823 test -n "$CC" && break
2826 if test -z "$CC"; then
2828 for ac_prog in cl.exe
2830 # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 if test -n "$ac_ct_CC"; then
2838 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 ac_cv_prog_ac_ct_CC="$ac_prog"
2848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2858 if test -n "$ac_ct_CC"; then
2859 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2860 echo "${ECHO_T}$ac_ct_CC" >&6; }
2862 { echo "$as_me:$LINENO: result: no" >&5
2863 echo "${ECHO_T}no" >&6; }
2867 test -n "$ac_ct_CC" && break
2870 if test "x$ac_ct_CC" = x; then
2873 case $cross_compiling:$ac_tool_warned in
2875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2876 whose name does not start with the host triplet. If you think this
2877 configuration is useful to you, please write to autoconf@gnu.org." >&5
2878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2879 whose name does not start with the host triplet. If you think this
2880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2881 ac_tool_warned=yes ;;
2890 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2891 See \`config.log' for more details." >&5
2892 echo "$as_me: error: no acceptable C compiler found in \$PATH
2893 See \`config.log' for more details." >&2;}
2894 { (exit 1); exit 1; }; }
2896 # Provide some information about the compiler.
2897 echo "$as_me:$LINENO: checking for C compiler version" >&5
2898 ac_compiler=`set X $ac_compile; echo $2`
2899 { (ac_try="$ac_compiler --version >&5"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compiler --version >&5") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2909 { (ac_try="$ac_compiler -v >&5"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compiler -v >&5") 2>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }
2919 { (ac_try="$ac_compiler -V >&5"
2921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922 *) ac_try_echo=$ac_try;;
2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2925 (eval "$ac_compiler -V >&5") 2>&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }
2930 cat >conftest.$ac_ext <<_ACEOF
2933 cat confdefs.h >>conftest.$ac_ext
2934 cat >>conftest.$ac_ext <<_ACEOF
2935 /* end confdefs.h. */
2945 ac_clean_files_save=$ac_clean_files
2946 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2947 # Try to create an executable without -o first, disregard a.out.
2948 # It will help us diagnose broken compilers, and finding out an intuition
2950 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2951 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2952 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2954 # List of possible output files, starting from the most likely.
2955 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2956 # only as a last resort. b.out is created by i960 compilers.
2957 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2959 # The IRIX 6 linker writes into existing files which may not be
2960 # executable, retaining their permissions. Remove them first so a
2961 # subsequent execution test works.
2963 for ac_file in $ac_files
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2967 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2972 if { (ac_try="$ac_link_default"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_link_default") 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; then
2982 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2983 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2984 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2985 # so that the user can short-circuit this test for compilers unknown to
2987 for ac_file in $ac_files ''
2989 test -f "$ac_file" || continue
2991 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2994 # We found the default executable, but exeext='' is most
2998 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3000 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3002 # We set ac_cv_exeext here because the later test for it is not
3003 # safe: cross compilers may not add the suffix if given an `-o'
3004 # argument, so we may need to know it at that point already.
3005 # Even if this section looks crufty: it has the advantage of
3012 test "$ac_cv_exeext" = no && ac_cv_exeext=
3018 { echo "$as_me:$LINENO: result: $ac_file" >&5
3019 echo "${ECHO_T}$ac_file" >&6; }
3020 if test -z "$ac_file"; then
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.$ac_ext >&5
3024 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3025 See \`config.log' for more details." >&5
3026 echo "$as_me: error: C compiler cannot create executables
3027 See \`config.log' for more details." >&2;}
3028 { (exit 77); exit 77; }; }
3031 ac_exeext=$ac_cv_exeext
3033 # Check that the compiler produces executables we can run. If not, either
3034 # the compiler is broken, or we cross compile.
3035 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3036 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3037 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3038 # If not cross compiling, check that we can run a simple program.
3039 if test "$cross_compiling" != yes; then
3040 if { ac_try='./$ac_file'
3041 { (case "(($ac_try" in
3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046 (eval "$ac_try") 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3052 if test "$cross_compiling" = maybe; then
3055 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3056 If you meant to cross compile, use \`--host'.
3057 See \`config.log' for more details." >&5
3058 echo "$as_me: error: cannot run C compiled programs.
3059 If you meant to cross compile, use \`--host'.
3060 See \`config.log' for more details." >&2;}
3061 { (exit 1); exit 1; }; }
3065 { echo "$as_me:$LINENO: result: yes" >&5
3066 echo "${ECHO_T}yes" >&6; }
3068 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3069 ac_clean_files=$ac_clean_files_save
3070 # Check that the compiler produces executables we can run. If not, either
3071 # the compiler is broken, or we cross compile.
3072 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3073 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3074 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3075 echo "${ECHO_T}$cross_compiling" >&6; }
3077 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3078 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3079 if { (ac_try="$ac_link"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_link") 2>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; then
3089 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3090 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3091 # work properly (i.e., refer to `conftest.exe'), while it won't with
3093 for ac_file in conftest.exe conftest conftest.*; do
3094 test -f "$ac_file" || continue
3096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3097 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3104 See \`config.log' for more details." >&5
3105 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3106 See \`config.log' for more details." >&2;}
3107 { (exit 1); exit 1; }; }
3110 rm -f conftest$ac_cv_exeext
3111 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3112 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3114 rm -f conftest.$ac_ext
3115 EXEEXT=$ac_cv_exeext
3117 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3118 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3119 if test "${ac_cv_objext+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.o conftest.obj
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; then
3148 for ac_file in conftest.o conftest.obj conftest.*; do
3149 test -f "$ac_file" || continue;
3151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3152 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3160 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3161 See \`config.log' for more details." >&5
3162 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3163 See \`config.log' for more details." >&2;}
3164 { (exit 1); exit 1; }; }
3167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3169 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3170 echo "${ECHO_T}$ac_cv_objext" >&6; }
3171 OBJEXT=$ac_cv_objext
3173 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3174 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3175 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_c_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3225 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3226 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3227 GCC=`test $ac_compiler_gnu = yes && echo yes`
3228 ac_test_CFLAGS=${CFLAGS+set}
3229 ac_save_CFLAGS=$CFLAGS
3230 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3231 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3232 if test "${ac_cv_prog_cc_g+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 ac_save_c_werror_flag=$ac_c_werror_flag
3236 ac_c_werror_flag=yes
3239 cat >conftest.$ac_ext <<_ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3254 rm -f conftest.$ac_objext
3255 if { (ac_try="$ac_compile"
3257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3258 *) ac_try_echo=$ac_try;;
3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3261 (eval "$ac_compile") 2>conftest.er1
3263 grep -v '^ *+' conftest.er1 >conftest.err
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } && {
3268 test -z "$ac_c_werror_flag" ||
3269 test ! -s conftest.err
3270 } && test -s conftest.$ac_objext; then
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3292 rm -f conftest.$ac_objext
3293 if { (ac_try="$ac_compile"
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_compile") 2>conftest.er1
3301 grep -v '^ *+' conftest.er1 >conftest.err
3303 cat conftest.err >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } && {
3306 test -z "$ac_c_werror_flag" ||
3307 test ! -s conftest.err
3308 } && test -s conftest.$ac_objext; then
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 ac_c_werror_flag=$ac_save_c_werror_flag
3316 cat >conftest.$ac_ext <<_ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3340 grep -v '^ *+' conftest.er1 >conftest.err
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } && {
3345 test -z "$ac_c_werror_flag" ||
3346 test ! -s conftest.err
3347 } && test -s conftest.$ac_objext; then
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363 ac_c_werror_flag=$ac_save_c_werror_flag
3365 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3366 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3367 if test "$ac_test_CFLAGS" = set; then
3368 CFLAGS=$ac_save_CFLAGS
3369 elif test $ac_cv_prog_cc_g = yes; then
3370 if test "$GCC" = yes; then
3376 if test "$GCC" = yes; then
3382 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3383 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3384 if test "${ac_cv_prog_cc_c89+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 ac_cv_prog_cc_c89=no
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3397 #include <sys/types.h>
3398 #include <sys/stat.h>
3399 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3400 struct buf { int x; };
3401 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3402 static char *e (p, i)
3408 static char *f (char * (*g) (char **, int), char **p, ...)
3413 s = g (p, va_arg (v,int));
3418 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3419 function prototypes and stuff, but not '\xHH' hex character constants.
3420 These don't provoke an error unfortunately, instead are silently treated
3421 as 'x'. The following induces an error, until -std is added to get
3422 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3423 array size at least. It's necessary to write '\x00'==0 to get something
3424 that's true only with -std. */
3425 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3427 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3428 inside strings and character constants. */
3430 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3432 int test (int i, double x);
3433 struct s1 {int (*f) (int a);};
3434 struct s2 {int (*f) (double a);};
3435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3446 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3447 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3449 CC="$ac_save_CC $ac_arg"
3450 rm -f conftest.$ac_objext
3451 if { (ac_try="$ac_compile"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457 (eval "$ac_compile") 2>conftest.er1
3459 grep -v '^ *+' conftest.er1 >conftest.err
3461 cat conftest.err >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); } && {
3464 test -z "$ac_c_werror_flag" ||
3465 test ! -s conftest.err
3466 } && test -s conftest.$ac_objext; then
3467 ac_cv_prog_cc_c89=$ac_arg
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3475 rm -f core conftest.err conftest.$ac_objext
3476 test "x$ac_cv_prog_cc_c89" != "xno" && break
3478 rm -f conftest.$ac_ext
3483 case "x$ac_cv_prog_cc_c89" in
3485 { echo "$as_me:$LINENO: result: none needed" >&5
3486 echo "${ECHO_T}none needed" >&6; } ;;
3488 { echo "$as_me:$LINENO: result: unsupported" >&5
3489 echo "${ECHO_T}unsupported" >&6; } ;;
3491 CC="$CC $ac_cv_prog_cc_c89"
3492 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3493 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3509 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3510 # On Suns, sometimes $CPP names a directory.
3511 if test -n "$CPP" && test -d "$CPP"; then
3514 if test -z "$CPP"; then
3515 if test "${ac_cv_prog_CPP+set}" = set; then
3516 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 # Double quotes because CPP needs to be expanded
3519 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3522 for ac_c_preproc_warn_flag in '' yes
3524 # Use a header file that comes with gcc, so configuring glibc
3525 # with a fresh cross-compiler works.
3526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3527 # <limits.h> exists even on freestanding compilers.
3528 # On the NeXT, cc -E runs the code through the compiler's parser,
3529 # not just through cpp. "Syntax error" is here to catch this case.
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3537 # include <limits.h>
3539 # include <assert.h>
3543 if { (ac_try="$ac_cpp conftest.$ac_ext"
3545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3551 grep -v '^ *+' conftest.er1 >conftest.err
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } >/dev/null && {
3556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3557 test ! -s conftest.err
3561 echo "$as_me: failed program was:" >&5
3562 sed 's/^/| /' conftest.$ac_ext >&5
3564 # Broken: fails on valid input.
3568 rm -f conftest.err conftest.$ac_ext
3570 # OK, works on sane cases. Now check whether nonexistent headers
3571 # can be detected and how.
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578 #include <ac_nonexistent.h>
3580 if { (ac_try="$ac_cpp conftest.$ac_ext"
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3586 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3588 grep -v '^ *+' conftest.er1 >conftest.err
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } >/dev/null && {
3593 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3594 test ! -s conftest.err
3596 # Broken: success on invalid input.
3599 echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3602 # Passes both tests.
3607 rm -f conftest.err conftest.$ac_ext
3610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3611 rm -f conftest.err conftest.$ac_ext
3612 if $ac_preproc_ok; then
3624 { echo "$as_me:$LINENO: result: $CPP" >&5
3625 echo "${ECHO_T}$CPP" >&6; }
3627 for ac_c_preproc_warn_flag in '' yes
3629 # Use a header file that comes with gcc, so configuring glibc
3630 # with a fresh cross-compiler works.
3631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3632 # <limits.h> exists even on freestanding compilers.
3633 # On the NeXT, cc -E runs the code through the compiler's parser,
3634 # not just through cpp. "Syntax error" is here to catch this case.
3635 cat >conftest.$ac_ext <<_ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3642 # include <limits.h>
3644 # include <assert.h>
3648 if { (ac_try="$ac_cpp conftest.$ac_ext"
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3656 grep -v '^ *+' conftest.er1 >conftest.err
3658 cat conftest.err >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } >/dev/null && {
3661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3662 test ! -s conftest.err
3666 echo "$as_me: failed program was:" >&5
3667 sed 's/^/| /' conftest.$ac_ext >&5
3669 # Broken: fails on valid input.
3673 rm -f conftest.err conftest.$ac_ext
3675 # OK, works on sane cases. Now check whether nonexistent headers
3676 # can be detected and how.
3677 cat >conftest.$ac_ext <<_ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3683 #include <ac_nonexistent.h>
3685 if { (ac_try="$ac_cpp conftest.$ac_ext"
3687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3688 *) ac_try_echo=$ac_try;;
3690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3693 grep -v '^ *+' conftest.er1 >conftest.err
3695 cat conftest.err >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } >/dev/null && {
3698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3699 test ! -s conftest.err
3701 # Broken: success on invalid input.
3704 echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.$ac_ext >&5
3707 # Passes both tests.
3712 rm -f conftest.err conftest.$ac_ext
3715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3716 rm -f conftest.err conftest.$ac_ext
3717 if $ac_preproc_ok; then
3720 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3721 See \`config.log' for more details." >&5
3722 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3723 See \`config.log' for more details." >&2;}
3724 { (exit 1); exit 1; }; }
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733 # Find a good install program. We prefer a C program (faster),
3734 # so one script is as good as another. But avoid the broken or
3735 # incompatible versions:
3736 # SysV /etc/install, /usr/sbin/install
3737 # SunOS /usr/etc/install
3738 # IRIX /sbin/install
3740 # AmigaOS /C/install, which installs bootblocks on floppy discs
3741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3744 # OS/2's system install, which has a completely different semantic
3745 # ./install, which can be erroneously created by make from ./install.sh.
3746 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3748 if test -z "$INSTALL"; then
3749 if test "${ac_cv_path_install+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir=.
3757 # Account for people who put trailing slashes in PATH elements.
3759 ./ | .// | /cC/* | \
3760 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3761 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3764 # OSF1 and SCO ODT 3.0 have their own names for install.
3765 # Don't use installbsd from OSF since it installs stuff as root
3767 for ac_prog in ginstall scoinst install; do
3768 for ac_exec_ext in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3770 if test $ac_prog = install &&
3771 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3772 # AIX install. It has an incompatible calling convention.
3774 elif test $ac_prog = install &&
3775 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3776 # program-specific install script used by HP pwplus--don't use.
3779 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3792 if test "${ac_cv_path_install+set}" = set; then
3793 INSTALL=$ac_cv_path_install
3795 # As a last resort, use the slow shell script. Don't cache a
3796 # value for INSTALL within a source directory, because that will
3797 # break other packages using the cache if that directory is
3798 # removed, or if the value is a relative name.
3799 INSTALL=$ac_install_sh
3802 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3803 echo "${ECHO_T}$INSTALL" >&6; }
3805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3806 # It thinks the first close brace ends the variable substitution.
3807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3811 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3813 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3814 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3816 if test "$LN_S" = "ln -s"; then
3817 { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3820 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3821 echo "${ECHO_T}no, using $LN_S" >&6; }
3826 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3827 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3833 macro_revision='1.2599'
3847 ltmain="$ac_aux_dir/ltmain.sh"
3849 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3850 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3851 if test "${ac_cv_path_SED+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3855 for ac_i in 1 2 3 4 5 6 7; do
3856 ac_script="$ac_script$as_nl$ac_script"
3858 echo "$ac_script" | sed 99q >conftest.sed
3859 $as_unset ac_script || ac_script=
3860 # Extract the first word of "sed gsed" to use in msg output
3861 if test -z "$SED"; then
3862 set dummy sed gsed; ac_prog_name=$2
3863 if test "${ac_cv_path_SED+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 ac_path_SED_found=false
3867 # Loop through the user's path and test for each of PROGNAME-LIST
3868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir=.
3873 for ac_prog in sed gsed; do
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3876 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3877 # Check for GNU ac_path_SED and select it if it is found.
3878 # Check for GNU $ac_path_SED
3879 case `"$ac_path_SED" --version 2>&1` in
3881 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3884 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3887 cat "conftest.in" "conftest.in" >"conftest.tmp"
3888 mv "conftest.tmp" "conftest.in"
3889 cp "conftest.in" "conftest.nl"
3890 echo '' >> "conftest.nl"
3891 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3892 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3893 ac_count=`expr $ac_count + 1`
3894 if test $ac_count -gt ${ac_path_SED_max-0}; then
3895 # Best one so far, save it but keep looking for a better one
3896 ac_cv_path_SED="$ac_path_SED"
3897 ac_path_SED_max=$ac_count
3899 # 10*(2^10) chars as input seems more than enough
3900 test $ac_count -gt 10 && break
3902 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3906 $ac_path_SED_found && break 3
3916 SED="$ac_cv_path_SED"
3917 if test -z "$SED"; then
3918 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
3919 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
3920 { (exit 1); exit 1; }; }
3928 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3929 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
3930 SED="$ac_cv_path_SED"
3933 test -z "$SED" && SED=sed
3934 Xsed="$SED -e 1s/^X//"
3946 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3947 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3948 if test "${ac_cv_path_GREP+set}" = set; then
3949 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 # Extract the first word of "grep ggrep" to use in msg output
3952 if test -z "$GREP"; then
3953 set dummy grep ggrep; ac_prog_name=$2
3954 if test "${ac_cv_path_GREP+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 ac_path_GREP_found=false
3958 # Loop through the user's path and test for each of PROGNAME-LIST
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3963 test -z "$as_dir" && as_dir=.
3964 for ac_prog in grep ggrep; do
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3967 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3968 # Check for GNU ac_path_GREP and select it if it is found.
3969 # Check for GNU $ac_path_GREP
3970 case `"$ac_path_GREP" --version 2>&1` in
3972 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3975 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3978 cat "conftest.in" "conftest.in" >"conftest.tmp"
3979 mv "conftest.tmp" "conftest.in"
3980 cp "conftest.in" "conftest.nl"
3981 echo 'GREP' >> "conftest.nl"
3982 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3983 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3984 ac_count=`expr $ac_count + 1`
3985 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3986 # Best one so far, save it but keep looking for a better one
3987 ac_cv_path_GREP="$ac_path_GREP"
3988 ac_path_GREP_max=$ac_count
3990 # 10*(2^10) chars as input seems more than enough
3991 test $ac_count -gt 10 && break
3993 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3997 $ac_path_GREP_found && break 3
4007 GREP="$ac_cv_path_GREP"
4008 if test -z "$GREP"; then
4009 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4010 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4011 { (exit 1); exit 1; }; }
4015 ac_cv_path_GREP=$GREP
4020 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4021 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4022 GREP="$ac_cv_path_GREP"
4025 { echo "$as_me:$LINENO: checking for egrep" >&5
4026 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4027 if test "${ac_cv_path_EGREP+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4031 then ac_cv_path_EGREP="$GREP -E"
4033 # Extract the first word of "egrep" to use in msg output
4034 if test -z "$EGREP"; then
4035 set dummy egrep; ac_prog_name=$2
4036 if test "${ac_cv_path_EGREP+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 ac_path_EGREP_found=false
4040 # Loop through the user's path and test for each of PROGNAME-LIST
4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4045 test -z "$as_dir" && as_dir=.
4046 for ac_prog in egrep; do
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4049 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4050 # Check for GNU ac_path_EGREP and select it if it is found.
4051 # Check for GNU $ac_path_EGREP
4052 case `"$ac_path_EGREP" --version 2>&1` in
4054 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4057 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4060 cat "conftest.in" "conftest.in" >"conftest.tmp"
4061 mv "conftest.tmp" "conftest.in"
4062 cp "conftest.in" "conftest.nl"
4063 echo 'EGREP' >> "conftest.nl"
4064 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4065 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4066 ac_count=`expr $ac_count + 1`
4067 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4068 # Best one so far, save it but keep looking for a better one
4069 ac_cv_path_EGREP="$ac_path_EGREP"
4070 ac_path_EGREP_max=$ac_count
4072 # 10*(2^10) chars as input seems more than enough
4073 test $ac_count -gt 10 && break
4075 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4079 $ac_path_EGREP_found && break 3
4089 EGREP="$ac_cv_path_EGREP"
4090 if test -z "$EGREP"; then
4091 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4092 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4093 { (exit 1); exit 1; }; }
4097 ac_cv_path_EGREP=$EGREP
4103 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4104 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4105 EGREP="$ac_cv_path_EGREP"
4108 { echo "$as_me:$LINENO: checking for fgrep" >&5
4109 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4110 if test "${ac_cv_path_FGREP+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4114 then ac_cv_path_FGREP="$GREP -F"
4116 # Extract the first word of "fgrep" to use in msg output
4117 if test -z "$FGREP"; then
4118 set dummy fgrep; ac_prog_name=$2
4119 if test "${ac_cv_path_FGREP+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 ac_path_FGREP_found=false
4123 # Loop through the user's path and test for each of PROGNAME-LIST
4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4128 test -z "$as_dir" && as_dir=.
4129 for ac_prog in fgrep; do
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4132 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4133 # Check for GNU ac_path_FGREP and select it if it is found.
4134 # Check for GNU $ac_path_FGREP
4135 case `"$ac_path_FGREP" --version 2>&1` in
4137 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4140 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4143 cat "conftest.in" "conftest.in" >"conftest.tmp"
4144 mv "conftest.tmp" "conftest.in"
4145 cp "conftest.in" "conftest.nl"
4146 echo 'FGREP' >> "conftest.nl"
4147 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149 ac_count=`expr $ac_count + 1`
4150 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4151 # Best one so far, save it but keep looking for a better one
4152 ac_cv_path_FGREP="$ac_path_FGREP"
4153 ac_path_FGREP_max=$ac_count
4155 # 10*(2^10) chars as input seems more than enough
4156 test $ac_count -gt 10 && break
4158 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4162 $ac_path_FGREP_found && break 3
4172 FGREP="$ac_cv_path_FGREP"
4173 if test -z "$FGREP"; then
4174 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4175 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4176 { (exit 1); exit 1; }; }
4180 ac_cv_path_FGREP=$FGREP
4186 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4187 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4188 FGREP="$ac_cv_path_FGREP"
4191 test -z "$GREP" && GREP=grep
4211 # Check whether --with-gnu-ld was given.
4212 if test "${with_gnu_ld+set}" = set; then
4213 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4219 if test "$GCC" = yes; then
4220 # Check if gcc -print-prog-name=ld gives a path.
4221 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4222 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4225 # gcc leaves a trailing carriage return which upsets mingw
4226 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4228 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4231 # Accept absolute paths.
4233 re_direlt='/[^/][^/]*/\.\./'
4234 # Canonicalize the pathname of ld
4235 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4236 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4237 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4239 test -z "$LD" && LD="$ac_prog"
4242 # If it fails, then pretend we aren't using GCC.
4246 # If it is relative, then search for the first ld in PATH.
4250 elif test "$with_gnu_ld" = yes; then
4251 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4252 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4254 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4255 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4257 if test "${lt_cv_path_LD+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 if test -z "$LD"; then
4261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4262 for ac_dir in $PATH; do
4264 test -z "$ac_dir" && ac_dir=.
4265 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4266 lt_cv_path_LD="$ac_dir/$ac_prog"
4267 # Check to see if the program is GNU ld. I'd rather use --version,
4268 # but apparently some variants of GNU ld only accept -v.
4269 # Break only if it was the GNU/non-GNU ld that we prefer.
4270 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4271 *GNU* | *'with BFD'*)
4272 test "$with_gnu_ld" != no && break
4275 test "$with_gnu_ld" != yes && break
4282 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4287 if test -n "$LD"; then
4288 { echo "$as_me:$LINENO: result: $LD" >&5
4289 echo "${ECHO_T}$LD" >&6; }
4291 { echo "$as_me:$LINENO: result: no" >&5
4292 echo "${ECHO_T}no" >&6; }
4294 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4295 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4296 { (exit 1); exit 1; }; }
4297 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4298 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4299 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4303 case `$LD -v 2>&1 </dev/null` in
4304 *GNU* | *'with BFD'*)
4305 lt_cv_prog_gnu_ld=yes
4308 lt_cv_prog_gnu_ld=no
4312 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4313 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4314 with_gnu_ld=$lt_cv_prog_gnu_ld
4325 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4326 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4327 if test "${lt_cv_path_NM+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 if test -n "$NM"; then
4331 # Let the user override the test.
4334 lt_nm_to_check="${ac_tool_prefix}nm"
4335 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4336 lt_nm_to_check="$lt_nm_to_check nm"
4338 for lt_tmp_nm in $lt_nm_to_check; do
4339 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4340 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4342 test -z "$ac_dir" && ac_dir=.
4343 tmp_nm="$ac_dir/$lt_tmp_nm"
4344 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4345 # Check to see if the nm accepts a BSD-compat flag.
4346 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4347 # nm: unknown option "B" ignored
4348 # Tru64's nm complains that /dev/null is an invalid object file
4349 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4350 */dev/null* | *'Invalid file or object type'*)
4351 lt_cv_path_NM="$tmp_nm -B"
4355 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4357 lt_cv_path_NM="$tmp_nm -p"
4361 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4362 continue # so that we can try to find one that supports BSD flags
4371 : ${lt_cv_path_NM=no}
4374 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4375 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4376 if test "$lt_cv_path_NM" != "no"; then
4379 # Didn't find any BSD compatible name lister, look for dumpbin.
4380 if test -n "$ac_tool_prefix"; then
4381 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 if test -n "$DUMPBIN"; then
4391 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 DUMPBIN=$ac_cv_prog_DUMPBIN
4411 if test -n "$DUMPBIN"; then
4412 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4413 echo "${ECHO_T}$DUMPBIN" >&6; }
4415 { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4420 test -n "$DUMPBIN" && break
4423 if test -z "$DUMPBIN"; then
4424 ac_ct_DUMPBIN=$DUMPBIN
4425 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4427 # Extract the first word of "$ac_prog", so it can be a program name with args.
4428 set dummy $ac_prog; ac_word=$2
4429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4431 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 if test -n "$ac_ct_DUMPBIN"; then
4435 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4455 if test -n "$ac_ct_DUMPBIN"; then
4456 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4457 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4459 { echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6; }
4464 test -n "$ac_ct_DUMPBIN" && break
4467 if test "x$ac_ct_DUMPBIN" = x; then
4470 case $cross_compiling:$ac_tool_warned in
4472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4473 whose name does not start with the host triplet. If you think this
4474 configuration is useful to you, please write to autoconf@gnu.org." >&5
4475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4476 whose name does not start with the host triplet. If you think this
4477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4478 ac_tool_warned=yes ;;
4480 DUMPBIN=$ac_ct_DUMPBIN
4485 if test "$DUMPBIN" != ":"; then
4489 test -z "$NM" && NM=nm
4496 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4497 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
4498 if test "${lt_cv_nm_interface+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 lt_cv_nm_interface="BSD nm"
4502 echo "int some_variable = 0;" > conftest.$ac_ext
4503 (eval echo "\"\$as_me:4503: $ac_compile\"" >&5)
4504 (eval "$ac_compile" 2>conftest.err)
4505 cat conftest.err >&5
4506 (eval echo "\"\$as_me:4506: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4507 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4508 cat conftest.err >&5
4509 (eval echo "\"\$as_me:4509: output\"" >&5)
4510 cat conftest.out >&5
4511 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4512 lt_cv_nm_interface="MS dumpbin"
4516 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4517 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
4519 # find the maximum length of command line arguments
4520 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4521 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4522 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 # On DJGPP, this test can blow up pretty badly due to problems in libc
4531 # (any single argument exceeding 2000 bytes causes a buffer overrun
4532 # during glob expansion). Even if it were fixed, the result of this
4533 # check would be larger than it should be.
4534 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4538 # Under GNU Hurd, this test is not required because there is
4539 # no limit to the length of command line arguments.
4540 # Libtool will interpret -1 as no limit whatsoever
4541 lt_cv_sys_max_cmd_len=-1;
4545 # On Win9x/ME, this test blows up -- it succeeds, but takes
4546 # about 5 minutes as the teststring grows exponentially.
4547 # Worse, since 9x/ME are not pre-emptively multitasking,
4548 # you end up with a "frozen" computer, even though with patience
4549 # the test eventually succeeds (with a max line length of 256k).
4550 # Instead, let's just punt: use the minimum linelength reported by
4551 # all of the supported platforms: 8192 (on NT/2K/XP).
4552 lt_cv_sys_max_cmd_len=8192;
4556 # On AmigaOS with pdksh, this test takes hours, literally.
4557 # So we just punt and use a minimum line length of 8192.
4558 lt_cv_sys_max_cmd_len=8192;
4561 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4562 # This has been around since 386BSD, at least. Likely further.
4563 if test -x /sbin/sysctl; then
4564 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4565 elif test -x /usr/sbin/sysctl; then
4566 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4568 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4570 # And add a safety zone
4571 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4572 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4576 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4577 lt_cv_sys_max_cmd_len=196608
4581 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4582 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4583 # nice to cause kernel panics so lets avoid the loop below.
4584 # First set a reasonable default.
4585 lt_cv_sys_max_cmd_len=16384
4587 if test -x /sbin/sysconfig; then
4588 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4589 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4594 lt_cv_sys_max_cmd_len=102400
4596 sysv5* | sco5v6* | sysv4.2uw2*)
4597 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4598 if test -n "$kargmax"; then
4599 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4601 lt_cv_sys_max_cmd_len=32768
4605 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4606 if test -n "$lt_cv_sys_max_cmd_len"; then
4607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4608 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4610 # Make teststring a little bigger before we do anything with it.
4611 # a 1K string should be a reasonable start.
4612 for i in 1 2 3 4 5 6 7 8 ; do
4613 teststring=$teststring$teststring
4615 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4616 # If test is not a shell built-in, we'll probably end up computing a
4617 # maximum length that is only half of the actual maximum length, but
4619 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4620 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4621 test $i != 17 # 1/2 MB should be enough
4624 teststring=$teststring$teststring
4626 # Only check the string length outside the loop.
4627 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4629 # Add a significant safety factor because C++ compilers can tack on
4630 # massive amounts of additional arguments before passing them to the
4631 # linker. It appears as though 1/2 is a usable value.
4632 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4639 if test -n $lt_cv_sys_max_cmd_len ; then
4640 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4641 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4643 { echo "$as_me:$LINENO: result: none" >&5
4644 echo "${ECHO_T}none" >&6; }
4646 max_cmd_len=$lt_cv_sys_max_cmd_len
4658 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4659 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
4660 # Try some XSI features
4663 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4664 = c,a/b,, ) >/dev/null 2>&1 \
4666 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
4667 echo "${ECHO_T}$xsi_shell" >&6; }
4670 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4671 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
4673 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4675 && lt_shell_append=yes
4676 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4677 echo "${ECHO_T}$lt_shell_append" >&6; }
4680 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4690 # test EBCDIC or ASCII
4691 case `echo X|tr X '\101'` in
4692 A) # ASCII based system
4693 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4694 lt_SP2NL='tr \040 \012'
4695 lt_NL2SP='tr \015\012 \040\040'
4697 *) # EBCDIC based system
4698 lt_SP2NL='tr \100 \n'
4699 lt_NL2SP='tr \r\n \100\100'
4711 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4712 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4713 if test "${lt_cv_ld_reload_flag+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 lt_cv_ld_reload_flag='-r'
4718 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4719 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4720 reload_flag=$lt_cv_ld_reload_flag
4721 case $reload_flag in
4723 *) reload_flag=" $reload_flag" ;;
4725 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4728 if test "$GCC" = yes; then
4729 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4731 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4745 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4746 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4747 if test "${lt_cv_deplibs_check_method+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 lt_cv_file_magic_cmd='$MAGIC_CMD'
4751 lt_cv_file_magic_test_file=
4752 lt_cv_deplibs_check_method='unknown'
4753 # Need to set the preceding variable on all platforms that support
4754 # interlibrary dependencies.
4755 # 'none' -- dependencies not supported.
4756 # `unknown' -- same as none, but documents that we really don't know.
4757 # 'pass_all' -- all dependencies passed with no checks.
4758 # 'test_compile' -- check by making test program.
4759 # 'file_magic [[regex]]' -- check by looking for files in library path
4760 # which responds to the $file_magic_cmd with a given extended regex.
4761 # If you have `file' or equivalent on your system and you're not sure
4762 # whether `pass_all' will *always* work, you probably want this one.
4766 lt_cv_deplibs_check_method=pass_all
4770 lt_cv_deplibs_check_method=pass_all
4774 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4775 lt_cv_file_magic_cmd='/usr/bin/file -L'
4776 lt_cv_file_magic_test_file=/shlib/libc.so
4780 # func_win32_libid is a shell function defined in ltmain.sh
4781 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4782 lt_cv_file_magic_cmd='func_win32_libid'
4786 # Base MSYS/MinGW do not provide the 'file' command needed by
4787 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4788 # unless we find 'file', for example because we are cross-compiling.
4789 if ( file / ) >/dev/null 2>&1; then
4790 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4791 lt_cv_file_magic_cmd='func_win32_libid'
4793 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4794 lt_cv_file_magic_cmd='$OBJDUMP -f'
4798 darwin* | rhapsody*)
4799 lt_cv_deplibs_check_method=pass_all
4802 freebsd* | dragonfly*)
4803 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4806 # Not sure whether the presence of OpenBSD here was a mistake.
4807 # Let's accept both of them until this is cleared up.
4808 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4809 lt_cv_file_magic_cmd=/usr/bin/file
4810 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4814 lt_cv_deplibs_check_method=pass_all
4819 lt_cv_deplibs_check_method=pass_all
4822 hpux10.20* | hpux11*)
4823 lt_cv_file_magic_cmd=/usr/bin/file
4826 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4827 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4830 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]'
4831 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4834 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4835 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4841 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4842 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4845 irix5* | irix6* | nonstopux*)
4847 *-32|*"-32 ") libmagic=32-bit;;
4848 *-n32|*"-n32 ") libmagic=N32;;
4849 *-64|*"-64 ") libmagic=64-bit;;
4850 *) libmagic=never-match;;
4852 lt_cv_deplibs_check_method=pass_all
4855 # This must be Linux ELF.
4856 linux* | k*bsd*-gnu)
4857 lt_cv_deplibs_check_method=pass_all
4861 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4862 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4864 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4869 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4870 lt_cv_file_magic_cmd=/usr/bin/file
4871 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4875 lt_cv_deplibs_check_method=pass_all
4879 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4880 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4882 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4886 osf3* | osf4* | osf5*)
4887 lt_cv_deplibs_check_method=pass_all
4891 lt_cv_deplibs_check_method=pass_all
4895 lt_cv_deplibs_check_method=pass_all
4898 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4899 lt_cv_deplibs_check_method=pass_all
4903 case $host_vendor in
4905 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]'
4906 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4909 lt_cv_deplibs_check_method=pass_all
4912 lt_cv_file_magic_cmd='/bin/file'
4913 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4916 lt_cv_file_magic_cmd='/bin/file'
4917 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4918 lt_cv_file_magic_test_file=/lib/libc.so
4921 lt_cv_deplibs_check_method=pass_all
4924 lt_cv_deplibs_check_method=pass_all
4930 lt_cv_deplibs_check_method=pass_all
4935 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4936 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4937 file_magic_cmd=$lt_cv_file_magic_cmd
4938 deplibs_check_method=$lt_cv_deplibs_check_method
4939 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4952 if test -n "$ac_tool_prefix"; then
4953 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4954 set dummy ${ac_tool_prefix}ar; ac_word=$2
4955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4957 if test "${ac_cv_prog_AR+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4960 if test -n "$AR"; then
4961 ac_cv_prog_AR="$AR" # Let the user override the test.
4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 test -z "$as_dir" && as_dir=.
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970 ac_cv_prog_AR="${ac_tool_prefix}ar"
4971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 if test -n "$AR"; then
4982 { echo "$as_me:$LINENO: result: $AR" >&5
4983 echo "${ECHO_T}$AR" >&6; }
4985 { echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6; }
4991 if test -z "$ac_cv_prog_AR"; then
4993 # Extract the first word of "ar", so it can be a program name with args.
4994 set dummy ar; ac_word=$2
4995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4997 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 if test -n "$ac_ct_AR"; then
5001 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir=.
5008 for ac_exec_ext in '' $ac_executable_extensions; do
5009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5010 ac_cv_prog_ac_ct_AR="ar"
5011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5021 if test -n "$ac_ct_AR"; then
5022 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5023 echo "${ECHO_T}$ac_ct_AR" >&6; }
5025 { echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6; }
5029 if test "x$ac_ct_AR" = x; then
5032 case $cross_compiling:$ac_tool_warned in
5034 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5035 whose name does not start with the host triplet. If you think this
5036 configuration is useful to you, please write to autoconf@gnu.org." >&5
5037 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5038 whose name does not start with the host triplet. If you think this
5039 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5040 ac_tool_warned=yes ;;
5048 test -z "$AR" && AR=ar
5049 test -z "$AR_FLAGS" && AR_FLAGS=cru
5061 if test -n "$ac_tool_prefix"; then
5062 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5063 set dummy ${ac_tool_prefix}strip; ac_word=$2
5064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5066 if test "${ac_cv_prog_STRIP+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5069 if test -n "$STRIP"; then
5070 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 STRIP=$ac_cv_prog_STRIP
5090 if test -n "$STRIP"; then
5091 { echo "$as_me:$LINENO: result: $STRIP" >&5
5092 echo "${ECHO_T}$STRIP" >&6; }
5094 { echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6; }
5100 if test -z "$ac_cv_prog_STRIP"; then
5102 # Extract the first word of "strip", so it can be a program name with args.
5103 set dummy strip; ac_word=$2
5104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5106 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 if test -n "$ac_ct_STRIP"; then
5110 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir=.
5117 for ac_exec_ext in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_ac_ct_STRIP="strip"
5120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5130 if test -n "$ac_ct_STRIP"; then
5131 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5132 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5134 { echo "$as_me:$LINENO: result: no" >&5
5135 echo "${ECHO_T}no" >&6; }
5138 if test "x$ac_ct_STRIP" = x; then
5141 case $cross_compiling:$ac_tool_warned in
5143 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5144 whose name does not start with the host triplet. If you think this
5145 configuration is useful to you, please write to autoconf@gnu.org." >&5
5146 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5147 whose name does not start with the host triplet. If you think this
5148 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5149 ac_tool_warned=yes ;;
5154 STRIP="$ac_cv_prog_STRIP"
5157 test -z "$STRIP" && STRIP=:
5164 if test -n "$ac_tool_prefix"; then
5165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5169 if test "${ac_cv_prog_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 if test -n "$RANLIB"; then
5173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 RANLIB=$ac_cv_prog_RANLIB
5193 if test -n "$RANLIB"; then
5194 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5195 echo "${ECHO_T}$RANLIB" >&6; }
5197 { echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6; }
5203 if test -z "$ac_cv_prog_RANLIB"; then
5204 ac_ct_RANLIB=$RANLIB
5205 # Extract the first word of "ranlib", so it can be a program name with args.
5206 set dummy ranlib; ac_word=$2
5207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5209 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 if test -n "$ac_ct_RANLIB"; then
5213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_ac_ct_RANLIB="ranlib"
5223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5233 if test -n "$ac_ct_RANLIB"; then
5234 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5235 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5237 { echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6; }
5241 if test "x$ac_ct_RANLIB" = x; then
5244 case $cross_compiling:$ac_tool_warned in
5246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5247 whose name does not start with the host triplet. If you think this
5248 configuration is useful to you, please write to autoconf@gnu.org." >&5
5249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5250 whose name does not start with the host triplet. If you think this
5251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5252 ac_tool_warned=yes ;;
5254 RANLIB=$ac_ct_RANLIB
5257 RANLIB="$ac_cv_prog_RANLIB"
5260 test -z "$RANLIB" && RANLIB=:
5267 # Determine commands to create old-style static archives.
5268 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5269 old_postinstall_cmds='chmod 644 $oldlib'
5270 old_postuninstall_cmds=
5272 if test -n "$RANLIB"; then
5275 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5278 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5281 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5317 # If no C compiler was specified, use CC.
5320 # If no C compiler flags were specified, use CFLAGS.
5321 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5323 # Allow CC to be a program name with arguments.
5327 # Check for command to grab the raw symbol name followed by C symbol from nm.
5328 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5329 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5330 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5331 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 # These are sane defaults that work on at least a few old systems.
5335 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5337 # Character class describing NM global symbol codes.
5338 symcode='[BCDEGRST]'
5340 # Regexp to match symbols that can be accessed directly from C.
5341 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5343 # Define system-specific variables.
5348 cygwin* | mingw* | pw32*)
5349 symcode='[ABCDGISTW]'
5352 if test "$host_cpu" = ia64; then
5353 symcode='[ABCDEGRST]'
5357 symcode='[BCDEGRST]'
5360 symcode='[BCDEGQRST]'
5371 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5379 # If we're using GNU nm, then use its standard symbol codes.
5380 case `$NM -V 2>&1` in
5381 *GNU* | *'with BFD'*)
5382 symcode='[ABCDGIRSTW]' ;;
5385 # Transform an extracted symbol line into a proper C declaration.
5386 # Some systems (esp. on ia64) link data and code symbols differently,
5387 # so use this general approach.
5388 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5390 # Transform an extracted symbol line into symbol name and symbol address
5391 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5392 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5394 # Handle CRLF in mingw tool chain
5398 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5402 # Try without a prefix underscore, then with it.
5403 for ac_symprfx in "" "_"; do
5405 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5406 symxfrm="\\1 $ac_symprfx\\2 \\2"
5408 # Write the raw and C identifiers.
5409 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5410 # Fake it for dumpbin and say T for any non-static function
5411 # and D for any global variable.
5412 # Also find C++ and __fastcall symbols from MSVC++,
5413 # which start with @ or ?.
5414 lt_cv_sys_global_symbol_pipe="$AWK '"\
5415 " {last_section=section; section=\$ 3};"\
5416 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5417 " \$ 0!~/External *\|/{next};"\
5418 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5419 " {if(hide[section]) next};"\
5420 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5421 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5422 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5423 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5424 " ' prfx=^$ac_symprfx"
5426 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5429 # Check to see that the pipe works correctly.
5433 cat > conftest.$ac_ext <<_LT_EOF
5438 void nm_test_func(void);
5439 void nm_test_func(void){}
5443 int main(){nm_test_var='a';nm_test_func();return(0);}
5446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5447 (eval $ac_compile) 2>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; then
5451 # Now try to grab the symbols.
5453 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5454 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } && test -s "$nlist"; then
5458 # Try sorting and uniquifying the output.
5459 if sort "$nlist" | uniq > "$nlist"T; then
5460 mv -f "$nlist"T "$nlist"
5465 # Make sure that we snagged all the symbols we need.
5466 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5467 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5468 cat <<_LT_EOF > conftest.$ac_ext
5474 # Now generate the symbol file.
5475 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5477 cat <<_LT_EOF >> conftest.$ac_ext
5479 /* The mapping between symbol names and symbols. */
5484 lt__PROGRAM__LTX_preloaded_symbols[] =
5486 { "@PROGRAM@", (void *) 0 },
5488 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5489 cat <<\_LT_EOF >> conftest.$ac_ext
5493 /* This works around a problem in FreeBSD linker */
5494 #ifdef FREEBSD_WORKAROUND
5495 static const void *lt_preloaded_setup() {
5496 return lt__PROGRAM__LTX_preloaded_symbols;
5504 # Now try linking the two files.
5505 mv conftest.$ac_objext conftstm.$ac_objext
5506 lt_save_LIBS="$LIBS"
5507 lt_save_CFLAGS="$CFLAGS"
5508 LIBS="conftstm.$ac_objext"
5509 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5511 (eval $ac_link) 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5517 LIBS="$lt_save_LIBS"
5518 CFLAGS="$lt_save_CFLAGS"
5520 echo "cannot find nm_test_func in $nlist" >&5
5523 echo "cannot find nm_test_var in $nlist" >&5
5526 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5529 echo "$progname: failed program was:" >&5
5530 cat conftest.$ac_ext >&5
5532 rm -rf conftest* conftst*
5534 # Do not use the global_symbol_pipe unless it works.
5535 if test "$pipe_works" = yes; then
5538 lt_cv_sys_global_symbol_pipe=
5544 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5545 lt_cv_sys_global_symbol_to_cdecl=
5547 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5548 { echo "$as_me:$LINENO: result: failed" >&5
5549 echo "${ECHO_T}failed" >&6; }
5551 { echo "$as_me:$LINENO: result: ok" >&5
5552 echo "${ECHO_T}ok" >&6; }
5577 # Check whether --enable-libtool-lock was given.
5578 if test "${enable_libtool_lock+set}" = set; then
5579 enableval=$enable_libtool_lock;
5582 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5584 # Some flags need to be propagated to the compiler or linker for good
5588 # Find out which ABI we are using.
5589 echo 'int i;' > conftest.$ac_ext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5591 (eval $ac_compile) 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; then
5595 case `/usr/bin/file conftest.$ac_objext` in
5607 # Find out which ABI we are using.
5608 echo '#line 5608 "configure"' > conftest.$ac_ext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610 (eval $ac_compile) 2>&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; then
5614 if test "$lt_cv_prog_gnu_ld" = yes; then
5615 case `/usr/bin/file conftest.$ac_objext` in
5617 LD="${LD-ld} -melf32bsmip"
5620 LD="${LD-ld} -melf32bmipn32"
5623 LD="${LD-ld} -melf64bmip"
5627 case `/usr/bin/file conftest.$ac_objext` in
5643 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5644 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5645 # Find out which ABI we are using.
5646 echo 'int i;' > conftest.$ac_ext
5647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5648 (eval $ac_compile) 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; then
5652 case `/usr/bin/file conftest.o` in
5655 x86_64-*kfreebsd*-gnu)
5656 LD="${LD-ld} -m elf_i386_fbsd"
5659 LD="${LD-ld} -m elf_i386"
5661 ppc64-*linux*|powerpc64-*linux*)
5662 LD="${LD-ld} -m elf32ppclinux"
5665 LD="${LD-ld} -m elf_s390"
5668 LD="${LD-ld} -m elf32_sparc"
5674 x86_64-*kfreebsd*-gnu)
5675 LD="${LD-ld} -m elf_x86_64_fbsd"
5678 LD="${LD-ld} -m elf_x86_64"
5680 ppc*-*linux*|powerpc*-*linux*)
5681 LD="${LD-ld} -m elf64ppc"
5683 s390*-*linux*|s390*-*tpf*)
5684 LD="${LD-ld} -m elf64_s390"
5687 LD="${LD-ld} -m elf64_sparc"
5697 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5698 SAVE_CFLAGS="$CFLAGS"
5699 CFLAGS="$CFLAGS -belf"
5700 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5701 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5702 if test "${lt_cv_cc_needs_belf+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5706 ac_cpp='$CPP $CPPFLAGS'
5707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5711 cat >conftest.$ac_ext <<_ACEOF
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5726 rm -f conftest.$ac_objext conftest$ac_exeext
5727 if { (ac_try="$ac_link"
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_link") 2>conftest.er1
5735 grep -v '^ *+' conftest.er1 >conftest.err
5737 cat conftest.err >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && {
5740 test -z "$ac_c_werror_flag" ||
5741 test ! -s conftest.err
5742 } && test -s conftest$ac_exeext &&
5743 $as_test_x conftest$ac_exeext; then
5744 lt_cv_cc_needs_belf=yes
5746 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5
5749 lt_cv_cc_needs_belf=no
5752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5753 conftest$ac_exeext conftest.$ac_ext
5755 ac_cpp='$CPP $CPPFLAGS'
5756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5761 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5762 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5763 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5764 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5765 CFLAGS="$SAVE_CFLAGS"
5769 # Find out which ABI we are using.
5770 echo 'int i;' > conftest.$ac_ext
5771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5772 (eval $ac_compile) 2>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); }; then
5776 case `/usr/bin/file conftest.o` in
5778 case $lt_cv_prog_gnu_ld in
5779 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5781 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5793 need_locks="$enable_libtool_lock"
5797 rhapsody* | darwin*)
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$DSYMUTIL"; then
5807 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5827 if test -n "$DSYMUTIL"; then
5828 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5829 echo "${ECHO_T}$DSYMUTIL" >&6; }
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5837 if test -z "$ac_cv_prog_DSYMUTIL"; then
5838 ac_ct_DSYMUTIL=$DSYMUTIL
5839 # Extract the first word of "dsymutil", so it can be a program name with args.
5840 set dummy dsymutil; ac_word=$2
5841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 if test -n "$ac_ct_DSYMUTIL"; then
5847 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5867 if test -n "$ac_ct_DSYMUTIL"; then
5868 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5869 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
5871 { echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6; }
5875 if test "x$ac_ct_DSYMUTIL" = x; then
5878 case $cross_compiling:$ac_tool_warned in
5880 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5881 whose name does not start with the host triplet. If you think this
5882 configuration is useful to you, please write to autoconf@gnu.org." >&5
5883 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5884 whose name does not start with the host triplet. If you think this
5885 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5886 ac_tool_warned=yes ;;
5888 DSYMUTIL=$ac_ct_DSYMUTIL
5891 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5894 if test -n "$ac_tool_prefix"; then
5895 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5896 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5902 if test -n "$NMEDIT"; then
5903 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 NMEDIT=$ac_cv_prog_NMEDIT
5923 if test -n "$NMEDIT"; then
5924 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
5925 echo "${ECHO_T}$NMEDIT" >&6; }
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5933 if test -z "$ac_cv_prog_NMEDIT"; then
5934 ac_ct_NMEDIT=$NMEDIT
5935 # Extract the first word of "nmedit", so it can be a program name with args.
5936 set dummy nmedit; ac_word=$2
5937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5939 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 if test -n "$ac_ct_NMEDIT"; then
5943 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5952 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5963 if test -n "$ac_ct_NMEDIT"; then
5964 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5965 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
5967 { echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6; }
5971 if test "x$ac_ct_NMEDIT" = x; then
5974 case $cross_compiling:$ac_tool_warned in
5976 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5977 whose name does not start with the host triplet. If you think this
5978 configuration is useful to you, please write to autoconf@gnu.org." >&5
5979 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5980 whose name does not start with the host triplet. If you think this
5981 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5982 ac_tool_warned=yes ;;
5984 NMEDIT=$ac_ct_NMEDIT
5987 NMEDIT="$ac_cv_prog_NMEDIT"
6001 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6002 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6003 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 lt_cv_apple_cc_single_mod=no
6007 if test -z "${LT_MULTI_MODULE}"; then
6008 # By default we will add the -single_module flag. You can override
6009 # by either setting the environment variable LT_MULTI_MODULE
6010 # non-empty at configure time, or by adding -multi_module to the
6012 echo "int foo(void){return 1;}" > conftest.c
6013 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6014 -dynamiclib ${wl}-single_module conftest.c
6015 if test -f libconftest.dylib; then
6016 lt_cv_apple_cc_single_mod=yes
6017 rm -rf libconftest.dylib*
6022 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6023 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6024 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6025 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6026 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 lt_cv_ld_exported_symbols_list=no
6030 save_LDFLAGS=$LDFLAGS
6031 echo "_main" > conftest.sym
6032 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6033 cat >conftest.$ac_ext <<_ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6048 rm -f conftest.$ac_objext conftest$ac_exeext
6049 if { (ac_try="$ac_link"
6051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6052 *) ac_try_echo=$ac_try;;
6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6055 (eval "$ac_link") 2>conftest.er1
6057 grep -v '^ *+' conftest.er1 >conftest.err
6059 cat conftest.err >&5
6060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6061 (exit $ac_status); } && {
6062 test -z "$ac_c_werror_flag" ||
6063 test ! -s conftest.err
6064 } && test -s conftest$ac_exeext &&
6065 $as_test_x conftest$ac_exeext; then
6066 lt_cv_ld_exported_symbols_list=yes
6068 echo "$as_me: failed program was:" >&5
6069 sed 's/^/| /' conftest.$ac_ext >&5
6071 lt_cv_ld_exported_symbols_list=no
6074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6075 conftest$ac_exeext conftest.$ac_ext
6076 LDFLAGS="$save_LDFLAGS"
6079 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6080 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6082 rhapsody* | darwin1.[012])
6083 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6085 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6086 darwin*) # darwin 5.x on
6087 # if running on 10.5 or later, the deployment target defaults
6088 # to the OS version, if on x86, and 10.4, the deployment
6089 # target defaults to 10.4. Don't you love it?
6090 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6091 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6092 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6094 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6096 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6100 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6101 _lt_dar_single_mod='$single_module'
6103 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6104 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6106 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6108 if test "$DSYMUTIL" != ":"; then
6109 _lt_dsymutil='~$DSYMUTIL $lib || :'
6117 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6118 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6119 if test "${ac_cv_header_stdc+set}" = set; then
6120 echo $ECHO_N "(cached) $ECHO_C" >&6
6122 cat >conftest.$ac_ext <<_ACEOF
6125 cat confdefs.h >>conftest.$ac_ext
6126 cat >>conftest.$ac_ext <<_ACEOF
6127 /* end confdefs.h. */
6141 rm -f conftest.$ac_objext
6142 if { (ac_try="$ac_compile"
6144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6145 *) ac_try_echo=$ac_try;;
6147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6148 (eval "$ac_compile") 2>conftest.er1
6150 grep -v '^ *+' conftest.er1 >conftest.err
6152 cat conftest.err >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } && {
6155 test -z "$ac_c_werror_flag" ||
6156 test ! -s conftest.err
6157 } && test -s conftest.$ac_objext; then
6158 ac_cv_header_stdc=yes
6160 echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.$ac_ext >&5
6163 ac_cv_header_stdc=no
6166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 if test $ac_cv_header_stdc = yes; then
6169 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6170 cat >conftest.$ac_ext <<_ACEOF
6173 cat confdefs.h >>conftest.$ac_ext
6174 cat >>conftest.$ac_ext <<_ACEOF
6175 /* end confdefs.h. */
6179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6180 $EGREP "memchr" >/dev/null 2>&1; then
6183 ac_cv_header_stdc=no
6189 if test $ac_cv_header_stdc = yes; then
6190 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6191 cat >conftest.$ac_ext <<_ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6201 $EGREP "free" >/dev/null 2>&1; then
6204 ac_cv_header_stdc=no
6210 if test $ac_cv_header_stdc = yes; then
6211 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6212 if test "$cross_compiling" = yes; then
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6223 #if ((' ' & 0x0FF) == 0x020)
6224 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6225 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6227 # define ISLOWER(c) \
6228 (('a' <= (c) && (c) <= 'i') \
6229 || ('j' <= (c) && (c) <= 'r') \
6230 || ('s' <= (c) && (c) <= 'z'))
6231 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6234 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6239 for (i = 0; i < 256; i++)
6240 if (XOR (islower (i), ISLOWER (i))
6241 || toupper (i) != TOUPPER (i))
6246 rm -f conftest$ac_exeext
6247 if { (ac_try="$ac_link"
6249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250 *) ac_try_echo=$ac_try;;
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253 (eval "$ac_link") 2>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6257 { (case "(($ac_try" in
6258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6259 *) ac_try_echo=$ac_try;;
6261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6262 (eval "$ac_try") 2>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); }; }; then
6268 echo "$as_me: program exited with status $ac_status" >&5
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6273 ac_cv_header_stdc=no
6275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6281 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6282 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6283 if test $ac_cv_header_stdc = yes; then
6285 cat >>confdefs.h <<\_ACEOF
6286 #define STDC_HEADERS 1
6291 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6301 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6302 inttypes.h stdint.h unistd.h
6304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6305 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 cat >conftest.$ac_ext <<_ACEOF
6313 cat confdefs.h >>conftest.$ac_ext
6314 cat >>conftest.$ac_ext <<_ACEOF
6315 /* end confdefs.h. */
6316 $ac_includes_default
6318 #include <$ac_header>
6320 rm -f conftest.$ac_objext
6321 if { (ac_try="$ac_compile"
6323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6324 *) ac_try_echo=$ac_try;;
6326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6327 (eval "$ac_compile") 2>conftest.er1
6329 grep -v '^ *+' conftest.er1 >conftest.err
6331 cat conftest.err >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } && {
6334 test -z "$ac_c_werror_flag" ||
6335 test ! -s conftest.err
6336 } && test -s conftest.$ac_objext; then
6337 eval "$as_ac_Header=yes"
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.$ac_ext >&5
6342 eval "$as_ac_Header=no"
6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 ac_res=`eval echo '${'$as_ac_Header'}'`
6348 { echo "$as_me:$LINENO: result: $ac_res" >&5
6349 echo "${ECHO_T}$ac_res" >&6; }
6350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6351 cat >>confdefs.h <<_ACEOF
6352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6361 for ac_header in dlfcn.h
6363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 cat >conftest.$ac_ext <<_ACEOF
6372 cat confdefs.h >>conftest.$ac_ext
6373 cat >>conftest.$ac_ext <<_ACEOF
6374 /* end confdefs.h. */
6375 $ac_includes_default
6377 #include <$ac_header>
6379 rm -f conftest.$ac_objext
6380 if { (ac_try="$ac_compile"
6382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6383 *) ac_try_echo=$ac_try;;
6385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386 (eval "$ac_compile") 2>conftest.er1
6388 grep -v '^ *+' conftest.er1 >conftest.err
6390 cat conftest.err >&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && {
6393 test -z "$ac_c_werror_flag" ||
6394 test ! -s conftest.err
6395 } && test -s conftest.$ac_objext; then
6396 eval "$as_ac_Header=yes"
6398 echo "$as_me: failed program was:" >&5
6399 sed 's/^/| /' conftest.$ac_ext >&5
6401 eval "$as_ac_Header=no"
6404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 ac_res=`eval echo '${'$as_ac_Header'}'`
6407 { echo "$as_me:$LINENO: result: $ac_res" >&5
6408 echo "${ECHO_T}$ac_res" >&6; }
6409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6410 cat >>confdefs.h <<_ACEOF
6411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6430 # Check whether --enable-shared was given.
6431 if test "${enable_shared+set}" = set; then
6432 enableval=$enable_shared; p=${PACKAGE-default}
6434 yes) enable_shared=yes ;;
6435 no) enable_shared=no ;;
6438 # Look at the argument we got. We use all the common list separators.
6439 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6440 for pkg in $enableval; do
6442 if test "X$pkg" = "X$p"; then
6461 # Check whether --enable-static was given.
6462 if test "${enable_static+set}" = set; then
6463 enableval=$enable_static; p=${PACKAGE-default}
6465 yes) enable_static=yes ;;
6466 no) enable_static=no ;;
6469 # Look at the argument we got. We use all the common list separators.
6470 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6471 for pkg in $enableval; do
6473 if test "X$pkg" = "X$p"; then
6493 # Check whether --with-pic was given.
6494 if test "${with_pic+set}" = set; then
6495 withval=$with_pic; pic_mode="$withval"
6501 test -z "$pic_mode" && pic_mode=default
6509 # Check whether --enable-fast-install was given.
6510 if test "${enable_fast_install+set}" = set; then
6511 enableval=$enable_fast_install; p=${PACKAGE-default}
6513 yes) enable_fast_install=yes ;;
6514 no) enable_fast_install=no ;;
6516 enable_fast_install=no
6517 # Look at the argument we got. We use all the common list separators.
6518 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6519 for pkg in $enableval; do
6521 if test "X$pkg" = "X$p"; then
6522 enable_fast_install=yes
6529 enable_fast_install=yes
6542 # This can be used to rebuild libtool when needed
6543 LIBTOOL_DEPS="$ltmain"
6545 # Always use our own libtool.
6546 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6572 test -z "$LN_S" && LN_S="ln -s"
6587 if test -n "${ZSH_VERSION+set}" ; then
6588 setopt NO_GLOB_SUBST
6591 { echo "$as_me:$LINENO: checking for objdir" >&5
6592 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6593 if test "${lt_cv_objdir+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 rm -f .libs 2>/dev/null
6597 mkdir .libs 2>/dev/null
6598 if test -d .libs; then
6601 # MS-DOS does not allow filenames that begin with a dot.
6604 rmdir .libs 2>/dev/null
6606 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6607 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6608 objdir=$lt_cv_objdir
6614 cat >>confdefs.h <<_ACEOF
6615 #define LT_OBJDIR "$lt_cv_objdir/"
6636 # AIX sometimes has problems with the GCC collect2 program. For some
6637 # reason, if we set the COLLECT_NAMES environment variable, the problems
6638 # vanish in a puff of smoke.
6639 if test "X${COLLECT_NAMES+set}" != Xset; then
6641 export COLLECT_NAMES
6646 # Sed substitution that helps us do robust quoting. It backslashifies
6647 # metacharacters that are still active within double-quoted strings.
6648 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6650 # Same as above, but do not quote variable references.
6651 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6653 # Sed substitution to delay expansion of an escaped shell variable in a
6654 # double_quote_subst'ed string.
6655 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6657 # Sed substitution to delay expansion of an escaped single quote.
6658 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6660 # Sed substitution to avoid accidental globbing in evaled expressions
6661 no_glob_subst='s/\*/\\\*/g'
6665 can_build_shared=yes
6667 # All known linkers require a `.a' archive for static linking (except MSVC,
6668 # which needs '.lib').
6671 with_gnu_ld="$lt_cv_prog_gnu_ld"
6674 old_CFLAGS="$CFLAGS"
6676 # Set sane defaults for various variables
6677 test -z "$CC" && CC=cc
6678 test -z "$LTCC" && LTCC=$CC
6679 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6680 test -z "$LD" && LD=ld
6681 test -z "$ac_objext" && ac_objext=o
6683 for cc_temp in $compiler""; do
6685 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6686 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6691 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6694 # Only perform the check for file, if the check method requires it
6695 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6696 case $deplibs_check_method in
6698 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6699 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6700 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6701 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6709 lt_save_MAGIC_CMD="$MAGIC_CMD"
6710 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6711 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6712 for ac_dir in $ac_dummy; do
6714 test -z "$ac_dir" && ac_dir=.
6715 if test -f $ac_dir/${ac_tool_prefix}file; then
6716 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6717 if test -n "$file_magic_test_file"; then
6718 case $deplibs_check_method in
6720 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6721 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6722 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6723 $EGREP "$file_magic_regex" > /dev/null; then
6728 *** Warning: the command libtool uses to detect shared libraries,
6729 *** $file_magic_cmd, produces output that libtool cannot recognize.
6730 *** The result is that libtool may fail to recognize shared libraries
6731 *** as such. This will affect the creation of libtool libraries that
6732 *** depend on shared libraries, but programs linked with such libtool
6733 *** libraries will work regardless of this problem. Nevertheless, you
6734 *** may want to report the problem to your system manager and/or to
6735 *** bug-libtool@gnu.org
6745 MAGIC_CMD="$lt_save_MAGIC_CMD"
6750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6751 if test -n "$MAGIC_CMD"; then
6752 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6753 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6755 { echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6; }
6763 if test -z "$lt_cv_path_MAGIC_CMD"; then
6764 if test -n "$ac_tool_prefix"; then
6765 { echo "$as_me:$LINENO: checking for file" >&5
6766 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6767 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6768 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6775 lt_save_MAGIC_CMD="$MAGIC_CMD"
6776 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6777 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6778 for ac_dir in $ac_dummy; do
6780 test -z "$ac_dir" && ac_dir=.
6781 if test -f $ac_dir/file; then
6782 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6783 if test -n "$file_magic_test_file"; then
6784 case $deplibs_check_method in
6786 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6787 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6788 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6789 $EGREP "$file_magic_regex" > /dev/null; then
6794 *** Warning: the command libtool uses to detect shared libraries,
6795 *** $file_magic_cmd, produces output that libtool cannot recognize.
6796 *** The result is that libtool may fail to recognize shared libraries
6797 *** as such. This will affect the creation of libtool libraries that
6798 *** depend on shared libraries, but programs linked with such libtool
6799 *** libraries will work regardless of this problem. Nevertheless, you
6800 *** may want to report the problem to your system manager and/or to
6801 *** bug-libtool@gnu.org
6811 MAGIC_CMD="$lt_save_MAGIC_CMD"
6816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6817 if test -n "$MAGIC_CMD"; then
6818 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6819 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6821 { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6835 # Use C for the default configuration in the libtool script
6839 ac_cpp='$CPP $CPPFLAGS'
6840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6845 # Source file extension for C test sources.
6848 # Object file extension for compiled C test sources.
6852 # Code to be used in simple compile tests
6853 lt_simple_compile_test_code="int some_variable = 0;"
6855 # Code to be used in simple link tests
6856 lt_simple_link_test_code='int main(){return(0);}'
6864 # If no C compiler was specified, use CC.
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6870 # Allow CC to be a program name with arguments.
6873 # Save the default compiler, since it gets overwritten when the other
6874 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6875 compiler_DEFAULT=$CC
6877 # save warnings/boilerplate of simple test code
6878 ac_outfile=conftest.$ac_objext
6879 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6880 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6881 _lt_compiler_boilerplate=`cat conftest.err`
6884 ac_outfile=conftest.$ac_objext
6885 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6886 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6887 _lt_linker_boilerplate=`cat conftest.err`
6891 if test -n "$compiler"; then
6893 lt_prog_compiler_no_builtin_flag=
6895 if test "$GCC" = yes; then
6896 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6898 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6899 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6900 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6901 echo $ECHO_N "(cached) $ECHO_C" >&6
6903 lt_cv_prog_compiler_rtti_exceptions=no
6904 ac_outfile=conftest.$ac_objext
6905 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6906 lt_compiler_flag="-fno-rtti -fno-exceptions"
6907 # Insert the option either (1) after the last *FLAGS variable, or
6908 # (2) before a word containing "conftest.", or (3) at the end.
6909 # Note that $ac_compile itself does not contain backslashes and begins
6910 # with a dollar sign (not a hyphen), so the echo should work correctly.
6911 # The option is referenced via a variable to avoid confusing sed.
6912 lt_compile=`echo "$ac_compile" | $SED \
6913 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6914 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6915 -e 's:$: $lt_compiler_flag:'`
6916 (eval echo "\"\$as_me:6916: $lt_compile\"" >&5)
6917 (eval "$lt_compile" 2>conftest.err)
6919 cat conftest.err >&5
6920 echo "$as_me:6920: \$? = $ac_status" >&5
6921 if (exit $ac_status) && test -s "$ac_outfile"; then
6922 # The compiler can only warn and ignore the option if not recognized
6923 # So say no if there are warnings other than the usual output.
6924 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6926 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6927 lt_cv_prog_compiler_rtti_exceptions=yes
6933 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6934 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6936 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6937 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6949 lt_prog_compiler_wl=
6950 lt_prog_compiler_pic=
6951 lt_prog_compiler_static=
6953 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6954 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6956 if test "$GCC" = yes; then
6957 lt_prog_compiler_wl='-Wl,'
6958 lt_prog_compiler_static='-static'
6962 # All AIX code is PIC.
6963 if test "$host_cpu" = ia64; then
6964 # AIX 5 now supports IA64 processor
6965 lt_prog_compiler_static='-Bstatic'
6970 if test "$host_cpu" = m68k; then
6971 # FIXME: we need at least 68020 code to build shared libraries, but
6972 # adding the `-m68020' flag to GCC prevents building anything better,
6974 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6978 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6979 # PIC is the default for these OSes.
6982 mingw* | cygwin* | pw32* | os2*)
6983 # This hack is so that the source file can tell whether it is being
6984 # built for inclusion in a dll (and should export symbols for example).
6985 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6986 # (--disable-auto-import) libraries
6987 lt_prog_compiler_pic='-DDLL_EXPORT'
6990 darwin* | rhapsody*)
6991 # PIC is the default on this platform
6992 # Common symbols not allowed in MH_DYLIB files
6993 lt_prog_compiler_pic='-fno-common'
6997 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7004 lt_prog_compiler_pic='-fPIC'
7010 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7011 # Instead, we relocate shared libraries at runtime.
7015 # Just because we use GCC doesn't mean we suddenly get shared libraries
7016 # on systems that don't support them.
7017 lt_prog_compiler_can_build_shared=no
7022 # QNX uses GNU C++, but need to define -shared option too, otherwise
7024 lt_prog_compiler_pic='-fPIC -shared'
7028 if test -d /usr/nec; then
7029 lt_prog_compiler_pic=-Kconform_pic
7034 lt_prog_compiler_pic='-fPIC'
7038 # PORTME Check for flag to pass linker flags through the system compiler.
7041 lt_prog_compiler_wl='-Wl,'
7042 if test "$host_cpu" = ia64; then
7043 # AIX 5 now supports IA64 processor
7044 lt_prog_compiler_static='-Bstatic'
7046 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7050 mingw* | cygwin* | pw32* | os2*)
7051 # This hack is so that the source file can tell whether it is being
7052 # built for inclusion in a dll (and should export symbols for example).
7053 lt_prog_compiler_pic='-DDLL_EXPORT'
7056 hpux9* | hpux10* | hpux11*)
7057 lt_prog_compiler_wl='-Wl,'
7058 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7065 lt_prog_compiler_pic='+Z'
7068 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7069 lt_prog_compiler_static='${wl}-a ${wl}archive'
7072 irix5* | irix6* | nonstopux*)
7073 lt_prog_compiler_wl='-Wl,'
7074 # PIC (with -KPIC) is the default.
7075 lt_prog_compiler_static='-non_shared'
7078 linux* | k*bsd*-gnu)
7079 case $cc_basename in
7080 icc* | ecc* | ifort*)
7081 lt_prog_compiler_wl='-Wl,'
7082 lt_prog_compiler_pic='-KPIC'
7083 lt_prog_compiler_static='-static'
7085 pgcc* | pgf77* | pgf90* | pgf95*)
7086 # Portland Group compilers (*not* the Pentium gcc compiler,
7087 # which looks to be a dead project)
7088 lt_prog_compiler_wl='-Wl,'
7089 lt_prog_compiler_pic='-fpic'
7090 lt_prog_compiler_static='-Bstatic'
7093 lt_prog_compiler_wl='-Wl,'
7094 # All Alpha code is PIC.
7095 lt_prog_compiler_static='-non_shared'
7098 # IBM XL C 8.0/Fortran 10.1 on PPC
7099 lt_prog_compiler_wl='-Wl,'
7100 lt_prog_compiler_pic='-qpic'
7101 lt_prog_compiler_static='-qstaticlink'
7104 case `$CC -V 2>&1 | sed 5q` in
7107 lt_prog_compiler_pic='-KPIC'
7108 lt_prog_compiler_static='-Bstatic'
7109 lt_prog_compiler_wl='-Wl,'
7112 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7113 lt_prog_compiler_pic='-KPIC'
7114 lt_prog_compiler_static='-Bstatic'
7115 lt_prog_compiler_wl=''
7123 lt_prog_compiler_pic='-KPIC'
7124 lt_prog_compiler_static='-Bstatic'
7128 # QNX uses GNU C++, but need to define -shared option too, otherwise
7130 lt_prog_compiler_pic='-fPIC -shared'
7133 osf3* | osf4* | osf5*)
7134 lt_prog_compiler_wl='-Wl,'
7135 # All OSF/1 code is PIC.
7136 lt_prog_compiler_static='-non_shared'
7140 lt_prog_compiler_static='-non_shared'
7144 lt_prog_compiler_pic='-KPIC'
7145 lt_prog_compiler_static='-Bstatic'
7146 case $cc_basename in
7148 lt_prog_compiler_wl='-Qoption ld ';;
7150 lt_prog_compiler_wl='-Wl,';;
7155 lt_prog_compiler_wl='-Qoption ld '
7156 lt_prog_compiler_pic='-PIC'
7157 lt_prog_compiler_static='-Bstatic'
7160 sysv4 | sysv4.2uw2* | sysv4.3*)
7161 lt_prog_compiler_wl='-Wl,'
7162 lt_prog_compiler_pic='-KPIC'
7163 lt_prog_compiler_static='-Bstatic'
7167 if test -d /usr/nec ;then
7168 lt_prog_compiler_pic='-Kconform_pic'
7169 lt_prog_compiler_static='-Bstatic'
7173 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7174 lt_prog_compiler_wl='-Wl,'
7175 lt_prog_compiler_pic='-KPIC'
7176 lt_prog_compiler_static='-Bstatic'
7180 lt_prog_compiler_wl='-Wl,'
7181 lt_prog_compiler_can_build_shared=no
7185 lt_prog_compiler_pic='-pic'
7186 lt_prog_compiler_static='-Bstatic'
7190 lt_prog_compiler_can_build_shared=no
7196 # For platforms which do not support PIC, -DPIC is meaningless:
7198 lt_prog_compiler_pic=
7201 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7204 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7205 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7213 # Check to make sure the PIC flag actually works.
7215 if test -n "$lt_prog_compiler_pic"; then
7216 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7217 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7218 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 lt_cv_prog_compiler_pic_works=no
7222 ac_outfile=conftest.$ac_objext
7223 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7224 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7225 # Insert the option either (1) after the last *FLAGS variable, or
7226 # (2) before a word containing "conftest.", or (3) at the end.
7227 # Note that $ac_compile itself does not contain backslashes and begins
7228 # with a dollar sign (not a hyphen), so the echo should work correctly.
7229 # The option is referenced via a variable to avoid confusing sed.
7230 lt_compile=`echo "$ac_compile" | $SED \
7231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7233 -e 's:$: $lt_compiler_flag:'`
7234 (eval echo "\"\$as_me:7234: $lt_compile\"" >&5)
7235 (eval "$lt_compile" 2>conftest.err)
7237 cat conftest.err >&5
7238 echo "$as_me:7238: \$? = $ac_status" >&5
7239 if (exit $ac_status) && test -s "$ac_outfile"; then
7240 # The compiler can only warn and ignore the option if not recognized
7241 # So say no if there are warnings other than the usual output.
7242 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7244 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7245 lt_cv_prog_compiler_pic_works=yes
7251 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7252 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7254 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7255 case $lt_prog_compiler_pic in
7257 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7260 lt_prog_compiler_pic=
7261 lt_prog_compiler_can_build_shared=no
7272 # Check to make sure the static flag actually works.
7274 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7275 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7276 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7277 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7278 echo $ECHO_N "(cached) $ECHO_C" >&6
7280 lt_cv_prog_compiler_static_works=no
7281 save_LDFLAGS="$LDFLAGS"
7282 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7283 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7284 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7285 # The linker can only warn and ignore the option if not recognized
7286 # So say no if there are warnings
7287 if test -s conftest.err; then
7288 # Append any errors to the config.log.
7289 cat conftest.err 1>&5
7290 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7291 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7292 if diff conftest.exp conftest.er2 >/dev/null; then
7293 lt_cv_prog_compiler_static_works=yes
7296 lt_cv_prog_compiler_static_works=yes
7300 LDFLAGS="$save_LDFLAGS"
7303 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7304 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7306 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7309 lt_prog_compiler_static=
7318 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7319 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7320 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 lt_cv_prog_compiler_c_o=no
7324 $RM -r conftest 2>/dev/null
7328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7330 lt_compiler_flag="-o out/conftest2.$ac_objext"
7331 # Insert the option either (1) after the last *FLAGS variable, or
7332 # (2) before a word containing "conftest.", or (3) at the end.
7333 # Note that $ac_compile itself does not contain backslashes and begins
7334 # with a dollar sign (not a hyphen), so the echo should work correctly.
7335 lt_compile=`echo "$ac_compile" | $SED \
7336 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7338 -e 's:$: $lt_compiler_flag:'`
7339 (eval echo "\"\$as_me:7339: $lt_compile\"" >&5)
7340 (eval "$lt_compile" 2>out/conftest.err)
7342 cat out/conftest.err >&5
7343 echo "$as_me:7343: \$? = $ac_status" >&5
7344 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7346 # The compiler can only warn and ignore the option if not recognized
7347 # So say no if there are warnings
7348 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7349 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7350 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7351 lt_cv_prog_compiler_c_o=yes
7356 # SGI C++ compiler will create directory out/ii_files/ for
7357 # template instantiation
7358 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7359 $RM out/* && rmdir out
7365 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7366 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7373 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7374 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7375 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7376 echo $ECHO_N "(cached) $ECHO_C" >&6
7378 lt_cv_prog_compiler_c_o=no
7379 $RM -r conftest 2>/dev/null
7383 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7385 lt_compiler_flag="-o out/conftest2.$ac_objext"
7386 # Insert the option either (1) after the last *FLAGS variable, or
7387 # (2) before a word containing "conftest.", or (3) at the end.
7388 # Note that $ac_compile itself does not contain backslashes and begins
7389 # with a dollar sign (not a hyphen), so the echo should work correctly.
7390 lt_compile=`echo "$ac_compile" | $SED \
7391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7393 -e 's:$: $lt_compiler_flag:'`
7394 (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
7395 (eval "$lt_compile" 2>out/conftest.err)
7397 cat out/conftest.err >&5
7398 echo "$as_me:7398: \$? = $ac_status" >&5
7399 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7401 # The compiler can only warn and ignore the option if not recognized
7402 # So say no if there are warnings
7403 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7404 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7405 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7406 lt_cv_prog_compiler_c_o=yes
7411 # SGI C++ compiler will create directory out/ii_files/ for
7412 # template instantiation
7413 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7414 $RM out/* && rmdir out
7420 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7421 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7426 hard_links="nottested"
7427 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7428 # do not overwrite the value of need_locks provided by the user
7429 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7430 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7433 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7435 ln conftest.a conftest.b 2>&5 || hard_links=no
7436 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7437 { echo "$as_me:$LINENO: result: $hard_links" >&5
7438 echo "${ECHO_T}$hard_links" >&6; }
7439 if test "$hard_links" = no; then
7440 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7441 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7453 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7454 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7457 allow_undefined_flag=
7458 always_export_symbols=no
7460 archive_expsym_cmds=
7461 compiler_needs_object=no
7462 enable_shared_with_static_runtimes=no
7463 export_dynamic_flag_spec=
7464 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7465 hardcode_automatic=no
7467 hardcode_direct_absolute=no
7468 hardcode_libdir_flag_spec=
7469 hardcode_libdir_flag_spec_ld=
7470 hardcode_libdir_separator=
7472 hardcode_shlibpath_var=unsupported
7474 link_all_deplibs=unknown
7477 old_archive_from_new_cmds=
7478 old_archive_from_expsyms_cmds=
7479 thread_safe_flag_spec=
7480 whole_archive_flag_spec=
7481 # include_expsyms should be a list of space-separated symbols to be *always*
7482 # included in the symbol list
7484 # exclude_expsyms can be an extended regexp of symbols to exclude
7485 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7486 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7487 # as well as any symbol that contains `d'.
7488 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7489 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7490 # platforms (ab)use it in PIC code, but their linkers get confused if
7491 # the symbol is explicitly referenced. Since portable code cannot
7492 # rely on this symbol name, it's probably fine to never include it in
7493 # preloaded symbol tables.
7494 # Exclude shared library initialization/finalization symbols.
7495 extract_expsyms_cmds=
7498 cygwin* | mingw* | pw32*)
7499 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7500 # When not using gcc, we currently assume that we are using
7501 # Microsoft Visual C++.
7502 if test "$GCC" != yes; then
7507 # we just hope/assume this is gcc and not c89 (= MSVC++)
7516 if test "$with_gnu_ld" = yes; then
7517 # If archive_cmds runs LD, not CC, wlarc should be empty
7520 # Set some defaults for GNU ld with shared library support. These
7521 # are reset later if shared libraries are not supported. Putting them
7522 # here allows them to be overridden if necessary.
7523 runpath_var=LD_RUN_PATH
7524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7525 export_dynamic_flag_spec='${wl}--export-dynamic'
7526 # ancient GNU ld didn't support --whole-archive et. al.
7527 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7528 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7530 whole_archive_flag_spec=
7532 supports_anon_versioning=no
7533 case `$LD -v 2>&1` in
7534 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7535 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7536 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7537 *\ 2.11.*) ;; # other 2.11 versions
7538 *) supports_anon_versioning=yes ;;
7541 # See if GNU ld supports shared libraries.
7544 # On AIX/PPC, the GNU linker is very broken
7545 if test "$host_cpu" != ia64; then
7549 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7550 *** to be unable to reliably create shared libraries on AIX.
7551 *** Therefore, libtool is disabling shared libraries support. If you
7552 *** really care for shared libraries, you may want to modify your PATH
7553 *** so that a non-GNU linker is found, and then restart.
7560 if test "$host_cpu" = m68k; then
7561 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)'
7562 hardcode_libdir_flag_spec='-L$libdir'
7563 hardcode_minus_L=yes
7566 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7567 # that the semantics of dynamic libraries on AmigaOS, at least up
7568 # to version 4, is to share data among multiple programs linked
7569 # with the same dynamic library. Since this doesn't match the
7570 # behavior of shared libraries on other platforms, we can't use
7576 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7577 allow_undefined_flag=unsupported
7578 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7579 # support --undefined. This deserves some investigation. FIXME
7580 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7586 cygwin* | mingw* | pw32*)
7587 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7588 # as there is no search path for DLLs.
7589 hardcode_libdir_flag_spec='-L$libdir'
7590 allow_undefined_flag=unsupported
7591 always_export_symbols=no
7592 enable_shared_with_static_runtimes=yes
7593 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7595 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7596 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7597 # If the export-symbols file already is a .def file (1st line
7598 # is EXPORTS), use it as is; otherwise, prepend...
7599 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7600 cp $export_symbols $output_objdir/$soname.def;
7602 echo EXPORTS > $output_objdir/$soname.def;
7603 cat $export_symbols >> $output_objdir/$soname.def;
7605 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7613 hardcode_shlibpath_var=no
7614 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7615 export_dynamic_flag_spec='${wl}-E'
7616 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7617 # Instead, shared libraries are loaded at an image base (0x10000000 by
7618 # default) and relocated if they conflict, which is a slow very memory
7619 # consuming and fragmenting process. To avoid this, we pick a random,
7620 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7621 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7622 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7623 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'
7626 gnu* | linux* | tpf* | k*bsd*-gnu)
7628 if test "$host_os" = linux-dietlibc; then
7629 case $cc_basename in
7630 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7633 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7634 && test "$tmp_diet" = no
7637 tmp_sharedflag='-shared'
7638 case $cc_basename,$host_cpu in
7639 pgcc*) # Portland Group C compiler
7640 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'
7641 tmp_addflag=' $pic_flag'
7643 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7644 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'
7645 tmp_addflag=' $pic_flag -Mnomain' ;;
7646 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7647 tmp_addflag=' -i_dynamic' ;;
7648 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7649 tmp_addflag=' -i_dynamic -nofor_main' ;;
7650 ifc* | ifort*) # Intel Fortran compiler
7651 tmp_addflag=' -nofor_main' ;;
7652 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7653 tmp_sharedflag='-qmkshrobj'
7656 case `$CC -V 2>&1 | sed 5q` in
7657 *Sun\ C*) # Sun C 5.9
7658 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7659 compiler_needs_object=yes
7660 tmp_sharedflag='-G' ;;
7661 *Sun\ F*) # Sun Fortran 8.3
7662 tmp_sharedflag='-G' ;;
7664 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7666 if test "x$supports_anon_versioning" = xyes; then
7667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7669 echo "local: *; };" >> $output_objdir/$libname.ver~
7670 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7673 case $cc_basename in
7675 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7676 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7677 hardcode_libdir_flag_spec=
7678 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7679 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7680 if test "x$supports_anon_versioning" = xyes; then
7681 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7682 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7683 echo "local: *; };" >> $output_objdir/$libname.ver~
7684 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7694 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7695 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7699 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7704 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7708 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7709 *** create shared libraries on Solaris systems. Therefore, libtool
7710 *** is disabling shared libraries support. We urge you to upgrade GNU
7711 *** binutils to release 2.9.1 or newer. Another option is to modify
7712 *** your PATH or compiler configuration so that the native linker is
7713 *** used, and then restart.
7716 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7718 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7725 case `$LD -v 2>&1` in
7726 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7730 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7731 *** reliably create shared libraries on SCO systems. Therefore, libtool
7732 *** is disabling shared libraries support. We urge you to upgrade GNU
7733 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7734 *** your PATH or compiler configuration so that the native linker is
7735 *** used, and then restart.
7740 # For security reasons, it is highly recommended that you always
7741 # use absolute paths for naming shared libraries, and exclude the
7742 # DT_RUNPATH tag from executables and libraries. But doing so
7743 # requires that you compile everything twice, which is a pain.
7744 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7747 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7756 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7759 hardcode_shlibpath_var=no
7763 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7765 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7772 if test "$ld_shlibs" = no; then
7774 hardcode_libdir_flag_spec=
7775 export_dynamic_flag_spec=
7776 whole_archive_flag_spec=
7779 # PORTME fill in a description of your system's linker (not GNU ld)
7782 allow_undefined_flag=unsupported
7783 always_export_symbols=yes
7784 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'
7785 # Note: this linker hardcodes the directories in LIBPATH if there
7786 # are no directories specified by -L.
7787 hardcode_minus_L=yes
7788 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7789 # Neither direct hardcoding nor static linking is supported with a
7791 hardcode_direct=unsupported
7796 if test "$host_cpu" = ia64; then
7797 # On IA64, the linker does run time linking by default, so we don't
7798 # have to do anything special.
7799 aix_use_runtimelinking=no
7800 exp_sym_flag='-Bexport'
7803 # If we're using GNU nm, then we don't want the "-C" option.
7804 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7805 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7806 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'
7808 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'
7810 aix_use_runtimelinking=no
7812 # Test if we are trying to use run time linking or normal
7813 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7814 # need to do runtime linking.
7815 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7816 for ld_flag in $LDFLAGS; do
7817 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7818 aix_use_runtimelinking=yes
7825 exp_sym_flag='-bexport'
7826 no_entry_flag='-bnoentry'
7829 # When large executables or shared objects are built, AIX ld can
7830 # have problems creating the table of contents. If linking a library
7831 # or program results in "error TOC overflow" add -mminimal-toc to
7832 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7833 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7837 hardcode_direct_absolute=yes
7838 hardcode_libdir_separator=':'
7839 link_all_deplibs=yes
7840 file_list_spec='${wl}-f,'
7842 if test "$GCC" = yes; then
7843 case $host_os in aix4.[012]|aix4.[012].*)
7844 # We only want to do this on AIX 4.2 and lower, the check
7845 # below for broken collect2 doesn't work under 4.3+
7846 collect2name=`${CC} -print-prog-name=collect2`
7847 if test -f "$collect2name" &&
7848 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7850 # We have reworked collect2
7853 # We have old collect2
7854 hardcode_direct=unsupported
7855 # It fails to find uninstalled libraries when the uninstalled
7856 # path is not listed in the libpath. Setting hardcode_minus_L
7857 # to unsupported forces relinking
7858 hardcode_minus_L=yes
7859 hardcode_libdir_flag_spec='-L$libdir'
7860 hardcode_libdir_separator=
7864 shared_flag='-shared'
7865 if test "$aix_use_runtimelinking" = yes; then
7866 shared_flag="$shared_flag "'${wl}-G'
7870 if test "$host_cpu" = ia64; then
7871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7872 # chokes on -Wl,-G. The following line is correct:
7875 if test "$aix_use_runtimelinking" = yes; then
7876 shared_flag='${wl}-G'
7878 shared_flag='${wl}-bM:SRE'
7883 # It seems that -bexpall does not export symbols beginning with
7884 # underscore (_), so it is better to generate a list of symbols to export.
7885 always_export_symbols=yes
7886 if test "$aix_use_runtimelinking" = yes; then
7887 # Warning - without using the other runtime loading flags (-brtl),
7888 # -berok will link without error, but may produce a broken library.
7889 allow_undefined_flag='-berok'
7890 # Determine the default libpath from the value encoded in an
7892 cat >conftest.$ac_ext <<_ACEOF
7895 cat confdefs.h >>conftest.$ac_ext
7896 cat >>conftest.$ac_ext <<_ACEOF
7897 /* end confdefs.h. */
7907 rm -f conftest.$ac_objext conftest$ac_exeext
7908 if { (ac_try="$ac_link"
7910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7911 *) ac_try_echo=$ac_try;;
7913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7914 (eval "$ac_link") 2>conftest.er1
7916 grep -v '^ *+' conftest.er1 >conftest.err
7918 cat conftest.err >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); } && {
7921 test -z "$ac_c_werror_flag" ||
7922 test ! -s conftest.err
7923 } && test -s conftest$ac_exeext &&
7924 $as_test_x conftest$ac_exeext; then
7926 lt_aix_libpath_sed='
7927 /Import File Strings/,/^$/ {
7933 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7934 # Check for a 64-bit object if we didn't find anything.
7935 if test -z "$aix_libpath"; then
7936 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7939 echo "$as_me: failed program was:" >&5
7940 sed 's/^/| /' conftest.$ac_ext >&5
7945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7946 conftest$ac_exeext conftest.$ac_ext
7947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7949 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7950 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7952 if test "$host_cpu" = ia64; then
7953 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7954 allow_undefined_flag="-z nodefs"
7955 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"
7957 # Determine the default libpath from the value encoded in an
7959 cat >conftest.$ac_ext <<_ACEOF
7962 cat confdefs.h >>conftest.$ac_ext
7963 cat >>conftest.$ac_ext <<_ACEOF
7964 /* end confdefs.h. */
7974 rm -f conftest.$ac_objext conftest$ac_exeext
7975 if { (ac_try="$ac_link"
7977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7978 *) ac_try_echo=$ac_try;;
7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7981 (eval "$ac_link") 2>conftest.er1
7983 grep -v '^ *+' conftest.er1 >conftest.err
7985 cat conftest.err >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } && {
7988 test -z "$ac_c_werror_flag" ||
7989 test ! -s conftest.err
7990 } && test -s conftest$ac_exeext &&
7991 $as_test_x conftest$ac_exeext; then
7993 lt_aix_libpath_sed='
7994 /Import File Strings/,/^$/ {
8000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8001 # Check for a 64-bit object if we didn't find anything.
8002 if test -z "$aix_libpath"; then
8003 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8013 conftest$ac_exeext conftest.$ac_ext
8014 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8016 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8017 # Warning - without using the other run time loading flags,
8018 # -berok will link without error, but may produce a broken library.
8019 no_undefined_flag=' ${wl}-bernotok'
8020 allow_undefined_flag=' ${wl}-berok'
8021 # Exported symbols can be pulled into shared objects from archives
8022 whole_archive_flag_spec='$convenience'
8023 archive_cmds_need_lc=yes
8024 # This is similar to how AIX traditionally builds its shared libraries.
8025 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'
8031 if test "$host_cpu" = m68k; then
8032 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)'
8033 hardcode_libdir_flag_spec='-L$libdir'
8034 hardcode_minus_L=yes
8036 # see comment about different semantics on the GNU ld section
8041 export_dynamic_flag_spec=-rdynamic
8044 cygwin* | mingw* | pw32*)
8045 # When not using gcc, we currently assume that we are using
8046 # Microsoft Visual C++.
8047 # hardcode_libdir_flag_spec is actually meaningless, as there is
8048 # no search path for DLLs.
8049 hardcode_libdir_flag_spec=' '
8050 allow_undefined_flag=unsupported
8051 # Tell ltmain to make .lib files, not .a files.
8053 # Tell ltmain to make .dll files, not .so files.
8055 # FIXME: Setting linknames here is a bad hack.
8056 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8057 # The linker will automatically build a .lib file if we build a DLL.
8058 old_archive_from_new_cmds='true'
8059 # FIXME: Should let the user specify the lib program.
8060 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8061 fix_srcfile_path='`cygpath -w "$srcfile"`'
8062 enable_shared_with_static_runtimes=yes
8065 darwin* | rhapsody*)
8068 archive_cmds_need_lc=no
8070 hardcode_automatic=yes
8071 hardcode_shlibpath_var=unsupported
8072 whole_archive_flag_spec=''
8073 link_all_deplibs=yes
8074 allow_undefined_flag="$_lt_dar_allow_undefined"
8075 if test "$GCC" = "yes"; then
8076 output_verbose_link_cmd=echo
8077 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8078 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8079 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8080 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8090 hardcode_libdir_flag_spec='-L$libdir'
8091 hardcode_shlibpath_var=no
8098 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8099 # support. Future versions do this automatically, but an explicit c++rt0.o
8100 # does not break anything, and helps significantly (at the cost of a little
8103 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8104 hardcode_libdir_flag_spec='-R$libdir'
8106 hardcode_shlibpath_var=no
8109 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8111 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8113 hardcode_minus_L=yes
8114 hardcode_shlibpath_var=no
8117 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8118 freebsd* | dragonfly*)
8119 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8120 hardcode_libdir_flag_spec='-R$libdir'
8122 hardcode_shlibpath_var=no
8126 if test "$GCC" = yes; then
8127 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'
8129 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'
8131 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8132 hardcode_libdir_separator=:
8135 # hardcode_minus_L: Not really in the search PATH,
8136 # but as the default location of the library.
8137 hardcode_minus_L=yes
8138 export_dynamic_flag_spec='${wl}-E'
8142 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8143 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8145 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8147 if test "$with_gnu_ld" = no; then
8148 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8149 hardcode_libdir_flag_spec_ld='+b $libdir'
8150 hardcode_libdir_separator=:
8152 hardcode_direct_absolute=yes
8153 export_dynamic_flag_spec='${wl}-E'
8154 # hardcode_minus_L: Not really in the search PATH,
8155 # but as the default location of the library.
8156 hardcode_minus_L=yes
8161 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8164 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8167 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8170 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8176 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8179 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8182 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8186 if test "$with_gnu_ld" = no; then
8187 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8188 hardcode_libdir_separator=:
8193 hardcode_shlibpath_var=no
8197 hardcode_direct_absolute=yes
8198 export_dynamic_flag_spec='${wl}-E'
8200 # hardcode_minus_L: Not really in the search PATH,
8201 # but as the default location of the library.
8202 hardcode_minus_L=yes
8208 irix5* | irix6* | nonstopux*)
8209 if test "$GCC" = yes; then
8210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8211 # Try to use the -exported_symbol ld option, if it does not
8212 # work, assume that -exports_file does not work either and
8213 # implicitly export all symbols.
8214 save_LDFLAGS="$LDFLAGS"
8215 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8216 cat >conftest.$ac_ext <<_ACEOF
8219 rm -f conftest.$ac_objext conftest$ac_exeext
8220 if { (ac_try="$ac_link"
8222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8223 *) ac_try_echo=$ac_try;;
8225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8226 (eval "$ac_link") 2>conftest.er1
8228 grep -v '^ *+' conftest.er1 >conftest.err
8230 cat conftest.err >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } && {
8233 test -z "$ac_c_werror_flag" ||
8234 test ! -s conftest.err
8235 } && test -s conftest$ac_exeext &&
8236 $as_test_x conftest$ac_exeext; then
8237 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8240 echo "$as_me: failed program was:" >&5
8241 sed 's/^/| /' conftest.$ac_ext >&5
8246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8247 conftest$ac_exeext conftest.$ac_ext
8248 LDFLAGS="$save_LDFLAGS"
8250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8251 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8253 archive_cmds_need_lc='no'
8254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8255 hardcode_libdir_separator=:
8257 link_all_deplibs=yes
8261 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8262 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8264 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8266 hardcode_libdir_flag_spec='-R$libdir'
8268 hardcode_shlibpath_var=no
8272 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8274 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8275 hardcode_libdir_separator=:
8276 hardcode_shlibpath_var=no
8283 if test -f /usr/libexec/ld.so; then
8285 hardcode_shlibpath_var=no
8286 hardcode_direct_absolute=yes
8287 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8288 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8289 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8290 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8291 export_dynamic_flag_spec='${wl}-E'
8294 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8295 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8296 hardcode_libdir_flag_spec='-R$libdir'
8299 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8300 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8310 hardcode_libdir_flag_spec='-L$libdir'
8311 hardcode_minus_L=yes
8312 allow_undefined_flag=unsupported
8313 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'
8314 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8318 if test "$GCC" = yes; then
8319 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8320 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8322 allow_undefined_flag=' -expect_unresolved \*'
8323 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8325 archive_cmds_need_lc='no'
8326 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8327 hardcode_libdir_separator=:
8330 osf4* | osf5*) # as osf3* with the addition of -msym flag
8331 if test "$GCC" = yes; then
8332 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8333 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8334 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8336 allow_undefined_flag=' -expect_unresolved \*'
8337 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8338 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8339 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8341 # Both c and cxx compiler support -rpath directly
8342 hardcode_libdir_flag_spec='-rpath $libdir'
8344 archive_cmds_need_lc='no'
8345 hardcode_libdir_separator=:
8349 no_undefined_flag=' -z defs'
8350 if test "$GCC" = yes; then
8352 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8353 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8354 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8356 case `$CC -V 2>&1` in
8359 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8360 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8361 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8365 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8366 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8367 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8371 hardcode_libdir_flag_spec='-R$libdir'
8372 hardcode_shlibpath_var=no
8374 solaris2.[0-5] | solaris2.[0-5].*) ;;
8376 # The compiler driver will combine and reorder linker options,
8377 # but understands `-z linker_flag'. GCC discards it without `$wl',
8378 # but is careful enough not to reorder.
8379 # Supported since Solaris 2.6 (maybe 2.5.1?)
8380 if test "$GCC" = yes; then
8381 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8383 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8387 link_all_deplibs=yes
8391 if test "x$host_vendor" = xsequent; then
8392 # Use $CC to link under sequent, because it throws in some extra .o
8393 # files that make .init and .fini sections work.
8394 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8396 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8398 hardcode_libdir_flag_spec='-L$libdir'
8400 hardcode_minus_L=yes
8401 hardcode_shlibpath_var=no
8405 case $host_vendor in
8407 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8408 hardcode_direct=yes # is this really true???
8411 ## LD is ld it makes a PLAMLIB
8412 ## CC just makes a GrossModule.
8413 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8414 reload_cmds='$CC -r -o $output$reload_objs'
8418 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8419 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8422 runpath_var='LD_RUN_PATH'
8423 hardcode_shlibpath_var=no
8427 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8428 hardcode_shlibpath_var=no
8429 export_dynamic_flag_spec='-Bexport'
8433 if test -d /usr/nec; then
8434 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8435 hardcode_shlibpath_var=no
8436 runpath_var=LD_RUN_PATH
8437 hardcode_runpath_var=yes
8442 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8443 no_undefined_flag='${wl}-z,text'
8444 archive_cmds_need_lc=no
8445 hardcode_shlibpath_var=no
8446 runpath_var='LD_RUN_PATH'
8448 if test "$GCC" = yes; then
8449 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8450 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8452 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8453 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8457 sysv5* | sco3.2v5* | sco5v6*)
8458 # Note: We can NOT use -z defs as we might desire, because we do not
8459 # link with -lc, and that would cause any symbols used from libc to
8460 # always be unresolved, which means just about no library would
8461 # ever link correctly. If we're not using GNU ld we use -z text
8462 # though, which does catch some bad symbols but isn't as heavy-handed
8464 no_undefined_flag='${wl}-z,text'
8465 allow_undefined_flag='${wl}-z,nodefs'
8466 archive_cmds_need_lc=no
8467 hardcode_shlibpath_var=no
8468 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8469 hardcode_libdir_separator=':'
8470 link_all_deplibs=yes
8471 export_dynamic_flag_spec='${wl}-Bexport'
8472 runpath_var='LD_RUN_PATH'
8474 if test "$GCC" = yes; then
8475 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8476 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8478 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8484 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8485 hardcode_libdir_flag_spec='-L$libdir'
8486 hardcode_shlibpath_var=no
8494 if test x$host_vendor = xsni; then
8496 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8497 export_dynamic_flag_spec='${wl}-Blargedynsym'
8503 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8504 echo "${ECHO_T}$ld_shlibs" >&6; }
8505 test "$ld_shlibs" = no && can_build_shared=no
8507 with_gnu_ld=$with_gnu_ld
8524 # Do we need to explicitly link libc?
8526 case "x$archive_cmds_need_lc" in
8528 # Assume -lc should be added
8529 archive_cmds_need_lc=yes
8531 if test "$enable_shared" = yes && test "$GCC" = yes; then
8532 case $archive_cmds in
8534 # FIXME: we may have to deal with multi-command sequences.
8537 # Test whether the compiler implicitly links with -lc since on some
8538 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8539 # to ld, don't add -lc before -lgcc.
8540 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8541 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546 (eval $ac_compile) 2>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } 2>conftest.err; then
8552 libobjs=conftest.$ac_objext
8554 wl=$lt_prog_compiler_wl
8555 pic_flag=$lt_prog_compiler_pic
8561 lt_save_allow_undefined_flag=$allow_undefined_flag
8562 allow_undefined_flag=
8563 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8564 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }
8569 archive_cmds_need_lc=no
8571 archive_cmds_need_lc=yes
8573 allow_undefined_flag=$lt_save_allow_undefined_flag
8575 cat conftest.err 1>&5
8578 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8579 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8742 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8743 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8745 if test "$GCC" = yes; then
8747 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8748 *) lt_awk_arg="/^libraries:/" ;;
8750 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8751 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8752 # if the path contains ";" then we assume it to be the separator
8753 # otherwise default to the standard path separator (i.e. ":") - it is
8754 # assumed that no part of a normal pathname contains ";" but that should
8755 # okay in the real world where ";" in dirpaths is itself problematic.
8756 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8758 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8760 # Ok, now we have the path, separated by spaces, we can step through it
8761 # and add multilib dir if necessary.
8762 lt_tmp_lt_search_path_spec=
8763 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8764 for lt_sys_path in $lt_search_path_spec; do
8765 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8766 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8768 test -d "$lt_sys_path" && \
8769 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8772 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8773 BEGIN {RS=" "; FS="/|\n";} {
8776 for (lt_i = NF; lt_i > 0; lt_i--) {
8777 if ($lt_i != "" && $lt_i != ".") {
8778 if ($lt_i == "..") {
8781 if (lt_count == 0) {
8782 lt_foo="/" $lt_i lt_foo;
8789 if (lt_foo != "") { lt_freq[lt_foo]++; }
8790 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8792 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8794 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8797 libname_spec='lib$name'
8805 shlibpath_overrides_runpath=unknown
8807 dynamic_linker="$host_os ld.so"
8808 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8809 need_lib_prefix=unknown
8810 hardcode_into_libs=no
8812 # when you set need_version to no, make sure it does not cause -set_version
8813 # flags to be left without arguments
8814 need_version=unknown
8819 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8820 shlibpath_var=LIBPATH
8822 # AIX 3 has no versioning support, so we append a major version to the name.
8823 soname_spec='${libname}${release}${shared_ext}$major'
8830 hardcode_into_libs=yes
8831 if test "$host_cpu" = ia64; then
8832 # AIX 5 supports IA64
8833 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8834 shlibpath_var=LD_LIBRARY_PATH
8836 # With GCC up to 2.95.x, collect2 would create an import file
8837 # for dependence libraries. The import file would start with
8838 # the line `#! .'. This would cause the generated library to
8839 # depend on `.', always an invalid library. This was fixed in
8840 # development snapshots of GCC prior to 3.0.
8842 aix4 | aix4.[01] | aix4.[01].*)
8843 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8845 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8852 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8853 # soname into executable. Probably we can add versioning support to
8854 # collect2, so additional links can be useful in future.
8855 if test "$aix_use_runtimelinking" = yes; then
8856 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8857 # instead of lib<name>.a to let people know that these are not
8858 # typical AIX shared libraries.
8859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8861 # We preserve .a as extension for shared libraries through AIX4.2
8862 # and later when we are not doing run time linking.
8863 library_names_spec='${libname}${release}.a $libname.a'
8864 soname_spec='${libname}${release}${shared_ext}$major'
8866 shlibpath_var=LIBPATH
8871 if test "$host_cpu" = m68k; then
8872 library_names_spec='$libname.ixlibrary $libname.a'
8873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8874 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'
8881 library_names_spec='${libname}${shared_ext}'
8882 dynamic_linker="$host_os ld.so"
8883 shlibpath_var=LIBRARY_PATH
8889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8890 soname_spec='${libname}${release}${shared_ext}$major'
8891 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8892 shlibpath_var=LD_LIBRARY_PATH
8893 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8894 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8895 # the default ld.so.conf also contains /usr/contrib/lib and
8896 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8897 # libtool to hard-code these into programs
8900 cygwin* | mingw* | pw32*)
8901 version_type=windows
8906 case $GCC,$host_os in
8907 yes,cygwin* | yes,mingw* | yes,pw32*)
8908 library_names_spec='$libname.dll.a'
8909 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8910 postinstall_cmds='base_file=`basename \${file}`~
8911 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8912 dldir=$destdir/`dirname \$dlpath`~
8913 test -d \$dldir || mkdir -p \$dldir~
8914 $install_prog $dir/$dlname \$dldir/$dlname~
8915 chmod a+x \$dldir/$dlname~
8916 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8917 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8919 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8920 dlpath=$dir/\$dldll~
8922 shlibpath_overrides_runpath=yes
8926 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8927 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8928 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8931 # MinGW DLLs use traditional 'lib' prefix
8932 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8933 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8934 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8935 # It is most probably a Windows format PATH printed by
8936 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8937 # path with ; separators, and with drive letters. We can handle the
8938 # drive letters (cygwin fileutils understands them), so leave them,
8939 # especially as we might pass files found there to a mingw objdump,
8940 # which wouldn't understand a cygwinified path. Ahh.
8941 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8943 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8947 # pw32 DLLs use 'pw' prefix rather than 'lib'
8948 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8954 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8957 dynamic_linker='Win32 ld.exe'
8958 # FIXME: first we should search . and the directory the executable is in
8962 darwin* | rhapsody*)
8963 dynamic_linker="$host_os dyld"
8967 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8968 soname_spec='${libname}${release}${major}$shared_ext'
8969 shlibpath_overrides_runpath=yes
8970 shlibpath_var=DYLD_LIBRARY_PATH
8971 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8973 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8974 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8982 soname_spec='${libname}${release}${shared_ext}$major'
8983 shlibpath_var=LD_LIBRARY_PATH
8990 freebsd* | dragonfly*)
8991 # DragonFly does not have aout. When/if they implement a new
8992 # versioning mechanism, adjust this.
8993 if test -x /usr/bin/objformat; then
8994 objformat=`/usr/bin/objformat`
8997 freebsd[123]*) objformat=aout ;;
9001 version_type=freebsd-$objformat
9002 case $version_type in
9004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9009 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9013 shlibpath_var=LD_LIBRARY_PATH
9016 shlibpath_overrides_runpath=yes
9018 freebsd3.[01]* | freebsdelf3.[01]*)
9019 shlibpath_overrides_runpath=yes
9020 hardcode_into_libs=yes
9022 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9023 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9024 shlibpath_overrides_runpath=no
9025 hardcode_into_libs=yes
9027 *) # from 4.6 on, and DragonFly
9028 shlibpath_overrides_runpath=yes
9029 hardcode_into_libs=yes
9038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9039 soname_spec='${libname}${release}${shared_ext}$major'
9040 shlibpath_var=LD_LIBRARY_PATH
9041 hardcode_into_libs=yes
9044 hpux9* | hpux10* | hpux11*)
9045 # Give a soname corresponding to the major version so that dld.sl refuses to
9046 # link against other versions.
9053 hardcode_into_libs=yes
9054 dynamic_linker="$host_os dld.so"
9055 shlibpath_var=LD_LIBRARY_PATH
9056 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9058 soname_spec='${libname}${release}${shared_ext}$major'
9059 if test "X$HPUX_IA64_MODE" = X32; then
9060 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9062 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9064 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9068 hardcode_into_libs=yes
9069 dynamic_linker="$host_os dld.sl"
9070 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9071 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9073 soname_spec='${libname}${release}${shared_ext}$major'
9074 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9079 dynamic_linker="$host_os dld.sl"
9080 shlibpath_var=SHLIB_PATH
9081 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9083 soname_spec='${libname}${release}${shared_ext}$major'
9086 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9087 postinstall_cmds='chmod 555 $lib'
9094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9095 soname_spec='${libname}${release}${shared_ext}$major'
9096 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9097 shlibpath_var=LD_LIBRARY_PATH
9098 shlibpath_overrides_runpath=no
9099 hardcode_into_libs=yes
9102 irix5* | irix6* | nonstopux*)
9104 nonstopux*) version_type=nonstopux ;;
9106 if test "$lt_cv_prog_gnu_ld" = yes; then
9114 soname_spec='${libname}${release}${shared_ext}$major'
9115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9117 irix5* | nonstopux*)
9121 case $LD in # libtool.m4 will add one of these switches to LD
9122 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9123 libsuff= shlibsuff= libmagic=32-bit;;
9124 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9125 libsuff=32 shlibsuff=N32 libmagic=N32;;
9126 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9127 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9128 *) libsuff= shlibsuff= libmagic=never-match;;
9132 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9133 shlibpath_overrides_runpath=no
9134 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9135 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9136 hardcode_into_libs=yes
9139 # No shared lib support for Linux oldld, aout, or coff.
9140 linux*oldld* | linux*aout* | linux*coff*)
9144 # This must be Linux ELF.
9145 linux* | k*bsd*-gnu)
9149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9150 soname_spec='${libname}${release}${shared_ext}$major'
9151 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9152 shlibpath_var=LD_LIBRARY_PATH
9153 shlibpath_overrides_runpath=no
9154 # Some binutils ld are patched to set DT_RUNPATH
9155 save_LDFLAGS=$LDFLAGS
9157 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9158 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9159 cat >conftest.$ac_ext <<_ACEOF
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9174 rm -f conftest.$ac_objext conftest$ac_exeext
9175 if { (ac_try="$ac_link"
9177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9178 *) ac_try_echo=$ac_try;;
9180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9181 (eval "$ac_link") 2>conftest.er1
9183 grep -v '^ *+' conftest.er1 >conftest.err
9185 cat conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } && {
9188 test -z "$ac_c_werror_flag" ||
9189 test ! -s conftest.err
9190 } && test -s conftest$ac_exeext &&
9191 $as_test_x conftest$ac_exeext; then
9192 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9193 shlibpath_overrides_runpath=yes
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LDFLAGS=$save_LDFLAGS
9208 # This implies no fast_install, which is unacceptable.
9209 # Some rework will be needed to allow for fast_install
9210 # before this can be enabled.
9211 hardcode_into_libs=yes
9213 # Append ld.so.conf contents to the search path
9214 if test -f /etc/ld.so.conf; then
9215 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9216 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9219 # We used to test for /lib/ld.so.1 and disable shared libraries on
9220 # powerpc, because MkLinux only supported shared libraries with the
9221 # GNU dynamic linker. Since this was broken with cross compilers,
9222 # most powerpc-linux boxes support dynamic linking these days and
9223 # people can always --disable-shared, the test was removed, and we
9224 # assume the GNU/Linux dynamic linker is in use.
9225 dynamic_linker='GNU/Linux ld.so'
9232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9234 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9235 dynamic_linker='NetBSD (a.out) ld.so'
9237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9238 soname_spec='${libname}${release}${shared_ext}$major'
9239 dynamic_linker='NetBSD ld.elf_so'
9241 shlibpath_var=LD_LIBRARY_PATH
9242 shlibpath_overrides_runpath=yes
9243 hardcode_into_libs=yes
9248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249 shlibpath_var=LD_LIBRARY_PATH
9250 shlibpath_overrides_runpath=yes
9257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258 soname_spec='${libname}${release}${shared_ext}$major'
9259 shlibpath_var=LD_LIBRARY_PATH
9260 shlibpath_overrides_runpath=no
9261 hardcode_into_libs=yes
9262 dynamic_linker='ldqnx.so'
9267 sys_lib_dlsearch_path_spec="/usr/lib"
9269 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9271 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9272 *) need_version=no ;;
9274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9276 shlibpath_var=LD_LIBRARY_PATH
9277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9279 openbsd2.[89] | openbsd2.[89].*)
9280 shlibpath_overrides_runpath=no
9283 shlibpath_overrides_runpath=yes
9287 shlibpath_overrides_runpath=yes
9292 libname_spec='$name'
9295 library_names_spec='$libname${shared_ext} $libname.a'
9296 dynamic_linker='OS/2 ld.exe'
9297 shlibpath_var=LIBPATH
9300 osf3* | osf4* | osf5*)
9304 soname_spec='${libname}${release}${shared_ext}$major'
9305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9306 shlibpath_var=LD_LIBRARY_PATH
9307 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9308 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9320 soname_spec='${libname}${release}${shared_ext}$major'
9321 shlibpath_var=LD_LIBRARY_PATH
9322 shlibpath_overrides_runpath=yes
9323 hardcode_into_libs=yes
9324 # ldd complains unless libraries are executable
9325 postinstall_cmds='chmod +x $lib'
9330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9331 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9332 shlibpath_var=LD_LIBRARY_PATH
9333 shlibpath_overrides_runpath=yes
9334 if test "$with_gnu_ld" = yes; then
9342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9343 soname_spec='${libname}${release}${shared_ext}$major'
9344 shlibpath_var=LD_LIBRARY_PATH
9345 case $host_vendor in
9347 shlibpath_overrides_runpath=no
9349 runpath_var=LD_RUN_PATH
9357 shlibpath_overrides_runpath=no
9358 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9364 if test -d /usr/nec ;then
9366 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9367 soname_spec='$libname${shared_ext}.$major'
9368 shlibpath_var=LD_LIBRARY_PATH
9372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9373 version_type=freebsd-elf
9376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9377 soname_spec='${libname}${release}${shared_ext}$major'
9378 shlibpath_var=LD_LIBRARY_PATH
9379 shlibpath_overrides_runpath=yes
9380 hardcode_into_libs=yes
9381 if test "$with_gnu_ld" = yes; then
9382 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9384 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9387 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9391 sys_lib_dlsearch_path_spec='/usr/lib'
9395 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9399 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9400 shlibpath_var=LD_LIBRARY_PATH
9401 shlibpath_overrides_runpath=no
9402 hardcode_into_libs=yes
9407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9408 soname_spec='${libname}${release}${shared_ext}$major'
9409 shlibpath_var=LD_LIBRARY_PATH
9416 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9417 echo "${ECHO_T}$dynamic_linker" >&6; }
9418 test "$dynamic_linker" = no && can_build_shared=no
9420 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9421 if test "$GCC" = yes; then
9422 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9425 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9426 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9428 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9429 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9518 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9519 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9521 if test -n "$hardcode_libdir_flag_spec" ||
9522 test -n "$runpath_var" ||
9523 test "X$hardcode_automatic" = "Xyes" ; then
9525 # We can hardcode non-existent directories.
9526 if test "$hardcode_direct" != no &&
9527 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9528 # have to relink, otherwise we might link with an installed library
9529 # when we should be linking with a yet-to-be-installed one
9530 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9531 test "$hardcode_minus_L" != no; then
9532 # Linking always hardcodes the temporary library directory.
9533 hardcode_action=relink
9535 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9536 hardcode_action=immediate
9539 # We cannot hardcode anything, or else we can only hardcode existing
9541 hardcode_action=unsupported
9543 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9544 echo "${ECHO_T}$hardcode_action" >&6; }
9546 if test "$hardcode_action" = relink ||
9547 test "$inherit_rpath" = yes; then
9548 # Fast installation is not supported
9549 enable_fast_install=no
9550 elif test "$shlibpath_overrides_runpath" = yes ||
9551 test "$enable_shared" = no; then
9552 # Fast installation is not necessary
9553 enable_fast_install=needless
9561 if test "x$enable_dlopen" != xyes; then
9562 enable_dlopen=unknown
9563 enable_dlopen_self=unknown
9564 enable_dlopen_self_static=unknown
9571 lt_cv_dlopen="load_add_on"
9573 lt_cv_dlopen_self=yes
9577 lt_cv_dlopen="LoadLibrary"
9582 lt_cv_dlopen="dlopen"
9587 # if libdl is installed we need to link against it
9588 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9589 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9590 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 ac_check_lib_save_LIBS=$LIBS
9595 cat >conftest.$ac_ext <<_ACEOF
9598 cat confdefs.h >>conftest.$ac_ext
9599 cat >>conftest.$ac_ext <<_ACEOF
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9617 rm -f conftest.$ac_objext conftest$ac_exeext
9618 if { (ac_try="$ac_link"
9620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9621 *) ac_try_echo=$ac_try;;
9623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9624 (eval "$ac_link") 2>conftest.er1
9626 grep -v '^ *+' conftest.er1 >conftest.err
9628 cat conftest.err >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } && {
9631 test -z "$ac_c_werror_flag" ||
9632 test ! -s conftest.err
9633 } && test -s conftest$ac_exeext &&
9634 $as_test_x conftest$ac_exeext; then
9635 ac_cv_lib_dl_dlopen=yes
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9640 ac_cv_lib_dl_dlopen=no
9643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9644 conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9649 if test $ac_cv_lib_dl_dlopen = yes; then
9650 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9655 lt_cv_dlopen_self=yes
9662 { echo "$as_me:$LINENO: checking for shl_load" >&5
9663 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9664 if test "${ac_cv_func_shl_load+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 cat >conftest.$ac_ext <<_ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9673 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9675 #define shl_load innocuous_shl_load
9677 /* System header to define __stub macros and hopefully few prototypes,
9678 which can conflict with char shl_load (); below.
9679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9680 <limits.h> exists even on freestanding compilers. */
9683 # include <limits.h>
9685 # include <assert.h>
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9697 /* The GNU C library defines this for functions which it implements
9698 to always fail with ENOSYS. Some functions are actually named
9699 something starting with __ and the normal name is an alias. */
9700 #if defined __stub_shl_load || defined __stub___shl_load
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9721 grep -v '^ *+' conftest.er1 >conftest.err
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_func_shl_load=yes
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_func_shl_load=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9741 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9742 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9743 if test $ac_cv_func_shl_load = yes; then
9744 lt_cv_dlopen="shl_load"
9746 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9747 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9748 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9749 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 ac_check_lib_save_LIBS=$LIBS
9753 cat >conftest.$ac_ext <<_ACEOF
9756 cat confdefs.h >>conftest.$ac_ext
9757 cat >>conftest.$ac_ext <<_ACEOF
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9775 rm -f conftest.$ac_objext conftest$ac_exeext
9776 if { (ac_try="$ac_link"
9778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 (eval "$ac_link") 2>conftest.er1
9784 grep -v '^ *+' conftest.er1 >conftest.err
9786 cat conftest.err >&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); } && {
9789 test -z "$ac_c_werror_flag" ||
9790 test ! -s conftest.err
9791 } && test -s conftest$ac_exeext &&
9792 $as_test_x conftest$ac_exeext; then
9793 ac_cv_lib_dld_shl_load=yes
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9798 ac_cv_lib_dld_shl_load=no
9801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9802 conftest$ac_exeext conftest.$ac_ext
9803 LIBS=$ac_check_lib_save_LIBS
9805 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9806 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9807 if test $ac_cv_lib_dld_shl_load = yes; then
9808 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9810 { echo "$as_me:$LINENO: checking for dlopen" >&5
9811 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9812 if test "${ac_cv_func_dlopen+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 cat >conftest.$ac_ext <<_ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9821 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9823 #define dlopen innocuous_dlopen
9825 /* System header to define __stub macros and hopefully few prototypes,
9826 which can conflict with char dlopen (); below.
9827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9828 <limits.h> exists even on freestanding compilers. */
9831 # include <limits.h>
9833 # include <assert.h>
9838 /* Override any GCC internal prototype to avoid an error.
9839 Use char because int might match the return type of a GCC
9840 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined __stub_dlopen || defined __stub___dlopen
9860 rm -f conftest.$ac_objext conftest$ac_exeext
9861 if { (ac_try="$ac_link"
9863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9864 *) ac_try_echo=$ac_try;;
9866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9867 (eval "$ac_link") 2>conftest.er1
9869 grep -v '^ *+' conftest.er1 >conftest.err
9871 cat conftest.err >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } && {
9874 test -z "$ac_c_werror_flag" ||
9875 test ! -s conftest.err
9876 } && test -s conftest$ac_exeext &&
9877 $as_test_x conftest$ac_exeext; then
9878 ac_cv_func_dlopen=yes
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9883 ac_cv_func_dlopen=no
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9889 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9890 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9891 if test $ac_cv_func_dlopen = yes; then
9892 lt_cv_dlopen="dlopen"
9894 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9895 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9896 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 ac_check_lib_save_LIBS=$LIBS
9901 cat >conftest.$ac_ext <<_ACEOF
9904 cat confdefs.h >>conftest.$ac_ext
9905 cat >>conftest.$ac_ext <<_ACEOF
9906 /* end confdefs.h. */
9908 /* Override any GCC internal prototype to avoid an error.
9909 Use char because int might match the return type of a GCC
9910 builtin and then its argument prototype would still apply. */
9923 rm -f conftest.$ac_objext conftest$ac_exeext
9924 if { (ac_try="$ac_link"
9926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9927 *) ac_try_echo=$ac_try;;
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930 (eval "$ac_link") 2>conftest.er1
9932 grep -v '^ *+' conftest.er1 >conftest.err
9934 cat conftest.err >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); } && {
9937 test -z "$ac_c_werror_flag" ||
9938 test ! -s conftest.err
9939 } && test -s conftest$ac_exeext &&
9940 $as_test_x conftest$ac_exeext; then
9941 ac_cv_lib_dl_dlopen=yes
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.$ac_ext >&5
9946 ac_cv_lib_dl_dlopen=no
9949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_lib_save_LIBS
9953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9955 if test $ac_cv_lib_dl_dlopen = yes; then
9956 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9958 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9959 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9960 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 ac_check_lib_save_LIBS=$LIBS
9965 cat >conftest.$ac_ext <<_ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9972 /* Override any GCC internal prototype to avoid an error.
9973 Use char because int might match the return type of a GCC
9974 builtin and then its argument prototype would still apply. */
9987 rm -f conftest.$ac_objext conftest$ac_exeext
9988 if { (ac_try="$ac_link"
9990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9991 *) ac_try_echo=$ac_try;;
9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9994 (eval "$ac_link") 2>conftest.er1
9996 grep -v '^ *+' conftest.er1 >conftest.err
9998 cat conftest.err >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); } && {
10001 test -z "$ac_c_werror_flag" ||
10002 test ! -s conftest.err
10003 } && test -s conftest$ac_exeext &&
10004 $as_test_x conftest$ac_exeext; then
10005 ac_cv_lib_svld_dlopen=yes
10007 echo "$as_me: failed program was:" >&5
10008 sed 's/^/| /' conftest.$ac_ext >&5
10010 ac_cv_lib_svld_dlopen=no
10013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10014 conftest$ac_exeext conftest.$ac_ext
10015 LIBS=$ac_check_lib_save_LIBS
10017 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10018 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10019 if test $ac_cv_lib_svld_dlopen = yes; then
10020 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10022 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10023 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10024 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 ac_check_lib_save_LIBS=$LIBS
10029 cat >conftest.$ac_ext <<_ACEOF
10032 cat confdefs.h >>conftest.$ac_ext
10033 cat >>conftest.$ac_ext <<_ACEOF
10034 /* end confdefs.h. */
10036 /* Override any GCC internal prototype to avoid an error.
10037 Use char because int might match the return type of a GCC
10038 builtin and then its argument prototype would still apply. */
10046 return dld_link ();
10051 rm -f conftest.$ac_objext conftest$ac_exeext
10052 if { (ac_try="$ac_link"
10053 case "(($ac_try" in
10054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10055 *) ac_try_echo=$ac_try;;
10057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10058 (eval "$ac_link") 2>conftest.er1
10060 grep -v '^ *+' conftest.er1 >conftest.err
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } && {
10065 test -z "$ac_c_werror_flag" ||
10066 test ! -s conftest.err
10067 } && test -s conftest$ac_exeext &&
10068 $as_test_x conftest$ac_exeext; then
10069 ac_cv_lib_dld_dld_link=yes
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 ac_cv_lib_dld_dld_link=no
10077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10078 conftest$ac_exeext conftest.$ac_ext
10079 LIBS=$ac_check_lib_save_LIBS
10081 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10082 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10083 if test $ac_cv_lib_dld_dld_link = yes; then
10084 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10105 if test "x$lt_cv_dlopen" != xno; then
10111 case $lt_cv_dlopen in
10113 save_CPPFLAGS="$CPPFLAGS"
10114 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10116 save_LDFLAGS="$LDFLAGS"
10117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10120 LIBS="$lt_cv_dlopen_libs $LIBS"
10122 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10123 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10124 if test "${lt_cv_dlopen_self+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 if test "$cross_compiling" = yes; then :
10128 lt_cv_dlopen_self=cross
10130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10131 lt_status=$lt_dlunknown
10132 cat > conftest.$ac_ext <<_LT_EOF
10133 #line 10133 "configure"
10134 #include "confdefs.h"
10143 # define LT_DLGLOBAL RTLD_GLOBAL
10146 # define LT_DLGLOBAL DL_GLOBAL
10148 # define LT_DLGLOBAL 0
10152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10153 find out it does not work in some platform. */
10154 #ifndef LT_DLLAZY_OR_NOW
10156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10159 # define LT_DLLAZY_OR_NOW DL_LAZY
10162 # define LT_DLLAZY_OR_NOW RTLD_NOW
10165 # define LT_DLLAZY_OR_NOW DL_NOW
10167 # define LT_DLLAZY_OR_NOW 0
10175 extern "C" void exit (int);
10178 void fnord() { int i=42;}
10181 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10182 int status = $lt_dlunknown;
10186 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10187 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10188 /* dlclose (self); */
10196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10197 (eval $ac_link) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10201 (./conftest; exit; ) >&5 2>/dev/null
10203 case x$lt_status in
10204 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10205 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10206 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10209 # compilation failed
10210 lt_cv_dlopen_self=no
10217 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10218 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10220 if test "x$lt_cv_dlopen_self" = xyes; then
10221 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10222 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10223 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10224 if test "${lt_cv_dlopen_self_static+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 if test "$cross_compiling" = yes; then :
10228 lt_cv_dlopen_self_static=cross
10230 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10231 lt_status=$lt_dlunknown
10232 cat > conftest.$ac_ext <<_LT_EOF
10233 #line 10233 "configure"
10234 #include "confdefs.h"
10243 # define LT_DLGLOBAL RTLD_GLOBAL
10246 # define LT_DLGLOBAL DL_GLOBAL
10248 # define LT_DLGLOBAL 0
10252 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10253 find out it does not work in some platform. */
10254 #ifndef LT_DLLAZY_OR_NOW
10256 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10259 # define LT_DLLAZY_OR_NOW DL_LAZY
10262 # define LT_DLLAZY_OR_NOW RTLD_NOW
10265 # define LT_DLLAZY_OR_NOW DL_NOW
10267 # define LT_DLLAZY_OR_NOW 0
10275 extern "C" void exit (int);
10278 void fnord() { int i=42;}
10281 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10282 int status = $lt_dlunknown;
10286 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10287 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10288 /* dlclose (self); */
10296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10297 (eval $ac_link) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10301 (./conftest; exit; ) >&5 2>/dev/null
10303 case x$lt_status in
10304 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10305 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10306 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10309 # compilation failed
10310 lt_cv_dlopen_self_static=no
10317 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10318 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10321 CPPFLAGS="$save_CPPFLAGS"
10322 LDFLAGS="$save_LDFLAGS"
10327 case $lt_cv_dlopen_self in
10328 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10329 *) enable_dlopen_self=unknown ;;
10332 case $lt_cv_dlopen_self_static in
10333 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10334 *) enable_dlopen_self_static=unknown ;;
10356 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10357 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10358 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10359 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10360 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10361 { echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6; }
10364 # FIXME - insert some real tests, host_os isn't really good enough
10367 if test -n "$STRIP" ; then
10368 striplib="$STRIP -x"
10369 old_striplib="$STRIP -S"
10370 { echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6; }
10373 { echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6; }
10378 { echo "$as_me:$LINENO: result: no" >&5
10379 echo "${ECHO_T}no" >&6; }
10395 # Report which library types will actually be built
10396 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10397 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10398 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10399 echo "${ECHO_T}$can_build_shared" >&6; }
10401 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10402 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10403 test "$can_build_shared" = "no" && enable_shared=no
10405 # On AIX, shared libraries and static libraries use the same namespace, and
10406 # are all built from PIC.
10409 test "$enable_shared" = yes && enable_static=no
10410 if test -n "$RANLIB"; then
10411 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10412 postinstall_cmds='$RANLIB $lib'
10417 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10418 test "$enable_shared" = yes && enable_static=no
10422 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10423 echo "${ECHO_T}$enable_shared" >&6; }
10425 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10426 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10427 # Make sure either enable_shared or enable_static is yes.
10428 test "$enable_shared" = yes || enable_static=yes
10429 { echo "$as_me:$LINENO: result: $enable_static" >&5
10430 echo "${ECHO_T}$enable_static" >&6; }
10437 ac_cpp='$CPP $CPPFLAGS'
10438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10456 ac_config_commands="$ac_config_commands libtool"
10461 # Only expand once:
10465 { echo "$as_me:$LINENO: checking for size_t" >&5
10466 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
10467 if test "${ac_cv_type_size_t+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 cat >conftest.$ac_ext <<_ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h. */
10476 $ac_includes_default
10477 typedef size_t ac__type_new_;
10481 if ((ac__type_new_ *) 0)
10483 if (sizeof (ac__type_new_))
10489 rm -f conftest.$ac_objext
10490 if { (ac_try="$ac_compile"
10491 case "(($ac_try" in
10492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10493 *) ac_try_echo=$ac_try;;
10495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10496 (eval "$ac_compile") 2>conftest.er1
10498 grep -v '^ *+' conftest.er1 >conftest.err
10500 cat conftest.err >&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); } && {
10503 test -z "$ac_c_werror_flag" ||
10504 test ! -s conftest.err
10505 } && test -s conftest.$ac_objext; then
10506 ac_cv_type_size_t=yes
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10511 ac_cv_type_size_t=no
10514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10516 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10517 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10518 if test $ac_cv_type_size_t = yes; then
10522 cat >>confdefs.h <<_ACEOF
10523 #define size_t unsigned int
10528 { echo "$as_me:$LINENO: checking for working volatile" >&5
10529 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
10530 if test "${ac_cv_c_volatile+set}" = set; then
10531 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 cat >conftest.$ac_ext <<_ACEOF
10536 cat confdefs.h >>conftest.$ac_ext
10537 cat >>conftest.$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10545 int * volatile y = (int *) 0;
10551 rm -f conftest.$ac_objext
10552 if { (ac_try="$ac_compile"
10553 case "(($ac_try" in
10554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10555 *) ac_try_echo=$ac_try;;
10557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10558 (eval "$ac_compile") 2>conftest.er1
10560 grep -v '^ *+' conftest.er1 >conftest.err
10562 cat conftest.err >&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } && {
10565 test -z "$ac_c_werror_flag" ||
10566 test ! -s conftest.err
10567 } && test -s conftest.$ac_objext; then
10568 ac_cv_c_volatile=yes
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.$ac_ext >&5
10573 ac_cv_c_volatile=no
10576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10578 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10579 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10580 if test $ac_cv_c_volatile = no; then
10582 cat >>confdefs.h <<\_ACEOF
10588 { echo "$as_me:$LINENO: checking for inline" >&5
10589 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
10590 if test "${ac_cv_c_inline+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 for ac_kw in inline __inline__ __inline; do
10595 cat >conftest.$ac_ext <<_ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10601 #ifndef __cplusplus
10603 static $ac_kw foo_t static_foo () {return 0; }
10604 $ac_kw foo_t foo () {return 0; }
10608 rm -f conftest.$ac_objext
10609 if { (ac_try="$ac_compile"
10610 case "(($ac_try" in
10611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_compile") 2>conftest.er1
10617 grep -v '^ *+' conftest.er1 >conftest.err
10619 cat conftest.err >&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } && {
10622 test -z "$ac_c_werror_flag" ||
10623 test ! -s conftest.err
10624 } && test -s conftest.$ac_objext; then
10625 ac_cv_c_inline=$ac_kw
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.$ac_ext >&5
10633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10634 test "$ac_cv_c_inline" != no && break
10638 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10639 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10642 case $ac_cv_c_inline in
10645 case $ac_cv_c_inline in
10647 *) ac_val=$ac_cv_c_inline;;
10649 cat >>confdefs.h <<_ACEOF
10650 #ifndef __cplusplus
10651 #define inline $ac_val
10658 { echo "$as_me:$LINENO: checking whether char is unsigned" >&5
10659 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
10660 if test "${ac_cv_c_char_unsigned+set}" = set; then
10661 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 cat >conftest.$ac_ext <<_ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 $ac_includes_default
10673 static int test_array [1 - 2 * !(((char) -1) < 0)];
10680 rm -f conftest.$ac_objext
10681 if { (ac_try="$ac_compile"
10682 case "(($ac_try" in
10683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684 *) ac_try_echo=$ac_try;;
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_compile") 2>conftest.er1
10689 grep -v '^ *+' conftest.er1 >conftest.err
10691 cat conftest.err >&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } && {
10694 test -z "$ac_c_werror_flag" ||
10695 test ! -s conftest.err
10696 } && test -s conftest.$ac_objext; then
10697 ac_cv_c_char_unsigned=no
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10702 ac_cv_c_char_unsigned=yes
10705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10707 { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
10708 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
10709 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
10710 cat >>confdefs.h <<\_ACEOF
10711 #define __CHAR_UNSIGNED__ 1
10717 GSL_CFLAGS="-I$includedir"
10718 GSL_LIBS="-L$libdir -lgsl"
10723 { echo "$as_me:$LINENO: checking for extern inline" >&5
10724 echo $ECHO_N "checking for extern inline... $ECHO_C" >&6; }
10725 if test "${ac_cv_c_extern_inline+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 ac_cv_c_extern_inline=no
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 extern $ac_cv_c_inline double foo(double x);
10736 extern $ac_cv_c_inline double foo(double x) { return x + 1.0 ; } ;
10737 double foo (double x) { return x + 1.0 ; };
10746 rm -f conftest.$ac_objext
10747 if { (ac_try="$ac_compile"
10748 case "(($ac_try" in
10749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10750 *) ac_try_echo=$ac_try;;
10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10753 (eval "$ac_compile") 2>conftest.er1
10755 grep -v '^ *+' conftest.er1 >conftest.err
10757 cat conftest.err >&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } && {
10760 test -z "$ac_c_werror_flag" ||
10761 test ! -s conftest.err
10762 } && test -s conftest.$ac_objext; then
10763 ac_cv_c_extern_inline="yes"
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10774 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_inline" >&5
10775 echo "${ECHO_T}$ac_cv_c_extern_inline" >&6; }
10777 if test "$ac_cv_c_extern_inline" != no ; then
10779 cat >>confdefs.h <<\_ACEOF
10780 #define HAVE_INLINE
10786 for ac_header in ieeefp.h
10788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 ac_res=`eval echo '${'$as_ac_Header'}'`
10796 { echo "$as_me:$LINENO: result: $ac_res" >&5
10797 echo "${ECHO_T}$ac_res" >&6; }
10799 # Is the header compilable?
10800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10802 cat >conftest.$ac_ext <<_ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 $ac_includes_default
10809 #include <$ac_header>
10811 rm -f conftest.$ac_objext
10812 if { (ac_try="$ac_compile"
10813 case "(($ac_try" in
10814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10815 *) ac_try_echo=$ac_try;;
10817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10818 (eval "$ac_compile") 2>conftest.er1
10820 grep -v '^ *+' conftest.er1 >conftest.err
10822 cat conftest.err >&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); } && {
10825 test -z "$ac_c_werror_flag" ||
10826 test ! -s conftest.err
10827 } && test -s conftest.$ac_objext; then
10828 ac_header_compiler=yes
10830 echo "$as_me: failed program was:" >&5
10831 sed 's/^/| /' conftest.$ac_ext >&5
10833 ac_header_compiler=no
10836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10837 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10838 echo "${ECHO_T}$ac_header_compiler" >&6; }
10840 # Is the header present?
10841 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10843 cat >conftest.$ac_ext <<_ACEOF
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <$ac_header>
10851 if { (ac_try="$ac_cpp conftest.$ac_ext"
10852 case "(($ac_try" in
10853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10859 grep -v '^ *+' conftest.er1 >conftest.err
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } >/dev/null && {
10864 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10865 test ! -s conftest.err
10867 ac_header_preproc=yes
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.$ac_ext >&5
10872 ac_header_preproc=no
10875 rm -f conftest.err conftest.$ac_ext
10876 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10877 echo "${ECHO_T}$ac_header_preproc" >&6; }
10879 # So? What about this header?
10880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10886 ac_header_preproc=yes
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 eval "$as_ac_Header=\$ac_header_preproc"
10911 ac_res=`eval echo '${'$as_ac_Header'}'`
10912 { echo "$as_me:$LINENO: result: $ac_res" >&5
10913 echo "${ECHO_T}$ac_res" >&6; }
10916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10917 cat >>confdefs.h <<_ACEOF
10918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10933 if test "$MINGW" = "true"; then
10935 MINGW32_HOST_FALSE='#'
10937 MINGW32_HOST_TRUE='#'
10938 MINGW32_HOST_FALSE=
10944 for ac_func in vprintf
10946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 cat >conftest.$ac_ext <<_ACEOF
10955 cat confdefs.h >>conftest.$ac_ext
10956 cat >>conftest.$ac_ext <<_ACEOF
10957 /* end confdefs.h. */
10958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10960 #define $ac_func innocuous_$ac_func
10962 /* System header to define __stub macros and hopefully few prototypes,
10963 which can conflict with char $ac_func (); below.
10964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10965 <limits.h> exists even on freestanding compilers. */
10968 # include <limits.h>
10970 # include <assert.h>
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10982 /* The GNU C library defines this for functions which it implements
10983 to always fail with ENOSYS. Some functions are actually named
10984 something starting with __ and the normal name is an alias. */
10985 #if defined __stub_$ac_func || defined __stub___$ac_func
10992 return $ac_func ();
10997 rm -f conftest.$ac_objext conftest$ac_exeext
10998 if { (ac_try="$ac_link"
10999 case "(($ac_try" in
11000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11001 *) ac_try_echo=$ac_try;;
11003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11004 (eval "$ac_link") 2>conftest.er1
11006 grep -v '^ *+' conftest.er1 >conftest.err
11008 cat conftest.err >&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } && {
11011 test -z "$ac_c_werror_flag" ||
11012 test ! -s conftest.err
11013 } && test -s conftest$ac_exeext &&
11014 $as_test_x conftest$ac_exeext; then
11015 eval "$as_ac_var=yes"
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11020 eval "$as_ac_var=no"
11023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11024 conftest$ac_exeext conftest.$ac_ext
11026 ac_res=`eval echo '${'$as_ac_var'}'`
11027 { echo "$as_me:$LINENO: result: $ac_res" >&5
11028 echo "${ECHO_T}$ac_res" >&6; }
11029 if test `eval echo '${'$as_ac_var'}'` = yes; then
11030 cat >>confdefs.h <<_ACEOF
11031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11034 { echo "$as_me:$LINENO: checking for _doprnt" >&5
11035 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
11036 if test "${ac_cv_func__doprnt+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 cat >conftest.$ac_ext <<_ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11045 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11047 #define _doprnt innocuous__doprnt
11049 /* System header to define __stub macros and hopefully few prototypes,
11050 which can conflict with char _doprnt (); below.
11051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11052 <limits.h> exists even on freestanding compilers. */
11055 # include <limits.h>
11057 # include <assert.h>
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11069 /* The GNU C library defines this for functions which it implements
11070 to always fail with ENOSYS. Some functions are actually named
11071 something starting with __ and the normal name is an alias. */
11072 #if defined __stub__doprnt || defined __stub____doprnt
11084 rm -f conftest.$ac_objext conftest$ac_exeext
11085 if { (ac_try="$ac_link"
11086 case "(($ac_try" in
11087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11088 *) ac_try_echo=$ac_try;;
11090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11091 (eval "$ac_link") 2>conftest.er1
11093 grep -v '^ *+' conftest.er1 >conftest.err
11095 cat conftest.err >&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } && {
11098 test -z "$ac_c_werror_flag" ||
11099 test ! -s conftest.err
11100 } && test -s conftest$ac_exeext &&
11101 $as_test_x conftest$ac_exeext; then
11102 ac_cv_func__doprnt=yes
11104 echo "$as_me: failed program was:" >&5
11105 sed 's/^/| /' conftest.$ac_ext >&5
11107 ac_cv_func__doprnt=no
11110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11111 conftest$ac_exeext conftest.$ac_ext
11113 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11114 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
11115 if test $ac_cv_func__doprnt = yes; then
11117 cat >>confdefs.h <<\_ACEOF
11118 #define HAVE_DOPRNT 1
11133 for ac_func in memcpy memmove strdup strtol strtoul
11135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 cat >conftest.$ac_ext <<_ACEOF
11144 cat confdefs.h >>conftest.$ac_ext
11145 cat >>conftest.$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11149 #define $ac_func innocuous_$ac_func
11151 /* System header to define __stub macros and hopefully few prototypes,
11152 which can conflict with char $ac_func (); below.
11153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11154 <limits.h> exists even on freestanding compilers. */
11157 # include <limits.h>
11159 # include <assert.h>
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11171 /* The GNU C library defines this for functions which it implements
11172 to always fail with ENOSYS. Some functions are actually named
11173 something starting with __ and the normal name is an alias. */
11174 #if defined __stub_$ac_func || defined __stub___$ac_func
11181 return $ac_func ();
11186 rm -f conftest.$ac_objext conftest$ac_exeext
11187 if { (ac_try="$ac_link"
11188 case "(($ac_try" in
11189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11190 *) ac_try_echo=$ac_try;;
11192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11193 (eval "$ac_link") 2>conftest.er1
11195 grep -v '^ *+' conftest.er1 >conftest.err
11197 cat conftest.err >&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } && {
11200 test -z "$ac_c_werror_flag" ||
11201 test ! -s conftest.err
11202 } && test -s conftest$ac_exeext &&
11203 $as_test_x conftest$ac_exeext; then
11204 eval "$as_ac_var=yes"
11206 echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.$ac_ext >&5
11209 eval "$as_ac_var=no"
11212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11213 conftest$ac_exeext conftest.$ac_ext
11215 ac_res=`eval echo '${'$as_ac_var'}'`
11216 { echo "$as_me:$LINENO: result: $ac_res" >&5
11217 echo "${ECHO_T}$ac_res" >&6; }
11218 if test `eval echo '${'$as_ac_var'}'` = yes; then
11219 cat >>confdefs.h <<_ACEOF
11220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11224 case " $LIBOBJS " in
11225 *" $ac_func.$ac_objext "* ) ;;
11226 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
11235 { echo "$as_me:$LINENO: checking for EXIT_SUCCESS and EXIT_FAILURE" >&5
11236 echo $ECHO_N "checking for EXIT_SUCCESS and EXIT_FAILURE... $ECHO_C" >&6; }
11237 if test "${ac_cv_decl_exit_success_and_failure+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11247 #include <stdlib.h>
11248 #ifdef EXIT_SUCCESS
11253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11254 $EGREP "yes" >/dev/null 2>&1; then
11255 ac_cv_decl_exit_success_and_failure=yes
11257 ac_cv_decl_exit_success_and_failure=no
11263 { echo "$as_me:$LINENO: result: $ac_cv_decl_exit_success_and_failure" >&5
11264 echo "${ECHO_T}$ac_cv_decl_exit_success_and_failure" >&6; }
11266 if test "$ac_cv_decl_exit_success_and_failure" = yes ; then
11268 cat >>confdefs.h <<\_ACEOF
11269 #define HAVE_EXIT_SUCCESS_AND_FAILURE 1
11275 if test "x$LIBS" = "x" ; then
11277 { echo "$as_me:$LINENO: checking for cos in -lm" >&5
11278 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
11279 if test "${ac_cv_lib_m_cos+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 ac_check_lib_save_LIBS=$LIBS
11284 cat >conftest.$ac_ext <<_ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11291 /* Override any GCC internal prototype to avoid an error.
11292 Use char because int might match the return type of a GCC
11293 builtin and then its argument prototype would still apply. */
11306 rm -f conftest.$ac_objext conftest$ac_exeext
11307 if { (ac_try="$ac_link"
11308 case "(($ac_try" in
11309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11310 *) ac_try_echo=$ac_try;;
11312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11313 (eval "$ac_link") 2>conftest.er1
11315 grep -v '^ *+' conftest.er1 >conftest.err
11317 cat conftest.err >&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } && {
11320 test -z "$ac_c_werror_flag" ||
11321 test ! -s conftest.err
11322 } && test -s conftest$ac_exeext &&
11323 $as_test_x conftest$ac_exeext; then
11324 ac_cv_lib_m_cos=yes
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
11337 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
11338 if test $ac_cv_lib_m_cos = yes; then
11339 cat >>confdefs.h <<_ACEOF
11340 #define HAVE_LIBM 1
11349 { echo "$as_me:$LINENO: checking whether feenableexcept is declared" >&5
11350 echo $ECHO_N "checking whether feenableexcept is declared... $ECHO_C" >&6; }
11351 if test "${ac_cv_have_decl_feenableexcept+set}" = set; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 cat >conftest.$ac_ext <<_ACEOF
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 #define _GNU_SOURCE 1
11366 #ifndef feenableexcept
11367 (void) feenableexcept;
11374 rm -f conftest.$ac_objext
11375 if { (ac_try="$ac_compile"
11376 case "(($ac_try" in
11377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11378 *) ac_try_echo=$ac_try;;
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 (eval "$ac_compile") 2>conftest.er1
11383 grep -v '^ *+' conftest.er1 >conftest.err
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } && {
11388 test -z "$ac_c_werror_flag" ||
11389 test ! -s conftest.err
11390 } && test -s conftest.$ac_objext; then
11391 ac_cv_have_decl_feenableexcept=yes
11393 echo "$as_me: failed program was:" >&5
11394 sed 's/^/| /' conftest.$ac_ext >&5
11396 ac_cv_have_decl_feenableexcept=no
11399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11401 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_feenableexcept" >&5
11402 echo "${ECHO_T}$ac_cv_have_decl_feenableexcept" >&6; }
11403 if test $ac_cv_have_decl_feenableexcept = yes; then
11405 cat >>confdefs.h <<_ACEOF
11406 #define HAVE_DECL_FEENABLEEXCEPT 1
11411 cat >>confdefs.h <<_ACEOF
11412 #define HAVE_DECL_FEENABLEEXCEPT 0
11419 { echo "$as_me:$LINENO: checking whether fesettrapenable is declared" >&5
11420 echo $ECHO_N "checking whether fesettrapenable is declared... $ECHO_C" >&6; }
11421 if test "${ac_cv_have_decl_fesettrapenable+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 cat >conftest.$ac_ext <<_ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #define _GNU_SOURCE 1
11436 #ifndef fesettrapenable
11437 (void) fesettrapenable;
11444 rm -f conftest.$ac_objext
11445 if { (ac_try="$ac_compile"
11446 case "(($ac_try" in
11447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11448 *) ac_try_echo=$ac_try;;
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 (eval "$ac_compile") 2>conftest.er1
11453 grep -v '^ *+' conftest.er1 >conftest.err
11455 cat conftest.err >&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } && {
11458 test -z "$ac_c_werror_flag" ||
11459 test ! -s conftest.err
11460 } && test -s conftest.$ac_objext; then
11461 ac_cv_have_decl_fesettrapenable=yes
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 ac_cv_have_decl_fesettrapenable=no
11469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11471 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_fesettrapenable" >&5
11472 echo "${ECHO_T}$ac_cv_have_decl_fesettrapenable" >&6; }
11473 if test $ac_cv_have_decl_fesettrapenable = yes; then
11475 cat >>confdefs.h <<_ACEOF
11476 #define HAVE_DECL_FESETTRAPENABLE 1
11481 cat >>confdefs.h <<_ACEOF
11482 #define HAVE_DECL_FESETTRAPENABLE 0
11489 { echo "$as_me:$LINENO: checking whether hypot is declared" >&5
11490 echo $ECHO_N "checking whether hypot is declared... $ECHO_C" >&6; }
11491 if test "${ac_cv_have_decl_hypot+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 cat >conftest.$ac_ext <<_ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11513 rm -f conftest.$ac_objext
11514 if { (ac_try="$ac_compile"
11515 case "(($ac_try" in
11516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11517 *) ac_try_echo=$ac_try;;
11519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 (eval "$ac_compile") 2>conftest.er1
11522 grep -v '^ *+' conftest.er1 >conftest.err
11524 cat conftest.err >&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } && {
11527 test -z "$ac_c_werror_flag" ||
11528 test ! -s conftest.err
11529 } && test -s conftest.$ac_objext; then
11530 ac_cv_have_decl_hypot=yes
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.$ac_ext >&5
11535 ac_cv_have_decl_hypot=no
11538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11540 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_hypot" >&5
11541 echo "${ECHO_T}$ac_cv_have_decl_hypot" >&6; }
11542 if test $ac_cv_have_decl_hypot = yes; then
11544 cat >>confdefs.h <<_ACEOF
11545 #define HAVE_DECL_HYPOT 1
11550 cat >>confdefs.h <<_ACEOF
11551 #define HAVE_DECL_HYPOT 0
11558 { echo "$as_me:$LINENO: checking whether expm1 is declared" >&5
11559 echo $ECHO_N "checking whether expm1 is declared... $ECHO_C" >&6; }
11560 if test "${ac_cv_have_decl_expm1+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 cat >conftest.$ac_ext <<_ACEOF
11566 cat confdefs.h >>conftest.$ac_ext
11567 cat >>conftest.$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11582 rm -f conftest.$ac_objext
11583 if { (ac_try="$ac_compile"
11584 case "(($ac_try" in
11585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586 *) ac_try_echo=$ac_try;;
11588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11589 (eval "$ac_compile") 2>conftest.er1
11591 grep -v '^ *+' conftest.er1 >conftest.err
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } && {
11596 test -z "$ac_c_werror_flag" ||
11597 test ! -s conftest.err
11598 } && test -s conftest.$ac_objext; then
11599 ac_cv_have_decl_expm1=yes
11601 echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.$ac_ext >&5
11604 ac_cv_have_decl_expm1=no
11607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11609 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_expm1" >&5
11610 echo "${ECHO_T}$ac_cv_have_decl_expm1" >&6; }
11611 if test $ac_cv_have_decl_expm1 = yes; then
11613 cat >>confdefs.h <<_ACEOF
11614 #define HAVE_DECL_EXPM1 1
11619 cat >>confdefs.h <<_ACEOF
11620 #define HAVE_DECL_EXPM1 0
11627 { echo "$as_me:$LINENO: checking whether acosh is declared" >&5
11628 echo $ECHO_N "checking whether acosh is declared... $ECHO_C" >&6; }
11629 if test "${ac_cv_have_decl_acosh+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 cat >conftest.$ac_ext <<_ACEOF
11635 cat confdefs.h >>conftest.$ac_ext
11636 cat >>conftest.$ac_ext <<_ACEOF
11637 /* end confdefs.h. */
11651 rm -f conftest.$ac_objext
11652 if { (ac_try="$ac_compile"
11653 case "(($ac_try" in
11654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11655 *) ac_try_echo=$ac_try;;
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658 (eval "$ac_compile") 2>conftest.er1
11660 grep -v '^ *+' conftest.er1 >conftest.err
11662 cat conftest.err >&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } && {
11665 test -z "$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11667 } && test -s conftest.$ac_objext; then
11668 ac_cv_have_decl_acosh=yes
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_cv_have_decl_acosh=no
11676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11678 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_acosh" >&5
11679 echo "${ECHO_T}$ac_cv_have_decl_acosh" >&6; }
11680 if test $ac_cv_have_decl_acosh = yes; then
11682 cat >>confdefs.h <<_ACEOF
11683 #define HAVE_DECL_ACOSH 1
11688 cat >>confdefs.h <<_ACEOF
11689 #define HAVE_DECL_ACOSH 0
11696 { echo "$as_me:$LINENO: checking whether asinh is declared" >&5
11697 echo $ECHO_N "checking whether asinh is declared... $ECHO_C" >&6; }
11698 if test "${ac_cv_have_decl_asinh+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 cat >conftest.$ac_ext <<_ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h. */
11720 rm -f conftest.$ac_objext
11721 if { (ac_try="$ac_compile"
11722 case "(($ac_try" in
11723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11724 *) ac_try_echo=$ac_try;;
11726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11727 (eval "$ac_compile") 2>conftest.er1
11729 grep -v '^ *+' conftest.er1 >conftest.err
11731 cat conftest.err >&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); } && {
11734 test -z "$ac_c_werror_flag" ||
11735 test ! -s conftest.err
11736 } && test -s conftest.$ac_objext; then
11737 ac_cv_have_decl_asinh=yes
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 ac_cv_have_decl_asinh=no
11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11747 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_asinh" >&5
11748 echo "${ECHO_T}$ac_cv_have_decl_asinh" >&6; }
11749 if test $ac_cv_have_decl_asinh = yes; then
11751 cat >>confdefs.h <<_ACEOF
11752 #define HAVE_DECL_ASINH 1
11757 cat >>confdefs.h <<_ACEOF
11758 #define HAVE_DECL_ASINH 0
11765 { echo "$as_me:$LINENO: checking whether atanh is declared" >&5
11766 echo $ECHO_N "checking whether atanh is declared... $ECHO_C" >&6; }
11767 if test "${ac_cv_have_decl_atanh+set}" = set; then
11768 echo $ECHO_N "(cached) $ECHO_C" >&6
11770 cat >conftest.$ac_ext <<_ACEOF
11773 cat confdefs.h >>conftest.$ac_ext
11774 cat >>conftest.$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11789 rm -f conftest.$ac_objext
11790 if { (ac_try="$ac_compile"
11791 case "(($ac_try" in
11792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11793 *) ac_try_echo=$ac_try;;
11795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11796 (eval "$ac_compile") 2>conftest.er1
11798 grep -v '^ *+' conftest.er1 >conftest.err
11800 cat conftest.err >&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } && {
11803 test -z "$ac_c_werror_flag" ||
11804 test ! -s conftest.err
11805 } && test -s conftest.$ac_objext; then
11806 ac_cv_have_decl_atanh=yes
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.$ac_ext >&5
11811 ac_cv_have_decl_atanh=no
11814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11816 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_atanh" >&5
11817 echo "${ECHO_T}$ac_cv_have_decl_atanh" >&6; }
11818 if test $ac_cv_have_decl_atanh = yes; then
11820 cat >>confdefs.h <<_ACEOF
11821 #define HAVE_DECL_ATANH 1
11826 cat >>confdefs.h <<_ACEOF
11827 #define HAVE_DECL_ATANH 0
11834 { echo "$as_me:$LINENO: checking whether ldexp is declared" >&5
11835 echo $ECHO_N "checking whether ldexp is declared... $ECHO_C" >&6; }
11836 if test "${ac_cv_have_decl_ldexp+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 cat >conftest.$ac_ext <<_ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11858 rm -f conftest.$ac_objext
11859 if { (ac_try="$ac_compile"
11860 case "(($ac_try" in
11861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11862 *) ac_try_echo=$ac_try;;
11864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11865 (eval "$ac_compile") 2>conftest.er1
11867 grep -v '^ *+' conftest.er1 >conftest.err
11869 cat conftest.err >&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } && {
11872 test -z "$ac_c_werror_flag" ||
11873 test ! -s conftest.err
11874 } && test -s conftest.$ac_objext; then
11875 ac_cv_have_decl_ldexp=yes
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11880 ac_cv_have_decl_ldexp=no
11883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11885 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldexp" >&5
11886 echo "${ECHO_T}$ac_cv_have_decl_ldexp" >&6; }
11887 if test $ac_cv_have_decl_ldexp = yes; then
11889 cat >>confdefs.h <<_ACEOF
11890 #define HAVE_DECL_LDEXP 1
11895 cat >>confdefs.h <<_ACEOF
11896 #define HAVE_DECL_LDEXP 0
11903 { echo "$as_me:$LINENO: checking whether frexp is declared" >&5
11904 echo $ECHO_N "checking whether frexp is declared... $ECHO_C" >&6; }
11905 if test "${ac_cv_have_decl_frexp+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 cat >conftest.$ac_ext <<_ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11927 rm -f conftest.$ac_objext
11928 if { (ac_try="$ac_compile"
11929 case "(($ac_try" in
11930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11934 (eval "$ac_compile") 2>conftest.er1
11936 grep -v '^ *+' conftest.er1 >conftest.err
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } && {
11941 test -z "$ac_c_werror_flag" ||
11942 test ! -s conftest.err
11943 } && test -s conftest.$ac_objext; then
11944 ac_cv_have_decl_frexp=yes
11946 echo "$as_me: failed program was:" >&5
11947 sed 's/^/| /' conftest.$ac_ext >&5
11949 ac_cv_have_decl_frexp=no
11952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11954 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_frexp" >&5
11955 echo "${ECHO_T}$ac_cv_have_decl_frexp" >&6; }
11956 if test $ac_cv_have_decl_frexp = yes; then
11958 cat >>confdefs.h <<_ACEOF
11959 #define HAVE_DECL_FREXP 1
11964 cat >>confdefs.h <<_ACEOF
11965 #define HAVE_DECL_FREXP 0
11972 { echo "$as_me:$LINENO: checking whether isinf is declared" >&5
11973 echo $ECHO_N "checking whether isinf is declared... $ECHO_C" >&6; }
11974 if test "${ac_cv_have_decl_isinf+set}" = set; then
11975 echo $ECHO_N "(cached) $ECHO_C" >&6
11977 cat >conftest.$ac_ext <<_ACEOF
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11996 rm -f conftest.$ac_objext
11997 if { (ac_try="$ac_compile"
11998 case "(($ac_try" in
11999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000 *) ac_try_echo=$ac_try;;
12002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12003 (eval "$ac_compile") 2>conftest.er1
12005 grep -v '^ *+' conftest.er1 >conftest.err
12007 cat conftest.err >&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && {
12010 test -z "$ac_c_werror_flag" ||
12011 test ! -s conftest.err
12012 } && test -s conftest.$ac_objext; then
12013 ac_cv_have_decl_isinf=yes
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_have_decl_isinf=no
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isinf" >&5
12024 echo "${ECHO_T}$ac_cv_have_decl_isinf" >&6; }
12025 if test $ac_cv_have_decl_isinf = yes; then
12027 cat >>confdefs.h <<_ACEOF
12028 #define HAVE_DECL_ISINF 1
12033 cat >>confdefs.h <<_ACEOF
12034 #define HAVE_DECL_ISINF 0
12041 { echo "$as_me:$LINENO: checking whether isfinite is declared" >&5
12042 echo $ECHO_N "checking whether isfinite is declared... $ECHO_C" >&6; }
12043 if test "${ac_cv_have_decl_isfinite+set}" = set; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 cat >conftest.$ac_ext <<_ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12065 rm -f conftest.$ac_objext
12066 if { (ac_try="$ac_compile"
12067 case "(($ac_try" in
12068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12069 *) ac_try_echo=$ac_try;;
12071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12072 (eval "$ac_compile") 2>conftest.er1
12074 grep -v '^ *+' conftest.er1 >conftest.err
12076 cat conftest.err >&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } && {
12079 test -z "$ac_c_werror_flag" ||
12080 test ! -s conftest.err
12081 } && test -s conftest.$ac_objext; then
12082 ac_cv_have_decl_isfinite=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12087 ac_cv_have_decl_isfinite=no
12090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12092 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isfinite" >&5
12093 echo "${ECHO_T}$ac_cv_have_decl_isfinite" >&6; }
12094 if test $ac_cv_have_decl_isfinite = yes; then
12096 cat >>confdefs.h <<_ACEOF
12097 #define HAVE_DECL_ISFINITE 1
12102 cat >>confdefs.h <<_ACEOF
12103 #define HAVE_DECL_ISFINITE 0
12110 { echo "$as_me:$LINENO: checking whether finite is declared" >&5
12111 echo $ECHO_N "checking whether finite is declared... $ECHO_C" >&6; }
12112 if test "${ac_cv_have_decl_finite+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 cat >conftest.$ac_ext <<_ACEOF
12118 cat confdefs.h >>conftest.$ac_ext
12119 cat >>conftest.$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12123 #include <ieeefp.h>
12137 rm -f conftest.$ac_objext
12138 if { (ac_try="$ac_compile"
12139 case "(($ac_try" in
12140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12141 *) ac_try_echo=$ac_try;;
12143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12144 (eval "$ac_compile") 2>conftest.er1
12146 grep -v '^ *+' conftest.er1 >conftest.err
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } && {
12151 test -z "$ac_c_werror_flag" ||
12152 test ! -s conftest.err
12153 } && test -s conftest.$ac_objext; then
12154 ac_cv_have_decl_finite=yes
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12159 ac_cv_have_decl_finite=no
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12164 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_finite" >&5
12165 echo "${ECHO_T}$ac_cv_have_decl_finite" >&6; }
12166 if test $ac_cv_have_decl_finite = yes; then
12168 cat >>confdefs.h <<_ACEOF
12169 #define HAVE_DECL_FINITE 1
12174 cat >>confdefs.h <<_ACEOF
12175 #define HAVE_DECL_FINITE 0
12182 { echo "$as_me:$LINENO: checking whether isnan is declared" >&5
12183 echo $ECHO_N "checking whether isnan is declared... $ECHO_C" >&6; }
12184 if test "${ac_cv_have_decl_isnan+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 cat >conftest.$ac_ext <<_ACEOF
12190 cat confdefs.h >>conftest.$ac_ext
12191 cat >>conftest.$ac_ext <<_ACEOF
12192 /* end confdefs.h. */
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210 *) ac_try_echo=$ac_try;;
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12215 grep -v '^ *+' conftest.er1 >conftest.err
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.$ac_objext; then
12223 ac_cv_have_decl_isnan=yes
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12228 ac_cv_have_decl_isnan=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12233 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_isnan" >&5
12234 echo "${ECHO_T}$ac_cv_have_decl_isnan" >&6; }
12235 if test $ac_cv_have_decl_isnan = yes; then
12237 cat >>confdefs.h <<_ACEOF
12238 #define HAVE_DECL_ISNAN 1
12243 cat >>confdefs.h <<_ACEOF
12244 #define HAVE_DECL_ISNAN 0
12254 { echo "$as_me:$LINENO: result: avoiding OpenBSD system log1p - using gsl version" >&5
12255 echo "${ECHO_T}avoiding OpenBSD system log1p - using gsl version" >&6; }
12258 { echo "$as_me:$LINENO: checking whether log1p is declared" >&5
12259 echo $ECHO_N "checking whether log1p is declared... $ECHO_C" >&6; }
12260 if test "${ac_cv_have_decl_log1p+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 cat >conftest.$ac_ext <<_ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12282 rm -f conftest.$ac_objext
12283 if { (ac_try="$ac_compile"
12284 case "(($ac_try" in
12285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12286 *) ac_try_echo=$ac_try;;
12288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12289 (eval "$ac_compile") 2>conftest.er1
12291 grep -v '^ *+' conftest.er1 >conftest.err
12293 cat conftest.err >&5
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && {
12296 test -z "$ac_c_werror_flag" ||
12297 test ! -s conftest.err
12298 } && test -s conftest.$ac_objext; then
12299 ac_cv_have_decl_log1p=yes
12301 echo "$as_me: failed program was:" >&5
12302 sed 's/^/| /' conftest.$ac_ext >&5
12304 ac_cv_have_decl_log1p=no
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12309 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_log1p" >&5
12310 echo "${ECHO_T}$ac_cv_have_decl_log1p" >&6; }
12311 if test $ac_cv_have_decl_log1p = yes; then
12313 cat >>confdefs.h <<_ACEOF
12314 #define HAVE_DECL_LOG1P 1
12319 cat >>confdefs.h <<_ACEOF
12320 #define HAVE_DECL_LOG1P 0
12330 { echo "$as_me:$LINENO: checking for long double stdio" >&5
12331 echo $ECHO_N "checking for long double stdio... $ECHO_C" >&6; }
12332 if test "${ac_cv_func_printf_longdouble+set}" = set; then
12333 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 if test "$cross_compiling" = yes; then
12336 ac_cv_func_printf_longdouble="no"
12338 cat >conftest.$ac_ext <<_ACEOF
12341 cat confdefs.h >>conftest.$ac_ext
12342 cat >>conftest.$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12345 #include <stdlib.h>
12349 const char * s = "5678.25"; long double x = 1.234 ;
12350 fprintf(stderr,"%Lg\n",x) ;
12351 sscanf(s, "%Lg", &x);
12352 if (x == 5678.25) {exit (0);} else {exit(1); };
12355 rm -f conftest$ac_exeext
12356 if { (ac_try="$ac_link"
12357 case "(($ac_try" in
12358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12359 *) ac_try_echo=$ac_try;;
12361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12362 (eval "$ac_link") 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12366 { (case "(($ac_try" in
12367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368 *) ac_try_echo=$ac_try;;
12370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371 (eval "$ac_try") 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 ac_cv_func_printf_longdouble="yes"
12377 echo "$as_me: program exited with status $ac_status" >&5
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.$ac_ext >&5
12381 ( exit $ac_status )
12382 ac_cv_func_printf_longdouble="no"
12384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12389 { echo "$as_me:$LINENO: result: $ac_cv_func_printf_longdouble" >&5
12390 echo "${ECHO_T}$ac_cv_func_printf_longdouble" >&6; }
12392 if test "$ac_cv_func_printf_longdouble" != no; then
12394 cat >>confdefs.h <<\_ACEOF
12395 #define HAVE_PRINTF_LONGDOUBLE 1
12400 { echo "$as_me:$LINENO: checking for extended floating point registers" >&5
12401 echo $ECHO_N "checking for extended floating point registers... $ECHO_C" >&6; }
12402 if test "${ac_cv_c_extended_fp+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 ac_cv_c_extended_fp=no
12410 ac_cv_c_extended_fp=no
12413 ac_cv_c_extended_fp=no
12416 ac_cv_c_extended_fp=no
12419 ac_cv_c_extended_fp=yes
12422 ac_cv_c_extended_fp=yes
12425 ac_cv_c_extended_fp=yes
12428 ac_cv_c_extended_fp=unknown
12433 { echo "$as_me:$LINENO: result: $ac_cv_c_extended_fp" >&5
12434 echo "${ECHO_T}$ac_cv_c_extended_fp" >&6; }
12436 if test $ac_cv_c_extended_fp != "no" ; then
12438 cat >>confdefs.h <<\_ACEOF
12439 #define HAVE_EXTENDED_PRECISION_REGISTERS 1
12444 { echo "$as_me:$LINENO: checking for IEEE arithmetic interface type" >&5
12445 echo $ECHO_N "checking for IEEE arithmetic interface type... $ECHO_C" >&6; }
12446 if test "${ac_cv_c_ieee_interface+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 ac_cv_c_ieee_interface=gnusparc
12454 ac_cv_c_ieee_interface=gnum68k
12457 ac_cv_c_ieee_interface=gnuppc
12459 *86-*-gnu | *86_64-*-gnu | *86-*-linux* | *86_64-*-linux*)
12460 ac_cv_c_ieee_interface=gnux86
12463 ac_cv_c_ieee_interface=sunos4
12466 ac_cv_c_ieee_interface=solaris
12469 ac_cv_c_ieee_interface=hpux11
12472 ac_cv_c_ieee_interface=hpux
12475 ac_cv_c_ieee_interface=tru64
12478 ac_cv_c_ieee_interface=aix
12481 ac_cv_c_ieee_interface=irix
12483 powerpc-*-*darwin*)
12484 ac_cv_c_ieee_interface=darwin
12487 ac_cv_c_ieee_interface=darwin86
12490 ac_cv_c_ieee_interface=netbsd
12493 ac_cv_c_ieee_interface=openbsd
12496 ac_cv_c_ieee_interface=freebsd
12499 ac_cv_c_ieee_interface=os2emx
12502 ac_cv_c_ieee_interface=unknown
12507 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_interface" >&5
12508 echo "${ECHO_T}$ac_cv_c_ieee_interface" >&6; }
12510 if test "$ac_cv_c_ieee_interface" = "gnux86" ; then
12511 { echo "$as_me:$LINENO: checking for FPU_SETCW" >&5
12512 echo $ECHO_N "checking for FPU_SETCW... $ECHO_C" >&6; }
12513 if test "${ac_cv_c_fpu_setcw+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 ac_cv_c_fpu_setcw=no
12517 cat >conftest.$ac_ext <<_ACEOF
12520 cat confdefs.h >>conftest.$ac_ext
12521 cat >>conftest.$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 #include <fpu_control.h>
12525 #include <i386/fpu_control.h>
12526 #define _FPU_SETCW(cw) __setfpucw(cw)
12532 unsigned short mode = 0 ; _FPU_SETCW(mode);
12537 rm -f conftest.$ac_objext
12538 if { (ac_try="$ac_compile"
12539 case "(($ac_try" in
12540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12541 *) ac_try_echo=$ac_try;;
12543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12544 (eval "$ac_compile") 2>conftest.er1
12546 grep -v '^ *+' conftest.er1 >conftest.err
12548 cat conftest.err >&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } && {
12551 test -z "$ac_c_werror_flag" ||
12552 test ! -s conftest.err
12553 } && test -s conftest.$ac_objext; then
12554 ac_cv_c_fpu_setcw="yes"
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.$ac_ext >&5
12559 ac_cv_c_ieee_interface=unknown
12562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12565 { echo "$as_me:$LINENO: result: $ac_cv_c_fpu_setcw" >&5
12566 echo "${ECHO_T}$ac_cv_c_fpu_setcw" >&6; }
12569 if test "$ac_cv_c_ieee_interface" = "gnux86" ; then
12570 { echo "$as_me:$LINENO: checking for SSE extensions" >&5
12571 echo $ECHO_N "checking for SSE extensions... $ECHO_C" >&6; }
12572 if test "${ac_cv_c_fpu_sse+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 if test "$cross_compiling" = yes; then
12577 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12578 See \`config.log' for more details." >&5
12579 echo "$as_me: error: cannot run test program while cross compiling
12580 See \`config.log' for more details." >&2;}
12581 { (exit 1); exit 1; }; }
12583 cat >conftest.$ac_ext <<_ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12590 #include <stdlib.h>
12591 #define _FPU_SETMXCSR(cw_sse) asm volatile ("ldmxcsr %0" : : "m" (*&cw_sse))
12596 unsigned int mode = 0x1f80 ; _FPU_SETMXCSR(mode); exit(0);
12601 rm -f conftest$ac_exeext
12602 if { (ac_try="$ac_link"
12603 case "(($ac_try" in
12604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605 *) ac_try_echo=$ac_try;;
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_link") 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12612 { (case "(($ac_try" in
12613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12614 *) ac_try_echo=$ac_try;;
12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617 (eval "$ac_try") 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_c_fpu_sse="yes"
12623 echo "$as_me: program exited with status $ac_status" >&5
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12634 { echo "$as_me:$LINENO: result: $ac_cv_c_fpu_sse" >&5
12635 echo "${ECHO_T}$ac_cv_c_fpu_sse" >&6; }
12636 if test $ac_cv_c_fpu_sse = yes; then
12638 cat >>confdefs.h <<\_ACEOF
12639 #define HAVE_FPU_X86_SSE 1
12645 ac_tr_ieee_interface=HAVE_`echo $ac_cv_c_ieee_interface | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`_IEEE_INTERFACE
12647 cat >>confdefs.h <<_ACEOF
12648 #define $ac_tr_ieee_interface 1
12671 save_cflags="$CFLAGS"
12672 { echo "$as_me:$LINENO: checking for IEEE compiler flags" >&5
12673 echo $ECHO_N "checking for IEEE compiler flags... $ECHO_C" >&6; }
12674 if test "${ac_cv_c_ieee_flags+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 if test X"$GCC" = Xyes ; then
12681 ieee_flags='-mieee -mfp-rounding-mode=d'
12683 # This assumes Compaq's C compiler.
12684 ieee_flags='-ieee -fprm d'
12688 if test X"$ieee_flags" != X ; then
12689 CFLAGS="$ieee_flags $CFLAGS"
12690 cat >conftest.$ac_ext <<_ACEOF
12693 cat confdefs.h >>conftest.$ac_ext
12694 cat >>conftest.$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12705 rm -f conftest.$ac_objext
12706 if { (ac_try="$ac_compile"
12707 case "(($ac_try" in
12708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709 *) ac_try_echo=$ac_try;;
12711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712 (eval "$ac_compile") 2>conftest.er1
12714 grep -v '^ *+' conftest.er1 >conftest.err
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } && {
12719 test -z "$ac_c_werror_flag" ||
12720 test ! -s conftest.err
12721 } && test -s conftest.$ac_objext; then
12722 ac_cv_c_ieee_flags="$ieee_flags"
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12727 ac_cv_c_ieee_flags="none"
12730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12732 ac_cv_c_ieee_flags="none"
12735 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_flags" >&5
12736 echo "${ECHO_T}$ac_cv_c_ieee_flags" >&6; }
12738 if test "$ac_cv_c_ieee_flags" != "none" ; then
12739 CFLAGS="$ac_cv_c_ieee_flags $save_cflags"
12741 CFLAGS="$save_cflags"
12744 { echo "$as_me:$LINENO: checking for IEEE comparisons" >&5
12745 echo $ECHO_N "checking for IEEE comparisons... $ECHO_C" >&6; }
12746 if test "${ac_cv_c_ieee_comparisons+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 if test "$cross_compiling" = yes; then
12750 ac_cv_c_ieee_comparisons="yes"
12752 cat >conftest.$ac_ext <<_ACEOF
12755 cat confdefs.h >>conftest.$ac_ext
12756 cat >>conftest.$ac_ext <<_ACEOF
12757 /* end confdefs.h. */
12762 int status; double inf, nan;
12765 status = (nan == nan);
12769 rm -f conftest$ac_exeext
12770 if { (ac_try="$ac_link"
12771 case "(($ac_try" in
12772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12773 *) ac_try_echo=$ac_try;;
12775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12776 (eval "$ac_link") 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12780 { (case "(($ac_try" in
12781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782 *) ac_try_echo=$ac_try;;
12784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785 (eval "$ac_try") 2>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12789 ac_cv_c_ieee_comparisons="yes"
12791 echo "$as_me: program exited with status $ac_status" >&5
12792 echo "$as_me: failed program was:" >&5
12793 sed 's/^/| /' conftest.$ac_ext >&5
12795 ( exit $ac_status )
12796 ac_cv_c_ieee_comparisons="no"
12798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12804 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_comparisons" >&5
12805 echo "${ECHO_T}$ac_cv_c_ieee_comparisons" >&6; }
12807 if test "$ac_cv_c_ieee_comparisons" != no ; then
12809 cat >>confdefs.h <<\_ACEOF
12810 #define HAVE_IEEE_COMPARISONS 1
12815 { echo "$as_me:$LINENO: checking for IEEE denormalized values" >&5
12816 echo $ECHO_N "checking for IEEE denormalized values... $ECHO_C" >&6; }
12817 if test "${ac_cv_c_ieee_denormals+set}" = set; then
12818 echo $ECHO_N "(cached) $ECHO_C" >&6
12820 if test "$cross_compiling" = yes; then
12821 ac_cv_c_ieee_denormals="yes"
12823 cat >conftest.$ac_ext <<_ACEOF
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12834 volatile double z = 1e-308;
12835 for (i = 0; i < 5; i++) { z = z / 10.0 ; };
12836 for (i = 0; i < 5; i++) { z = z * 10.0 ; };
12837 status = (z == 0.0);
12841 rm -f conftest$ac_exeext
12842 if { (ac_try="$ac_link"
12843 case "(($ac_try" in
12844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12845 *) ac_try_echo=$ac_try;;
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 (eval "$ac_link") 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 ac_cv_c_ieee_denormals="yes"
12863 echo "$as_me: program exited with status $ac_status" >&5
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12867 ( exit $ac_status )
12868 ac_cv_c_ieee_denormals="no"
12870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12876 { echo "$as_me:$LINENO: result: $ac_cv_c_ieee_denormals" >&5
12877 echo "${ECHO_T}$ac_cv_c_ieee_denormals" >&6; }
12879 if test "$ac_cv_c_ieee_denormals" != no ; then
12881 cat >>confdefs.h <<\_ACEOF
12882 #define HAVE_IEEE_DENORMALS 1
12911 ac_config_files="$ac_config_files gsl-config gsl.pc gsl_version.h gsl.spec gsl/Makefile test/Makefile err/Makefile sys/Makefile utils/Makefile const/Makefile min/Makefile multimin/Makefile ieee-utils/Makefile fft/Makefile specfunc/Makefile dht/Makefile fit/Makefile multifit/Makefile bspline/Makefile statistics/Makefile sum/Makefile roots/Makefile multiroots/Makefile ntuple/Makefile poly/Makefile qrng/Makefile rng/Makefile randist/Makefile siman/Makefile integration/Makefile interpolation/Makefile doc/Makefile block/Makefile vector/Makefile matrix/Makefile histogram/Makefile monte/Makefile ode-initval/Makefile cblas/Makefile blas/Makefile linalg/Makefile eigen/Makefile permutation/Makefile combination/Makefile sort/Makefile complex/Makefile diff/Makefile deriv/Makefile cheb/Makefile cdf/Makefile wavelet/Makefile Makefile"
12913 cat >confcache <<\_ACEOF
12914 # This file is a shell script that caches the results of configure
12915 # tests run on this system so they can be shared between configure
12916 # scripts and configure runs, see configure's option --config-cache.
12917 # It is not useful on other systems. If it contains results you don't
12918 # want to keep, you may remove or edit it.
12920 # config.status only pays attention to the cache file if you give it
12921 # the --recheck option to rerun configure.
12923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12925 # following values.
12929 # The following way of writing the cache mishandles newlines in values,
12930 # but we know of no workaround that is simple, portable, and efficient.
12931 # So, we kill variables containing newlines.
12932 # Ultrix sh set writes to stderr and can't be redirected directly,
12933 # and sets the high bit in the cache file unless we assign to the vars.
12935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12936 eval ac_val=\$$ac_var
12940 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12941 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12944 _ | IFS | as_nl) ;; #(
12945 *) $as_unset $ac_var ;;
12951 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12952 *${as_nl}ac_space=\ *)
12953 # `set' does not quote correctly, so add quotes (double-quote
12954 # substitution turns \\\\ into \\, and sed turns \\ into \).
12957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12960 # `set' quotes correctly as required by POSIX, so do not add quotes.
12961 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12970 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12972 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12975 if test -w "$cache_file"; then
12976 test "x$cache_file" != "x/dev/null" &&
12977 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12978 echo "$as_me: updating cache $cache_file" >&6;}
12979 cat confcache >$cache_file
12981 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12982 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12987 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12988 # Let make expand exec_prefix.
12989 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12991 DEFS=-DHAVE_CONFIG_H
12995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12996 # 1. Remove the extension, and $U if already installed.
12997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12998 ac_i=`echo "$ac_i" | sed "$ac_script"`
12999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13000 # will be set to the directory where LIBOBJS objects are built.
13001 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13002 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13004 LIBOBJS=$ac_libobjs
13006 LTLIBOBJS=$ac_ltlibobjs
13009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13010 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13011 Usually this means the macro was only invoked conditionally." >&5
13012 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13013 Usually this means the macro was only invoked conditionally." >&2;}
13014 { (exit 1); exit 1; }; }
13016 if test -z "${MINGW32_HOST_TRUE}" && test -z "${MINGW32_HOST_FALSE}"; then
13017 { { echo "$as_me:$LINENO: error: conditional \"MINGW32_HOST\" was never defined.
13018 Usually this means the macro was only invoked conditionally." >&5
13019 echo "$as_me: error: conditional \"MINGW32_HOST\" was never defined.
13020 Usually this means the macro was only invoked conditionally." >&2;}
13021 { (exit 1); exit 1; }; }
13024 : ${CONFIG_STATUS=./config.status}
13025 ac_clean_files_save=$ac_clean_files
13026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13027 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13028 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13029 cat >$CONFIG_STATUS <<_ACEOF
13031 # Generated by $as_me.
13032 # Run this file to recreate the current configuration.
13033 # Compiler output produced by configure, useful for debugging
13034 # configure, is in config.log if it exists.
13037 ac_cs_recheck=false
13039 SHELL=\${CONFIG_SHELL-$SHELL}
13042 cat >>$CONFIG_STATUS <<\_ACEOF
13043 ## --------------------- ##
13044 ## M4sh Initialization. ##
13045 ## --------------------- ##
13047 # Be more Bourne compatible
13048 DUALCASE=1; export DUALCASE # for MKS sh
13049 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13052 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13053 # is contrary to our usage. Disable this feature.
13054 alias -g '${1+"$@"}'='"$@"'
13055 setopt NO_GLOB_SUBST
13057 case `(set -o) 2>/dev/null` in
13058 *posix*) set -o posix ;;
13067 # Avoid depending upon Character Ranges.
13068 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13071 as_cr_digits='0123456789'
13072 as_cr_alnum=$as_cr_Letters$as_cr_digits
13074 # The user is always right.
13075 if test "${PATH_SEPARATOR+set}" != set; then
13076 echo "#! /bin/sh" >conf$$.sh
13077 echo "exit 0" >>conf$$.sh
13079 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13087 # Support unset when possible.
13088 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13096 # We need space, tab and new line, in precisely that order. Quoting is
13097 # there to prevent editors from complaining about space-tab.
13098 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13099 # splitting by setting IFS to empty value.)
13104 # Find who we are. Look in the path if we contain no directory separator.
13106 *[\\/]* ) as_myself=$0 ;;
13107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13108 for as_dir in $PATH
13111 test -z "$as_dir" && as_dir=.
13112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13118 # We did not find ourselves, most probably we were run as `sh COMMAND'
13119 # in which case we are not to be found in the path.
13120 if test "x$as_myself" = x; then
13123 if test ! -f "$as_myself"; then
13124 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13125 { (exit 1); exit 1; }
13128 # Work around bugs in pre-3.0 UWIN ksh.
13129 for as_var in ENV MAIL MAILPATH
13130 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13138 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13139 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13140 LC_TELEPHONE LC_TIME
13142 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13143 eval $as_var=C; export $as_var
13145 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13149 # Required to use basename.
13150 if expr a : '\(a\)' >/dev/null 2>&1 &&
13151 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13158 as_basename=basename
13164 # Name of the executable.
13165 as_me=`$as_basename -- "$0" ||
13166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13167 X"$0" : 'X\(//\)$' \| \
13168 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13170 sed '/^.*\/\([^/][^/]*\)\/*$/{
13189 as_lineno_1=$LINENO
13190 as_lineno_2=$LINENO
13191 test "x$as_lineno_1" != "x$as_lineno_2" &&
13192 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13194 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13195 # uniformly replaced by the line number. The first 'sed' inserts a
13196 # line-number line after each line using $LINENO; the second 'sed'
13197 # does the real work. The second script uses 'N' to pair each
13198 # line-number line with the line containing $LINENO, and appends
13199 # trailing '-' during substitution so that $LINENO is not a special
13200 # case at line end.
13201 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13202 # scripts with optimization help from Paolo Bonzini. Blame Lee
13203 # E. McMahon (1931-1989) for sed's syntax. :-)
13215 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13218 ' >$as_me.lineno &&
13219 chmod +x "$as_me.lineno" ||
13220 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13221 { (exit 1); exit 1; }; }
13223 # Don't try to exec as it changes $[0], causing all sort of problems
13224 # (the dirname of $[0] is not the place where we might find the
13225 # original and so on. Autoconf is especially sensitive to this).
13226 . "./$as_me.lineno"
13227 # Exit status is that of the last command.
13232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13238 ECHO_C= ECHO_N= ECHO_T=
13239 case `echo -n x` in
13241 case `echo 'x\c'` in
13242 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13249 if expr a : '\(a\)' >/dev/null 2>&1 &&
13250 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13256 rm -f conf$$ conf$$.exe conf$$.file
13257 if test -d conf$$.dir; then
13258 rm -f conf$$.dir/conf$$.file
13264 if ln -s conf$$.file conf$$ 2>/dev/null; then
13266 # ... but there are two gotchas:
13267 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13268 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13269 # In both cases, we have to default to `cp -p'.
13270 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13272 elif ln conf$$.file conf$$ 2>/dev/null; then
13277 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13278 rmdir conf$$.dir 2>/dev/null
13280 if mkdir -p . 2>/dev/null; then
13283 test -d ./-p && rmdir ./-p
13287 if test -x / >/dev/null 2>&1; then
13288 as_test_x='test -x'
13290 if ls -dL / >/dev/null 2>&1; then
13297 if test -d "$1"; then
13303 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13304 ???[sx]*):;;*)false;;esac;fi
13308 as_executable_p=$as_test_x
13310 # Sed expression to map a string onto a valid CPP name.
13311 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13313 # Sed expression to map a string onto a valid variable name.
13314 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13319 # Save the log message, to keep $[0] and so on meaningful, and to
13320 # report actual input values of CONFIG_FILES etc. instead of their
13321 # values after options handling.
13323 This file was extended by gsl $as_me 1.11, which was
13324 generated by GNU Autoconf 2.61. Invocation command line was
13326 CONFIG_FILES = $CONFIG_FILES
13327 CONFIG_HEADERS = $CONFIG_HEADERS
13328 CONFIG_LINKS = $CONFIG_LINKS
13329 CONFIG_COMMANDS = $CONFIG_COMMANDS
13332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13337 cat >>$CONFIG_STATUS <<_ACEOF
13338 # Files that config.status was made for.
13339 config_files="$ac_config_files"
13340 config_headers="$ac_config_headers"
13341 config_commands="$ac_config_commands"
13345 cat >>$CONFIG_STATUS <<\_ACEOF
13347 \`$as_me' instantiates files from templates according to the
13348 current configuration.
13350 Usage: $0 [OPTIONS] [FILE]...
13352 -h, --help print this help, then exit
13353 -V, --version print version number and configuration settings, then exit
13354 -q, --quiet do not print progress messages
13355 -d, --debug don't remove temporary files
13356 --recheck update $as_me by reconfiguring in the same conditions
13357 --file=FILE[:TEMPLATE]
13358 instantiate the configuration file FILE
13359 --header=FILE[:TEMPLATE]
13360 instantiate the configuration header FILE
13362 Configuration files:
13365 Configuration headers:
13368 Configuration commands:
13371 Report bugs to <bug-autoconf@gnu.org>."
13374 cat >>$CONFIG_STATUS <<_ACEOF
13376 gsl config.status 1.11
13377 configured by $0, generated by GNU Autoconf 2.61,
13378 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13380 Copyright (C) 2006 Free Software Foundation, Inc.
13381 This config.status script is free software; the Free Software Foundation
13382 gives unlimited permission to copy, distribute and modify it."
13390 cat >>$CONFIG_STATUS <<\_ACEOF
13391 # If no file are specified by the user, then we need to provide default
13392 # value. By we need to know if files were specified by the user.
13398 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13399 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13410 # Handling of the options.
13411 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13413 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13414 echo "$ac_cs_version"; exit ;;
13415 --debug | --debu | --deb | --de | --d | -d )
13417 --file | --fil | --fi | --f )
13419 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13420 ac_need_defaults=false;;
13421 --header | --heade | --head | --hea )
13423 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13424 ac_need_defaults=false;;
13426 # Conflict between --help and --header
13427 { echo "$as_me: error: ambiguous option: $1
13428 Try \`$0 --help' for more information." >&2
13429 { (exit 1); exit 1; }; };;
13430 --help | --hel | -h )
13431 echo "$ac_cs_usage"; exit ;;
13432 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13433 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13436 # This is an error.
13437 -*) { echo "$as_me: error: unrecognized option: $1
13438 Try \`$0 --help' for more information." >&2
13439 { (exit 1); exit 1; }; } ;;
13441 *) ac_config_targets="$ac_config_targets $1"
13442 ac_need_defaults=false ;;
13448 ac_configure_extra_args=
13450 if $ac_cs_silent; then
13452 ac_configure_extra_args="$ac_configure_extra_args --silent"
13456 cat >>$CONFIG_STATUS <<_ACEOF
13457 if \$ac_cs_recheck; then
13458 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13459 CONFIG_SHELL=$SHELL
13460 export CONFIG_SHELL
13461 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13465 cat >>$CONFIG_STATUS <<\_ACEOF
13469 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13470 ## Running $as_me. ##
13476 cat >>$CONFIG_STATUS <<_ACEOF
13482 # The HP-UX ksh and POSIX shell print the target directory to stdout
13483 # if CDPATH is set.
13484 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13486 sed_quote_subst='$sed_quote_subst'
13487 double_quote_subst='$double_quote_subst'
13488 delay_variable_subst='$delay_variable_subst'
13489 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13490 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13491 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13492 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13493 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13494 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13495 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13496 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13497 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13498 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13499 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13500 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13501 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13502 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13503 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13504 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13505 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13506 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13507 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13508 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13509 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13510 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13511 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13512 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13513 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13514 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13515 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13516 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13517 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13518 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13519 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13520 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13521 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13522 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13523 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13524 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13525 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13526 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13527 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13528 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13529 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13530 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13531 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13532 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13533 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13534 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13535 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13536 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13537 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13538 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13539 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13540 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13541 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13542 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13543 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13544 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13545 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13546 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13547 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13549 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13550 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13551 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13552 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13553 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13554 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13555 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13556 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13557 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13558 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13559 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13560 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13561 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13562 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13563 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13564 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13565 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13566 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13567 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13568 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13569 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13570 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13571 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13572 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13573 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13574 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13575 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13576 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13577 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13578 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13579 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13580 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13581 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13582 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13583 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13584 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13585 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13586 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13587 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13588 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13589 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13590 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13591 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13592 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13593 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13594 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13595 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13596 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13597 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13598 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13599 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13600 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13601 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13602 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13605 LTCFLAGS='$LTCFLAGS'
13606 compiler='$compiler_DEFAULT'
13608 # Quote evaled strings.
13619 deplibs_check_method \
13628 lt_cv_sys_global_symbol_pipe \
13629 lt_cv_sys_global_symbol_to_cdecl \
13630 lt_cv_sys_global_symbol_to_c_name_address \
13631 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13634 lt_prog_compiler_no_builtin_flag \
13635 lt_prog_compiler_wl \
13636 lt_prog_compiler_pic \
13637 lt_prog_compiler_static \
13638 lt_cv_prog_compiler_c_o \
13643 export_dynamic_flag_spec \
13644 whole_archive_flag_spec \
13645 compiler_needs_object \
13647 allow_undefined_flag \
13648 no_undefined_flag \
13649 hardcode_libdir_flag_spec \
13650 hardcode_libdir_flag_spec_ld \
13651 hardcode_libdir_separator \
13656 variables_saved_for_relink \
13658 library_names_spec \
13663 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13664 *[\\\\\\\`\\"\\\$]*)
13665 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13668 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13673 # Double-quote double-evaled strings.
13674 for var in reload_cmds \
13675 old_postinstall_cmds \
13676 old_postuninstall_cmds \
13678 extract_expsyms_cmds \
13679 old_archive_from_new_cmds \
13680 old_archive_from_expsyms_cmds \
13682 archive_expsym_cmds \
13684 module_expsym_cmds \
13685 export_symbols_cmds \
13688 postuninstall_cmds \
13690 sys_lib_search_path_spec \
13691 sys_lib_dlsearch_path_spec; do
13692 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13693 *[\\\\\\\`\\"\\\$]*)
13694 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13697 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13702 # Fix-up fallback echo if it was mangled by the above quoting rules.
13704 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13708 ac_aux_dir='$ac_aux_dir'
13709 xsi_shell='$xsi_shell'
13710 lt_shell_append='$lt_shell_append'
13712 # See if we are running on zsh, and set the options which allow our
13713 # commands through without removal of \ escapes INIT.
13714 if test -n "\${ZSH_VERSION+set}" ; then
13715 setopt NO_GLOB_SUBST
13721 TIMESTAMP='$TIMESTAMP'
13730 cat >>$CONFIG_STATUS <<\_ACEOF
13732 # Handling of arguments.
13733 for ac_config_target in $ac_config_targets
13735 case $ac_config_target in
13736 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13737 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13738 "gsl-config") CONFIG_FILES="$CONFIG_FILES gsl-config" ;;
13739 "gsl.pc") CONFIG_FILES="$CONFIG_FILES gsl.pc" ;;
13740 "gsl_version.h") CONFIG_FILES="$CONFIG_FILES gsl_version.h" ;;
13741 "gsl.spec") CONFIG_FILES="$CONFIG_FILES gsl.spec" ;;
13742 "gsl/Makefile") CONFIG_FILES="$CONFIG_FILES gsl/Makefile" ;;
13743 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13744 "err/Makefile") CONFIG_FILES="$CONFIG_FILES err/Makefile" ;;
13745 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
13746 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
13747 "const/Makefile") CONFIG_FILES="$CONFIG_FILES const/Makefile" ;;
13748 "min/Makefile") CONFIG_FILES="$CONFIG_FILES min/Makefile" ;;
13749 "multimin/Makefile") CONFIG_FILES="$CONFIG_FILES multimin/Makefile" ;;
13750 "ieee-utils/Makefile") CONFIG_FILES="$CONFIG_FILES ieee-utils/Makefile" ;;
13751 "fft/Makefile") CONFIG_FILES="$CONFIG_FILES fft/Makefile" ;;
13752 "specfunc/Makefile") CONFIG_FILES="$CONFIG_FILES specfunc/Makefile" ;;
13753 "dht/Makefile") CONFIG_FILES="$CONFIG_FILES dht/Makefile" ;;
13754 "fit/Makefile") CONFIG_FILES="$CONFIG_FILES fit/Makefile" ;;
13755 "multifit/Makefile") CONFIG_FILES="$CONFIG_FILES multifit/Makefile" ;;
13756 "bspline/Makefile") CONFIG_FILES="$CONFIG_FILES bspline/Makefile" ;;
13757 "statistics/Makefile") CONFIG_FILES="$CONFIG_FILES statistics/Makefile" ;;
13758 "sum/Makefile") CONFIG_FILES="$CONFIG_FILES sum/Makefile" ;;
13759 "roots/Makefile") CONFIG_FILES="$CONFIG_FILES roots/Makefile" ;;
13760 "multiroots/Makefile") CONFIG_FILES="$CONFIG_FILES multiroots/Makefile" ;;
13761 "ntuple/Makefile") CONFIG_FILES="$CONFIG_FILES ntuple/Makefile" ;;
13762 "poly/Makefile") CONFIG_FILES="$CONFIG_FILES poly/Makefile" ;;
13763 "qrng/Makefile") CONFIG_FILES="$CONFIG_FILES qrng/Makefile" ;;
13764 "rng/Makefile") CONFIG_FILES="$CONFIG_FILES rng/Makefile" ;;
13765 "randist/Makefile") CONFIG_FILES="$CONFIG_FILES randist/Makefile" ;;
13766 "siman/Makefile") CONFIG_FILES="$CONFIG_FILES siman/Makefile" ;;
13767 "integration/Makefile") CONFIG_FILES="$CONFIG_FILES integration/Makefile" ;;
13768 "interpolation/Makefile") CONFIG_FILES="$CONFIG_FILES interpolation/Makefile" ;;
13769 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13770 "block/Makefile") CONFIG_FILES="$CONFIG_FILES block/Makefile" ;;
13771 "vector/Makefile") CONFIG_FILES="$CONFIG_FILES vector/Makefile" ;;
13772 "matrix/Makefile") CONFIG_FILES="$CONFIG_FILES matrix/Makefile" ;;
13773 "histogram/Makefile") CONFIG_FILES="$CONFIG_FILES histogram/Makefile" ;;
13774 "monte/Makefile") CONFIG_FILES="$CONFIG_FILES monte/Makefile" ;;
13775 "ode-initval/Makefile") CONFIG_FILES="$CONFIG_FILES ode-initval/Makefile" ;;
13776 "cblas/Makefile") CONFIG_FILES="$CONFIG_FILES cblas/Makefile" ;;
13777 "blas/Makefile") CONFIG_FILES="$CONFIG_FILES blas/Makefile" ;;
13778 "linalg/Makefile") CONFIG_FILES="$CONFIG_FILES linalg/Makefile" ;;
13779 "eigen/Makefile") CONFIG_FILES="$CONFIG_FILES eigen/Makefile" ;;
13780 "permutation/Makefile") CONFIG_FILES="$CONFIG_FILES permutation/Makefile" ;;
13781 "combination/Makefile") CONFIG_FILES="$CONFIG_FILES combination/Makefile" ;;
13782 "sort/Makefile") CONFIG_FILES="$CONFIG_FILES sort/Makefile" ;;
13783 "complex/Makefile") CONFIG_FILES="$CONFIG_FILES complex/Makefile" ;;
13784 "diff/Makefile") CONFIG_FILES="$CONFIG_FILES diff/Makefile" ;;
13785 "deriv/Makefile") CONFIG_FILES="$CONFIG_FILES deriv/Makefile" ;;
13786 "cheb/Makefile") CONFIG_FILES="$CONFIG_FILES cheb/Makefile" ;;
13787 "cdf/Makefile") CONFIG_FILES="$CONFIG_FILES cdf/Makefile" ;;
13788 "wavelet/Makefile") CONFIG_FILES="$CONFIG_FILES wavelet/Makefile" ;;
13789 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13791 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13792 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13793 { (exit 1); exit 1; }; };;
13798 # If the user did not use the arguments to specify the items to instantiate,
13799 # then the envvar interface is used. Set only those that are not.
13800 # We use the long form for the default assignment because of an extremely
13801 # bizarre bug on SunOS 4.1.3.
13802 if $ac_need_defaults; then
13803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13808 # Have a temporary directory for convenience. Make it in the build tree
13809 # simply because there is no reason against having it here, and in addition,
13810 # creating and moving files from /tmp can sometimes cause problems.
13811 # Hook for its removal unless debugging.
13812 # Note that there is a small window in which the directory will not be cleaned:
13813 # after its creation but before its name has been assigned to `$tmp'.
13817 trap 'exit_status=$?
13818 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13820 trap '{ (exit 1); exit 1; }' 1 2 13 15
13822 # Create a (secure) tmp directory for tmp files.
13825 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13826 test -n "$tmp" && test -d "$tmp"
13829 tmp=./conf$$-$RANDOM
13830 (umask 077 && mkdir "$tmp")
13833 echo "$me: cannot create a temporary directory in ." >&2
13834 { (exit 1); exit 1; }
13838 # Set up the sed scripts for CONFIG_FILES section.
13841 # No need to generate the scripts if there are no CONFIG_FILES.
13842 # This happens for instance when ./config.status config.h
13843 if test -n "$CONFIG_FILES"; then
13850 for ac_last_try in false false false false false :; do
13851 cat >conf$$subs.sed <<_ACEOF
13852 SHELL!$SHELL$ac_delim
13853 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13854 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13855 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13856 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13857 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13858 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13859 exec_prefix!$exec_prefix$ac_delim
13860 prefix!$prefix$ac_delim
13861 program_transform_name!$program_transform_name$ac_delim
13862 bindir!$bindir$ac_delim
13863 sbindir!$sbindir$ac_delim
13864 libexecdir!$libexecdir$ac_delim
13865 datarootdir!$datarootdir$ac_delim
13866 datadir!$datadir$ac_delim
13867 sysconfdir!$sysconfdir$ac_delim
13868 sharedstatedir!$sharedstatedir$ac_delim
13869 localstatedir!$localstatedir$ac_delim
13870 includedir!$includedir$ac_delim
13871 oldincludedir!$oldincludedir$ac_delim
13872 docdir!$docdir$ac_delim
13873 infodir!$infodir$ac_delim
13874 htmldir!$htmldir$ac_delim
13875 dvidir!$dvidir$ac_delim
13876 pdfdir!$pdfdir$ac_delim
13877 psdir!$psdir$ac_delim
13878 libdir!$libdir$ac_delim
13879 localedir!$localedir$ac_delim
13880 mandir!$mandir$ac_delim
13881 DEFS!$DEFS$ac_delim
13882 ECHO_C!$ECHO_C$ac_delim
13883 ECHO_N!$ECHO_N$ac_delim
13884 ECHO_T!$ECHO_T$ac_delim
13885 LIBS!$LIBS$ac_delim
13886 build_alias!$build_alias$ac_delim
13887 host_alias!$host_alias$ac_delim
13888 target_alias!$target_alias$ac_delim
13889 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13890 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13891 INSTALL_DATA!$INSTALL_DATA$ac_delim
13892 am__isrc!$am__isrc$ac_delim
13893 CYGPATH_W!$CYGPATH_W$ac_delim
13894 PACKAGE!$PACKAGE$ac_delim
13895 VERSION!$VERSION$ac_delim
13896 ACLOCAL!$ACLOCAL$ac_delim
13897 AUTOCONF!$AUTOCONF$ac_delim
13898 AUTOMAKE!$AUTOMAKE$ac_delim
13899 AUTOHEADER!$AUTOHEADER$ac_delim
13900 MAKEINFO!$MAKEINFO$ac_delim
13901 install_sh!$install_sh$ac_delim
13902 STRIP!$STRIP$ac_delim
13903 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13904 mkdir_p!$mkdir_p$ac_delim
13906 SET_MAKE!$SET_MAKE$ac_delim
13907 am__leading_dot!$am__leading_dot$ac_delim
13908 AMTAR!$AMTAR$ac_delim
13909 am__tar!$am__tar$ac_delim
13910 am__untar!$am__untar$ac_delim
13911 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
13912 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
13913 MAINT!$MAINT$ac_delim
13914 GSL_LT_VERSION!$GSL_LT_VERSION$ac_delim
13915 GSL_LT_CBLAS_VERSION!$GSL_LT_CBLAS_VERSION$ac_delim
13916 build!$build$ac_delim
13917 build_cpu!$build_cpu$ac_delim
13918 build_vendor!$build_vendor$ac_delim
13919 build_os!$build_os$ac_delim
13920 host!$host$ac_delim
13921 host_cpu!$host_cpu$ac_delim
13922 host_vendor!$host_vendor$ac_delim
13923 host_os!$host_os$ac_delim
13925 CFLAGS!$CFLAGS$ac_delim
13926 LDFLAGS!$LDFLAGS$ac_delim
13927 CPPFLAGS!$CPPFLAGS$ac_delim
13928 ac_ct_CC!$ac_ct_CC$ac_delim
13929 EXEEXT!$EXEEXT$ac_delim
13930 OBJEXT!$OBJEXT$ac_delim
13932 LN_S!$LN_S$ac_delim
13933 LIBTOOL!$LIBTOOL$ac_delim
13935 GREP!$GREP$ac_delim
13936 EGREP!$EGREP$ac_delim
13937 FGREP!$FGREP$ac_delim
13939 DUMPBIN!$DUMPBIN$ac_delim
13940 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13943 RANLIB!$RANLIB$ac_delim
13944 lt_ECHO!$lt_ECHO$ac_delim
13945 DSYMUTIL!$DSYMUTIL$ac_delim
13946 NMEDIT!$NMEDIT$ac_delim
13947 GSL_CFLAGS!$GSL_CFLAGS$ac_delim
13948 GSL_LIBS!$GSL_LIBS$ac_delim
13951 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13953 elif $ac_last_try; then
13954 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13956 { (exit 1); exit 1; }; }
13958 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13962 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13963 if test -n "$ac_eof"; then
13964 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13965 ac_eof=`expr $ac_eof + 1`
13968 cat >>$CONFIG_STATUS <<_ACEOF
13969 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13973 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13974 s/^/s,@/; s/!/@,|#_!!_#|/
13977 s/'"$ac_delim"'$/,g/; t
13979 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13980 ' >>$CONFIG_STATUS <conf$$subs.sed
13981 rm -f conf$$subs.sed
13982 cat >>$CONFIG_STATUS <<_ACEOF
13988 for ac_last_try in false false false false false :; do
13989 cat >conf$$subs.sed <<_ACEOF
13990 MINGW32_HOST_TRUE!$MINGW32_HOST_TRUE$ac_delim
13991 MINGW32_HOST_FALSE!$MINGW32_HOST_FALSE$ac_delim
13992 LIBOBJS!$LIBOBJS$ac_delim
13993 HAVE_GNUSPARC_IEEE_INTERFACE!$HAVE_GNUSPARC_IEEE_INTERFACE$ac_delim
13994 HAVE_GNUM68K_IEEE_INTERFACE!$HAVE_GNUM68K_IEEE_INTERFACE$ac_delim
13995 HAVE_GNUPPC_IEEE_INTERFACE!$HAVE_GNUPPC_IEEE_INTERFACE$ac_delim
13996 HAVE_GNUX86_IEEE_INTERFACE!$HAVE_GNUX86_IEEE_INTERFACE$ac_delim
13997 HAVE_SUNOS4_IEEE_INTERFACE!$HAVE_SUNOS4_IEEE_INTERFACE$ac_delim
13998 HAVE_SOLARIS_IEEE_INTERFACE!$HAVE_SOLARIS_IEEE_INTERFACE$ac_delim
13999 HAVE_HPUX11_IEEE_INTERFACE!$HAVE_HPUX11_IEEE_INTERFACE$ac_delim
14000 HAVE_HPUX_IEEE_INTERFACE!$HAVE_HPUX_IEEE_INTERFACE$ac_delim
14001 HAVE_TRU64_IEEE_INTERFACE!$HAVE_TRU64_IEEE_INTERFACE$ac_delim
14002 HAVE_IRIX_IEEE_INTERFACE!$HAVE_IRIX_IEEE_INTERFACE$ac_delim
14003 HAVE_AIX_IEEE_INTERFACE!$HAVE_AIX_IEEE_INTERFACE$ac_delim
14004 HAVE_FREEBSD_IEEE_INTERFACE!$HAVE_FREEBSD_IEEE_INTERFACE$ac_delim
14005 HAVE_OS2EMX_IEEE_INTERFACE!$HAVE_OS2EMX_IEEE_INTERFACE$ac_delim
14006 HAVE_NETBSD_IEEE_INTERFACE!$HAVE_NETBSD_IEEE_INTERFACE$ac_delim
14007 HAVE_OPENBSD_IEEE_INTERFACE!$HAVE_OPENBSD_IEEE_INTERFACE$ac_delim
14008 HAVE_DARWIN_IEEE_INTERFACE!$HAVE_DARWIN_IEEE_INTERFACE$ac_delim
14009 HAVE_DARWIN86_IEEE_INTERFACE!$HAVE_DARWIN86_IEEE_INTERFACE$ac_delim
14010 LTLIBOBJS!$LTLIBOBJS$ac_delim
14013 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
14015 elif $ac_last_try; then
14016 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14017 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14018 { (exit 1); exit 1; }; }
14020 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14024 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14025 if test -n "$ac_eof"; then
14026 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14027 ac_eof=`expr $ac_eof + 1`
14030 cat >>$CONFIG_STATUS <<_ACEOF
14031 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14035 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14036 s/^/s,@/; s/!/@,|#_!!_#|/
14039 s/'"$ac_delim"'$/,g/; t
14041 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14042 ' >>$CONFIG_STATUS <conf$$subs.sed
14043 rm -f conf$$subs.sed
14044 cat >>$CONFIG_STATUS <<_ACEOF
14051 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14052 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14053 # trailing colons and then remove the whole line if VPATH becomes empty
14054 # (actually we leave an empty line to preserve line numbers).
14055 if test "x$srcdir" = x.; then
14056 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14057 s/:*\$(srcdir):*/:/
14058 s/:*\${srcdir}:*/:/
14060 s/^\([^=]*=[ ]*\):*/\1/
14066 cat >>$CONFIG_STATUS <<\_ACEOF
14067 fi # test -n "$CONFIG_FILES"
14070 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
14073 :[FHLC]) ac_mode=$ac_tag; continue;;
14075 case $ac_mode$ac_tag in
14077 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14078 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14079 { (exit 1); exit 1; }; };;
14080 :[FH]-) ac_tag=-:-;;
14081 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14098 -) ac_f="$tmp/stdin";;
14099 *) # Look for the file first in the build tree, then in the source tree
14100 # (if the path is not absolute). The absolute path cannot be DOS-style,
14101 # because $ac_f cannot contain `:'.
14105 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14107 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14108 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14109 { (exit 1); exit 1; }; };;
14111 ac_file_inputs="$ac_file_inputs $ac_f"
14114 # Let's still pretend it is `configure' which instantiates (i.e., don't
14115 # use $as_me), people would be surprised to read:
14116 # /* config.h. Generated by config.status. */
14117 configure_input="Generated from "`IFS=:
14118 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14119 if test x"$ac_file" != x-; then
14120 configure_input="$ac_file. $configure_input"
14121 { echo "$as_me:$LINENO: creating $ac_file" >&5
14122 echo "$as_me: creating $ac_file" >&6;}
14126 *:-:* | *:-) cat >"$tmp/stdin";;
14131 ac_dir=`$as_dirname -- "$ac_file" ||
14132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14133 X"$ac_file" : 'X\(//\)[^/]' \| \
14134 X"$ac_file" : 'X\(//\)$' \| \
14135 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14141 /^X\(\/\/\)[^/].*/{
14156 -*) as_dir=./$as_dir;;
14158 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14162 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14163 *) as_qdir=$as_dir;;
14165 as_dirs="'$as_qdir' $as_dirs"
14166 as_dir=`$as_dirname -- "$as_dir" ||
14167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14168 X"$as_dir" : 'X\(//\)[^/]' \| \
14169 X"$as_dir" : 'X\(//\)$' \| \
14170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14176 /^X\(\/\/\)[^/].*/{
14189 test -d "$as_dir" && break
14191 test -z "$as_dirs" || eval "mkdir $as_dirs"
14192 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14193 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14194 { (exit 1); exit 1; }; }; }
14198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14200 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14201 # A ".." for each directory in $ac_dir_suffix.
14202 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14203 case $ac_top_builddir_sub in
14204 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14205 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14208 ac_abs_top_builddir=$ac_pwd
14209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14210 # for backward compatibility:
14211 ac_top_builddir=$ac_top_build_prefix
14214 .) # We are building in place.
14216 ac_top_srcdir=$ac_top_builddir_sub
14217 ac_abs_top_srcdir=$ac_pwd ;;
14218 [\\/]* | ?:[\\/]* ) # Absolute name.
14219 ac_srcdir=$srcdir$ac_dir_suffix;
14220 ac_top_srcdir=$srcdir
14221 ac_abs_top_srcdir=$srcdir ;;
14222 *) # Relative name.
14223 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14224 ac_top_srcdir=$ac_top_build_prefix$srcdir
14225 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14237 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14238 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14240 ac_MKDIR_P=$MKDIR_P
14242 [\\/$]* | ?:[\\/]* ) ;;
14243 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14247 cat >>$CONFIG_STATUS <<\_ACEOF
14248 # If the template does not know about datarootdir, expand it.
14249 # FIXME: This hack should be removed a few years after 2.60.
14250 ac_datarootdir_hack=; ac_datarootdir_seen=
14252 case `sed -n '/datarootdir/ {
14261 ' $ac_file_inputs` in
14262 *datarootdir*) ac_datarootdir_seen=yes;;
14263 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14264 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14265 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14267 cat >>$CONFIG_STATUS <<_ACEOF
14268 ac_datarootdir_hack='
14269 s&@datadir@&$datadir&g
14270 s&@docdir@&$docdir&g
14271 s&@infodir@&$infodir&g
14272 s&@localedir@&$localedir&g
14273 s&@mandir@&$mandir&g
14274 s&\\\${datarootdir}&$datarootdir&g' ;;
14278 # Neutralize VPATH when `$srcdir' = `.'.
14279 # Shell code in configure.ac might set extrasub.
14280 # FIXME: do we really want to maintain this feature?
14281 cat >>$CONFIG_STATUS <<_ACEOF
14285 cat >>$CONFIG_STATUS <<\_ACEOF
14287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14288 s&@configure_input@&$configure_input&;t t
14289 s&@top_builddir@&$ac_top_builddir_sub&;t t
14290 s&@srcdir@&$ac_srcdir&;t t
14291 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14292 s&@top_srcdir@&$ac_top_srcdir&;t t
14293 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14294 s&@builddir@&$ac_builddir&;t t
14295 s&@abs_builddir@&$ac_abs_builddir&;t t
14296 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14297 s&@INSTALL@&$ac_INSTALL&;t t
14298 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14299 $ac_datarootdir_hack
14300 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14302 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14303 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14304 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14305 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14306 which seems to be undefined. Please make sure it is defined." >&5
14307 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14308 which seems to be undefined. Please make sure it is defined." >&2;}
14312 -) cat "$tmp/out"; rm -f "$tmp/out";;
14313 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14322 # Transform confdefs.h into a sed script `conftest.defines', that
14323 # substitutes the proper values into config.h.in to produce config.h.
14324 rm -f conftest.defines conftest.tail
14325 # First, append a space to every undef/define line, to ease matching.
14326 echo 's/$/ /' >conftest.defines
14327 # Then, protect against being on the right side of a sed subst, or in
14328 # an unquoted here document, in config.status. If some macros were
14329 # called several times there might be several #defines for the same
14330 # symbol, which is useless. But do not sort them, since the last
14331 # AC_DEFINE must be honored.
14332 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14333 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14334 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14335 # PARAMS is the parameter list in the macro definition--in most cases, it's
14336 # just an empty string.
14337 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14338 ac_dB='\\)[ (].*,\\1define\\2'
14346 s/^[ ]*#[ ]*define[ ][ ]*//
14351 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14352 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14353 ' >>conftest.defines
14355 # Remove the space that was appended to ease matching.
14356 # Then replace #undef with comments. This is necessary, for
14357 # example, in the case of _POSIX_SOURCE, which is predefined and required
14358 # on some systems where configure will not decide to define it.
14359 # (The regexp can be short, since the line contains either #define or #undef.)
14361 s,^[ #]*u.*,/* & */,' >>conftest.defines
14363 # Break up conftest.defines:
14364 ac_max_sed_lines=50
14366 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14367 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14368 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14370 ac_in='$ac_file_inputs'
14371 ac_out='"$tmp/out1"'
14372 ac_nxt='"$tmp/out2"'
14376 # Write a here document:
14377 cat >>$CONFIG_STATUS <<_ACEOF
14378 # First, check the format of the line:
14379 cat >"\$tmp/defines.sed" <<\\CEOF
14380 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14381 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14385 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14387 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14388 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14389 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14390 grep . conftest.tail >/dev/null || break
14391 rm -f conftest.defines
14392 mv conftest.tail conftest.defines
14394 rm -f conftest.defines conftest.tail
14396 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14397 cat >>$CONFIG_STATUS <<\_ACEOF
14398 if test x"$ac_file" != x-; then
14399 echo "/* $configure_input */" >"$tmp/config.h"
14400 cat "$ac_result" >>"$tmp/config.h"
14401 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14402 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14403 echo "$as_me: $ac_file is unchanged" >&6;}
14406 mv "$tmp/config.h" $ac_file
14409 echo "/* $configure_input */"
14413 # Compute $ac_file's index in $config_headers.
14416 for _am_header in $config_headers :; do
14417 case $_am_header in
14418 $_am_arg | $_am_arg:* )
14421 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14424 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14425 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14426 X"$_am_arg" : 'X\(//\)[^/]' \| \
14427 X"$_am_arg" : 'X\(//\)$' \| \
14428 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14434 /^X\(\/\/\)[^/].*/{
14446 s/.*/./; q'`/stamp-h$_am_stamp_count
14449 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14450 echo "$as_me: executing $ac_file commands" >&6;}
14455 case $ac_file$ac_mode in
14458 # See if we are running on zsh, and set the options which allow our
14459 # commands through without removal of \ escapes.
14460 if test -n "${ZSH_VERSION+set}" ; then
14461 setopt NO_GLOB_SUBST
14464 cfgfile="${ofile}T"
14465 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14468 cat <<_LT_EOF >> "$cfgfile"
14471 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14472 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
14473 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14474 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14476 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14477 # 2006, 2007, 2008 Free Software Foundation, Inc.
14478 # Written by Gordon Matzigkeit, 1996
14480 # This file is part of GNU Libtool.
14482 # GNU Libtool is free software; you can redistribute it and/or
14483 # modify it under the terms of the GNU General Public License as
14484 # published by the Free Software Foundation; either version 2 of
14485 # the License, or (at your option) any later version.
14487 # As a special exception to the GNU General Public License,
14488 # if you distribute this file as part of a program or library that
14489 # is built using GNU Libtool, you may include this file under the
14490 # same distribution terms that you use for the rest of that program.
14492 # GNU Libtool is distributed in the hope that it will be useful,
14493 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14494 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14495 # GNU General Public License for more details.
14497 # You should have received a copy of the GNU General Public License
14498 # along with GNU Libtool; see the file COPYING. If not, a copy
14499 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14500 # obtained by writing to the Free Software Foundation, Inc.,
14501 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14504 # The names of the tagged configurations supported by this script.
14507 # ### BEGIN LIBTOOL CONFIG
14509 # Which release of libtool.m4 was used?
14510 macro_version=$macro_version
14511 macro_revision=$macro_revision
14513 # Whether or not to build shared libraries.
14514 build_libtool_libs=$enable_shared
14516 # Whether or not to build static libraries.
14517 build_old_libs=$enable_static
14519 # What type of objects to build.
14522 # Whether or not to optimize for fast installation.
14523 fast_install=$enable_fast_install
14526 host_alias=$host_alias
14530 # The build system.
14531 build_alias=$build_alias
14535 # A sed program that does not truncate output.
14538 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14539 Xsed="\$SED -e 1s/^X//"
14541 # A grep program that handles long lines.
14547 # A literal string matcher.
14550 # A BSD- or MS-compatible name lister.
14553 # Whether we need soft or hard links.
14556 # What is the maximum length of a command?
14557 max_cmd_len=$max_cmd_len
14559 # Object file suffix (normally "o").
14562 # Executable file suffix (normally "").
14565 # whether the shell understands "unset".
14568 # turn spaces into newlines.
14571 # turn newlines into spaces.
14574 # How to create reloadable object files.
14575 reload_flag=$lt_reload_flag
14576 reload_cmds=$lt_reload_cmds
14578 # Method to check whether dependent libraries are shared objects.
14579 deplibs_check_method=$lt_deplibs_check_method
14581 # Command to use when deplibs_check_method == "file_magic".
14582 file_magic_cmd=$lt_file_magic_cmd
14586 AR_FLAGS=$lt_AR_FLAGS
14588 # A symbol stripping program.
14591 # Commands used to install an old-style archive.
14593 old_postinstall_cmds=$lt_old_postinstall_cmds
14594 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14599 # LTCC compiler flags.
14600 LTCFLAGS=$lt_CFLAGS
14602 # Take the output of nm and produce a listing of raw symbols and C names.
14603 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14605 # Transform the output of nm in a proper C declaration.
14606 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14608 # Transform the output of nm in a C name address pair.
14609 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14611 # Transform the output of nm in a C name address pair when lib prefix is needed.
14612 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14614 # The name of the directory that contains temporary libtool files.
14617 # Shell to use when invoking shell scripts.
14620 # An echo program that does not interpret backslashes.
14623 # Used to examine libraries when file_magic_cmd begins with "file".
14624 MAGIC_CMD=$MAGIC_CMD
14626 # Must we lock files when doing compilation?
14627 need_locks=$lt_need_locks
14629 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14630 DSYMUTIL=$lt_DSYMUTIL
14632 # Tool to change global to local symbols on Mac OS X.
14635 # Old archive suffix (normally "a").
14638 # Shared library suffix (normally ".so").
14639 shrext_cmds=$lt_shrext_cmds
14641 # The commands to extract the exported symbol list from a shared archive.
14642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14644 # Variables whose values should be saved in libtool wrapper scripts and
14645 # restored at link time.
14646 variables_saved_for_relink=$lt_variables_saved_for_relink
14648 # Do we need the "lib" prefix for modules?
14649 need_lib_prefix=$need_lib_prefix
14651 # Do we need a version for libraries?
14652 need_version=$need_version
14654 # Library versioning type.
14655 version_type=$version_type
14657 # Shared library runtime path variable.
14658 runpath_var=$runpath_var
14660 # Shared library path variable.
14661 shlibpath_var=$shlibpath_var
14663 # Is shlibpath searched before the hard-coded library search path?
14664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14666 # Format of library name prefix.
14667 libname_spec=$lt_libname_spec
14669 # List of archive names. First name is the real one, the rest are links.
14670 # The last name is the one that the linker finds with -lNAME
14671 library_names_spec=$lt_library_names_spec
14673 # The coded name of the library, if different from the real name.
14674 soname_spec=$lt_soname_spec
14676 # Command to use after installation of a shared archive.
14677 postinstall_cmds=$lt_postinstall_cmds
14679 # Command to use after uninstallation of a shared archive.
14680 postuninstall_cmds=$lt_postuninstall_cmds
14682 # Commands used to finish a libtool library installation in a directory.
14683 finish_cmds=$lt_finish_cmds
14685 # As "finish_cmds", except a single script fragment to be evaled but
14687 finish_eval=$lt_finish_eval
14689 # Whether we should hardcode library paths into libraries.
14690 hardcode_into_libs=$hardcode_into_libs
14692 # Compile-time system search path for libraries.
14693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14695 # Run-time system search path for libraries.
14696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14698 # Whether dlopen is supported.
14699 dlopen_support=$enable_dlopen
14701 # Whether dlopen of programs is supported.
14702 dlopen_self=$enable_dlopen_self
14704 # Whether dlopen of statically linked programs is supported.
14705 dlopen_self_static=$enable_dlopen_self_static
14707 # Commands to strip libraries.
14708 old_striplib=$lt_old_striplib
14709 striplib=$lt_striplib
14712 # The linker used to build libraries.
14715 # Commands used to build an old-style archive.
14716 old_archive_cmds=$lt_old_archive_cmds
14718 # A language specific compiler.
14721 # Is the compiler the GNU compiler?
14724 # Compiler flag to turn off builtin functions.
14725 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14727 # How to pass a linker flag through the compiler.
14728 wl=$lt_lt_prog_compiler_wl
14730 # Additional compiler flags for building library objects.
14731 pic_flag=$lt_lt_prog_compiler_pic
14733 # Compiler flag to prevent dynamic linking.
14734 link_static_flag=$lt_lt_prog_compiler_static
14736 # Does compiler simultaneously support -c and -o options?
14737 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14739 # Whether or not to add -lc for building shared libraries.
14740 build_libtool_need_lc=$archive_cmds_need_lc
14742 # Whether or not to disallow shared libs when runtime libs are static.
14743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14745 # Compiler flag to allow reflexive dlopens.
14746 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14748 # Compiler flag to generate shared objects directly from archives.
14749 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14751 # Whether the compiler copes with passing no objects directly.
14752 compiler_needs_object=$lt_compiler_needs_object
14754 # Create an old-style archive from a shared archive.
14755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14757 # Create a temporary old-style archive to link instead of a shared archive.
14758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14760 # Commands used to build a shared archive.
14761 archive_cmds=$lt_archive_cmds
14762 archive_expsym_cmds=$lt_archive_expsym_cmds
14764 # Commands used to build a loadable module if different from building
14765 # a shared archive.
14766 module_cmds=$lt_module_cmds
14767 module_expsym_cmds=$lt_module_expsym_cmds
14769 # Whether we are building with GNU ld or not.
14770 with_gnu_ld=$lt_with_gnu_ld
14772 # Flag that allows shared libraries with undefined symbols to be built.
14773 allow_undefined_flag=$lt_allow_undefined_flag
14775 # Flag that enforces no undefined symbols.
14776 no_undefined_flag=$lt_no_undefined_flag
14778 # Flag to hardcode \$libdir into a binary during linking.
14779 # This must work even if \$libdir does not exist
14780 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14782 # If ld is used when linking, flag to hardcode \$libdir into a binary
14783 # during linking. This must work even if \$libdir does not exist.
14784 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14786 # Whether we need a single "-rpath" flag with a separated argument.
14787 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14789 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14790 # DIR into the resulting binary.
14791 hardcode_direct=$hardcode_direct
14793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14794 # DIR into the resulting binary and the resulting library dependency is
14795 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14796 # library is relocated.
14797 hardcode_direct_absolute=$hardcode_direct_absolute
14799 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14800 # into the resulting binary.
14801 hardcode_minus_L=$hardcode_minus_L
14803 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14804 # into the resulting binary.
14805 hardcode_shlibpath_var=$hardcode_shlibpath_var
14807 # Set to "yes" if building a shared library automatically hardcodes DIR
14808 # into the library and all subsequent libraries and executables linked
14810 hardcode_automatic=$hardcode_automatic
14812 # Set to yes if linker adds runtime paths of dependent libraries
14813 # to runtime path list.
14814 inherit_rpath=$inherit_rpath
14816 # Whether libtool must link a program against all its dependency libraries.
14817 link_all_deplibs=$link_all_deplibs
14819 # Fix the shell variable \$srcfile for the compiler.
14820 fix_srcfile_path=$lt_fix_srcfile_path
14822 # Set to "yes" if exported symbols are required.
14823 always_export_symbols=$always_export_symbols
14825 # The commands to list exported symbols.
14826 export_symbols_cmds=$lt_export_symbols_cmds
14828 # Symbols that should not be listed in the preloaded symbols.
14829 exclude_expsyms=$lt_exclude_expsyms
14831 # Symbols that must always be exported.
14832 include_expsyms=$lt_include_expsyms
14834 # Commands necessary for linking programs (against libraries) with templates.
14835 prelink_cmds=$lt_prelink_cmds
14837 # Specify filename containing input files.
14838 file_list_spec=$lt_file_list_spec
14840 # How to hardcode a shared library path into an executable.
14841 hardcode_action=$hardcode_action
14843 # ### END LIBTOOL CONFIG
14849 cat <<\_LT_EOF >> "$cfgfile"
14850 # AIX sometimes has problems with the GCC collect2 program. For some
14851 # reason, if we set the COLLECT_NAMES environment variable, the problems
14852 # vanish in a puff of smoke.
14853 if test "X${COLLECT_NAMES+set}" != Xset; then
14855 export COLLECT_NAMES
14862 ltmain="$ac_aux_dir/ltmain.sh"
14865 # We use sed instead of cat because bash on DJGPP gets confused if
14866 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14867 # text mode, it properly converts lines to CR/LF. This bash problem
14868 # is reportedly fixed, but why not run on old versions too?
14869 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14870 || (rm -f "$cfgfile"; exit 1)
14874 cat << \_LT_EOF >> "$cfgfile"
14875 # func_dirname file append nondir_replacement
14876 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14877 # otherwise set result to NONDIR_REPLACEMENT.
14881 */*) func_dirname_result="${1%/*}${2}" ;;
14882 * ) func_dirname_result="${3}" ;;
14886 # func_basename file
14889 func_basename_result="${1##*/}"
14892 # func_dirname_and_basename file append nondir_replacement
14893 # perform func_basename and func_dirname in a single function
14895 # dirname: Compute the dirname of FILE. If nonempty,
14896 # add APPEND to the result, otherwise set result
14897 # to NONDIR_REPLACEMENT.
14898 # value returned in "$func_dirname_result"
14899 # basename: Compute filename of FILE.
14900 # value retuned in "$func_basename_result"
14901 # Implementation must be kept synchronized with func_dirname
14902 # and func_basename. For efficiency, we do not delegate to
14903 # those functions but instead duplicate the functionality here.
14904 func_dirname_and_basename ()
14907 */*) func_dirname_result="${1%/*}${2}" ;;
14908 * ) func_dirname_result="${3}" ;;
14910 func_basename_result="${1##*/}"
14913 # func_stripname prefix suffix name
14914 # strip PREFIX and SUFFIX off of NAME.
14915 # PREFIX and SUFFIX must not contain globbing or regex special
14916 # characters, hashes, percent signs, but SUFFIX may contain a leading
14917 # dot (in which case that matches only a dot).
14920 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14921 # positional parameters, so assign one to ordinary parameter first.
14922 func_stripname_result=${3}
14923 func_stripname_result=${func_stripname_result#"${1}"}
14924 func_stripname_result=${func_stripname_result%"${2}"}
14930 func_opt_split_opt=${1%%=*}
14931 func_opt_split_arg=${1#*=}
14938 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14939 *) func_lo2o_result=${1} ;;
14944 *) # Bourne compatible functions.
14945 cat << \_LT_EOF >> "$cfgfile"
14946 # func_dirname file append nondir_replacement
14947 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14948 # otherwise set result to NONDIR_REPLACEMENT.
14951 # Extract subdirectory from the argument.
14952 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14953 if test "X$func_dirname_result" = "X${1}"; then
14954 func_dirname_result="${3}"
14956 func_dirname_result="$func_dirname_result${2}"
14960 # func_basename file
14963 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14966 # func_dirname_and_basename file append nondir_replacement
14967 # perform func_basename and func_dirname in a single function
14969 # dirname: Compute the dirname of FILE. If nonempty,
14970 # add APPEND to the result, otherwise set result
14971 # to NONDIR_REPLACEMENT.
14972 # value returned in "$func_dirname_result"
14973 # basename: Compute filename of FILE.
14974 # value retuned in "$func_basename_result"
14975 # Implementation must be kept synchronized with func_dirname
14976 # and func_basename. For efficiency, we do not delegate to
14977 # those functions but instead duplicate the functionality here.
14978 func_dirname_and_basename ()
14980 # Extract subdirectory from the argument.
14981 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14982 if test "X$func_dirname_result" = "X${1}"; then
14983 func_dirname_result="${3}"
14985 func_dirname_result="$func_dirname_result${2}"
14987 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14990 # func_stripname prefix suffix name
14991 # strip PREFIX and SUFFIX off of NAME.
14992 # PREFIX and SUFFIX must not contain globbing or regex special
14993 # characters, hashes, percent signs, but SUFFIX may contain a leading
14994 # dot (in which case that matches only a dot).
14995 # func_strip_suffix prefix name
14999 .*) func_stripname_result=`$ECHO "X${3}" \
15000 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15001 *) func_stripname_result=`$ECHO "X${3}" \
15002 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15007 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15008 my_sed_long_arg='1s/^-[^=]*=//'
15013 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15014 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15020 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15025 case $lt_shell_append in
15027 cat << \_LT_EOF >> "$cfgfile"
15029 # func_append var value
15030 # Append VALUE to the end of shell variable VAR.
15038 cat << \_LT_EOF >> "$cfgfile"
15040 # func_append var value
15041 # Append VALUE to the end of shell variable VAR.
15051 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15052 || (rm -f "$cfgfile"; exit 1)
15054 mv -f "$cfgfile" "$ofile" ||
15055 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15064 { (exit 0); exit 0; }
15066 chmod +x $CONFIG_STATUS
15067 ac_clean_files=$ac_clean_files_save
15070 # configure is writing to config.log, and then calls config.status.
15071 # config.status does its own redirection, appending to config.log.
15072 # Unfortunately, on DOS this fails, as config.log is still kept open
15073 # by configure, so config.status won't be able to write to it; its
15074 # output is simply discarded. So we exec the FD to /dev/null,
15075 # effectively closing config.log, so it can be properly (re)opened and
15076 # appended to by config.status. When coming back to configure, we
15077 # need to make the FD available again.
15078 if test "$no_create" != yes; then
15080 ac_config_status_args=
15081 test "$silent" = yes &&
15082 ac_config_status_args="$ac_config_status_args --quiet"
15084 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15086 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15087 # would make configure fail if this is the last instruction.
15088 $ac_cs_success || { (exit 1); exit 1; }