2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libcamsrcjpegenc-sw 0.1.
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.
722 PACKAGE_NAME='libcamsrcjpegenc-sw'
723 PACKAGE_TARNAME='libcamsrcjpegenc-sw'
724 PACKAGE_VERSION='0.1'
725 PACKAGE_STRING='libcamsrcjpegenc-sw 0.1'
728 ac_unique_file="src/camsrcjpegenc-sw-libjpeg.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
884 ac_precious_vars='build_alias
904 # Initialize some variables set by options.
906 ac_init_version=false
907 # The variables have the same names as the options, with
908 # dashes changed to underlines.
916 program_transform_name=s,x,x,
924 # Installation directory options.
925 # These are left unexpanded so users can "make install exec_prefix=/foo"
926 # and all the variables that are supposed to be based on exec_prefix
927 # by default will actually change.
928 # Use braces instead of parens because sh, perl, etc. also accept them.
929 # (The list follows the same order as the GNU Coding Standards.)
930 bindir='${exec_prefix}/bin'
931 sbindir='${exec_prefix}/sbin'
932 libexecdir='${exec_prefix}/libexec'
933 datarootdir='${prefix}/share'
934 datadir='${datarootdir}'
935 sysconfdir='${prefix}/etc'
936 sharedstatedir='${prefix}/com'
937 localstatedir='${prefix}/var'
938 includedir='${prefix}/include'
939 oldincludedir='/usr/include'
940 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
941 infodir='${datarootdir}/info'
946 libdir='${exec_prefix}/lib'
947 localedir='${datarootdir}/locale'
948 mandir='${datarootdir}/man'
954 # If the previous option needs an argument, assign it.
955 if test -n "$ac_prev"; then
956 eval $ac_prev=\$ac_option
962 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
966 # Accept the important Cygnus configure options, so we can diagnose typos.
968 case $ac_dashdash$ac_option in
972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
977 -build | --build | --buil | --bui | --bu)
978 ac_prev=build_alias ;;
979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
980 build_alias=$ac_optarg ;;
982 -cache-file | --cache-file | --cache-fil | --cache-fi \
983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
984 ac_prev=cache_file ;;
985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
987 cache_file=$ac_optarg ;;
990 cache_file=config.cache ;;
992 -datadir | --datadir | --datadi | --datad)
994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
995 datadir=$ac_optarg ;;
997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
998 | --dataroo | --dataro | --datar)
999 ac_prev=datarootdir ;;
1000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1002 datarootdir=$ac_optarg ;;
1004 -disable-* | --disable-*)
1005 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1009 { (exit 1); exit 1; }; }
1010 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1011 eval enable_$ac_feature=no ;;
1013 -docdir | --docdir | --docdi | --doc | --do)
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir=$ac_optarg ;;
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir=$ac_optarg ;;
1023 -enable-* | --enable-*)
1024 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1028 { (exit 1); exit 1; }; }
1029 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1030 eval enable_$ac_feature=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1194 -site=* | --site=* | --sit=*)
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1221 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\$ac_optarg ;;
1229 -without-* | --without-*)
1230 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1233 { echo "$as_me: error: invalid package name: $ac_package" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1236 eval with_$ac_package=no ;;
1239 # Obsolete; use --with-x.
1242 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1243 | --x-incl | --x-inc | --x-in | --x-i)
1244 ac_prev=x_includes ;;
1245 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1246 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 x_includes=$ac_optarg ;;
1249 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1250 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1251 ac_prev=x_libraries ;;
1252 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1253 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 x_libraries=$ac_optarg ;;
1256 -*) { echo "$as_me: error: unrecognized option: $ac_option
1257 Try \`$0 --help' for more information." >&2
1258 { (exit 1); exit 1; }; }
1262 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1265 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1266 { (exit 1); exit 1; }; }
1267 eval $ac_envvar=\$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1281 if test -n "$ac_prev"; then
1282 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1283 { echo "$as_me: error: missing argument to $ac_option" >&2
1284 { (exit 1); exit 1; }; }
1287 # Be sure to have absolute directory names.
1288 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val=\$$ac_var
1295 [\\/$]* | ?:[\\/]* ) continue;;
1296 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1298 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1299 { (exit 1); exit 1; }; }
1302 # There might be people who depend on the old broken behavior: `$host'
1303 # used to hold the argument of --host etc.
1304 # FIXME: To remove some day.
1307 target=$target_alias
1309 # FIXME: To remove some day.
1310 if test "x$host_alias" != x; then
1311 if test "x$build_alias" = x; then
1312 cross_compiling=maybe
1313 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1314 If a cross compiler is detected then cross compile mode will be used." >&2
1315 elif test "x$build_alias" != "x$host_alias"; then
1321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1323 test "$silent" = yes && exec 6>/dev/null
1326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1327 ac_ls_di=`ls -di .` &&
1328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1329 { echo "$as_me: error: Working directory cannot be determined" >&2
1330 { (exit 1); exit 1; }; }
1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1332 { echo "$as_me: error: pwd does not report name of working directory" >&2
1333 { (exit 1); exit 1; }; }
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir=`$as_dirname -- "$0" ||
1341 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$0" : 'X\(//\)[^/]' \| \
1343 X"$0" : 'X\(//\)$' \| \
1344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1373 { (exit 1); exit 1; }; }
1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1378 { (exit 1); exit 1; }; }
1380 # When building in place, set srcdir=.
1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 for ac_var in $ac_precious_vars; do
1391 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_${ac_var}_value=\$${ac_var}
1393 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1398 # Report the --help message.
1400 if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1404 \`configure' configures libcamsrcjpegenc-sw 0.1 to adapt to many kinds of systems.
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1411 Defaults for the options are specified in brackets.
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1435 For better control, use the options below.
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/libcamsrcjpegenc-sw]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1462 --program-prefix=PREFIX prepend PREFIX to installed program names
1463 --program-suffix=SUFFIX append SUFFIX to installed program names
1464 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of libcamsrcjpegenc-sw 0.1:";;
1479 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481 --disable-dependency-tracking speeds up one-time build
1482 --enable-dependency-tracking do not reject slow dependency extractors
1483 --enable-shared[=PKGS] build shared libraries [default=yes]
1484 --enable-static[=PKGS] build static libraries [default=yes]
1485 --enable-fast-install[=PKGS]
1486 optimize for fast installation [default=yes]
1487 --disable-libtool-lock avoid locking (might break parallel builds)
1488 --enable-dlog using dlog
1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1493 --with-pic try to use only PIC/non-PIC objects [default=use
1495 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1497 Some influential environment variables:
1498 CXX C++ compiler command
1499 CXXFLAGS C++ compiler flags
1500 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1501 nonstandard directory <lib dir>
1502 LIBS libraries to pass to the linker, e.g. -l<library>
1503 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1504 you have headers in a nonstandard directory <include dir>
1505 CC C compiler command
1506 CFLAGS C compiler flags
1508 CXXCPP C++ preprocessor
1509 PKG_CONFIG path to pkg-config utility
1510 DLOG_CFLAGS C compiler flags for DLOG, overriding pkg-config
1511 DLOG_LIBS linker flags for DLOG, overriding pkg-config
1512 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1513 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1515 Use these variables to override the choices made by `configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1522 if test "$ac_init_help" = "recursive"; then
1523 # If there are subdirs, report their specific --help.
1524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525 test -d "$ac_dir" || continue
1529 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1532 # A ".." for each directory in $ac_dir_suffix.
1533 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1534 case $ac_top_builddir_sub in
1535 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1539 ac_abs_top_builddir=$ac_pwd
1540 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541 # for backward compatibility:
1542 ac_top_builddir=$ac_top_build_prefix
1545 .) # We are building in place.
1547 ac_top_srcdir=$ac_top_builddir_sub
1548 ac_abs_top_srcdir=$ac_pwd ;;
1549 [\\/]* | ?:[\\/]* ) # Absolute name.
1550 ac_srcdir=$srcdir$ac_dir_suffix;
1551 ac_top_srcdir=$srcdir
1552 ac_abs_top_srcdir=$srcdir ;;
1554 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555 ac_top_srcdir=$ac_top_build_prefix$srcdir
1556 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1558 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1560 cd "$ac_dir" || { ac_status=$?; continue; }
1561 # Check for guested configure.
1562 if test -f "$ac_srcdir/configure.gnu"; then
1564 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565 elif test -f "$ac_srcdir/configure"; then
1567 $SHELL "$ac_srcdir/configure" --help=recursive
1569 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1571 cd "$ac_pwd" || { ac_status=$?; break; }
1575 test -n "$ac_init_help" && exit $ac_status
1576 if $ac_init_version; then
1578 libcamsrcjpegenc-sw configure 0.1
1579 generated by GNU Autoconf 2.61
1581 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1583 This configure script is free software; the Free Software Foundation
1584 gives unlimited permission to copy, distribute and modify it.
1588 cat >config.log <<_ACEOF
1589 This file contains any messages produced by compilers while
1590 running configure, to aid debugging if configure makes a mistake.
1592 It was created by libcamsrcjpegenc-sw $as_me 0.1, which was
1593 generated by GNU Autoconf 2.61. Invocation command line was
1605 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1606 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1607 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1608 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1609 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1611 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1612 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1614 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1615 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1616 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1617 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1618 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1619 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1620 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 echo "PATH: $as_dir"
1645 # Keep a trace of the command line.
1646 # Strip out --no-create and --no-recursion so they do not pile up.
1647 # Strip out --silent because we don't want to record it for future runs.
1648 # Also quote any args containing shell meta-characters.
1649 # Make two passes to allow for proper duplicate-argument suppression.
1653 ac_must_keep_next=false
1659 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1661 | -silent | --silent | --silen | --sile | --sil)
1664 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1667 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1669 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1670 if test $ac_must_keep_next = true; then
1671 ac_must_keep_next=false # Got value, back to normal.
1674 *=* | --config-cache | -C | -disable-* | --disable-* \
1675 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1676 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1677 | -with-* | --with-* | -without-* | --without-* | --x)
1678 case "$ac_configure_args0 " in
1679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1682 -* ) ac_must_keep_next=true ;;
1685 ac_configure_args="$ac_configure_args '$ac_arg'"
1690 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1691 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1693 # When interrupted or exit'd, cleanup temporary files, and complete
1694 # config.log. We remove comments because anyway the quotes in there
1695 # would cause problems or look ugly.
1696 # WARNING: Use '\'' to represent an apostrophe within the trap.
1697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1698 trap 'exit_status=$?
1699 # Save into config.log some information that might help in debugging.
1704 ## ---------------- ##
1705 ## Cache variables. ##
1706 ## ---------------- ##
1709 # The following way of writing the cache mishandles newlines in values,
1711 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1712 eval ac_val=\$$ac_var
1716 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1717 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1720 _ | IFS | as_nl) ;; #(
1721 *) $as_unset $ac_var ;;
1726 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1727 *${as_nl}ac_space=\ *)
1729 "s/'\''/'\''\\\\'\'''\''/g;
1730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1741 ## ----------------- ##
1742 ## Output variables. ##
1743 ## ----------------- ##
1746 for ac_var in $ac_subst_vars
1748 eval ac_val=\$$ac_var
1750 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1752 echo "$ac_var='\''$ac_val'\''"
1756 if test -n "$ac_subst_files"; then
1758 ## ------------------- ##
1759 ## File substitutions. ##
1760 ## ------------------- ##
1763 for ac_var in $ac_subst_files
1765 eval ac_val=\$$ac_var
1767 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1769 echo "$ac_var='\''$ac_val'\''"
1774 if test -s confdefs.h; then
1784 test "$ac_signal" != 0 &&
1785 echo "$as_me: caught signal $ac_signal"
1786 echo "$as_me: exit $exit_status"
1788 rm -f core *.core core.conftest.* &&
1789 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1792 for ac_signal in 1 2 13 15; do
1793 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1798 rm -f -r conftest* confdefs.h
1800 # Predefined preprocessor variables.
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_NAME "$PACKAGE_NAME"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1817 cat >>confdefs.h <<_ACEOF
1818 #define PACKAGE_STRING "$PACKAGE_STRING"
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1827 # Let the site file select an alternate cache file if it wants to.
1828 # Prefer explicitly selected file to automatically selected ones.
1829 if test -n "$CONFIG_SITE"; then
1830 set x "$CONFIG_SITE"
1831 elif test "x$prefix" != xNONE; then
1832 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1834 set x "$ac_default_prefix/share/config.site" \
1835 "$ac_default_prefix/etc/config.site"
1840 if test -r "$ac_site_file"; then
1841 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1842 echo "$as_me: loading site script $ac_site_file" >&6;}
1843 sed 's/^/| /' "$ac_site_file" >&5
1848 if test -r "$cache_file"; then
1849 # Some versions of bash will fail to source /dev/null (special
1850 # files actually), so we avoid doing that.
1851 if test -f "$cache_file"; then
1852 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1853 echo "$as_me: loading cache $cache_file" >&6;}
1855 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856 *) . "./$cache_file";;
1860 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861 echo "$as_me: creating cache $cache_file" >&6;}
1865 # Check that the precious variables saved in the cache have kept the same
1867 ac_cache_corrupted=false
1868 for ac_var in $ac_precious_vars; do
1869 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1870 eval ac_new_set=\$ac_env_${ac_var}_set
1871 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1872 eval ac_new_val=\$ac_env_${ac_var}_value
1873 case $ac_old_set,$ac_new_set in
1875 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1876 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877 ac_cache_corrupted=: ;;
1879 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1880 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1881 ac_cache_corrupted=: ;;
1884 if test "x$ac_old_val" != "x$ac_new_val"; then
1885 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1886 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1887 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1888 echo "$as_me: former value: $ac_old_val" >&2;}
1889 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1890 echo "$as_me: current value: $ac_new_val" >&2;}
1891 ac_cache_corrupted=:
1894 # Pass precious variables to config.status.
1895 if test "$ac_new_set" = set; then
1897 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1898 *) ac_arg=$ac_var=$ac_new_val ;;
1900 case " $ac_configure_args " in
1901 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1902 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1906 if $ac_cache_corrupted; then
1907 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1908 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1909 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1910 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1911 { (exit 1); exit 1; }; }
1939 ac_cpp='$CPP $CPPFLAGS'
1940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1945 am__api_version='1.10'
1948 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1949 if test -f "$ac_dir/install-sh"; then
1951 ac_install_sh="$ac_aux_dir/install-sh -c"
1953 elif test -f "$ac_dir/install.sh"; then
1955 ac_install_sh="$ac_aux_dir/install.sh -c"
1957 elif test -f "$ac_dir/shtool"; then
1959 ac_install_sh="$ac_aux_dir/shtool install -c"
1963 if test -z "$ac_aux_dir"; then
1964 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1965 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1966 { (exit 1); exit 1; }; }
1969 # These three variables are undocumented and unsupported,
1970 # and are intended to be withdrawn in a future Autoconf release.
1971 # They can cause serious problems if a builder's source tree is in a directory
1972 # whose full name contains unusual characters.
1973 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1974 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1975 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1978 # Find a good install program. We prefer a C program (faster),
1979 # so one script is as good as another. But avoid the broken or
1980 # incompatible versions:
1981 # SysV /etc/install, /usr/sbin/install
1982 # SunOS /usr/etc/install
1983 # IRIX /sbin/install
1985 # AmigaOS /C/install, which installs bootblocks on floppy discs
1986 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1987 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1988 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1989 # OS/2's system install, which has a completely different semantic
1990 # ./install, which can be erroneously created by make from ./install.sh.
1991 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1992 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1993 if test -z "$INSTALL"; then
1994 if test "${ac_cv_path_install+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir=.
2002 # Account for people who put trailing slashes in PATH elements.
2004 ./ | .// | /cC/* | \
2005 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2006 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2009 # OSF1 and SCO ODT 3.0 have their own names for install.
2010 # Don't use installbsd from OSF since it installs stuff as root
2012 for ac_prog in ginstall scoinst install; do
2013 for ac_exec_ext in '' $ac_executable_extensions; do
2014 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2015 if test $ac_prog = install &&
2016 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2017 # AIX install. It has an incompatible calling convention.
2019 elif test $ac_prog = install &&
2020 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2021 # program-specific install script used by HP pwplus--don't use.
2024 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2037 if test "${ac_cv_path_install+set}" = set; then
2038 INSTALL=$ac_cv_path_install
2040 # As a last resort, use the slow shell script. Don't cache a
2041 # value for INSTALL within a source directory, because that will
2042 # break other packages using the cache if that directory is
2043 # removed, or if the value is a relative name.
2044 INSTALL=$ac_install_sh
2047 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2048 echo "${ECHO_T}$INSTALL" >&6; }
2050 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2051 # It thinks the first close brace ends the variable substitution.
2052 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2054 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2056 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2058 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2059 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2062 echo timestamp > conftest.file
2063 # Do `set' in a subshell so we don't clobber the current shell's
2064 # arguments. Must try -L first in case configure is actually a
2065 # symlink; some systems play weird games with the mod time of symlinks
2066 # (eg FreeBSD returns the mod time of the symlink's containing
2069 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2070 if test "$*" = "X"; then
2072 set X `ls -t $srcdir/configure conftest.file`
2075 if test "$*" != "X $srcdir/configure conftest.file" \
2076 && test "$*" != "X conftest.file $srcdir/configure"; then
2078 # If neither matched, then we have a broken ls. This can happen
2079 # if, for instance, CONFIG_SHELL is bash and it inherits a
2080 # broken ls alias from the environment. This has actually
2081 # happened. Such a system could not be considered "sane".
2082 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2083 alias in your environment" >&5
2084 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2085 alias in your environment" >&2;}
2086 { (exit 1); exit 1; }; }
2089 test "$2" = conftest.file
2095 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2096 Check your system clock" >&5
2097 echo "$as_me: error: newly created file is older than distributed files!
2098 Check your system clock" >&2;}
2099 { (exit 1); exit 1; }; }
2101 { echo "$as_me:$LINENO: result: yes" >&5
2102 echo "${ECHO_T}yes" >&6; }
2103 test "$program_prefix" != NONE &&
2104 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2105 # Use a double $ so make ignores it.
2106 test "$program_suffix" != NONE &&
2107 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2108 # Double any \ or $. echo might interpret backslashes.
2109 # By default was `s,x,x', remove it if useless.
2110 cat <<\_ACEOF >conftest.sed
2111 s/[\\$]/&&/g;s/;s,x,x,$//
2113 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2116 # expand $ac_aux_dir to an absolute path
2117 am_aux_dir=`cd $ac_aux_dir && pwd`
2119 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2120 # Use eval to expand $SHELL
2121 if eval "$MISSING --run true"; then
2122 am_missing_run="$MISSING --run "
2125 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2126 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2129 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2130 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2131 if test -z "$MKDIR_P"; then
2132 if test "${ac_cv_path_mkdir+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2139 test -z "$as_dir" && as_dir=.
2140 for ac_prog in mkdir gmkdir; do
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2143 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2144 'mkdir (GNU coreutils) '* | \
2145 'mkdir (coreutils) '* | \
2146 'mkdir (fileutils) '4.1*)
2147 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2157 if test "${ac_cv_path_mkdir+set}" = set; then
2158 MKDIR_P="$ac_cv_path_mkdir -p"
2160 # As a last resort, use the slow shell script. Don't cache a
2161 # value for MKDIR_P within a source directory, because that will
2162 # break other packages using the cache if that directory is
2163 # removed, or if the value is a relative name.
2164 test -d ./--version && rmdir ./--version
2165 MKDIR_P="$ac_install_sh -d"
2168 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2169 echo "${ECHO_T}$MKDIR_P" >&6; }
2173 [\\/$]* | ?:[\\/]*) ;;
2174 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2177 for ac_prog in gawk mawk nawk awk
2179 # Extract the first word of "$ac_prog", so it can be a program name with args.
2180 set dummy $ac_prog; ac_word=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_prog_AWK+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$AWK"; then
2187 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 ac_cv_prog_AWK="$ac_prog"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 if test -n "$AWK"; then
2208 { echo "$as_me:$LINENO: result: $AWK" >&5
2209 echo "${ECHO_T}$AWK" >&6; }
2211 { echo "$as_me:$LINENO: result: no" >&5
2212 echo "${ECHO_T}no" >&6; }
2216 test -n "$AWK" && break
2219 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2220 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2221 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2222 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 cat >conftest.make <<\_ACEOF
2228 @echo '@@@%%%=$(MAKE)=@@@%%%'
2230 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2231 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2233 eval ac_cv_prog_make_${ac_make}_set=yes;;
2235 eval ac_cv_prog_make_${ac_make}_set=no;;
2239 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2240 { echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6; }
2244 { echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6; }
2246 SET_MAKE="MAKE=${MAKE-make}"
2249 rm -rf .tst 2>/dev/null
2250 mkdir .tst 2>/dev/null
2251 if test -d .tst; then
2256 rmdir .tst 2>/dev/null
2258 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2259 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2260 # is not polluted with repeated "-I."
2261 am__isrc=' -I$(srcdir)'
2262 # test to see if srcdir already configured
2263 if test -f $srcdir/config.status; then
2264 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2265 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2266 { (exit 1); exit 1; }; }
2270 # test whether we have cygpath
2271 if test -z "$CYGPATH_W"; then
2272 if (cygpath --version) >/dev/null 2>/dev/null; then
2273 CYGPATH_W='cygpath -w'
2280 # Define the identity of the package.
2281 PACKAGE='libcamsrcjpegenc-sw'
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE "$PACKAGE"
2290 cat >>confdefs.h <<_ACEOF
2291 #define VERSION "$VERSION"
2294 # Some tools Automake needs.
2296 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2299 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2302 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2305 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2308 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2310 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2312 # Installed binaries are usually stripped using `strip' when the user
2313 # run `make install-strip'. However `strip' might not be the right
2314 # tool to use in cross-compilation environments, therefore Automake
2315 # will honor the `STRIP' environment variable to overrule this program.
2316 if test "$cross_compiling" != no; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2319 set dummy ${ac_tool_prefix}strip; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_STRIP+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$STRIP"; then
2326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 STRIP=$ac_cv_prog_STRIP
2346 if test -n "$STRIP"; then
2347 { echo "$as_me:$LINENO: result: $STRIP" >&5
2348 echo "${ECHO_T}$STRIP" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2356 if test -z "$ac_cv_prog_STRIP"; then
2358 # Extract the first word of "strip", so it can be a program name with args.
2359 set dummy strip; ac_word=$2
2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_STRIP"; then
2366 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_ac_ct_STRIP="strip"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2386 if test -n "$ac_ct_STRIP"; then
2387 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2388 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2390 { echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6; }
2394 if test "x$ac_ct_STRIP" = x; then
2397 case $cross_compiling:$ac_tool_warned in
2399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&5
2402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2403 whose name does not start with the host triplet. If you think this
2404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2405 ac_tool_warned=yes ;;
2410 STRIP="$ac_cv_prog_STRIP"
2414 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2416 # We need awk for the "check" target. The system "awk" is bad on
2418 # Always define AMTAR for backward compatibility.
2420 AMTAR=${AMTAR-"${am_missing_run}tar"}
2422 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2429 ac_config_headers="$ac_config_headers config.h"
2434 # Checks for programs.
2436 ac_cpp='$CXXCPP $CPPFLAGS'
2437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2440 if test -z "$CXX"; then
2441 if test -n "$CCC"; then
2444 if test -n "$ac_tool_prefix"; then
2445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2451 if test "${ac_cv_prog_CXX+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -n "$CXX"; then
2455 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 if test -n "$CXX"; then
2476 { echo "$as_me:$LINENO: result: $CXX" >&5
2477 echo "${ECHO_T}$CXX" >&6; }
2479 { echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6; }
2484 test -n "$CXX" && break
2487 if test -z "$CXX"; then
2489 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2491 # Extract the first word of "$ac_prog", so it can be a program name with args.
2492 set dummy $ac_prog; ac_word=$2
2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2495 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 if test -n "$ac_ct_CXX"; then
2499 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2508 ac_cv_prog_ac_ct_CXX="$ac_prog"
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2519 if test -n "$ac_ct_CXX"; then
2520 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2521 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2523 { echo "$as_me:$LINENO: result: no" >&5
2524 echo "${ECHO_T}no" >&6; }
2528 test -n "$ac_ct_CXX" && break
2531 if test "x$ac_ct_CXX" = x; then
2534 case $cross_compiling:$ac_tool_warned in
2536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2537 whose name does not start with the host triplet. If you think this
2538 configuration is useful to you, please write to autoconf@gnu.org." >&5
2539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2540 whose name does not start with the host triplet. If you think this
2541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2542 ac_tool_warned=yes ;;
2550 # Provide some information about the compiler.
2551 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2552 ac_compiler=`set X $ac_compile; echo $2`
2553 { (ac_try="$ac_compiler --version >&5"
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compiler --version >&5") 2>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }
2563 { (ac_try="$ac_compiler -v >&5"
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler -v >&5") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2573 { (ac_try="$ac_compiler -V >&5"
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2579 (eval "$ac_compiler -V >&5") 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }
2584 cat >conftest.$ac_ext <<_ACEOF
2587 cat confdefs.h >>conftest.$ac_ext
2588 cat >>conftest.$ac_ext <<_ACEOF
2589 /* end confdefs.h. */
2599 ac_clean_files_save=$ac_clean_files
2600 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2601 # Try to create an executable without -o first, disregard a.out.
2602 # It will help us diagnose broken compilers, and finding out an intuition
2604 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2605 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2606 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2608 # List of possible output files, starting from the most likely.
2609 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2610 # only as a last resort. b.out is created by i960 compilers.
2611 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2613 # The IRIX 6 linker writes into existing files which may not be
2614 # executable, retaining their permissions. Remove them first so a
2615 # subsequent execution test works.
2617 for ac_file in $ac_files
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2621 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2626 if { (ac_try="$ac_link_default"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632 (eval "$ac_link_default") 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2637 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2638 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2639 # so that the user can short-circuit this test for compilers unknown to
2641 for ac_file in $ac_files ''
2643 test -f "$ac_file" || continue
2645 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2648 # We found the default executable, but exeext='' is most
2652 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2654 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2656 # We set ac_cv_exeext here because the later test for it is not
2657 # safe: cross compilers may not add the suffix if given an `-o'
2658 # argument, so we may need to know it at that point already.
2659 # Even if this section looks crufty: it has the advantage of
2666 test "$ac_cv_exeext" = no && ac_cv_exeext=
2672 { echo "$as_me:$LINENO: result: $ac_file" >&5
2673 echo "${ECHO_T}$ac_file" >&6; }
2674 if test -z "$ac_file"; then
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.$ac_ext >&5
2678 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2679 See \`config.log' for more details." >&5
2680 echo "$as_me: error: C++ compiler cannot create executables
2681 See \`config.log' for more details." >&2;}
2682 { (exit 77); exit 77; }; }
2685 ac_exeext=$ac_cv_exeext
2687 # Check that the compiler produces executables we can run. If not, either
2688 # the compiler is broken, or we cross compile.
2689 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2690 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2691 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2692 # If not cross compiling, check that we can run a simple program.
2693 if test "$cross_compiling" != yes; then
2694 if { ac_try='./$ac_file'
2695 { (case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_try") 2>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }; }; then
2706 if test "$cross_compiling" = maybe; then
2709 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2710 If you meant to cross compile, use \`--host'.
2711 See \`config.log' for more details." >&5
2712 echo "$as_me: error: cannot run C++ compiled programs.
2713 If you meant to cross compile, use \`--host'.
2714 See \`config.log' for more details." >&2;}
2715 { (exit 1); exit 1; }; }
2719 { echo "$as_me:$LINENO: result: yes" >&5
2720 echo "${ECHO_T}yes" >&6; }
2722 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2723 ac_clean_files=$ac_clean_files_save
2724 # Check that the compiler produces executables we can run. If not, either
2725 # the compiler is broken, or we cross compile.
2726 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2728 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2729 echo "${ECHO_T}$cross_compiling" >&6; }
2731 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2732 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2733 if { (ac_try="$ac_link"
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_link") 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; then
2743 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2744 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2745 # work properly (i.e., refer to `conftest.exe'), while it won't with
2747 for ac_file in conftest.exe conftest conftest.*; do
2748 test -f "$ac_file" || continue
2750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2751 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2757 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2758 See \`config.log' for more details." >&5
2759 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2760 See \`config.log' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2764 rm -f conftest$ac_cv_exeext
2765 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2766 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2768 rm -f conftest.$ac_ext
2769 EXEEXT=$ac_cv_exeext
2771 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2772 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2773 if test "${ac_cv_objext+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 cat >conftest.$ac_ext <<_ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 rm -f conftest.o conftest.obj
2792 if { (ac_try="$ac_compile"
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_compile") 2>&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; then
2802 for ac_file in conftest.o conftest.obj conftest.*; do
2803 test -f "$ac_file" || continue;
2805 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2806 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2815 See \`config.log' for more details." >&5
2816 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2817 See \`config.log' for more details." >&2;}
2818 { (exit 1); exit 1; }; }
2821 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2823 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2824 echo "${ECHO_T}$ac_cv_objext" >&6; }
2825 OBJEXT=$ac_cv_objext
2827 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2828 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2829 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 cat >conftest.$ac_ext <<_ACEOF
2835 cat confdefs.h >>conftest.$ac_ext
2836 cat >>conftest.$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2850 rm -f conftest.$ac_objext
2851 if { (ac_try="$ac_compile"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857 (eval "$ac_compile") 2>conftest.er1
2859 grep -v '^ *+' conftest.er1 >conftest.err
2861 cat conftest.err >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); } && {
2864 test -z "$ac_cxx_werror_flag" ||
2865 test ! -s conftest.err
2866 } && test -s conftest.$ac_objext; then
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.$ac_ext >&5
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2879 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2880 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2881 GXX=`test $ac_compiler_gnu = yes && echo yes`
2882 ac_test_CXXFLAGS=${CXXFLAGS+set}
2883 ac_save_CXXFLAGS=$CXXFLAGS
2884 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2885 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cxx_g+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2890 ac_cxx_werror_flag=yes
2893 cat >conftest.$ac_ext <<_ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2908 rm -f conftest.$ac_objext
2909 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_cxx_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2925 ac_cv_prog_cxx_g=yes
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2931 cat >conftest.$ac_ext <<_ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2946 rm -f conftest.$ac_objext
2947 if { (ac_try="$ac_compile"
2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2950 *) ac_try_echo=$ac_try;;
2952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2953 (eval "$ac_compile") 2>conftest.er1
2955 grep -v '^ *+' conftest.er1 >conftest.err
2957 cat conftest.err >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } && {
2960 test -z "$ac_cxx_werror_flag" ||
2961 test ! -s conftest.err
2962 } && test -s conftest.$ac_objext; then
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2968 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2970 cat >conftest.$ac_ext <<_ACEOF
2973 cat confdefs.h >>conftest.$ac_ext
2974 cat >>conftest.$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2985 rm -f conftest.$ac_objext
2986 if { (ac_try="$ac_compile"
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2992 (eval "$ac_compile") 2>conftest.er1
2994 grep -v '^ *+' conftest.er1 >conftest.err
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } && {
2999 test -z "$ac_cxx_werror_flag" ||
3000 test ! -s conftest.err
3001 } && test -s conftest.$ac_objext; then
3002 ac_cv_prog_cxx_g=yes
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3019 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3020 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3021 if test "$ac_test_CXXFLAGS" = set; then
3022 CXXFLAGS=$ac_save_CXXFLAGS
3023 elif test $ac_cv_prog_cxx_g = yes; then
3024 if test "$GXX" = yes; then
3030 if test "$GXX" = yes; then
3037 ac_cpp='$CPP $CPPFLAGS'
3038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 DEPDIR="${am__leading_dot}deps"
3043 ac_config_commands="$ac_config_commands depfiles"
3046 am_make=${MAKE-make}
3047 cat > confinc << 'END'
3052 # If we don't find an include directive, just comment out the code.
3053 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3054 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3058 # First try GNU make style include.
3059 echo "include confinc" > confmf
3060 # We grep out `Entering directory' and `Leaving directory'
3061 # messages which can occur if `w' ends up in MAKEFLAGS.
3062 # In particular we don't look at `^make:' because GNU make might
3063 # be invoked under some other name (usually "gmake"), in which
3064 # case it prints its new name instead of `make'.
3065 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3070 # Now try BSD make style include.
3071 if test "$am__include" = "#"; then
3072 echo '.include "confinc"' > confmf
3073 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3074 am__include=.include
3081 { echo "$as_me:$LINENO: result: $_am_result" >&5
3082 echo "${ECHO_T}$_am_result" >&6; }
3083 rm -f confinc confmf
3085 # Check whether --enable-dependency-tracking was given.
3086 if test "${enable_dependency_tracking+set}" = set; then
3087 enableval=$enable_dependency_tracking;
3090 if test "x$enable_dependency_tracking" != xno; then
3091 am_depcomp="$ac_aux_dir/depcomp"
3094 if test "x$enable_dependency_tracking" != xno; then
3104 depcc="$CXX" am_compiler_list=
3106 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3107 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3108 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3112 # We make a subdir and do the tests there. Otherwise we can end up
3113 # making bogus files that we don't know about and never remove. For
3114 # instance it was reported that on HP-UX the gcc test will end up
3115 # making a dummy file named `D' -- because `-MD' means `put the output
3118 # Copy depcomp to subdir because otherwise we won't find it if we're
3119 # using a relative directory.
3120 cp "$am_depcomp" conftest.dir
3122 # We will build objects and dependencies in a subdirectory because
3123 # it helps to detect inapplicable dependency modes. For instance
3124 # both Tru64's cc and ICC support -MD to output dependencies as a
3125 # side effect of compilation, but ICC will put the dependencies in
3126 # the current directory while Tru64 will put them in the object
3130 am_cv_CXX_dependencies_compiler_type=none
3131 if test "$am_compiler_list" = ""; then
3132 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3134 for depmode in $am_compiler_list; do
3135 # Setup a source with many dependencies, because some compilers
3136 # like to wrap large dependency lists on column 80 (with \), and
3137 # we should not choose a depcomp mode which is confused by this.
3139 # We need to recreate these files for each test, as the compiler may
3140 # overwrite some of them when testing with obscure command lines.
3141 # This happens at least with the AIX C compiler.
3143 for i in 1 2 3 4 5 6; do
3144 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3145 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3146 # Solaris 8's {/usr,}/bin/sh.
3147 touch sub/conftst$i.h
3149 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3153 # after this tag, mechanisms are not by side-effect, so they'll
3154 # only be used when explicitly requested
3155 if test "x$enable_dependency_tracking" = xyes; then
3163 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3164 # mode. It turns out that the SunPro C++ compiler does not properly
3165 # handle `-M -o', and we need to detect this.
3166 if depmode=$depmode \
3167 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3168 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3169 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3170 >/dev/null 2>conftest.err &&
3171 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3172 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3173 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3174 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3175 # icc doesn't choke on unknown options, it will just issue warnings
3176 # or remarks (even with -Werror). So we grep stderr for any message
3177 # that says an option was ignored or not supported.
3178 # When given -MP, icc 7.0 and 7.1 complain thusly:
3179 # icc: Command line warning: ignoring option '-M'; no argument required
3180 # The diagnosis changed in icc 8.0:
3181 # icc: Command line remark: option '-MP' not supported
3182 if (grep 'ignoring option' conftest.err ||
3183 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3184 am_cv_CXX_dependencies_compiler_type=$depmode
3193 am_cv_CXX_dependencies_compiler_type=none
3197 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3198 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3199 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3202 test "x$enable_dependency_tracking" != xno \
3203 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3204 am__fastdepCXX_TRUE=
3205 am__fastdepCXX_FALSE='#'
3207 am__fastdepCXX_TRUE='#'
3208 am__fastdepCXX_FALSE=
3212 for ac_prog in gawk mawk nawk awk
3214 # Extract the first word of "$ac_prog", so it can be a program name with args.
3215 set dummy $ac_prog; ac_word=$2
3216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3218 if test "${ac_cv_prog_AWK+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 if test -n "$AWK"; then
3222 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 test -z "$as_dir" && as_dir=.
3229 for ac_exec_ext in '' $ac_executable_extensions; do
3230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231 ac_cv_prog_AWK="$ac_prog"
3232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3242 if test -n "$AWK"; then
3243 { echo "$as_me:$LINENO: result: $AWK" >&5
3244 echo "${ECHO_T}$AWK" >&6; }
3246 { echo "$as_me:$LINENO: result: no" >&5
3247 echo "${ECHO_T}no" >&6; }
3251 test -n "$AWK" && break
3255 ac_cpp='$CPP $CPPFLAGS'
3256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3259 if test -n "$ac_tool_prefix"; then
3260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3261 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3264 if test "${ac_cv_prog_CC+set}" = set; then
3265 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 if test -n "$CC"; then
3268 ac_cv_prog_CC="$CC" # Let the user override the test.
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir=.
3275 for ac_exec_ext in '' $ac_executable_extensions; do
3276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 if test -n "$CC"; then
3289 { echo "$as_me:$LINENO: result: $CC" >&5
3290 echo "${ECHO_T}$CC" >&6; }
3292 { echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6; }
3298 if test -z "$ac_cv_prog_CC"; then
3300 # Extract the first word of "gcc", so it can be a program name with args.
3301 set dummy gcc; ac_word=$2
3302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if test -n "$ac_ct_CC"; then
3308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 test -z "$as_dir" && as_dir=.
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3317 ac_cv_prog_ac_ct_CC="gcc"
3318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3328 if test -n "$ac_ct_CC"; then
3329 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3330 echo "${ECHO_T}$ac_ct_CC" >&6; }
3332 { echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6; }
3336 if test "x$ac_ct_CC" = x; then
3339 case $cross_compiling:$ac_tool_warned in
3341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3342 whose name does not start with the host triplet. If you think this
3343 configuration is useful to you, please write to autoconf@gnu.org." >&5
3344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3345 whose name does not start with the host triplet. If you think this
3346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3347 ac_tool_warned=yes ;;
3355 if test -z "$CC"; then
3356 if test -n "$ac_tool_prefix"; then
3357 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3358 set dummy ${ac_tool_prefix}cc; ac_word=$2
3359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3361 if test "${ac_cv_prog_CC+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 if test -n "$CC"; then
3365 ac_cv_prog_CC="$CC" # Let the user override the test.
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3374 ac_cv_prog_CC="${ac_tool_prefix}cc"
3375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 if test -n "$CC"; then
3386 { echo "$as_me:$LINENO: result: $CC" >&5
3387 echo "${ECHO_T}$CC" >&6; }
3389 { echo "$as_me:$LINENO: result: no" >&5
3390 echo "${ECHO_T}no" >&6; }
3396 if test -z "$CC"; then
3397 # Extract the first word of "cc", so it can be a program name with args.
3398 set dummy cc; ac_word=$2
3399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3401 if test "${ac_cv_prog_CC+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 if test -n "$CC"; then
3405 ac_cv_prog_CC="$CC" # Let the user override the test.
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3412 test -z "$as_dir" && as_dir=.
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3415 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3416 ac_prog_rejected=yes
3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 if test $ac_prog_rejected = yes; then
3428 # We found a bogon in the path, so make sure we never use it.
3429 set dummy $ac_cv_prog_CC
3431 if test $# != 0; then
3432 # We chose a different compiler from the bogus one.
3433 # However, it has the same basename, so the bogon will be chosen
3434 # first if we set CC to just the basename; use the full file name.
3436 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3442 if test -n "$CC"; then
3443 { echo "$as_me:$LINENO: result: $CC" >&5
3444 echo "${ECHO_T}$CC" >&6; }
3446 { echo "$as_me:$LINENO: result: no" >&5
3447 echo "${ECHO_T}no" >&6; }
3452 if test -z "$CC"; then
3453 if test -n "$ac_tool_prefix"; then
3454 for ac_prog in cl.exe
3456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3460 if test "${ac_cv_prog_CC+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 if test -n "$CC"; then
3464 ac_cv_prog_CC="$CC" # Let the user override the test.
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 if test -n "$CC"; then
3485 { echo "$as_me:$LINENO: result: $CC" >&5
3486 echo "${ECHO_T}$CC" >&6; }
3488 { echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6; }
3493 test -n "$CC" && break
3496 if test -z "$CC"; then
3498 for ac_prog in cl.exe
3500 # Extract the first word of "$ac_prog", so it can be a program name with args.
3501 set dummy $ac_prog; ac_word=$2
3502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 if test -n "$ac_ct_CC"; then
3508 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CC="$ac_prog"
3518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3528 if test -n "$ac_ct_CC"; then
3529 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3530 echo "${ECHO_T}$ac_ct_CC" >&6; }
3532 { echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6; }
3537 test -n "$ac_ct_CC" && break
3540 if test "x$ac_ct_CC" = x; then
3543 case $cross_compiling:$ac_tool_warned in
3545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3546 whose name does not start with the host triplet. If you think this
3547 configuration is useful to you, please write to autoconf@gnu.org." >&5
3548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3549 whose name does not start with the host triplet. If you think this
3550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3551 ac_tool_warned=yes ;;
3560 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3561 See \`config.log' for more details." >&5
3562 echo "$as_me: error: no acceptable C compiler found in \$PATH
3563 See \`config.log' for more details." >&2;}
3564 { (exit 1); exit 1; }; }
3566 # Provide some information about the compiler.
3567 echo "$as_me:$LINENO: checking for C compiler version" >&5
3568 ac_compiler=`set X $ac_compile; echo $2`
3569 { (ac_try="$ac_compiler --version >&5"
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3575 (eval "$ac_compiler --version >&5") 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }
3579 { (ac_try="$ac_compiler -v >&5"
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3585 (eval "$ac_compiler -v >&5") 2>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }
3589 { (ac_try="$ac_compiler -V >&5"
3591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592 *) ac_try_echo=$ac_try;;
3594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595 (eval "$ac_compiler -V >&5") 2>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }
3600 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3601 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3602 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3623 rm -f conftest.$ac_objext
3624 if { (ac_try="$ac_compile"
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630 (eval "$ac_compile") 2>conftest.er1
3632 grep -v '^ *+' conftest.er1 >conftest.err
3634 cat conftest.err >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } && {
3637 test -z "$ac_c_werror_flag" ||
3638 test ! -s conftest.err
3639 } && test -s conftest.$ac_objext; then
3642 echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.$ac_ext >&5
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3652 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3653 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3654 GCC=`test $ac_compiler_gnu = yes && echo yes`
3655 ac_test_CFLAGS=${CFLAGS+set}
3656 ac_save_CFLAGS=$CFLAGS
3657 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3658 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3659 if test "${ac_cv_prog_cc_g+set}" = set; then
3660 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 ac_save_c_werror_flag=$ac_c_werror_flag
3663 ac_c_werror_flag=yes
3666 cat >conftest.$ac_ext <<_ACEOF
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3681 rm -f conftest.$ac_objext
3682 if { (ac_try="$ac_compile"
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3688 (eval "$ac_compile") 2>conftest.er1
3690 grep -v '^ *+' conftest.er1 >conftest.err
3692 cat conftest.err >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); } && {
3695 test -z "$ac_c_werror_flag" ||
3696 test ! -s conftest.err
3697 } && test -s conftest.$ac_objext; then
3700 echo "$as_me: failed program was:" >&5
3701 sed 's/^/| /' conftest.$ac_ext >&5
3704 cat >conftest.$ac_ext <<_ACEOF
3707 cat confdefs.h >>conftest.$ac_ext
3708 cat >>conftest.$ac_ext <<_ACEOF
3709 /* end confdefs.h. */
3719 rm -f conftest.$ac_objext
3720 if { (ac_try="$ac_compile"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3726 (eval "$ac_compile") 2>conftest.er1
3728 grep -v '^ *+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } && {
3733 test -z "$ac_c_werror_flag" ||
3734 test ! -s conftest.err
3735 } && test -s conftest.$ac_objext; then
3738 echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.$ac_ext >&5
3741 ac_c_werror_flag=$ac_save_c_werror_flag
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3758 rm -f conftest.$ac_objext
3759 if { (ac_try="$ac_compile"
3761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762 *) ac_try_echo=$ac_try;;
3764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3765 (eval "$ac_compile") 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } && {
3772 test -z "$ac_c_werror_flag" ||
3773 test ! -s conftest.err
3774 } && test -s conftest.$ac_objext; then
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.$ac_ext >&5
3783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_c_werror_flag=$ac_save_c_werror_flag
3792 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3793 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3794 if test "$ac_test_CFLAGS" = set; then
3795 CFLAGS=$ac_save_CFLAGS
3796 elif test $ac_cv_prog_cc_g = yes; then
3797 if test "$GCC" = yes; then
3803 if test "$GCC" = yes; then
3809 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3810 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3811 if test "${ac_cv_prog_cc_c89+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 ac_cv_prog_cc_c89=no
3816 cat >conftest.$ac_ext <<_ACEOF
3819 cat confdefs.h >>conftest.$ac_ext
3820 cat >>conftest.$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3824 #include <sys/types.h>
3825 #include <sys/stat.h>
3826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3827 struct buf { int x; };
3828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3829 static char *e (p, i)
3835 static char *f (char * (*g) (char **, int), char **p, ...)
3840 s = g (p, va_arg (v,int));
3845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3846 function prototypes and stuff, but not '\xHH' hex character constants.
3847 These don't provoke an error unfortunately, instead are silently treated
3848 as 'x'. The following induces an error, until -std is added to get
3849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3850 array size at least. It's necessary to write '\x00'==0 to get something
3851 that's true only with -std. */
3852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3855 inside strings and character constants. */
3857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3859 int test (int i, double x);
3860 struct s1 {int (*f) (int a);};
3861 struct s2 {int (*f) (double a);};
3862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3876 CC="$ac_save_CC $ac_arg"
3877 rm -f conftest.$ac_objext
3878 if { (ac_try="$ac_compile"
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_compile") 2>conftest.er1
3886 grep -v '^ *+' conftest.er1 >conftest.err
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && {
3891 test -z "$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3893 } && test -s conftest.$ac_objext; then
3894 ac_cv_prog_cc_c89=$ac_arg
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3902 rm -f core conftest.err conftest.$ac_objext
3903 test "x$ac_cv_prog_cc_c89" != "xno" && break
3905 rm -f conftest.$ac_ext
3910 case "x$ac_cv_prog_cc_c89" in
3912 { echo "$as_me:$LINENO: result: none needed" >&5
3913 echo "${ECHO_T}none needed" >&6; } ;;
3915 { echo "$as_me:$LINENO: result: unsupported" >&5
3916 echo "${ECHO_T}unsupported" >&6; } ;;
3918 CC="$CC $ac_cv_prog_cc_c89"
3919 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3920 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930 depcc="$CC" am_compiler_list=
3932 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3933 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3934 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3938 # We make a subdir and do the tests there. Otherwise we can end up
3939 # making bogus files that we don't know about and never remove. For
3940 # instance it was reported that on HP-UX the gcc test will end up
3941 # making a dummy file named `D' -- because `-MD' means `put the output
3944 # Copy depcomp to subdir because otherwise we won't find it if we're
3945 # using a relative directory.
3946 cp "$am_depcomp" conftest.dir
3948 # We will build objects and dependencies in a subdirectory because
3949 # it helps to detect inapplicable dependency modes. For instance
3950 # both Tru64's cc and ICC support -MD to output dependencies as a
3951 # side effect of compilation, but ICC will put the dependencies in
3952 # the current directory while Tru64 will put them in the object
3956 am_cv_CC_dependencies_compiler_type=none
3957 if test "$am_compiler_list" = ""; then
3958 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3960 for depmode in $am_compiler_list; do
3961 # Setup a source with many dependencies, because some compilers
3962 # like to wrap large dependency lists on column 80 (with \), and
3963 # we should not choose a depcomp mode which is confused by this.
3965 # We need to recreate these files for each test, as the compiler may
3966 # overwrite some of them when testing with obscure command lines.
3967 # This happens at least with the AIX C compiler.
3969 for i in 1 2 3 4 5 6; do
3970 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3972 # Solaris 8's {/usr,}/bin/sh.
3973 touch sub/conftst$i.h
3975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3979 # after this tag, mechanisms are not by side-effect, so they'll
3980 # only be used when explicitly requested
3981 if test "x$enable_dependency_tracking" = xyes; then
3989 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3990 # mode. It turns out that the SunPro C++ compiler does not properly
3991 # handle `-M -o', and we need to detect this.
3992 if depmode=$depmode \
3993 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3994 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3995 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3996 >/dev/null 2>conftest.err &&
3997 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3998 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3999 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4000 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4001 # icc doesn't choke on unknown options, it will just issue warnings
4002 # or remarks (even with -Werror). So we grep stderr for any message
4003 # that says an option was ignored or not supported.
4004 # When given -MP, icc 7.0 and 7.1 complain thusly:
4005 # icc: Command line warning: ignoring option '-M'; no argument required
4006 # The diagnosis changed in icc 8.0:
4007 # icc: Command line remark: option '-MP' not supported
4008 if (grep 'ignoring option' conftest.err ||
4009 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4010 am_cv_CC_dependencies_compiler_type=$depmode
4019 am_cv_CC_dependencies_compiler_type=none
4023 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4024 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4025 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4028 test "x$enable_dependency_tracking" != xno \
4029 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4031 am__fastdepCC_FALSE='#'
4033 am__fastdepCC_TRUE='#'
4034 am__fastdepCC_FALSE=
4039 ac_cpp='$CPP $CPPFLAGS'
4040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4044 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4045 # On Suns, sometimes $CPP names a directory.
4046 if test -n "$CPP" && test -d "$CPP"; then
4049 if test -z "$CPP"; then
4050 if test "${ac_cv_prog_CPP+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 # Double quotes because CPP needs to be expanded
4054 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4057 for ac_c_preproc_warn_flag in '' yes
4059 # Use a header file that comes with gcc, so configuring glibc
4060 # with a fresh cross-compiler works.
4061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4062 # <limits.h> exists even on freestanding compilers.
4063 # On the NeXT, cc -E runs the code through the compiler's parser,
4064 # not just through cpp. "Syntax error" is here to catch this case.
4065 cat >conftest.$ac_ext <<_ACEOF
4068 cat confdefs.h >>conftest.$ac_ext
4069 cat >>conftest.$ac_ext <<_ACEOF
4070 /* end confdefs.h. */
4072 # include <limits.h>
4074 # include <assert.h>
4078 if { (ac_try="$ac_cpp conftest.$ac_ext"
4080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1 >conftest.err
4088 cat conftest.err >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } >/dev/null && {
4091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4096 echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4099 # Broken: fails on valid input.
4103 rm -f conftest.err conftest.$ac_ext
4105 # OK, works on sane cases. Now check whether nonexistent headers
4106 # can be detected and how.
4107 cat >conftest.$ac_ext <<_ACEOF
4110 cat confdefs.h >>conftest.$ac_ext
4111 cat >>conftest.$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 #include <ac_nonexistent.h>
4115 if { (ac_try="$ac_cpp conftest.$ac_ext"
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4123 grep -v '^ *+' conftest.er1 >conftest.err
4125 cat conftest.err >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } >/dev/null && {
4128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4129 test ! -s conftest.err
4131 # Broken: success on invalid input.
4134 echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4137 # Passes both tests.
4142 rm -f conftest.err conftest.$ac_ext
4145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4146 rm -f conftest.err conftest.$ac_ext
4147 if $ac_preproc_ok; then
4159 { echo "$as_me:$LINENO: result: $CPP" >&5
4160 echo "${ECHO_T}$CPP" >&6; }
4162 for ac_c_preproc_warn_flag in '' yes
4164 # Use a header file that comes with gcc, so configuring glibc
4165 # with a fresh cross-compiler works.
4166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4167 # <limits.h> exists even on freestanding compilers.
4168 # On the NeXT, cc -E runs the code through the compiler's parser,
4169 # not just through cpp. "Syntax error" is here to catch this case.
4170 cat >conftest.$ac_ext <<_ACEOF
4173 cat confdefs.h >>conftest.$ac_ext
4174 cat >>conftest.$ac_ext <<_ACEOF
4175 /* end confdefs.h. */
4177 # include <limits.h>
4179 # include <assert.h>
4183 if { (ac_try="$ac_cpp conftest.$ac_ext"
4185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4186 *) ac_try_echo=$ac_try;;
4188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4191 grep -v '^ *+' conftest.er1 >conftest.err
4193 cat conftest.err >&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } >/dev/null && {
4196 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4197 test ! -s conftest.err
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 # Broken: fails on valid input.
4208 rm -f conftest.err conftest.$ac_ext
4210 # OK, works on sane cases. Now check whether nonexistent headers
4211 # can be detected and how.
4212 cat >conftest.$ac_ext <<_ACEOF
4215 cat confdefs.h >>conftest.$ac_ext
4216 cat >>conftest.$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4218 #include <ac_nonexistent.h>
4220 if { (ac_try="$ac_cpp conftest.$ac_ext"
4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4228 grep -v '^ *+' conftest.er1 >conftest.err
4230 cat conftest.err >&5
4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232 (exit $ac_status); } >/dev/null && {
4233 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4234 test ! -s conftest.err
4236 # Broken: success on invalid input.
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 # Passes both tests.
4247 rm -f conftest.err conftest.$ac_ext
4250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4251 rm -f conftest.err conftest.$ac_ext
4252 if $ac_preproc_ok; then
4255 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4256 See \`config.log' for more details." >&5
4257 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4258 See \`config.log' for more details." >&2;}
4259 { (exit 1); exit 1; }; }
4263 ac_cpp='$CPP $CPPFLAGS'
4264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4268 # Find a good install program. We prefer a C program (faster),
4269 # so one script is as good as another. But avoid the broken or
4270 # incompatible versions:
4271 # SysV /etc/install, /usr/sbin/install
4272 # SunOS /usr/etc/install
4273 # IRIX /sbin/install
4275 # AmigaOS /C/install, which installs bootblocks on floppy discs
4276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4279 # OS/2's system install, which has a completely different semantic
4280 # ./install, which can be erroneously created by make from ./install.sh.
4281 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4283 if test -z "$INSTALL"; then
4284 if test "${ac_cv_path_install+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir=.
4292 # Account for people who put trailing slashes in PATH elements.
4294 ./ | .// | /cC/* | \
4295 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4296 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4299 # OSF1 and SCO ODT 3.0 have their own names for install.
4300 # Don't use installbsd from OSF since it installs stuff as root
4302 for ac_prog in ginstall scoinst install; do
4303 for ac_exec_ext in '' $ac_executable_extensions; do
4304 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4305 if test $ac_prog = install &&
4306 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4307 # AIX install. It has an incompatible calling convention.
4309 elif test $ac_prog = install &&
4310 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4311 # program-specific install script used by HP pwplus--don't use.
4314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4327 if test "${ac_cv_path_install+set}" = set; then
4328 INSTALL=$ac_cv_path_install
4330 # As a last resort, use the slow shell script. Don't cache a
4331 # value for INSTALL within a source directory, because that will
4332 # break other packages using the cache if that directory is
4333 # removed, or if the value is a relative name.
4334 INSTALL=$ac_install_sh
4337 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4338 echo "${ECHO_T}$INSTALL" >&6; }
4340 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4341 # It thinks the first close brace ends the variable substitution.
4342 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4344 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4346 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4348 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4349 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4351 if test "$LN_S" = "ln -s"; then
4352 { echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6; }
4355 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4356 echo "${ECHO_T}no, using $LN_S" >&6; }
4359 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4360 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
4361 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4362 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 cat >conftest.make <<\_ACEOF
4368 @echo '@@@%%%=$(MAKE)=@@@%%%'
4370 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4371 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4373 eval ac_cv_prog_make_${ac_make}_set=yes;;
4375 eval ac_cv_prog_make_${ac_make}_set=no;;
4379 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4380 { echo "$as_me:$LINENO: result: yes" >&5
4381 echo "${ECHO_T}yes" >&6; }
4384 { echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6; }
4386 SET_MAKE="MAKE=${MAKE-make}"
4391 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4392 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4397 macro_version='2.2.4'
4398 macro_revision='1.2976'
4412 ltmain="$ac_aux_dir/ltmain.sh"
4414 # Make sure we can run config.sub.
4415 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4416 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4417 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4418 { (exit 1); exit 1; }; }
4420 { echo "$as_me:$LINENO: checking build system type" >&5
4421 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4422 if test "${ac_cv_build+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 ac_build_alias=$build_alias
4426 test "x$ac_build_alias" = x &&
4427 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4428 test "x$ac_build_alias" = x &&
4429 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4430 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4431 { (exit 1); exit 1; }; }
4432 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4433 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4434 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4435 { (exit 1); exit 1; }; }
4438 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4439 echo "${ECHO_T}$ac_cv_build" >&6; }
4440 case $ac_cv_build in
4442 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4443 echo "$as_me: error: invalid value of canonical build" >&2;}
4444 { (exit 1); exit 1; }; };;
4447 ac_save_IFS=$IFS; IFS='-'
4453 # Remember, the first character of IFS is used to create $*,
4454 # except with old shells:
4457 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4460 { echo "$as_me:$LINENO: checking host system type" >&5
4461 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4462 if test "${ac_cv_host+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 if test "x$host_alias" = x; then
4466 ac_cv_host=$ac_cv_build
4468 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4469 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4470 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4471 { (exit 1); exit 1; }; }
4475 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4476 echo "${ECHO_T}$ac_cv_host" >&6; }
4479 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4480 echo "$as_me: error: invalid value of canonical host" >&2;}
4481 { (exit 1); exit 1; }; };;
4484 ac_save_IFS=$IFS; IFS='-'
4490 # Remember, the first character of IFS is used to create $*,
4491 # except with old shells:
4494 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4497 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4498 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4499 if test "${ac_cv_path_SED+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4503 for ac_i in 1 2 3 4 5 6 7; do
4504 ac_script="$ac_script$as_nl$ac_script"
4506 echo "$ac_script" | sed 99q >conftest.sed
4507 $as_unset ac_script || ac_script=
4508 # Extract the first word of "sed gsed" to use in msg output
4509 if test -z "$SED"; then
4510 set dummy sed gsed; ac_prog_name=$2
4511 if test "${ac_cv_path_SED+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 ac_path_SED_found=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 test -z "$as_dir" && as_dir=.
4521 for ac_prog in sed gsed; do
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4525 # Check for GNU ac_path_SED and select it if it is found.
4526 # Check for GNU $ac_path_SED
4527 case `"$ac_path_SED" --version 2>&1` in
4529 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4532 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 echo '' >> "conftest.nl"
4539 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541 ac_count=`expr $ac_count + 1`
4542 if test $ac_count -gt ${ac_path_SED_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_SED="$ac_path_SED"
4545 ac_path_SED_max=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 $ac_path_SED_found && break 3
4564 SED="$ac_cv_path_SED"
4565 if test -z "$SED"; then
4566 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4567 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4568 { (exit 1); exit 1; }; }
4576 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4577 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4578 SED="$ac_cv_path_SED"
4581 test -z "$SED" && SED=sed
4582 Xsed="$SED -e 1s/^X//"
4594 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4595 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4596 if test "${ac_cv_path_GREP+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 # Extract the first word of "grep ggrep" to use in msg output
4600 if test -z "$GREP"; then
4601 set dummy grep ggrep; ac_prog_name=$2
4602 if test "${ac_cv_path_GREP+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 ac_path_GREP_found=false
4606 # Loop through the user's path and test for each of PROGNAME-LIST
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4611 test -z "$as_dir" && as_dir=.
4612 for ac_prog in grep ggrep; do
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4615 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4616 # Check for GNU ac_path_GREP and select it if it is found.
4617 # Check for GNU $ac_path_GREP
4618 case `"$ac_path_GREP" --version 2>&1` in
4620 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4623 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4626 cat "conftest.in" "conftest.in" >"conftest.tmp"
4627 mv "conftest.tmp" "conftest.in"
4628 cp "conftest.in" "conftest.nl"
4629 echo 'GREP' >> "conftest.nl"
4630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4632 ac_count=`expr $ac_count + 1`
4633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4634 # Best one so far, save it but keep looking for a better one
4635 ac_cv_path_GREP="$ac_path_GREP"
4636 ac_path_GREP_max=$ac_count
4638 # 10*(2^10) chars as input seems more than enough
4639 test $ac_count -gt 10 && break
4641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4645 $ac_path_GREP_found && break 3
4655 GREP="$ac_cv_path_GREP"
4656 if test -z "$GREP"; then
4657 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4658 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4659 { (exit 1); exit 1; }; }
4663 ac_cv_path_GREP=$GREP
4668 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4669 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4670 GREP="$ac_cv_path_GREP"
4673 { echo "$as_me:$LINENO: checking for egrep" >&5
4674 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4675 if test "${ac_cv_path_EGREP+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4679 then ac_cv_path_EGREP="$GREP -E"
4681 # Extract the first word of "egrep" to use in msg output
4682 if test -z "$EGREP"; then
4683 set dummy egrep; ac_prog_name=$2
4684 if test "${ac_cv_path_EGREP+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4687 ac_path_EGREP_found=false
4688 # Loop through the user's path and test for each of PROGNAME-LIST
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4693 test -z "$as_dir" && as_dir=.
4694 for ac_prog in egrep; do
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4697 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4698 # Check for GNU ac_path_EGREP and select it if it is found.
4699 # Check for GNU $ac_path_EGREP
4700 case `"$ac_path_EGREP" --version 2>&1` in
4702 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4705 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4708 cat "conftest.in" "conftest.in" >"conftest.tmp"
4709 mv "conftest.tmp" "conftest.in"
4710 cp "conftest.in" "conftest.nl"
4711 echo 'EGREP' >> "conftest.nl"
4712 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714 ac_count=`expr $ac_count + 1`
4715 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4716 # Best one so far, save it but keep looking for a better one
4717 ac_cv_path_EGREP="$ac_path_EGREP"
4718 ac_path_EGREP_max=$ac_count
4720 # 10*(2^10) chars as input seems more than enough
4721 test $ac_count -gt 10 && break
4723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4727 $ac_path_EGREP_found && break 3
4737 EGREP="$ac_cv_path_EGREP"
4738 if test -z "$EGREP"; then
4739 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4740 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4741 { (exit 1); exit 1; }; }
4745 ac_cv_path_EGREP=$EGREP
4751 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4752 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4753 EGREP="$ac_cv_path_EGREP"
4756 { echo "$as_me:$LINENO: checking for fgrep" >&5
4757 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4758 if test "${ac_cv_path_FGREP+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4762 then ac_cv_path_FGREP="$GREP -F"
4764 # Extract the first word of "fgrep" to use in msg output
4765 if test -z "$FGREP"; then
4766 set dummy fgrep; ac_prog_name=$2
4767 if test "${ac_cv_path_FGREP+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 ac_path_FGREP_found=false
4771 # Loop through the user's path and test for each of PROGNAME-LIST
4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4776 test -z "$as_dir" && as_dir=.
4777 for ac_prog in fgrep; do
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4780 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4781 # Check for GNU ac_path_FGREP and select it if it is found.
4782 # Check for GNU $ac_path_FGREP
4783 case `"$ac_path_FGREP" --version 2>&1` in
4785 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4788 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4791 cat "conftest.in" "conftest.in" >"conftest.tmp"
4792 mv "conftest.tmp" "conftest.in"
4793 cp "conftest.in" "conftest.nl"
4794 echo 'FGREP' >> "conftest.nl"
4795 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4796 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4797 ac_count=`expr $ac_count + 1`
4798 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4799 # Best one so far, save it but keep looking for a better one
4800 ac_cv_path_FGREP="$ac_path_FGREP"
4801 ac_path_FGREP_max=$ac_count
4803 # 10*(2^10) chars as input seems more than enough
4804 test $ac_count -gt 10 && break
4806 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4810 $ac_path_FGREP_found && break 3
4820 FGREP="$ac_cv_path_FGREP"
4821 if test -z "$FGREP"; then
4822 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4823 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4824 { (exit 1); exit 1; }; }
4828 ac_cv_path_FGREP=$FGREP
4834 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4835 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4836 FGREP="$ac_cv_path_FGREP"
4839 test -z "$GREP" && GREP=grep
4859 # Check whether --with-gnu-ld was given.
4860 if test "${with_gnu_ld+set}" = set; then
4861 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4867 if test "$GCC" = yes; then
4868 # Check if gcc -print-prog-name=ld gives a path.
4869 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4870 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4873 # gcc leaves a trailing carriage return which upsets mingw
4874 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4876 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4879 # Accept absolute paths.
4881 re_direlt='/[^/][^/]*/\.\./'
4882 # Canonicalize the pathname of ld
4883 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4884 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4885 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4887 test -z "$LD" && LD="$ac_prog"
4890 # If it fails, then pretend we aren't using GCC.
4894 # If it is relative, then search for the first ld in PATH.
4898 elif test "$with_gnu_ld" = yes; then
4899 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4900 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4902 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4903 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4905 if test "${lt_cv_path_LD+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 if test -z "$LD"; then
4909 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4910 for ac_dir in $PATH; do
4912 test -z "$ac_dir" && ac_dir=.
4913 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4914 lt_cv_path_LD="$ac_dir/$ac_prog"
4915 # Check to see if the program is GNU ld. I'd rather use --version,
4916 # but apparently some variants of GNU ld only accept -v.
4917 # Break only if it was the GNU/non-GNU ld that we prefer.
4918 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4919 *GNU* | *'with BFD'*)
4920 test "$with_gnu_ld" != no && break
4923 test "$with_gnu_ld" != yes && break
4930 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4935 if test -n "$LD"; then
4936 { echo "$as_me:$LINENO: result: $LD" >&5
4937 echo "${ECHO_T}$LD" >&6; }
4939 { echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6; }
4942 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4943 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4944 { (exit 1); exit 1; }; }
4945 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4946 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4947 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4951 case `$LD -v 2>&1 </dev/null` in
4952 *GNU* | *'with BFD'*)
4953 lt_cv_prog_gnu_ld=yes
4956 lt_cv_prog_gnu_ld=no
4960 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4961 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4962 with_gnu_ld=$lt_cv_prog_gnu_ld
4972 { echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4973 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4974 if test "${lt_cv_path_NM+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 if test -n "$NM"; then
4978 # Let the user override the test.
4981 lt_nm_to_check="${ac_tool_prefix}nm"
4982 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4983 lt_nm_to_check="$lt_nm_to_check nm"
4985 for lt_tmp_nm in $lt_nm_to_check; do
4986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4987 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4989 test -z "$ac_dir" && ac_dir=.
4990 tmp_nm="$ac_dir/$lt_tmp_nm"
4991 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4992 # Check to see if the nm accepts a BSD-compat flag.
4993 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4994 # nm: unknown option "B" ignored
4995 # Tru64's nm complains that /dev/null is an invalid object file
4996 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4997 */dev/null* | *'Invalid file or object type'*)
4998 lt_cv_path_NM="$tmp_nm -B"
5002 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5004 lt_cv_path_NM="$tmp_nm -p"
5008 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5009 continue # so that we can try to find one that supports BSD flags
5018 : ${lt_cv_path_NM=no}
5021 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5022 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5023 if test "$lt_cv_path_NM" != "no"; then
5026 # Didn't find any BSD compatible name lister, look for dumpbin.
5027 if test -n "$ac_tool_prefix"; then
5028 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5034 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 if test -n "$DUMPBIN"; then
5038 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 DUMPBIN=$ac_cv_prog_DUMPBIN
5058 if test -n "$DUMPBIN"; then
5059 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5060 echo "${ECHO_T}$DUMPBIN" >&6; }
5062 { echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6; }
5067 test -n "$DUMPBIN" && break
5070 if test -z "$DUMPBIN"; then
5071 ac_ct_DUMPBIN=$DUMPBIN
5072 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy $ac_prog; ac_word=$2
5076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5078 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 if test -n "$ac_ct_DUMPBIN"; then
5082 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5102 if test -n "$ac_ct_DUMPBIN"; then
5103 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5104 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
5106 { echo "$as_me:$LINENO: result: no" >&5
5107 echo "${ECHO_T}no" >&6; }
5111 test -n "$ac_ct_DUMPBIN" && break
5114 if test "x$ac_ct_DUMPBIN" = x; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5120 whose name does not start with the host triplet. If you think this
5121 configuration is useful to you, please write to autoconf@gnu.org." >&5
5122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5123 whose name does not start with the host triplet. If you think this
5124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5125 ac_tool_warned=yes ;;
5127 DUMPBIN=$ac_ct_DUMPBIN
5132 if test "$DUMPBIN" != ":"; then
5136 test -z "$NM" && NM=nm
5143 { echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5144 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5145 if test "${lt_cv_nm_interface+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 lt_cv_nm_interface="BSD nm"
5149 echo "int some_variable = 0;" > conftest.$ac_ext
5150 (eval echo "\"\$as_me:5150: $ac_compile\"" >&5)
5151 (eval "$ac_compile" 2>conftest.err)
5152 cat conftest.err >&5
5153 (eval echo "\"\$as_me:5153: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5154 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5155 cat conftest.err >&5
5156 (eval echo "\"\$as_me:5156: output\"" >&5)
5157 cat conftest.out >&5
5158 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5159 lt_cv_nm_interface="MS dumpbin"
5163 { echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5164 echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5166 # find the maximum length of command line arguments
5167 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5168 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5169 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 # On DJGPP, this test can blow up pretty badly due to problems in libc
5178 # (any single argument exceeding 2000 bytes causes a buffer overrun
5179 # during glob expansion). Even if it were fixed, the result of this
5180 # check would be larger than it should be.
5181 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5185 # Under GNU Hurd, this test is not required because there is
5186 # no limit to the length of command line arguments.
5187 # Libtool will interpret -1 as no limit whatsoever
5188 lt_cv_sys_max_cmd_len=-1;
5192 # On Win9x/ME, this test blows up -- it succeeds, but takes
5193 # about 5 minutes as the teststring grows exponentially.
5194 # Worse, since 9x/ME are not pre-emptively multitasking,
5195 # you end up with a "frozen" computer, even though with patience
5196 # the test eventually succeeds (with a max line length of 256k).
5197 # Instead, let's just punt: use the minimum linelength reported by
5198 # all of the supported platforms: 8192 (on NT/2K/XP).
5199 lt_cv_sys_max_cmd_len=8192;
5203 # On AmigaOS with pdksh, this test takes hours, literally.
5204 # So we just punt and use a minimum line length of 8192.
5205 lt_cv_sys_max_cmd_len=8192;
5208 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5209 # This has been around since 386BSD, at least. Likely further.
5210 if test -x /sbin/sysctl; then
5211 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5212 elif test -x /usr/sbin/sysctl; then
5213 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5215 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5217 # And add a safety zone
5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5219 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5223 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5224 lt_cv_sys_max_cmd_len=196608
5228 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5229 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5230 # nice to cause kernel panics so lets avoid the loop below.
5231 # First set a reasonable default.
5232 lt_cv_sys_max_cmd_len=16384
5234 if test -x /sbin/sysconfig; then
5235 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5236 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5241 lt_cv_sys_max_cmd_len=102400
5243 sysv5* | sco5v6* | sysv4.2uw2*)
5244 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5245 if test -n "$kargmax"; then
5246 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5248 lt_cv_sys_max_cmd_len=32768
5252 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5253 if test -n "$lt_cv_sys_max_cmd_len"; then
5254 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5255 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5257 # Make teststring a little bigger before we do anything with it.
5258 # a 1K string should be a reasonable start.
5259 for i in 1 2 3 4 5 6 7 8 ; do
5260 teststring=$teststring$teststring
5262 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5263 # If test is not a shell built-in, we'll probably end up computing a
5264 # maximum length that is only half of the actual maximum length, but
5266 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5267 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5268 test $i != 17 # 1/2 MB should be enough
5271 teststring=$teststring$teststring
5273 # Only check the string length outside the loop.
5274 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5276 # Add a significant safety factor because C++ compilers can tack on
5277 # massive amounts of additional arguments before passing them to the
5278 # linker. It appears as though 1/2 is a usable value.
5279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5286 if test -n $lt_cv_sys_max_cmd_len ; then
5287 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5288 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5290 { echo "$as_me:$LINENO: result: none" >&5
5291 echo "${ECHO_T}none" >&6; }
5293 max_cmd_len=$lt_cv_sys_max_cmd_len
5304 { echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5305 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5306 # Try some XSI features
5309 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5311 && eval 'test $(( 1 + 1 )) -eq 2 \
5312 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5314 { echo "$as_me:$LINENO: result: $xsi_shell" >&5
5315 echo "${ECHO_T}$xsi_shell" >&6; }
5318 { echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5319 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5321 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5323 && lt_shell_append=yes
5324 { echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5325 echo "${ECHO_T}$lt_shell_append" >&6; }
5328 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5338 # test EBCDIC or ASCII
5339 case `echo X|tr X '\101'` in
5340 A) # ASCII based system
5341 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5342 lt_SP2NL='tr \040 \012'
5343 lt_NL2SP='tr \015\012 \040\040'
5345 *) # EBCDIC based system
5346 lt_SP2NL='tr \100 \n'
5347 lt_NL2SP='tr \r\n \100\100'
5359 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5360 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5361 if test "${lt_cv_ld_reload_flag+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 lt_cv_ld_reload_flag='-r'
5366 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5367 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5368 reload_flag=$lt_cv_ld_reload_flag
5369 case $reload_flag in
5371 *) reload_flag=" $reload_flag" ;;
5373 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5376 if test "$GCC" = yes; then
5377 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5379 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5393 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5394 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5395 if test "${lt_cv_deplibs_check_method+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 lt_cv_file_magic_cmd='$MAGIC_CMD'
5399 lt_cv_file_magic_test_file=
5400 lt_cv_deplibs_check_method='unknown'
5401 # Need to set the preceding variable on all platforms that support
5402 # interlibrary dependencies.
5403 # 'none' -- dependencies not supported.
5404 # `unknown' -- same as none, but documents that we really don't know.
5405 # 'pass_all' -- all dependencies passed with no checks.
5406 # 'test_compile' -- check by making test program.
5407 # 'file_magic [[regex]]' -- check by looking for files in library path
5408 # which responds to the $file_magic_cmd with a given extended regex.
5409 # If you have `file' or equivalent on your system and you're not sure
5410 # whether `pass_all' will *always* work, you probably want this one.
5414 lt_cv_deplibs_check_method=pass_all
5418 lt_cv_deplibs_check_method=pass_all
5422 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5423 lt_cv_file_magic_cmd='/usr/bin/file -L'
5424 lt_cv_file_magic_test_file=/shlib/libc.so
5428 # func_win32_libid is a shell function defined in ltmain.sh
5429 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5430 lt_cv_file_magic_cmd='func_win32_libid'
5434 # Base MSYS/MinGW do not provide the 'file' command needed by
5435 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5436 # unless we find 'file', for example because we are cross-compiling.
5437 if ( file / ) >/dev/null 2>&1; then
5438 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5439 lt_cv_file_magic_cmd='func_win32_libid'
5441 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5442 lt_cv_file_magic_cmd='$OBJDUMP -f'
5446 darwin* | rhapsody*)
5447 lt_cv_deplibs_check_method=pass_all
5450 freebsd* | dragonfly*)
5451 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5454 # Not sure whether the presence of OpenBSD here was a mistake.
5455 # Let's accept both of them until this is cleared up.
5456 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5457 lt_cv_file_magic_cmd=/usr/bin/file
5458 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5462 lt_cv_deplibs_check_method=pass_all
5467 lt_cv_deplibs_check_method=pass_all
5470 hpux10.20* | hpux11*)
5471 lt_cv_file_magic_cmd=/usr/bin/file
5474 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5475 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5478 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]'
5479 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5482 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5483 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5489 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5493 irix5* | irix6* | nonstopux*)
5495 *-32|*"-32 ") libmagic=32-bit;;
5496 *-n32|*"-n32 ") libmagic=N32;;
5497 *-64|*"-64 ") libmagic=64-bit;;
5498 *) libmagic=never-match;;
5500 lt_cv_deplibs_check_method=pass_all
5503 # This must be Linux ELF.
5504 linux* | k*bsd*-gnu)
5505 lt_cv_deplibs_check_method=pass_all
5509 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5510 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5512 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5517 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5518 lt_cv_file_magic_cmd=/usr/bin/file
5519 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5523 lt_cv_deplibs_check_method=pass_all
5527 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5528 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5530 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5534 osf3* | osf4* | osf5*)
5535 lt_cv_deplibs_check_method=pass_all
5539 lt_cv_deplibs_check_method=pass_all
5543 lt_cv_deplibs_check_method=pass_all
5546 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5547 lt_cv_deplibs_check_method=pass_all
5551 case $host_vendor in
5553 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]'
5554 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5557 lt_cv_deplibs_check_method=pass_all
5560 lt_cv_file_magic_cmd='/bin/file'
5561 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5564 lt_cv_file_magic_cmd='/bin/file'
5565 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5566 lt_cv_file_magic_test_file=/lib/libc.so
5569 lt_cv_deplibs_check_method=pass_all
5572 lt_cv_deplibs_check_method=pass_all
5578 lt_cv_deplibs_check_method=pass_all
5583 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5584 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5585 file_magic_cmd=$lt_cv_file_magic_cmd
5586 deplibs_check_method=$lt_cv_deplibs_check_method
5587 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}ar; ac_word=$2
5603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5605 if test "${ac_cv_prog_AR+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 if test -n "$AR"; then
5609 ac_cv_prog_AR="$AR" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_AR="${ac_tool_prefix}ar"
5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 if test -n "$AR"; then
5630 { echo "$as_me:$LINENO: result: $AR" >&5
5631 echo "${ECHO_T}$AR" >&6; }
5633 { echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6; }
5639 if test -z "$ac_cv_prog_AR"; then
5641 # Extract the first word of "ar", so it can be a program name with args.
5642 set dummy ar; ac_word=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$ac_ct_AR"; then
5649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_ac_ct_AR="ar"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5669 if test -n "$ac_ct_AR"; then
5670 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5671 echo "${ECHO_T}$ac_ct_AR" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5677 if test "x$ac_ct_AR" = x; then
5680 case $cross_compiling:$ac_tool_warned in
5682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5683 whose name does not start with the host triplet. If you think this
5684 configuration is useful to you, please write to autoconf@gnu.org." >&5
5685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5688 ac_tool_warned=yes ;;
5696 test -z "$AR" && AR=ar
5697 test -z "$AR_FLAGS" && AR_FLAGS=cru
5709 if test -n "$ac_tool_prefix"; then
5710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5711 set dummy ${ac_tool_prefix}strip; ac_word=$2
5712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5714 if test "${ac_cv_prog_STRIP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 if test -n "$STRIP"; then
5718 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 STRIP=$ac_cv_prog_STRIP
5738 if test -n "$STRIP"; then
5739 { echo "$as_me:$LINENO: result: $STRIP" >&5
5740 echo "${ECHO_T}$STRIP" >&6; }
5742 { echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6; }
5748 if test -z "$ac_cv_prog_STRIP"; then
5750 # Extract the first word of "strip", so it can be a program name with args.
5751 set dummy strip; ac_word=$2
5752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5754 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5755 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 if test -n "$ac_ct_STRIP"; then
5758 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_ac_ct_STRIP="strip"
5768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5777 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5778 if test -n "$ac_ct_STRIP"; then
5779 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5780 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5786 if test "x$ac_ct_STRIP" = x; then
5789 case $cross_compiling:$ac_tool_warned in
5791 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5792 whose name does not start with the host triplet. If you think this
5793 configuration is useful to you, please write to autoconf@gnu.org." >&5
5794 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5795 whose name does not start with the host triplet. If you think this
5796 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5797 ac_tool_warned=yes ;;
5802 STRIP="$ac_cv_prog_STRIP"
5805 test -z "$STRIP" && STRIP=:
5812 if test -n "$ac_tool_prefix"; then
5813 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5817 if test "${ac_cv_prog_RANLIB+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 if test -n "$RANLIB"; then
5821 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 RANLIB=$ac_cv_prog_RANLIB
5841 if test -n "$RANLIB"; then
5842 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5843 echo "${ECHO_T}$RANLIB" >&6; }
5845 { echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6; }
5851 if test -z "$ac_cv_prog_RANLIB"; then
5852 ac_ct_RANLIB=$RANLIB
5853 # Extract the first word of "ranlib", so it can be a program name with args.
5854 set dummy ranlib; ac_word=$2
5855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5857 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$ac_ct_RANLIB"; then
5861 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_RANLIB="ranlib"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5881 if test -n "$ac_ct_RANLIB"; then
5882 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5883 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5885 { echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6; }
5889 if test "x$ac_ct_RANLIB" = x; then
5892 case $cross_compiling:$ac_tool_warned in
5894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5895 whose name does not start with the host triplet. If you think this
5896 configuration is useful to you, please write to autoconf@gnu.org." >&5
5897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5898 whose name does not start with the host triplet. If you think this
5899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5900 ac_tool_warned=yes ;;
5902 RANLIB=$ac_ct_RANLIB
5905 RANLIB="$ac_cv_prog_RANLIB"
5908 test -z "$RANLIB" && RANLIB=:
5915 # Determine commands to create old-style static archives.
5916 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5917 old_postinstall_cmds='chmod 644 $oldlib'
5918 old_postuninstall_cmds=
5920 if test -n "$RANLIB"; then
5923 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5926 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5929 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5965 # If no C compiler was specified, use CC.
5968 # If no C compiler flags were specified, use CFLAGS.
5969 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5971 # Allow CC to be a program name with arguments.
5975 # Check for command to grab the raw symbol name followed by C symbol from nm.
5976 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5977 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5978 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 # These are sane defaults that work on at least a few old systems.
5983 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5985 # Character class describing NM global symbol codes.
5986 symcode='[BCDEGRST]'
5988 # Regexp to match symbols that can be accessed directly from C.
5989 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5991 # Define system-specific variables.
5996 cygwin* | mingw* | pw32*)
5997 symcode='[ABCDGISTW]'
6000 if test "$host_cpu" = ia64; then
6001 symcode='[ABCDEGRST]'
6005 symcode='[BCDEGRST]'
6008 symcode='[BCDEGQRST]'
6019 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6027 # If we're using GNU nm, then use its standard symbol codes.
6028 case `$NM -V 2>&1` in
6029 *GNU* | *'with BFD'*)
6030 symcode='[ABCDGIRSTW]' ;;
6033 # Transform an extracted symbol line into a proper C declaration.
6034 # Some systems (esp. on ia64) link data and code symbols differently,
6035 # so use this general approach.
6036 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6038 # Transform an extracted symbol line into symbol name and symbol address
6039 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6040 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'"
6042 # Handle CRLF in mingw tool chain
6046 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6050 # Try without a prefix underscore, then with it.
6051 for ac_symprfx in "" "_"; do
6053 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6054 symxfrm="\\1 $ac_symprfx\\2 \\2"
6056 # Write the raw and C identifiers.
6057 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6058 # Fake it for dumpbin and say T for any non-static function
6059 # and D for any global variable.
6060 # Also find C++ and __fastcall symbols from MSVC++,
6061 # which start with @ or ?.
6062 lt_cv_sys_global_symbol_pipe="$AWK '"\
6063 " {last_section=section; section=\$ 3};"\
6064 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6065 " \$ 0!~/External *\|/{next};"\
6066 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6067 " {if(hide[section]) next};"\
6068 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6069 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6070 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6071 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6072 " ' prfx=^$ac_symprfx"
6074 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6077 # Check to see that the pipe works correctly.
6081 cat > conftest.$ac_ext <<_LT_EOF
6086 void nm_test_func(void);
6087 void nm_test_func(void){}
6091 int main(){nm_test_var='a';nm_test_func();return(0);}
6094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6095 (eval $ac_compile) 2>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; then
6099 # Now try to grab the symbols.
6101 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6102 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } && test -s "$nlist"; then
6106 # Try sorting and uniquifying the output.
6107 if sort "$nlist" | uniq > "$nlist"T; then
6108 mv -f "$nlist"T "$nlist"
6113 # Make sure that we snagged all the symbols we need.
6114 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6115 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6116 cat <<_LT_EOF > conftest.$ac_ext
6122 # Now generate the symbol file.
6123 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6125 cat <<_LT_EOF >> conftest.$ac_ext
6127 /* The mapping between symbol names and symbols. */
6132 lt__PROGRAM__LTX_preloaded_symbols[] =
6134 { "@PROGRAM@", (void *) 0 },
6136 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6137 cat <<\_LT_EOF >> conftest.$ac_ext
6141 /* This works around a problem in FreeBSD linker */
6142 #ifdef FREEBSD_WORKAROUND
6143 static const void *lt_preloaded_setup() {
6144 return lt__PROGRAM__LTX_preloaded_symbols;
6152 # Now try linking the two files.
6153 mv conftest.$ac_objext conftstm.$ac_objext
6154 lt_save_LIBS="$LIBS"
6155 lt_save_CFLAGS="$CFLAGS"
6156 LIBS="conftstm.$ac_objext"
6157 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6159 (eval $ac_link) 2>&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6165 LIBS="$lt_save_LIBS"
6166 CFLAGS="$lt_save_CFLAGS"
6168 echo "cannot find nm_test_func in $nlist" >&5
6171 echo "cannot find nm_test_var in $nlist" >&5
6174 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6177 echo "$progname: failed program was:" >&5
6178 cat conftest.$ac_ext >&5
6180 rm -rf conftest* conftst*
6182 # Do not use the global_symbol_pipe unless it works.
6183 if test "$pipe_works" = yes; then
6186 lt_cv_sys_global_symbol_pipe=
6192 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6193 lt_cv_sys_global_symbol_to_cdecl=
6195 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6196 { echo "$as_me:$LINENO: result: failed" >&5
6197 echo "${ECHO_T}failed" >&6; }
6199 { echo "$as_me:$LINENO: result: ok" >&5
6200 echo "${ECHO_T}ok" >&6; }
6225 # Check whether --enable-libtool-lock was given.
6226 if test "${enable_libtool_lock+set}" = set; then
6227 enableval=$enable_libtool_lock;
6230 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6232 # Some flags need to be propagated to the compiler or linker for good
6236 # Find out which ABI we are using.
6237 echo 'int i;' > conftest.$ac_ext
6238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6239 (eval $ac_compile) 2>&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; then
6243 case `/usr/bin/file conftest.$ac_objext` in
6255 # Find out which ABI we are using.
6256 echo '#line 6256 "configure"' > conftest.$ac_ext
6257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6258 (eval $ac_compile) 2>&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; then
6262 if test "$lt_cv_prog_gnu_ld" = yes; then
6263 case `/usr/bin/file conftest.$ac_objext` in
6265 LD="${LD-ld} -melf32bsmip"
6268 LD="${LD-ld} -melf32bmipn32"
6271 LD="${LD-ld} -melf64bmip"
6275 case `/usr/bin/file conftest.$ac_objext` in
6291 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6292 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6293 # Find out which ABI we are using.
6294 echo 'int i;' > conftest.$ac_ext
6295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6296 (eval $ac_compile) 2>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; then
6300 case `/usr/bin/file conftest.o` in
6303 x86_64-*kfreebsd*-gnu)
6304 LD="${LD-ld} -m elf_i386_fbsd"
6307 LD="${LD-ld} -m elf_i386"
6309 ppc64-*linux*|powerpc64-*linux*)
6310 LD="${LD-ld} -m elf32ppclinux"
6313 LD="${LD-ld} -m elf_s390"
6316 LD="${LD-ld} -m elf32_sparc"
6322 x86_64-*kfreebsd*-gnu)
6323 LD="${LD-ld} -m elf_x86_64_fbsd"
6326 LD="${LD-ld} -m elf_x86_64"
6328 ppc*-*linux*|powerpc*-*linux*)
6329 LD="${LD-ld} -m elf64ppc"
6331 s390*-*linux*|s390*-*tpf*)
6332 LD="${LD-ld} -m elf64_s390"
6335 LD="${LD-ld} -m elf64_sparc"
6345 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6346 SAVE_CFLAGS="$CFLAGS"
6347 CFLAGS="$CFLAGS -belf"
6348 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6349 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6350 if test "${lt_cv_cc_needs_belf+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6359 cat >conftest.$ac_ext <<_ACEOF
6362 cat confdefs.h >>conftest.$ac_ext
6363 cat >>conftest.$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6374 rm -f conftest.$ac_objext conftest$ac_exeext
6375 if { (ac_try="$ac_link"
6377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6378 *) ac_try_echo=$ac_try;;
6380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6381 (eval "$ac_link") 2>conftest.er1
6383 grep -v '^ *+' conftest.er1 >conftest.err
6385 cat conftest.err >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } && {
6388 test -z "$ac_c_werror_flag" ||
6389 test ! -s conftest.err
6390 } && test -s conftest$ac_exeext &&
6391 $as_test_x conftest$ac_exeext; then
6392 lt_cv_cc_needs_belf=yes
6394 echo "$as_me: failed program was:" >&5
6395 sed 's/^/| /' conftest.$ac_ext >&5
6397 lt_cv_cc_needs_belf=no
6400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6401 conftest$ac_exeext conftest.$ac_ext
6403 ac_cpp='$CPP $CPPFLAGS'
6404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6409 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6410 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6411 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6412 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6413 CFLAGS="$SAVE_CFLAGS"
6417 # Find out which ABI we are using.
6418 echo 'int i;' > conftest.$ac_ext
6419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6420 (eval $ac_compile) 2>&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; then
6424 case `/usr/bin/file conftest.o` in
6426 case $lt_cv_prog_gnu_ld in
6427 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6429 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6441 need_locks="$enable_libtool_lock"
6445 rhapsody* | darwin*)
6446 if test -n "$ac_tool_prefix"; then
6447 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6448 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6451 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 if test -n "$DSYMUTIL"; then
6455 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 test -z "$as_dir" && as_dir=.
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6464 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6475 if test -n "$DSYMUTIL"; then
6476 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6477 echo "${ECHO_T}$DSYMUTIL" >&6; }
6479 { echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6; }
6485 if test -z "$ac_cv_prog_DSYMUTIL"; then
6486 ac_ct_DSYMUTIL=$DSYMUTIL
6487 # Extract the first word of "dsymutil", so it can be a program name with args.
6488 set dummy dsymutil; ac_word=$2
6489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6491 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6
6494 if test -n "$ac_ct_DSYMUTIL"; then
6495 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6504 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6515 if test -n "$ac_ct_DSYMUTIL"; then
6516 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6517 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6519 { echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6; }
6523 if test "x$ac_ct_DSYMUTIL" = x; then
6526 case $cross_compiling:$ac_tool_warned in
6528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6529 whose name does not start with the host triplet. If you think this
6530 configuration is useful to you, please write to autoconf@gnu.org." >&5
6531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6532 whose name does not start with the host triplet. If you think this
6533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6534 ac_tool_warned=yes ;;
6536 DSYMUTIL=$ac_ct_DSYMUTIL
6539 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6542 if test -n "$ac_tool_prefix"; then
6543 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6547 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 if test -n "$NMEDIT"; then
6551 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6570 NMEDIT=$ac_cv_prog_NMEDIT
6571 if test -n "$NMEDIT"; then
6572 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6573 echo "${ECHO_T}$NMEDIT" >&6; }
6575 { echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6; }
6581 if test -z "$ac_cv_prog_NMEDIT"; then
6582 ac_ct_NMEDIT=$NMEDIT
6583 # Extract the first word of "nmedit", so it can be a program name with args.
6584 set dummy nmedit; ac_word=$2
6585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6587 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6588 echo $ECHO_N "(cached) $ECHO_C" >&6
6590 if test -n "$ac_ct_NMEDIT"; then
6591 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 test -z "$as_dir" && as_dir=.
6598 for ac_exec_ext in '' $ac_executable_extensions; do
6599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6600 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6611 if test -n "$ac_ct_NMEDIT"; then
6612 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6613 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6615 { echo "$as_me:$LINENO: result: no" >&5
6616 echo "${ECHO_T}no" >&6; }
6619 if test "x$ac_ct_NMEDIT" = x; then
6622 case $cross_compiling:$ac_tool_warned in
6624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6625 whose name does not start with the host triplet. If you think this
6626 configuration is useful to you, please write to autoconf@gnu.org." >&5
6627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6628 whose name does not start with the host triplet. If you think this
6629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6630 ac_tool_warned=yes ;;
6632 NMEDIT=$ac_ct_NMEDIT
6635 NMEDIT="$ac_cv_prog_NMEDIT"
6638 if test -n "$ac_tool_prefix"; then
6639 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6640 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6643 if test "${ac_cv_prog_LIPO+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 if test -n "$LIPO"; then
6647 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 LIPO=$ac_cv_prog_LIPO
6667 if test -n "$LIPO"; then
6668 { echo "$as_me:$LINENO: result: $LIPO" >&5
6669 echo "${ECHO_T}$LIPO" >&6; }
6671 { echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6; }
6677 if test -z "$ac_cv_prog_LIPO"; then
6679 # Extract the first word of "lipo", so it can be a program name with args.
6680 set dummy lipo; ac_word=$2
6681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6683 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 if test -n "$ac_ct_LIPO"; then
6687 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 test -z "$as_dir" && as_dir=.
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6696 ac_cv_prog_ac_ct_LIPO="lipo"
6697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6707 if test -n "$ac_ct_LIPO"; then
6708 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6709 echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6711 { echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6; }
6715 if test "x$ac_ct_LIPO" = x; then
6718 case $cross_compiling:$ac_tool_warned in
6720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6721 whose name does not start with the host triplet. If you think this
6722 configuration is useful to you, please write to autoconf@gnu.org." >&5
6723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6724 whose name does not start with the host triplet. If you think this
6725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6726 ac_tool_warned=yes ;;
6731 LIPO="$ac_cv_prog_LIPO"
6734 if test -n "$ac_tool_prefix"; then
6735 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6736 set dummy ${ac_tool_prefix}otool; ac_word=$2
6737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6739 if test "${ac_cv_prog_OTOOL+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6742 if test -n "$OTOOL"; then
6743 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6752 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 OTOOL=$ac_cv_prog_OTOOL
6763 if test -n "$OTOOL"; then
6764 { echo "$as_me:$LINENO: result: $OTOOL" >&5
6765 echo "${ECHO_T}$OTOOL" >&6; }
6767 { echo "$as_me:$LINENO: result: no" >&5
6768 echo "${ECHO_T}no" >&6; }
6773 if test -z "$ac_cv_prog_OTOOL"; then
6775 # Extract the first word of "otool", so it can be a program name with args.
6776 set dummy otool; ac_word=$2
6777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6779 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6780 echo $ECHO_N "(cached) $ECHO_C" >&6
6782 if test -n "$ac_ct_OTOOL"; then
6783 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 test -z "$as_dir" && as_dir=.
6790 for ac_exec_ext in '' $ac_executable_extensions; do
6791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6792 ac_cv_prog_ac_ct_OTOOL="otool"
6793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6802 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6803 if test -n "$ac_ct_OTOOL"; then
6804 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6805 echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6811 if test "x$ac_ct_OTOOL" = x; then
6814 case $cross_compiling:$ac_tool_warned in
6816 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6817 whose name does not start with the host triplet. If you think this
6818 configuration is useful to you, please write to autoconf@gnu.org." >&5
6819 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6820 whose name does not start with the host triplet. If you think this
6821 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6822 ac_tool_warned=yes ;;
6827 OTOOL="$ac_cv_prog_OTOOL"
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6832 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6835 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6836 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 if test -n "$OTOOL64"; then
6839 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6848 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 OTOOL64=$ac_cv_prog_OTOOL64
6859 if test -n "$OTOOL64"; then
6860 { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6861 echo "${ECHO_T}$OTOOL64" >&6; }
6863 { echo "$as_me:$LINENO: result: no" >&5
6864 echo "${ECHO_T}no" >&6; }
6869 if test -z "$ac_cv_prog_OTOOL64"; then
6870 ac_ct_OTOOL64=$OTOOL64
6871 # Extract the first word of "otool64", so it can be a program name with args.
6872 set dummy otool64; ac_word=$2
6873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6875 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 if test -n "$ac_ct_OTOOL64"; then
6879 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir=.
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6888 ac_cv_prog_ac_ct_OTOOL64="otool64"
6889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6899 if test -n "$ac_ct_OTOOL64"; then
6900 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6901 echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6903 { echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6; }
6907 if test "x$ac_ct_OTOOL64" = x; then
6910 case $cross_compiling:$ac_tool_warned in
6912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6913 whose name does not start with the host triplet. If you think this
6914 configuration is useful to you, please write to autoconf@gnu.org." >&5
6915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6916 whose name does not start with the host triplet. If you think this
6917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6918 ac_tool_warned=yes ;;
6920 OTOOL64=$ac_ct_OTOOL64
6923 OTOOL64="$ac_cv_prog_OTOOL64"
6952 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6953 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6954 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6957 lt_cv_apple_cc_single_mod=no
6958 if test -z "${LT_MULTI_MODULE}"; then
6959 # By default we will add the -single_module flag. You can override
6960 # by either setting the environment variable LT_MULTI_MODULE
6961 # non-empty at configure time, or by adding -multi_module to the
6963 rm -rf libconftest.dylib*
6964 echo "int foo(void){return 1;}" > conftest.c
6965 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6966 -dynamiclib -Wl,-single_module conftest.c" >&5
6967 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6968 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6970 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6971 lt_cv_apple_cc_single_mod=yes
6973 cat conftest.err >&5
6975 rm -rf libconftest.dylib*
6979 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6980 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6981 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6982 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6983 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6984 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 lt_cv_ld_exported_symbols_list=no
6987 save_LDFLAGS=$LDFLAGS
6988 echo "_main" > conftest.sym
6989 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6990 cat >conftest.$ac_ext <<_ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
7005 rm -f conftest.$ac_objext conftest$ac_exeext
7006 if { (ac_try="$ac_link"
7008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009 *) ac_try_echo=$ac_try;;
7011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7012 (eval "$ac_link") 2>conftest.er1
7014 grep -v '^ *+' conftest.er1 >conftest.err
7016 cat conftest.err >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } && {
7019 test -z "$ac_c_werror_flag" ||
7020 test ! -s conftest.err
7021 } && test -s conftest$ac_exeext &&
7022 $as_test_x conftest$ac_exeext; then
7023 lt_cv_ld_exported_symbols_list=yes
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.$ac_ext >&5
7028 lt_cv_ld_exported_symbols_list=no
7031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7032 conftest$ac_exeext conftest.$ac_ext
7033 LDFLAGS="$save_LDFLAGS"
7036 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7037 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7039 rhapsody* | darwin1.[012])
7040 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7042 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7043 darwin*) # darwin 5.x on
7044 # if running on 10.5 or later, the deployment target defaults
7045 # to the OS version, if on x86, and 10.4, the deployment
7046 # target defaults to 10.4. Don't you love it?
7047 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7048 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7049 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7051 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7053 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7057 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7058 _lt_dar_single_mod='$single_module'
7060 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7061 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7063 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7065 if test "$DSYMUTIL" != ":"; then
7066 _lt_dsymutil='~$DSYMUTIL $lib || :'
7074 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7075 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7076 if test "${ac_cv_header_stdc+set}" = set; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7079 cat >conftest.$ac_ext <<_ACEOF
7082 cat confdefs.h >>conftest.$ac_ext
7083 cat >>conftest.$ac_ext <<_ACEOF
7084 /* end confdefs.h. */
7098 rm -f conftest.$ac_objext
7099 if { (ac_try="$ac_compile"
7101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7102 *) ac_try_echo=$ac_try;;
7104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7105 (eval "$ac_compile") 2>conftest.er1
7107 grep -v '^ *+' conftest.er1 >conftest.err
7109 cat conftest.err >&5
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); } && {
7112 test -z "$ac_c_werror_flag" ||
7113 test ! -s conftest.err
7114 } && test -s conftest.$ac_objext; then
7115 ac_cv_header_stdc=yes
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.$ac_ext >&5
7120 ac_cv_header_stdc=no
7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7125 if test $ac_cv_header_stdc = yes; then
7126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7127 cat >conftest.$ac_ext <<_ACEOF
7130 cat confdefs.h >>conftest.$ac_ext
7131 cat >>conftest.$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7137 $EGREP "memchr" >/dev/null 2>&1; then
7140 ac_cv_header_stdc=no
7146 if test $ac_cv_header_stdc = yes; then
7147 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7148 cat >conftest.$ac_ext <<_ACEOF
7151 cat confdefs.h >>conftest.$ac_ext
7152 cat >>conftest.$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7158 $EGREP "free" >/dev/null 2>&1; then
7161 ac_cv_header_stdc=no
7167 if test $ac_cv_header_stdc = yes; then
7168 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7169 if test "$cross_compiling" = yes; then
7172 cat >conftest.$ac_ext <<_ACEOF
7175 cat confdefs.h >>conftest.$ac_ext
7176 cat >>conftest.$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7180 #if ((' ' & 0x0FF) == 0x020)
7181 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7182 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7184 # define ISLOWER(c) \
7185 (('a' <= (c) && (c) <= 'i') \
7186 || ('j' <= (c) && (c) <= 'r') \
7187 || ('s' <= (c) && (c) <= 'z'))
7188 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7191 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7196 for (i = 0; i < 256; i++)
7197 if (XOR (islower (i), ISLOWER (i))
7198 || toupper (i) != TOUPPER (i))
7203 rm -f conftest$ac_exeext
7204 if { (ac_try="$ac_link"
7206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7207 *) ac_try_echo=$ac_try;;
7209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210 (eval "$ac_link") 2>&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7214 { (case "(($ac_try" in
7215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7216 *) ac_try_echo=$ac_try;;
7218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7219 (eval "$ac_try") 2>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7225 echo "$as_me: program exited with status $ac_status" >&5
7226 echo "$as_me: failed program was:" >&5
7227 sed 's/^/| /' conftest.$ac_ext >&5
7230 ac_cv_header_stdc=no
7232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7238 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7239 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7240 if test $ac_cv_header_stdc = yes; then
7242 cat >>confdefs.h <<\_ACEOF
7243 #define STDC_HEADERS 1
7248 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7258 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7259 inttypes.h stdint.h unistd.h
7261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7265 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 cat >conftest.$ac_ext <<_ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h. */
7273 $ac_includes_default
7275 #include <$ac_header>
7277 rm -f conftest.$ac_objext
7278 if { (ac_try="$ac_compile"
7280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7281 *) ac_try_echo=$ac_try;;
7283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7284 (eval "$ac_compile") 2>conftest.er1
7286 grep -v '^ *+' conftest.er1 >conftest.err
7288 cat conftest.err >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } && {
7291 test -z "$ac_c_werror_flag" ||
7292 test ! -s conftest.err
7293 } && test -s conftest.$ac_objext; then
7294 eval "$as_ac_Header=yes"
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.$ac_ext >&5
7299 eval "$as_ac_Header=no"
7302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304 ac_res=`eval echo '${'$as_ac_Header'}'`
7305 { echo "$as_me:$LINENO: result: $ac_res" >&5
7306 echo "${ECHO_T}$ac_res" >&6; }
7307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7308 cat >>confdefs.h <<_ACEOF
7309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7318 for ac_header in dlfcn.h
7320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 cat >conftest.$ac_ext <<_ACEOF
7329 cat confdefs.h >>conftest.$ac_ext
7330 cat >>conftest.$ac_ext <<_ACEOF
7331 /* end confdefs.h. */
7332 $ac_includes_default
7334 #include <$ac_header>
7336 rm -f conftest.$ac_objext
7337 if { (ac_try="$ac_compile"
7339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7340 *) ac_try_echo=$ac_try;;
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_compile") 2>conftest.er1
7345 grep -v '^ *+' conftest.er1 >conftest.err
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest.$ac_objext; then
7353 eval "$as_ac_Header=yes"
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 eval "$as_ac_Header=no"
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 ac_res=`eval echo '${'$as_ac_Header'}'`
7364 { echo "$as_me:$LINENO: result: $ac_res" >&5
7365 echo "${ECHO_T}$ac_res" >&6; }
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h <<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7378 ac_cpp='$CXXCPP $CPPFLAGS'
7379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7382 if test -z "$CXX"; then
7383 if test -n "$CCC"; then
7386 if test -n "$ac_tool_prefix"; then
7387 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7390 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7393 if test "${ac_cv_prog_CXX+set}" = set; then
7394 echo $ECHO_N "(cached) $ECHO_C" >&6
7396 if test -n "$CXX"; then
7397 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403 test -z "$as_dir" && as_dir=.
7404 for ac_exec_ext in '' $ac_executable_extensions; do
7405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7406 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 if test -n "$CXX"; then
7418 { echo "$as_me:$LINENO: result: $CXX" >&5
7419 echo "${ECHO_T}$CXX" >&6; }
7421 { echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6; }
7426 test -n "$CXX" && break
7429 if test -z "$CXX"; then
7431 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7433 # Extract the first word of "$ac_prog", so it can be a program name with args.
7434 set dummy $ac_prog; ac_word=$2
7435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7437 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7438 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 if test -n "$ac_ct_CXX"; then
7441 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7450 ac_cv_prog_ac_ct_CXX="$ac_prog"
7451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7461 if test -n "$ac_ct_CXX"; then
7462 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7463 echo "${ECHO_T}$ac_ct_CXX" >&6; }
7465 { echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6; }
7470 test -n "$ac_ct_CXX" && break
7473 if test "x$ac_ct_CXX" = x; then
7476 case $cross_compiling:$ac_tool_warned in
7478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7479 whose name does not start with the host triplet. If you think this
7480 configuration is useful to you, please write to autoconf@gnu.org." >&5
7481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7482 whose name does not start with the host triplet. If you think this
7483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7484 ac_tool_warned=yes ;;
7492 # Provide some information about the compiler.
7493 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7494 ac_compiler=`set X $ac_compile; echo $2`
7495 { (ac_try="$ac_compiler --version >&5"
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compiler --version >&5") 2>&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); }
7505 { (ac_try="$ac_compiler -v >&5"
7507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7508 *) ac_try_echo=$ac_try;;
7510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7511 (eval "$ac_compiler -v >&5") 2>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }
7515 { (ac_try="$ac_compiler -V >&5"
7517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_compiler -V >&5") 2>&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); }
7526 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7527 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
7528 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 cat >conftest.$ac_ext <<_ACEOF
7534 cat confdefs.h >>conftest.$ac_ext
7535 cat >>conftest.$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7549 rm -f conftest.$ac_objext
7550 if { (ac_try="$ac_compile"
7552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7553 *) ac_try_echo=$ac_try;;
7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7556 (eval "$ac_compile") 2>conftest.er1
7558 grep -v '^ *+' conftest.er1 >conftest.err
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } && {
7563 test -z "$ac_cxx_werror_flag" ||
7564 test ! -s conftest.err
7565 } && test -s conftest.$ac_objext; then
7568 echo "$as_me: failed program was:" >&5
7569 sed 's/^/| /' conftest.$ac_ext >&5
7574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7575 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7578 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7579 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7580 GXX=`test $ac_compiler_gnu = yes && echo yes`
7581 ac_test_CXXFLAGS=${CXXFLAGS+set}
7582 ac_save_CXXFLAGS=$CXXFLAGS
7583 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7584 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7585 if test "${ac_cv_prog_cxx_g+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7589 ac_cxx_werror_flag=yes
7592 cat >conftest.$ac_ext <<_ACEOF
7595 cat confdefs.h >>conftest.$ac_ext
7596 cat >>conftest.$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7607 rm -f conftest.$ac_objext
7608 if { (ac_try="$ac_compile"
7610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7611 *) ac_try_echo=$ac_try;;
7613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7614 (eval "$ac_compile") 2>conftest.er1
7616 grep -v '^ *+' conftest.er1 >conftest.err
7618 cat conftest.err >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } && {
7621 test -z "$ac_cxx_werror_flag" ||
7622 test ! -s conftest.err
7623 } && test -s conftest.$ac_objext; then
7624 ac_cv_prog_cxx_g=yes
7626 echo "$as_me: failed program was:" >&5
7627 sed 's/^/| /' conftest.$ac_ext >&5
7630 cat >conftest.$ac_ext <<_ACEOF
7633 cat confdefs.h >>conftest.$ac_ext
7634 cat >>conftest.$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7645 rm -f conftest.$ac_objext
7646 if { (ac_try="$ac_compile"
7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7649 *) ac_try_echo=$ac_try;;
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_compile") 2>conftest.er1
7654 grep -v '^ *+' conftest.er1 >conftest.err
7656 cat conftest.err >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_cxx_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest.$ac_objext; then
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.$ac_ext >&5
7667 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7669 cat >conftest.$ac_ext <<_ACEOF
7672 cat confdefs.h >>conftest.$ac_ext
7673 cat >>conftest.$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7684 rm -f conftest.$ac_objext
7685 if { (ac_try="$ac_compile"
7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688 *) ac_try_echo=$ac_try;;
7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691 (eval "$ac_compile") 2>conftest.er1
7693 grep -v '^ *+' conftest.er1 >conftest.err
7695 cat conftest.err >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } && {
7698 test -z "$ac_cxx_werror_flag" ||
7699 test ! -s conftest.err
7700 } && test -s conftest.$ac_objext; then
7701 ac_cv_prog_cxx_g=yes
7703 echo "$as_me: failed program was:" >&5
7704 sed 's/^/| /' conftest.$ac_ext >&5
7709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7718 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7719 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7720 if test "$ac_test_CXXFLAGS" = set; then
7721 CXXFLAGS=$ac_save_CXXFLAGS
7722 elif test $ac_cv_prog_cxx_g = yes; then
7723 if test "$GXX" = yes; then
7729 if test "$GXX" = yes; then
7736 ac_cpp='$CPP $CPPFLAGS'
7737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7741 depcc="$CXX" am_compiler_list=
7743 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7744 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7745 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7749 # We make a subdir and do the tests there. Otherwise we can end up
7750 # making bogus files that we don't know about and never remove. For
7751 # instance it was reported that on HP-UX the gcc test will end up
7752 # making a dummy file named `D' -- because `-MD' means `put the output
7755 # Copy depcomp to subdir because otherwise we won't find it if we're
7756 # using a relative directory.
7757 cp "$am_depcomp" conftest.dir
7759 # We will build objects and dependencies in a subdirectory because
7760 # it helps to detect inapplicable dependency modes. For instance
7761 # both Tru64's cc and ICC support -MD to output dependencies as a
7762 # side effect of compilation, but ICC will put the dependencies in
7763 # the current directory while Tru64 will put them in the object
7767 am_cv_CXX_dependencies_compiler_type=none
7768 if test "$am_compiler_list" = ""; then
7769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7771 for depmode in $am_compiler_list; do
7772 # Setup a source with many dependencies, because some compilers
7773 # like to wrap large dependency lists on column 80 (with \), and
7774 # we should not choose a depcomp mode which is confused by this.
7776 # We need to recreate these files for each test, as the compiler may
7777 # overwrite some of them when testing with obscure command lines.
7778 # This happens at least with the AIX C compiler.
7780 for i in 1 2 3 4 5 6; do
7781 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7782 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7783 # Solaris 8's {/usr,}/bin/sh.
7784 touch sub/conftst$i.h
7786 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7790 # after this tag, mechanisms are not by side-effect, so they'll
7791 # only be used when explicitly requested
7792 if test "x$enable_dependency_tracking" = xyes; then
7800 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7801 # mode. It turns out that the SunPro C++ compiler does not properly
7802 # handle `-M -o', and we need to detect this.
7803 if depmode=$depmode \
7804 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7805 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7806 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7807 >/dev/null 2>conftest.err &&
7808 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7809 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7810 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7811 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7812 # icc doesn't choke on unknown options, it will just issue warnings
7813 # or remarks (even with -Werror). So we grep stderr for any message
7814 # that says an option was ignored or not supported.
7815 # When given -MP, icc 7.0 and 7.1 complain thusly:
7816 # icc: Command line warning: ignoring option '-M'; no argument required
7817 # The diagnosis changed in icc 8.0:
7818 # icc: Command line remark: option '-MP' not supported
7819 if (grep 'ignoring option' conftest.err ||
7820 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7821 am_cv_CXX_dependencies_compiler_type=$depmode
7830 am_cv_CXX_dependencies_compiler_type=none
7834 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7835 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
7836 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7839 test "x$enable_dependency_tracking" != xno \
7840 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7841 am__fastdepCXX_TRUE=
7842 am__fastdepCXX_FALSE='#'
7844 am__fastdepCXX_TRUE='#'
7845 am__fastdepCXX_FALSE=
7849 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7850 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7851 (test "X$CXX" != "Xg++"))) ; then
7853 ac_cpp='$CXXCPP $CPPFLAGS'
7854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7857 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7858 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7859 if test -z "$CXXCPP"; then
7860 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 # Double quotes because CXXCPP needs to be expanded
7864 for CXXCPP in "$CXX -E" "/lib/cpp"
7867 for ac_cxx_preproc_warn_flag in '' yes
7869 # Use a header file that comes with gcc, so configuring glibc
7870 # with a fresh cross-compiler works.
7871 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7872 # <limits.h> exists even on freestanding compilers.
7873 # On the NeXT, cc -E runs the code through the compiler's parser,
7874 # not just through cpp. "Syntax error" is here to catch this case.
7875 cat >conftest.$ac_ext <<_ACEOF
7878 cat confdefs.h >>conftest.$ac_ext
7879 cat >>conftest.$ac_ext <<_ACEOF
7880 /* end confdefs.h. */
7882 # include <limits.h>
7884 # include <assert.h>
7888 if { (ac_try="$ac_cpp conftest.$ac_ext"
7890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7891 *) ac_try_echo=$ac_try;;
7893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7894 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7896 grep -v '^ *+' conftest.er1 >conftest.err
7898 cat conftest.err >&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } >/dev/null && {
7901 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7902 test ! -s conftest.err
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.$ac_ext >&5
7909 # Broken: fails on valid input.
7913 rm -f conftest.err conftest.$ac_ext
7915 # OK, works on sane cases. Now check whether nonexistent headers
7916 # can be detected and how.
7917 cat >conftest.$ac_ext <<_ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
7922 /* end confdefs.h. */
7923 #include <ac_nonexistent.h>
7925 if { (ac_try="$ac_cpp conftest.$ac_ext"
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7933 grep -v '^ *+' conftest.er1 >conftest.err
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } >/dev/null && {
7938 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7939 test ! -s conftest.err
7941 # Broken: success on invalid input.
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 # Passes both tests.
7952 rm -f conftest.err conftest.$ac_ext
7955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7956 rm -f conftest.err conftest.$ac_ext
7957 if $ac_preproc_ok; then
7962 ac_cv_prog_CXXCPP=$CXXCPP
7965 CXXCPP=$ac_cv_prog_CXXCPP
7967 ac_cv_prog_CXXCPP=$CXXCPP
7969 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7970 echo "${ECHO_T}$CXXCPP" >&6; }
7972 for ac_cxx_preproc_warn_flag in '' yes
7974 # Use a header file that comes with gcc, so configuring glibc
7975 # with a fresh cross-compiler works.
7976 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7977 # <limits.h> exists even on freestanding compilers.
7978 # On the NeXT, cc -E runs the code through the compiler's parser,
7979 # not just through cpp. "Syntax error" is here to catch this case.
7980 cat >conftest.$ac_ext <<_ACEOF
7983 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7987 # include <limits.h>
7989 # include <assert.h>
7993 if { (ac_try="$ac_cpp conftest.$ac_ext"
7995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7996 *) ac_try_echo=$ac_try;;
7998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8001 grep -v '^ *+' conftest.er1 >conftest.err
8003 cat conftest.err >&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); } >/dev/null && {
8006 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8007 test ! -s conftest.err
8011 echo "$as_me: failed program was:" >&5
8012 sed 's/^/| /' conftest.$ac_ext >&5
8014 # Broken: fails on valid input.
8018 rm -f conftest.err conftest.$ac_ext
8020 # OK, works on sane cases. Now check whether nonexistent headers
8021 # can be detected and how.
8022 cat >conftest.$ac_ext <<_ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8028 #include <ac_nonexistent.h>
8030 if { (ac_try="$ac_cpp conftest.$ac_ext"
8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8033 *) ac_try_echo=$ac_try;;
8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8038 grep -v '^ *+' conftest.er1 >conftest.err
8040 cat conftest.err >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); } >/dev/null && {
8043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8044 test ! -s conftest.err
8046 # Broken: success on invalid input.
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 # Passes both tests.
8057 rm -f conftest.err conftest.$ac_ext
8060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8061 rm -f conftest.err conftest.$ac_ext
8062 if $ac_preproc_ok; then
8065 _lt_caught_CXX_error=yes
8069 ac_cpp='$CPP $CPPFLAGS'
8070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8075 _lt_caught_CXX_error=yes
8092 # Check whether --enable-shared was given.
8093 if test "${enable_shared+set}" = set; then
8094 enableval=$enable_shared; p=${PACKAGE-default}
8096 yes) enable_shared=yes ;;
8097 no) enable_shared=no ;;
8100 # Look at the argument we got. We use all the common list separators.
8101 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8102 for pkg in $enableval; do
8104 if test "X$pkg" = "X$p"; then
8123 # Check whether --enable-static was given.
8124 if test "${enable_static+set}" = set; then
8125 enableval=$enable_static; p=${PACKAGE-default}
8127 yes) enable_static=yes ;;
8128 no) enable_static=no ;;
8131 # Look at the argument we got. We use all the common list separators.
8132 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8133 for pkg in $enableval; do
8135 if test "X$pkg" = "X$p"; then
8155 # Check whether --with-pic was given.
8156 if test "${with_pic+set}" = set; then
8157 withval=$with_pic; pic_mode="$withval"
8163 test -z "$pic_mode" && pic_mode=default
8171 # Check whether --enable-fast-install was given.
8172 if test "${enable_fast_install+set}" = set; then
8173 enableval=$enable_fast_install; p=${PACKAGE-default}
8175 yes) enable_fast_install=yes ;;
8176 no) enable_fast_install=no ;;
8178 enable_fast_install=no
8179 # Look at the argument we got. We use all the common list separators.
8180 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8181 for pkg in $enableval; do
8183 if test "X$pkg" = "X$p"; then
8184 enable_fast_install=yes
8191 enable_fast_install=yes
8204 # This can be used to rebuild libtool when needed
8205 LIBTOOL_DEPS="$ltmain"
8207 # Always use our own libtool.
8208 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8234 test -z "$LN_S" && LN_S="ln -s"
8249 if test -n "${ZSH_VERSION+set}" ; then
8250 setopt NO_GLOB_SUBST
8253 { echo "$as_me:$LINENO: checking for objdir" >&5
8254 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8255 if test "${lt_cv_objdir+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 rm -f .libs 2>/dev/null
8259 mkdir .libs 2>/dev/null
8260 if test -d .libs; then
8263 # MS-DOS does not allow filenames that begin with a dot.
8266 rmdir .libs 2>/dev/null
8268 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8269 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8270 objdir=$lt_cv_objdir
8276 cat >>confdefs.h <<_ACEOF
8277 #define LT_OBJDIR "$lt_cv_objdir/"
8298 # AIX sometimes has problems with the GCC collect2 program. For some
8299 # reason, if we set the COLLECT_NAMES environment variable, the problems
8300 # vanish in a puff of smoke.
8301 if test "X${COLLECT_NAMES+set}" != Xset; then
8303 export COLLECT_NAMES
8308 # Sed substitution that helps us do robust quoting. It backslashifies
8309 # metacharacters that are still active within double-quoted strings.
8310 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8312 # Same as above, but do not quote variable references.
8313 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8315 # Sed substitution to delay expansion of an escaped shell variable in a
8316 # double_quote_subst'ed string.
8317 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8319 # Sed substitution to delay expansion of an escaped single quote.
8320 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8322 # Sed substitution to avoid accidental globbing in evaled expressions
8323 no_glob_subst='s/\*/\\\*/g'
8327 can_build_shared=yes
8329 # All known linkers require a `.a' archive for static linking (except MSVC,
8330 # which needs '.lib').
8333 with_gnu_ld="$lt_cv_prog_gnu_ld"
8336 old_CFLAGS="$CFLAGS"
8338 # Set sane defaults for various variables
8339 test -z "$CC" && CC=cc
8340 test -z "$LTCC" && LTCC=$CC
8341 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8342 test -z "$LD" && LD=ld
8343 test -z "$ac_objext" && ac_objext=o
8345 for cc_temp in $compiler""; do
8347 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8348 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8353 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8356 # Only perform the check for file, if the check method requires it
8357 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8358 case $deplibs_check_method in
8360 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8361 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8362 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8363 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8371 lt_save_MAGIC_CMD="$MAGIC_CMD"
8372 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8373 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8374 for ac_dir in $ac_dummy; do
8376 test -z "$ac_dir" && ac_dir=.
8377 if test -f $ac_dir/${ac_tool_prefix}file; then
8378 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8379 if test -n "$file_magic_test_file"; then
8380 case $deplibs_check_method in
8382 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8383 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8384 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8385 $EGREP "$file_magic_regex" > /dev/null; then
8390 *** Warning: the command libtool uses to detect shared libraries,
8391 *** $file_magic_cmd, produces output that libtool cannot recognize.
8392 *** The result is that libtool may fail to recognize shared libraries
8393 *** as such. This will affect the creation of libtool libraries that
8394 *** depend on shared libraries, but programs linked with such libtool
8395 *** libraries will work regardless of this problem. Nevertheless, you
8396 *** may want to report the problem to your system manager and/or to
8397 *** bug-libtool@gnu.org
8407 MAGIC_CMD="$lt_save_MAGIC_CMD"
8412 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8413 if test -n "$MAGIC_CMD"; then
8414 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8415 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8417 { echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6; }
8425 if test -z "$lt_cv_path_MAGIC_CMD"; then
8426 if test -n "$ac_tool_prefix"; then
8427 { echo "$as_me:$LINENO: checking for file" >&5
8428 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8429 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8437 lt_save_MAGIC_CMD="$MAGIC_CMD"
8438 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8439 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8440 for ac_dir in $ac_dummy; do
8442 test -z "$ac_dir" && ac_dir=.
8443 if test -f $ac_dir/file; then
8444 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8445 if test -n "$file_magic_test_file"; then
8446 case $deplibs_check_method in
8448 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8449 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8450 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8451 $EGREP "$file_magic_regex" > /dev/null; then
8456 *** Warning: the command libtool uses to detect shared libraries,
8457 *** $file_magic_cmd, produces output that libtool cannot recognize.
8458 *** The result is that libtool may fail to recognize shared libraries
8459 *** as such. This will affect the creation of libtool libraries that
8460 *** depend on shared libraries, but programs linked with such libtool
8461 *** libraries will work regardless of this problem. Nevertheless, you
8462 *** may want to report the problem to your system manager and/or to
8463 *** bug-libtool@gnu.org
8473 MAGIC_CMD="$lt_save_MAGIC_CMD"
8478 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8479 if test -n "$MAGIC_CMD"; then
8480 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8481 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8483 { echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6; }
8497 # Use C for the default configuration in the libtool script
8501 ac_cpp='$CPP $CPPFLAGS'
8502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8507 # Source file extension for C test sources.
8510 # Object file extension for compiled C test sources.
8514 # Code to be used in simple compile tests
8515 lt_simple_compile_test_code="int some_variable = 0;"
8517 # Code to be used in simple link tests
8518 lt_simple_link_test_code='int main(){return(0);}'
8526 # If no C compiler was specified, use CC.
8529 # If no C compiler flags were specified, use CFLAGS.
8530 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8532 # Allow CC to be a program name with arguments.
8535 # Save the default compiler, since it gets overwritten when the other
8536 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8537 compiler_DEFAULT=$CC
8539 # save warnings/boilerplate of simple test code
8540 ac_outfile=conftest.$ac_objext
8541 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8542 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8543 _lt_compiler_boilerplate=`cat conftest.err`
8546 ac_outfile=conftest.$ac_objext
8547 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8548 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8549 _lt_linker_boilerplate=`cat conftest.err`
8553 if test -n "$compiler"; then
8555 lt_prog_compiler_no_builtin_flag=
8557 if test "$GCC" = yes; then
8558 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8560 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8561 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8562 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 lt_cv_prog_compiler_rtti_exceptions=no
8566 ac_outfile=conftest.$ac_objext
8567 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8568 lt_compiler_flag="-fno-rtti -fno-exceptions"
8569 # Insert the option either (1) after the last *FLAGS variable, or
8570 # (2) before a word containing "conftest.", or (3) at the end.
8571 # Note that $ac_compile itself does not contain backslashes and begins
8572 # with a dollar sign (not a hyphen), so the echo should work correctly.
8573 # The option is referenced via a variable to avoid confusing sed.
8574 lt_compile=`echo "$ac_compile" | $SED \
8575 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8576 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8577 -e 's:$: $lt_compiler_flag:'`
8578 (eval echo "\"\$as_me:8578: $lt_compile\"" >&5)
8579 (eval "$lt_compile" 2>conftest.err)
8581 cat conftest.err >&5
8582 echo "$as_me:8582: \$? = $ac_status" >&5
8583 if (exit $ac_status) && test -s "$ac_outfile"; then
8584 # The compiler can only warn and ignore the option if not recognized
8585 # So say no if there are warnings other than the usual output.
8586 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8587 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8588 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8589 lt_cv_prog_compiler_rtti_exceptions=yes
8595 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8596 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8598 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8599 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8611 lt_prog_compiler_wl=
8612 lt_prog_compiler_pic=
8613 lt_prog_compiler_static=
8615 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8616 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8618 if test "$GCC" = yes; then
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_static='-static'
8624 # All AIX code is PIC.
8625 if test "$host_cpu" = ia64; then
8626 # AIX 5 now supports IA64 processor
8627 lt_prog_compiler_static='-Bstatic'
8634 # see comment about AmigaOS4 .so support
8635 lt_prog_compiler_pic='-fPIC'
8638 # FIXME: we need at least 68020 code to build shared libraries, but
8639 # adding the `-m68020' flag to GCC prevents building anything better,
8641 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8646 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8647 # PIC is the default for these OSes.
8650 mingw* | cygwin* | pw32* | os2*)
8651 # This hack is so that the source file can tell whether it is being
8652 # built for inclusion in a dll (and should export symbols for example).
8653 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8654 # (--disable-auto-import) libraries
8655 lt_prog_compiler_pic='-DDLL_EXPORT'
8658 darwin* | rhapsody*)
8659 # PIC is the default on this platform
8660 # Common symbols not allowed in MH_DYLIB files
8661 lt_prog_compiler_pic='-fno-common'
8665 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8672 lt_prog_compiler_pic='-fPIC'
8678 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8679 # Instead, we relocate shared libraries at runtime.
8683 # Just because we use GCC doesn't mean we suddenly get shared libraries
8684 # on systems that don't support them.
8685 lt_prog_compiler_can_build_shared=no
8690 # QNX uses GNU C++, but need to define -shared option too, otherwise
8692 lt_prog_compiler_pic='-fPIC -shared'
8696 if test -d /usr/nec; then
8697 lt_prog_compiler_pic=-Kconform_pic
8702 lt_prog_compiler_pic='-fPIC'
8706 # PORTME Check for flag to pass linker flags through the system compiler.
8709 lt_prog_compiler_wl='-Wl,'
8710 if test "$host_cpu" = ia64; then
8711 # AIX 5 now supports IA64 processor
8712 lt_prog_compiler_static='-Bstatic'
8714 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8718 mingw* | cygwin* | pw32* | os2*)
8719 # This hack is so that the source file can tell whether it is being
8720 # built for inclusion in a dll (and should export symbols for example).
8721 lt_prog_compiler_pic='-DDLL_EXPORT'
8724 hpux9* | hpux10* | hpux11*)
8725 lt_prog_compiler_wl='-Wl,'
8726 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8733 lt_prog_compiler_pic='+Z'
8736 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8737 lt_prog_compiler_static='${wl}-a ${wl}archive'
8740 irix5* | irix6* | nonstopux*)
8741 lt_prog_compiler_wl='-Wl,'
8742 # PIC (with -KPIC) is the default.
8743 lt_prog_compiler_static='-non_shared'
8746 linux* | k*bsd*-gnu)
8747 case $cc_basename in
8748 icc* | ecc* | ifort*)
8749 lt_prog_compiler_wl='-Wl,'
8750 lt_prog_compiler_pic='-KPIC'
8751 lt_prog_compiler_static='-static'
8753 pgcc* | pgf77* | pgf90* | pgf95*)
8754 # Portland Group compilers (*not* the Pentium gcc compiler,
8755 # which looks to be a dead project)
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-fpic'
8758 lt_prog_compiler_static='-Bstatic'
8761 lt_prog_compiler_wl='-Wl,'
8762 # All Alpha code is PIC.
8763 lt_prog_compiler_static='-non_shared'
8766 # IBM XL C 8.0/Fortran 10.1 on PPC
8767 lt_prog_compiler_wl='-Wl,'
8768 lt_prog_compiler_pic='-qpic'
8769 lt_prog_compiler_static='-qstaticlink'
8772 case `$CC -V 2>&1 | sed 5q` in
8775 lt_prog_compiler_pic='-KPIC'
8776 lt_prog_compiler_static='-Bstatic'
8777 lt_prog_compiler_wl='-Wl,'
8780 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8781 lt_prog_compiler_pic='-KPIC'
8782 lt_prog_compiler_static='-Bstatic'
8783 lt_prog_compiler_wl=''
8791 lt_prog_compiler_pic='-KPIC'
8792 lt_prog_compiler_static='-Bstatic'
8796 # QNX uses GNU C++, but need to define -shared option too, otherwise
8798 lt_prog_compiler_pic='-fPIC -shared'
8801 osf3* | osf4* | osf5*)
8802 lt_prog_compiler_wl='-Wl,'
8803 # All OSF/1 code is PIC.
8804 lt_prog_compiler_static='-non_shared'
8808 lt_prog_compiler_static='-non_shared'
8812 lt_prog_compiler_pic='-KPIC'
8813 lt_prog_compiler_static='-Bstatic'
8814 case $cc_basename in
8816 lt_prog_compiler_wl='-Qoption ld ';;
8818 lt_prog_compiler_wl='-Wl,';;
8823 lt_prog_compiler_wl='-Qoption ld '
8824 lt_prog_compiler_pic='-PIC'
8825 lt_prog_compiler_static='-Bstatic'
8828 sysv4 | sysv4.2uw2* | sysv4.3*)
8829 lt_prog_compiler_wl='-Wl,'
8830 lt_prog_compiler_pic='-KPIC'
8831 lt_prog_compiler_static='-Bstatic'
8835 if test -d /usr/nec ;then
8836 lt_prog_compiler_pic='-Kconform_pic'
8837 lt_prog_compiler_static='-Bstatic'
8841 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8842 lt_prog_compiler_wl='-Wl,'
8843 lt_prog_compiler_pic='-KPIC'
8844 lt_prog_compiler_static='-Bstatic'
8848 lt_prog_compiler_wl='-Wl,'
8849 lt_prog_compiler_can_build_shared=no
8853 lt_prog_compiler_pic='-pic'
8854 lt_prog_compiler_static='-Bstatic'
8858 lt_prog_compiler_can_build_shared=no
8864 # For platforms which do not support PIC, -DPIC is meaningless:
8866 lt_prog_compiler_pic=
8869 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8872 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8873 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8881 # Check to make sure the PIC flag actually works.
8883 if test -n "$lt_prog_compiler_pic"; then
8884 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8885 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8886 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 lt_cv_prog_compiler_pic_works=no
8890 ac_outfile=conftest.$ac_objext
8891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8892 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8893 # Insert the option either (1) after the last *FLAGS variable, or
8894 # (2) before a word containing "conftest.", or (3) at the end.
8895 # Note that $ac_compile itself does not contain backslashes and begins
8896 # with a dollar sign (not a hyphen), so the echo should work correctly.
8897 # The option is referenced via a variable to avoid confusing sed.
8898 lt_compile=`echo "$ac_compile" | $SED \
8899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901 -e 's:$: $lt_compiler_flag:'`
8902 (eval echo "\"\$as_me:8902: $lt_compile\"" >&5)
8903 (eval "$lt_compile" 2>conftest.err)
8905 cat conftest.err >&5
8906 echo "$as_me:8906: \$? = $ac_status" >&5
8907 if (exit $ac_status) && test -s "$ac_outfile"; then
8908 # The compiler can only warn and ignore the option if not recognized
8909 # So say no if there are warnings other than the usual output.
8910 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8912 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8913 lt_cv_prog_compiler_pic_works=yes
8919 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8920 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8922 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8923 case $lt_prog_compiler_pic in
8925 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8928 lt_prog_compiler_pic=
8929 lt_prog_compiler_can_build_shared=no
8940 # Check to make sure the static flag actually works.
8942 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8943 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8944 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8945 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8946 echo $ECHO_N "(cached) $ECHO_C" >&6
8948 lt_cv_prog_compiler_static_works=no
8949 save_LDFLAGS="$LDFLAGS"
8950 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8951 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8952 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8953 # The linker can only warn and ignore the option if not recognized
8954 # So say no if there are warnings
8955 if test -s conftest.err; then
8956 # Append any errors to the config.log.
8957 cat conftest.err 1>&5
8958 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8959 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8960 if diff conftest.exp conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_static_works=yes
8964 lt_cv_prog_compiler_static_works=yes
8968 LDFLAGS="$save_LDFLAGS"
8971 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8972 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8974 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8977 lt_prog_compiler_static=
8986 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8987 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8988 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 lt_cv_prog_compiler_c_o=no
8992 $RM -r conftest 2>/dev/null
8996 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8998 lt_compiler_flag="-o out/conftest2.$ac_objext"
8999 # Insert the option either (1) after the last *FLAGS variable, or
9000 # (2) before a word containing "conftest.", or (3) at the end.
9001 # Note that $ac_compile itself does not contain backslashes and begins
9002 # with a dollar sign (not a hyphen), so the echo should work correctly.
9003 lt_compile=`echo "$ac_compile" | $SED \
9004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9006 -e 's:$: $lt_compiler_flag:'`
9007 (eval echo "\"\$as_me:9007: $lt_compile\"" >&5)
9008 (eval "$lt_compile" 2>out/conftest.err)
9010 cat out/conftest.err >&5
9011 echo "$as_me:9011: \$? = $ac_status" >&5
9012 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9014 # The compiler can only warn and ignore the option if not recognized
9015 # So say no if there are warnings
9016 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9017 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9018 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9019 lt_cv_prog_compiler_c_o=yes
9024 # SGI C++ compiler will create directory out/ii_files/ for
9025 # template instantiation
9026 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9027 $RM out/* && rmdir out
9033 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9034 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9041 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9042 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9043 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 lt_cv_prog_compiler_c_o=no
9047 $RM -r conftest 2>/dev/null
9051 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9053 lt_compiler_flag="-o out/conftest2.$ac_objext"
9054 # Insert the option either (1) after the last *FLAGS variable, or
9055 # (2) before a word containing "conftest.", or (3) at the end.
9056 # Note that $ac_compile itself does not contain backslashes and begins
9057 # with a dollar sign (not a hyphen), so the echo should work correctly.
9058 lt_compile=`echo "$ac_compile" | $SED \
9059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9061 -e 's:$: $lt_compiler_flag:'`
9062 (eval echo "\"\$as_me:9062: $lt_compile\"" >&5)
9063 (eval "$lt_compile" 2>out/conftest.err)
9065 cat out/conftest.err >&5
9066 echo "$as_me:9066: \$? = $ac_status" >&5
9067 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9069 # The compiler can only warn and ignore the option if not recognized
9070 # So say no if there are warnings
9071 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9072 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9073 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9074 lt_cv_prog_compiler_c_o=yes
9079 # SGI C++ compiler will create directory out/ii_files/ for
9080 # template instantiation
9081 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9082 $RM out/* && rmdir out
9088 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9089 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9094 hard_links="nottested"
9095 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9096 # do not overwrite the value of need_locks provided by the user
9097 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9098 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9101 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9103 ln conftest.a conftest.b 2>&5 || hard_links=no
9104 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9105 { echo "$as_me:$LINENO: result: $hard_links" >&5
9106 echo "${ECHO_T}$hard_links" >&6; }
9107 if test "$hard_links" = no; then
9108 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9109 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9121 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9122 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9125 allow_undefined_flag=
9126 always_export_symbols=no
9128 archive_expsym_cmds=
9129 compiler_needs_object=no
9130 enable_shared_with_static_runtimes=no
9131 export_dynamic_flag_spec=
9132 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9133 hardcode_automatic=no
9135 hardcode_direct_absolute=no
9136 hardcode_libdir_flag_spec=
9137 hardcode_libdir_flag_spec_ld=
9138 hardcode_libdir_separator=
9140 hardcode_shlibpath_var=unsupported
9142 link_all_deplibs=unknown
9145 old_archive_from_new_cmds=
9146 old_archive_from_expsyms_cmds=
9147 thread_safe_flag_spec=
9148 whole_archive_flag_spec=
9149 # include_expsyms should be a list of space-separated symbols to be *always*
9150 # included in the symbol list
9152 # exclude_expsyms can be an extended regexp of symbols to exclude
9153 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9154 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9155 # as well as any symbol that contains `d'.
9156 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9157 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9158 # platforms (ab)use it in PIC code, but their linkers get confused if
9159 # the symbol is explicitly referenced. Since portable code cannot
9160 # rely on this symbol name, it's probably fine to never include it in
9161 # preloaded symbol tables.
9162 # Exclude shared library initialization/finalization symbols.
9163 extract_expsyms_cmds=
9166 cygwin* | mingw* | pw32*)
9167 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9168 # When not using gcc, we currently assume that we are using
9169 # Microsoft Visual C++.
9170 if test "$GCC" != yes; then
9175 # we just hope/assume this is gcc and not c89 (= MSVC++)
9184 if test "$with_gnu_ld" = yes; then
9185 # If archive_cmds runs LD, not CC, wlarc should be empty
9188 # Set some defaults for GNU ld with shared library support. These
9189 # are reset later if shared libraries are not supported. Putting them
9190 # here allows them to be overridden if necessary.
9191 runpath_var=LD_RUN_PATH
9192 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9193 export_dynamic_flag_spec='${wl}--export-dynamic'
9194 # ancient GNU ld didn't support --whole-archive et. al.
9195 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9196 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9198 whole_archive_flag_spec=
9200 supports_anon_versioning=no
9201 case `$LD -v 2>&1` in
9202 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9203 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9204 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9205 *\ 2.11.*) ;; # other 2.11 versions
9206 *) supports_anon_versioning=yes ;;
9209 # See if GNU ld supports shared libraries.
9212 # On AIX/PPC, the GNU linker is very broken
9213 if test "$host_cpu" != ia64; then
9217 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9218 *** to be unable to reliably create shared libraries on AIX.
9219 *** Therefore, libtool is disabling shared libraries support. If you
9220 *** really care for shared libraries, you may want to modify your PATH
9221 *** so that a non-GNU linker is found, and then restart.
9230 # see comment about AmigaOS4 .so support
9231 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9232 archive_expsym_cmds=''
9235 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)'
9236 hardcode_libdir_flag_spec='-L$libdir'
9237 hardcode_minus_L=yes
9243 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9244 allow_undefined_flag=unsupported
9245 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9246 # support --undefined. This deserves some investigation. FIXME
9247 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253 cygwin* | mingw* | pw32*)
9254 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9255 # as there is no search path for DLLs.
9256 hardcode_libdir_flag_spec='-L$libdir'
9257 allow_undefined_flag=unsupported
9258 always_export_symbols=no
9259 enable_shared_with_static_runtimes=yes
9260 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9262 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9264 # If the export-symbols file already is a .def file (1st line
9265 # is EXPORTS), use it as is; otherwise, prepend...
9266 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9267 cp $export_symbols $output_objdir/$soname.def;
9269 echo EXPORTS > $output_objdir/$soname.def;
9270 cat $export_symbols >> $output_objdir/$soname.def;
9272 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9280 hardcode_shlibpath_var=no
9281 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9282 export_dynamic_flag_spec='${wl}-E'
9283 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9284 # Instead, shared libraries are loaded at an image base (0x10000000 by
9285 # default) and relocated if they conflict, which is a slow very memory
9286 # consuming and fragmenting process. To avoid this, we pick a random,
9287 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9288 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9289 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9290 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'
9293 gnu* | linux* | tpf* | k*bsd*-gnu)
9295 if test "$host_os" = linux-dietlibc; then
9296 case $cc_basename in
9297 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9300 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9301 && test "$tmp_diet" = no
9304 tmp_sharedflag='-shared'
9305 case $cc_basename,$host_cpu in
9306 pgcc*) # Portland Group C compiler
9307 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'
9308 tmp_addflag=' $pic_flag'
9310 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9311 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'
9312 tmp_addflag=' $pic_flag -Mnomain' ;;
9313 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9314 tmp_addflag=' -i_dynamic' ;;
9315 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9316 tmp_addflag=' -i_dynamic -nofor_main' ;;
9317 ifc* | ifort*) # Intel Fortran compiler
9318 tmp_addflag=' -nofor_main' ;;
9319 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9320 tmp_sharedflag='-qmkshrobj'
9323 case `$CC -V 2>&1 | sed 5q` in
9324 *Sun\ C*) # Sun C 5.9
9325 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'
9326 compiler_needs_object=yes
9327 tmp_sharedflag='-G' ;;
9328 *Sun\ F*) # Sun Fortran 8.3
9329 tmp_sharedflag='-G' ;;
9331 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 if test "x$supports_anon_versioning" = xyes; then
9334 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9335 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9336 echo "local: *; };" >> $output_objdir/$libname.ver~
9337 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9340 case $cc_basename in
9342 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9343 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9344 hardcode_libdir_flag_spec=
9345 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9346 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9347 if test "x$supports_anon_versioning" = xyes; then
9348 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9349 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9350 echo "local: *; };" >> $output_objdir/$libname.ver~
9351 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9361 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9362 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9366 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9375 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9376 *** create shared libraries on Solaris systems. Therefore, libtool
9377 *** is disabling shared libraries support. We urge you to upgrade GNU
9378 *** binutils to release 2.9.1 or newer. Another option is to modify
9379 *** your PATH or compiler configuration so that the native linker is
9380 *** used, and then restart.
9383 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9391 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9392 case `$LD -v 2>&1` in
9393 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9397 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9398 *** reliably create shared libraries on SCO systems. Therefore, libtool
9399 *** is disabling shared libraries support. We urge you to upgrade GNU
9400 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9401 *** your PATH or compiler configuration so that the native linker is
9402 *** used, and then restart.
9407 # For security reasons, it is highly recommended that you always
9408 # use absolute paths for naming shared libraries, and exclude the
9409 # DT_RUNPATH tag from executables and libraries. But doing so
9410 # requires that you compile everything twice, which is a pain.
9411 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9412 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9413 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9414 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 hardcode_shlibpath_var=no
9430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9431 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9432 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9439 if test "$ld_shlibs" = no; then
9441 hardcode_libdir_flag_spec=
9442 export_dynamic_flag_spec=
9443 whole_archive_flag_spec=
9446 # PORTME fill in a description of your system's linker (not GNU ld)
9449 allow_undefined_flag=unsupported
9450 always_export_symbols=yes
9451 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'
9452 # Note: this linker hardcodes the directories in LIBPATH if there
9453 # are no directories specified by -L.
9454 hardcode_minus_L=yes
9455 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9456 # Neither direct hardcoding nor static linking is supported with a
9458 hardcode_direct=unsupported
9463 if test "$host_cpu" = ia64; then
9464 # On IA64, the linker does run time linking by default, so we don't
9465 # have to do anything special.
9466 aix_use_runtimelinking=no
9467 exp_sym_flag='-Bexport'
9470 # If we're using GNU nm, then we don't want the "-C" option.
9471 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9472 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9473 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'
9475 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'
9477 aix_use_runtimelinking=no
9479 # Test if we are trying to use run time linking or normal
9480 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9481 # need to do runtime linking.
9482 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9483 for ld_flag in $LDFLAGS; do
9484 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9485 aix_use_runtimelinking=yes
9492 exp_sym_flag='-bexport'
9493 no_entry_flag='-bnoentry'
9496 # When large executables or shared objects are built, AIX ld can
9497 # have problems creating the table of contents. If linking a library
9498 # or program results in "error TOC overflow" add -mminimal-toc to
9499 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9500 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9504 hardcode_direct_absolute=yes
9505 hardcode_libdir_separator=':'
9506 link_all_deplibs=yes
9507 file_list_spec='${wl}-f,'
9509 if test "$GCC" = yes; then
9510 case $host_os in aix4.[012]|aix4.[012].*)
9511 # We only want to do this on AIX 4.2 and lower, the check
9512 # below for broken collect2 doesn't work under 4.3+
9513 collect2name=`${CC} -print-prog-name=collect2`
9514 if test -f "$collect2name" &&
9515 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9517 # We have reworked collect2
9520 # We have old collect2
9521 hardcode_direct=unsupported
9522 # It fails to find uninstalled libraries when the uninstalled
9523 # path is not listed in the libpath. Setting hardcode_minus_L
9524 # to unsupported forces relinking
9525 hardcode_minus_L=yes
9526 hardcode_libdir_flag_spec='-L$libdir'
9527 hardcode_libdir_separator=
9531 shared_flag='-shared'
9532 if test "$aix_use_runtimelinking" = yes; then
9533 shared_flag="$shared_flag "'${wl}-G'
9537 if test "$host_cpu" = ia64; then
9538 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9539 # chokes on -Wl,-G. The following line is correct:
9542 if test "$aix_use_runtimelinking" = yes; then
9543 shared_flag='${wl}-G'
9545 shared_flag='${wl}-bM:SRE'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9559 cat >conftest.$ac_ext <<_ACEOF
9562 cat confdefs.h >>conftest.$ac_ext
9563 cat >>conftest.$ac_ext <<_ACEOF
9564 /* end confdefs.h. */
9574 rm -f conftest.$ac_objext conftest$ac_exeext
9575 if { (ac_try="$ac_link"
9577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9578 *) ac_try_echo=$ac_try;;
9580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9581 (eval "$ac_link") 2>conftest.er1
9583 grep -v '^ *+' conftest.er1 >conftest.err
9585 cat conftest.err >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); } && {
9588 test -z "$ac_c_werror_flag" ||
9589 test ! -s conftest.err
9590 } && test -s conftest$ac_exeext &&
9591 $as_test_x conftest$ac_exeext; then
9593 lt_aix_libpath_sed='
9594 /Import File Strings/,/^$/ {
9600 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9601 # Check for a 64-bit object if we didn't find anything.
9602 if test -z "$aix_libpath"; then
9603 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9614 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9616 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9617 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"
9619 if test "$host_cpu" = ia64; then
9620 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9621 allow_undefined_flag="-z nodefs"
9622 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"
9624 # Determine the default libpath from the value encoded in an
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9641 rm -f conftest.$ac_objext conftest$ac_exeext
9642 if { (ac_try="$ac_link"
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9648 (eval "$ac_link") 2>conftest.er1
9650 grep -v '^ *+' conftest.er1 >conftest.err
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } && {
9655 test -z "$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9657 } && test -s conftest$ac_exeext &&
9658 $as_test_x conftest$ac_exeext; then
9660 lt_aix_libpath_sed='
9661 /Import File Strings/,/^$/ {
9667 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668 # Check for a 64-bit object if we didn't find anything.
9669 if test -z "$aix_libpath"; then
9670 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9673 echo "$as_me: failed program was:" >&5
9674 sed 's/^/| /' conftest.$ac_ext >&5
9679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9680 conftest$ac_exeext conftest.$ac_ext
9681 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9683 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9684 # Warning - without using the other run time loading flags,
9685 # -berok will link without error, but may produce a broken library.
9686 no_undefined_flag=' ${wl}-bernotok'
9687 allow_undefined_flag=' ${wl}-berok'
9688 # Exported symbols can be pulled into shared objects from archives
9689 whole_archive_flag_spec='$convenience'
9690 archive_cmds_need_lc=yes
9691 # This is similar to how AIX traditionally builds its shared libraries.
9692 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'
9700 # see comment about AmigaOS4 .so support
9701 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9702 archive_expsym_cmds=''
9705 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)'
9706 hardcode_libdir_flag_spec='-L$libdir'
9707 hardcode_minus_L=yes
9713 export_dynamic_flag_spec=-rdynamic
9716 cygwin* | mingw* | pw32*)
9717 # When not using gcc, we currently assume that we are using
9718 # Microsoft Visual C++.
9719 # hardcode_libdir_flag_spec is actually meaningless, as there is
9720 # no search path for DLLs.
9721 hardcode_libdir_flag_spec=' '
9722 allow_undefined_flag=unsupported
9723 # Tell ltmain to make .lib files, not .a files.
9725 # Tell ltmain to make .dll files, not .so files.
9727 # FIXME: Setting linknames here is a bad hack.
9728 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9729 # The linker will automatically build a .lib file if we build a DLL.
9730 old_archive_from_new_cmds='true'
9731 # FIXME: Should let the user specify the lib program.
9732 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9733 fix_srcfile_path='`cygpath -w "$srcfile"`'
9734 enable_shared_with_static_runtimes=yes
9737 darwin* | rhapsody*)
9740 archive_cmds_need_lc=no
9742 hardcode_automatic=yes
9743 hardcode_shlibpath_var=unsupported
9744 whole_archive_flag_spec=''
9745 link_all_deplibs=yes
9746 allow_undefined_flag="$_lt_dar_allow_undefined"
9747 if test "$GCC" = "yes"; then
9748 output_verbose_link_cmd=echo
9749 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9750 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9751 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}"
9752 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}"
9761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_libdir_flag_spec='-L$libdir'
9763 hardcode_shlibpath_var=no
9770 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9771 # support. Future versions do this automatically, but an explicit c++rt0.o
9772 # does not break anything, and helps significantly (at the cost of a little
9775 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9776 hardcode_libdir_flag_spec='-R$libdir'
9778 hardcode_shlibpath_var=no
9781 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9783 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9785 hardcode_minus_L=yes
9786 hardcode_shlibpath_var=no
9789 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9790 freebsd* | dragonfly*)
9791 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9792 hardcode_libdir_flag_spec='-R$libdir'
9794 hardcode_shlibpath_var=no
9798 if test "$GCC" = yes; then
9799 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'
9801 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'
9803 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9804 hardcode_libdir_separator=:
9807 # hardcode_minus_L: Not really in the search PATH,
9808 # but as the default location of the library.
9809 hardcode_minus_L=yes
9810 export_dynamic_flag_spec='${wl}-E'
9814 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9815 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9819 if test "$with_gnu_ld" = no; then
9820 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9821 hardcode_libdir_flag_spec_ld='+b $libdir'
9822 hardcode_libdir_separator=:
9824 hardcode_direct_absolute=yes
9825 export_dynamic_flag_spec='${wl}-E'
9826 # hardcode_minus_L: Not really in the search PATH,
9827 # but as the default location of the library.
9828 hardcode_minus_L=yes
9833 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9836 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9839 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9851 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9865 hardcode_shlibpath_var=no
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 cat >conftest.$ac_ext <<_ACEOF
9891 rm -f conftest.$ac_objext conftest$ac_exeext
9892 if { (ac_try="$ac_link"
9894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9895 *) ac_try_echo=$ac_try;;
9897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9898 (eval "$ac_link") 2>conftest.er1
9900 grep -v '^ *+' conftest.er1 >conftest.err
9902 cat conftest.err >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); } && {
9905 test -z "$ac_c_werror_flag" ||
9906 test ! -s conftest.err
9907 } && test -s conftest$ac_exeext &&
9908 $as_test_x conftest$ac_exeext; then
9909 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'
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.$ac_ext >&5
9918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LDFLAGS="$save_LDFLAGS"
9922 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'
9923 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'
9925 archive_cmds_need_lc='no'
9926 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927 hardcode_libdir_separator=:
9929 link_all_deplibs=yes
9933 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9934 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9936 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9938 hardcode_libdir_flag_spec='-R$libdir'
9940 hardcode_shlibpath_var=no
9944 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 hardcode_libdir_separator=:
9948 hardcode_shlibpath_var=no
9955 if test -f /usr/libexec/ld.so; then
9957 hardcode_shlibpath_var=no
9958 hardcode_direct_absolute=yes
9959 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9960 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9961 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9962 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9963 export_dynamic_flag_spec='${wl}-E'
9966 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9967 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_libdir_flag_spec='-R$libdir'
9971 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9972 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 allow_undefined_flag=unsupported
9985 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'
9986 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9990 if test "$GCC" = yes; then
9991 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9992 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'
9994 allow_undefined_flag=' -expect_unresolved \*'
9995 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'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 hardcode_libdir_separator=:
10002 osf4* | osf5*) # as osf3* with the addition of -msym flag
10003 if test "$GCC" = yes; then
10004 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10005 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'
10006 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10008 allow_undefined_flag=' -expect_unresolved \*'
10009 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'
10010 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~
10011 $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'
10013 # Both c and cxx compiler support -rpath directly
10014 hardcode_libdir_flag_spec='-rpath $libdir'
10016 archive_cmds_need_lc='no'
10017 hardcode_libdir_separator=:
10021 no_undefined_flag=' -z defs'
10022 if test "$GCC" = yes; then
10024 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10026 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10028 case `$CC -V 2>&1` in
10031 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10037 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10038 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10039 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10043 hardcode_libdir_flag_spec='-R$libdir'
10044 hardcode_shlibpath_var=no
10046 solaris2.[0-5] | solaris2.[0-5].*) ;;
10048 # The compiler driver will combine and reorder linker options,
10049 # but understands `-z linker_flag'. GCC discards it without `$wl',
10050 # but is careful enough not to reorder.
10051 # Supported since Solaris 2.6 (maybe 2.5.1?)
10052 if test "$GCC" = yes; then
10053 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10055 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10059 link_all_deplibs=yes
10063 if test "x$host_vendor" = xsequent; then
10064 # Use $CC to link under sequent, because it throws in some extra .o
10065 # files that make .init and .fini sections work.
10066 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10070 hardcode_libdir_flag_spec='-L$libdir'
10071 hardcode_direct=yes
10072 hardcode_minus_L=yes
10073 hardcode_shlibpath_var=no
10077 case $host_vendor in
10079 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_direct=yes # is this really true???
10083 ## LD is ld it makes a PLAMLIB
10084 ## CC just makes a GrossModule.
10085 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10086 reload_cmds='$CC -r -o $output$reload_objs'
10090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10091 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10094 runpath_var='LD_RUN_PATH'
10095 hardcode_shlibpath_var=no
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_shlibpath_var=no
10101 export_dynamic_flag_spec='-Bexport'
10105 if test -d /usr/nec; then
10106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107 hardcode_shlibpath_var=no
10108 runpath_var=LD_RUN_PATH
10109 hardcode_runpath_var=yes
10114 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10115 no_undefined_flag='${wl}-z,text'
10116 archive_cmds_need_lc=no
10117 hardcode_shlibpath_var=no
10118 runpath_var='LD_RUN_PATH'
10120 if test "$GCC" = yes; then
10121 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 sysv5* | sco3.2v5* | sco5v6*)
10130 # Note: We can NOT use -z defs as we might desire, because we do not
10131 # link with -lc, and that would cause any symbols used from libc to
10132 # always be unresolved, which means just about no library would
10133 # ever link correctly. If we're not using GNU ld we use -z text
10134 # though, which does catch some bad symbols but isn't as heavy-handed
10136 no_undefined_flag='${wl}-z,text'
10137 allow_undefined_flag='${wl}-z,nodefs'
10138 archive_cmds_need_lc=no
10139 hardcode_shlibpath_var=no
10140 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10141 hardcode_libdir_separator=':'
10142 link_all_deplibs=yes
10143 export_dynamic_flag_spec='${wl}-Bexport'
10144 runpath_var='LD_RUN_PATH'
10146 if test "$GCC" = yes; then
10147 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10157 hardcode_libdir_flag_spec='-L$libdir'
10158 hardcode_shlibpath_var=no
10166 if test x$host_vendor = xsni; then
10168 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10169 export_dynamic_flag_spec='${wl}-Blargedynsym'
10175 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10176 echo "${ECHO_T}$ld_shlibs" >&6; }
10177 test "$ld_shlibs" = no && can_build_shared=no
10179 with_gnu_ld=$with_gnu_ld
10196 # Do we need to explicitly link libc?
10198 case "x$archive_cmds_need_lc" in
10200 # Assume -lc should be added
10201 archive_cmds_need_lc=yes
10203 if test "$enable_shared" = yes && test "$GCC" = yes; then
10204 case $archive_cmds in
10206 # FIXME: we may have to deal with multi-command sequences.
10209 # Test whether the compiler implicitly links with -lc since on some
10210 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10211 # to ld, don't add -lc before -lgcc.
10212 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10213 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10215 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10218 (eval $ac_compile) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } 2>conftest.err; then
10224 libobjs=conftest.$ac_objext
10226 wl=$lt_prog_compiler_wl
10227 pic_flag=$lt_prog_compiler_pic
10233 lt_save_allow_undefined_flag=$allow_undefined_flag
10234 allow_undefined_flag=
10235 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10236 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); }
10241 archive_cmds_need_lc=no
10243 archive_cmds_need_lc=yes
10245 allow_undefined_flag=$lt_save_allow_undefined_flag
10247 cat conftest.err 1>&5
10250 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10251 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10414 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10415 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10417 if test "$GCC" = yes; then
10419 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10420 *) lt_awk_arg="/^libraries:/" ;;
10422 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10423 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10424 # if the path contains ";" then we assume it to be the separator
10425 # otherwise default to the standard path separator (i.e. ":") - it is
10426 # assumed that no part of a normal pathname contains ";" but that should
10427 # okay in the real world where ";" in dirpaths is itself problematic.
10428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10430 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10432 # Ok, now we have the path, separated by spaces, we can step through it
10433 # and add multilib dir if necessary.
10434 lt_tmp_lt_search_path_spec=
10435 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10436 for lt_sys_path in $lt_search_path_spec; do
10437 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10438 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10440 test -d "$lt_sys_path" && \
10441 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10444 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10445 BEGIN {RS=" "; FS="/|\n";} {
10448 for (lt_i = NF; lt_i > 0; lt_i--) {
10449 if ($lt_i != "" && $lt_i != ".") {
10450 if ($lt_i == "..") {
10453 if (lt_count == 0) {
10454 lt_foo="/" $lt_i lt_foo;
10461 if (lt_foo != "") { lt_freq[lt_foo]++; }
10462 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10464 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10473 postuninstall_cmds=
10477 shlibpath_overrides_runpath=unknown
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10520 can_build_shared=no
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32*)
10578 version_type=windows
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10599 shlibpath_overrides_runpath=yes
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10608 # MinGW DLLs use traditional 'lib' prefix
10609 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10610 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10611 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10612 # It is most probably a Windows format PATH printed by
10613 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10614 # path with ; separators, and with drive letters. We can handle the
10615 # drive letters (cygwin fileutils understands them), so leave them,
10616 # especially as we might pass files found there to a mingw objdump,
10617 # which wouldn't understand a cygwinified path. Ahh.
10618 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10620 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10624 # pw32 DLLs use 'pw' prefix rather than 'lib'
10625 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10631 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10634 dynamic_linker='Win32 ld.exe'
10635 # FIXME: first we should search . and the directory the executable is in
10639 darwin* | rhapsody*)
10640 dynamic_linker="$host_os dyld"
10641 version_type=darwin
10644 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10645 soname_spec='${libname}${release}${major}$shared_ext'
10646 shlibpath_overrides_runpath=yes
10647 shlibpath_var=DYLD_LIBRARY_PATH
10648 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10650 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10651 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10667 freebsd* | dragonfly*)
10668 # DragonFly does not have aout. When/if they implement a new
10669 # versioning mechanism, adjust this.
10670 if test -x /usr/bin/objformat; then
10671 objformat=`/usr/bin/objformat`
10674 freebsd[123]*) objformat=aout ;;
10675 *) objformat=elf ;;
10678 version_type=freebsd-$objformat
10679 case $version_type in
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10690 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes
10695 freebsd3.[01]* | freebsdelf3.[01]*)
10696 shlibpath_overrides_runpath=yes
10697 hardcode_into_libs=yes
10699 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10700 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10701 shlibpath_overrides_runpath=no
10702 hardcode_into_libs=yes
10704 *) # from 4.6 on, and DragonFly
10705 shlibpath_overrides_runpath=yes
10706 hardcode_into_libs=yes
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 hardcode_into_libs=yes
10721 hpux9* | hpux10* | hpux11*)
10722 # Give a soname corresponding to the major version so that dld.sl refuses to
10723 # link against other versions.
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.so"
10732 shlibpath_var=LD_LIBRARY_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 if test "X$HPUX_IA64_MODE" = X32; then
10737 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10739 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10741 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 hardcode_into_libs=yes
10746 dynamic_linker="$host_os dld.sl"
10747 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10748 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10752 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10756 dynamic_linker="$host_os dld.sl"
10757 shlibpath_var=SHLIB_PATH
10758 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10763 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10764 postinstall_cmds='chmod 555 $lib'
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu)
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10831 # Some binutils ld are patched to set DT_RUNPATH
10832 save_LDFLAGS=$LDFLAGS
10833 save_libdir=$libdir
10834 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10835 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10836 cat >conftest.$ac_ext <<_ACEOF
10839 cat confdefs.h >>conftest.$ac_ext
10840 cat >>conftest.$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10851 rm -f conftest.$ac_objext conftest$ac_exeext
10852 if { (ac_try="$ac_link"
10853 case "(($ac_try" in
10854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10855 *) ac_try_echo=$ac_try;;
10857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10858 (eval "$ac_link") 2>conftest.er1
10860 grep -v '^ *+' conftest.er1 >conftest.err
10862 cat conftest.err >&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } && {
10865 test -z "$ac_c_werror_flag" ||
10866 test ! -s conftest.err
10867 } && test -s conftest$ac_exeext &&
10868 $as_test_x conftest$ac_exeext; then
10869 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10870 shlibpath_overrides_runpath=yes
10874 echo "$as_me: failed program was:" >&5
10875 sed 's/^/| /' conftest.$ac_ext >&5
10880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10881 conftest$ac_exeext conftest.$ac_ext
10882 LDFLAGS=$save_LDFLAGS
10883 libdir=$save_libdir
10885 # This implies no fast_install, which is unacceptable.
10886 # Some rework will be needed to allow for fast_install
10887 # before this can be enabled.
10888 hardcode_into_libs=yes
10890 # Append ld.so.conf contents to the search path
10891 if test -f /etc/ld.so.conf; then
10892 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' ' '`
10893 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10896 # We used to test for /lib/ld.so.1 and disable shared libraries on
10897 # powerpc, because MkLinux only supported shared libraries with the
10898 # GNU dynamic linker. Since this was broken with cross compilers,
10899 # most powerpc-linux boxes support dynamic linking these days and
10900 # people can always --disable-shared, the test was removed, and we
10901 # assume the GNU/Linux dynamic linker is in use.
10902 dynamic_linker='GNU/Linux ld.so'
10909 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10912 dynamic_linker='NetBSD (a.out) ld.so'
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10915 soname_spec='${libname}${release}${shared_ext}$major'
10916 dynamic_linker='NetBSD ld.elf_so'
10918 shlibpath_var=LD_LIBRARY_PATH
10919 shlibpath_overrides_runpath=yes
10920 hardcode_into_libs=yes
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 shlibpath_overrides_runpath=yes
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec='${libname}${release}${shared_ext}$major'
10936 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=no
10938 hardcode_into_libs=yes
10939 dynamic_linker='ldqnx.so'
10944 sys_lib_dlsearch_path_spec="/usr/lib"
10946 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10948 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10949 *) need_version=no ;;
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10952 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10956 openbsd2.[89] | openbsd2.[89].*)
10957 shlibpath_overrides_runpath=no
10960 shlibpath_overrides_runpath=yes
10964 shlibpath_overrides_runpath=yes
10969 libname_spec='$name'
10972 library_names_spec='$libname${shared_ext} $libname.a'
10973 dynamic_linker='OS/2 ld.exe'
10974 shlibpath_var=LIBPATH
10977 osf3* | osf4* | osf5*)
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10985 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 # ldd complains unless libraries are executable
11002 postinstall_cmds='chmod +x $lib'
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11008 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11009 shlibpath_var=LD_LIBRARY_PATH
11010 shlibpath_overrides_runpath=yes
11011 if test "$with_gnu_ld" = yes; then
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 case $host_vendor in
11024 shlibpath_overrides_runpath=no
11026 runpath_var=LD_RUN_PATH
11034 shlibpath_overrides_runpath=no
11035 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11041 if test -d /usr/nec ;then
11043 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11044 soname_spec='$libname${shared_ext}.$major'
11045 shlibpath_var=LD_LIBRARY_PATH
11049 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11050 version_type=freebsd-elf
11053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11054 soname_spec='${libname}${release}${shared_ext}$major'
11055 shlibpath_var=LD_LIBRARY_PATH
11056 shlibpath_overrides_runpath=yes
11057 hardcode_into_libs=yes
11058 if test "$with_gnu_ld" = yes; then
11059 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11061 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11064 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11068 sys_lib_dlsearch_path_spec='/usr/lib'
11072 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11076 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 shlibpath_var=LD_LIBRARY_PATH
11078 shlibpath_overrides_runpath=no
11079 hardcode_into_libs=yes
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 shlibpath_var=LD_LIBRARY_PATH
11093 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11094 echo "${ECHO_T}$dynamic_linker" >&6; }
11095 test "$dynamic_linker" = no && can_build_shared=no
11097 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11098 if test "$GCC" = yes; then
11099 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11102 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11103 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11105 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11106 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11195 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11196 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11198 if test -n "$hardcode_libdir_flag_spec" ||
11199 test -n "$runpath_var" ||
11200 test "X$hardcode_automatic" = "Xyes" ; then
11202 # We can hardcode non-existent directories.
11203 if test "$hardcode_direct" != no &&
11204 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11205 # have to relink, otherwise we might link with an installed library
11206 # when we should be linking with a yet-to-be-installed one
11207 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11208 test "$hardcode_minus_L" != no; then
11209 # Linking always hardcodes the temporary library directory.
11210 hardcode_action=relink
11212 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11213 hardcode_action=immediate
11216 # We cannot hardcode anything, or else we can only hardcode existing
11218 hardcode_action=unsupported
11220 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11221 echo "${ECHO_T}$hardcode_action" >&6; }
11223 if test "$hardcode_action" = relink ||
11224 test "$inherit_rpath" = yes; then
11225 # Fast installation is not supported
11226 enable_fast_install=no
11227 elif test "$shlibpath_overrides_runpath" = yes ||
11228 test "$enable_shared" = no; then
11229 # Fast installation is not necessary
11230 enable_fast_install=needless
11238 if test "x$enable_dlopen" != xyes; then
11239 enable_dlopen=unknown
11240 enable_dlopen_self=unknown
11241 enable_dlopen_self_static=unknown
11248 lt_cv_dlopen="load_add_on"
11250 lt_cv_dlopen_self=yes
11254 lt_cv_dlopen="LoadLibrary"
11259 lt_cv_dlopen="dlopen"
11264 # if libdl is installed we need to link against it
11265 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11266 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 ac_check_lib_save_LIBS=$LIBS
11272 cat >conftest.$ac_ext <<_ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11294 rm -f conftest.$ac_objext conftest$ac_exeext
11295 if { (ac_try="$ac_link"
11296 case "(($ac_try" in
11297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11298 *) ac_try_echo=$ac_try;;
11300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11301 (eval "$ac_link") 2>conftest.er1
11303 grep -v '^ *+' conftest.er1 >conftest.err
11305 cat conftest.err >&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); } && {
11308 test -z "$ac_c_werror_flag" ||
11309 test ! -s conftest.err
11310 } && test -s conftest$ac_exeext &&
11311 $as_test_x conftest$ac_exeext; then
11312 ac_cv_lib_dl_dlopen=yes
11314 echo "$as_me: failed program was:" >&5
11315 sed 's/^/| /' conftest.$ac_ext >&5
11317 ac_cv_lib_dl_dlopen=no
11320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11325 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11326 if test $ac_cv_lib_dl_dlopen = yes; then
11327 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11330 lt_cv_dlopen="dyld"
11332 lt_cv_dlopen_self=yes
11339 { echo "$as_me:$LINENO: checking for shl_load" >&5
11340 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11341 if test "${ac_cv_func_shl_load+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 cat >conftest.$ac_ext <<_ACEOF
11347 cat confdefs.h >>conftest.$ac_ext
11348 cat >>conftest.$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11350 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11352 #define shl_load innocuous_shl_load
11354 /* System header to define __stub macros and hopefully few prototypes,
11355 which can conflict with char shl_load (); below.
11356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11357 <limits.h> exists even on freestanding compilers. */
11360 # include <limits.h>
11362 # include <assert.h>
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11374 /* The GNU C library defines this for functions which it implements
11375 to always fail with ENOSYS. Some functions are actually named
11376 something starting with __ and the normal name is an alias. */
11377 #if defined __stub_shl_load || defined __stub___shl_load
11384 return shl_load ();
11389 rm -f conftest.$ac_objext conftest$ac_exeext
11390 if { (ac_try="$ac_link"
11391 case "(($ac_try" in
11392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11393 *) ac_try_echo=$ac_try;;
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_link") 2>conftest.er1
11398 grep -v '^ *+' conftest.er1 >conftest.err
11400 cat conftest.err >&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } && {
11403 test -z "$ac_c_werror_flag" ||
11404 test ! -s conftest.err
11405 } && test -s conftest$ac_exeext &&
11406 $as_test_x conftest$ac_exeext; then
11407 ac_cv_func_shl_load=yes
11409 echo "$as_me: failed program was:" >&5
11410 sed 's/^/| /' conftest.$ac_ext >&5
11412 ac_cv_func_shl_load=no
11415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11416 conftest$ac_exeext conftest.$ac_ext
11418 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11419 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11420 if test $ac_cv_func_shl_load = yes; then
11421 lt_cv_dlopen="shl_load"
11423 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11424 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11425 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 ac_check_lib_save_LIBS=$LIBS
11430 cat >conftest.$ac_ext <<_ACEOF
11433 cat confdefs.h >>conftest.$ac_ext
11434 cat >>conftest.$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11447 return shl_load ();
11452 rm -f conftest.$ac_objext conftest$ac_exeext
11453 if { (ac_try="$ac_link"
11454 case "(($ac_try" in
11455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11456 *) ac_try_echo=$ac_try;;
11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11459 (eval "$ac_link") 2>conftest.er1
11461 grep -v '^ *+' conftest.er1 >conftest.err
11463 cat conftest.err >&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } && {
11466 test -z "$ac_c_werror_flag" ||
11467 test ! -s conftest.err
11468 } && test -s conftest$ac_exeext &&
11469 $as_test_x conftest$ac_exeext; then
11470 ac_cv_lib_dld_shl_load=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 ac_cv_lib_dld_shl_load=no
11478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11482 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11483 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11484 if test $ac_cv_lib_dld_shl_load = yes; then
11485 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11487 { echo "$as_me:$LINENO: checking for dlopen" >&5
11488 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11489 if test "${ac_cv_func_dlopen+set}" = set; then
11490 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 cat >conftest.$ac_ext <<_ACEOF
11495 cat confdefs.h >>conftest.$ac_ext
11496 cat >>conftest.$ac_ext <<_ACEOF
11497 /* end confdefs.h. */
11498 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11500 #define dlopen innocuous_dlopen
11502 /* System header to define __stub macros and hopefully few prototypes,
11503 which can conflict with char dlopen (); below.
11504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11505 <limits.h> exists even on freestanding compilers. */
11508 # include <limits.h>
11510 # include <assert.h>
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11522 /* The GNU C library defines this for functions which it implements
11523 to always fail with ENOSYS. Some functions are actually named
11524 something starting with __ and the normal name is an alias. */
11525 #if defined __stub_dlopen || defined __stub___dlopen
11537 rm -f conftest.$ac_objext conftest$ac_exeext
11538 if { (ac_try="$ac_link"
11539 case "(($ac_try" in
11540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541 *) ac_try_echo=$ac_try;;
11543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544 (eval "$ac_link") 2>conftest.er1
11546 grep -v '^ *+' conftest.er1 >conftest.err
11548 cat conftest.err >&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } && {
11551 test -z "$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 } && test -s conftest$ac_exeext &&
11554 $as_test_x conftest$ac_exeext; then
11555 ac_cv_func_dlopen=yes
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.$ac_ext >&5
11560 ac_cv_func_dlopen=no
11563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11564 conftest$ac_exeext conftest.$ac_ext
11566 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11567 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11568 if test $ac_cv_func_dlopen = yes; then
11569 lt_cv_dlopen="dlopen"
11571 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11572 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11573 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 ac_check_lib_save_LIBS=$LIBS
11578 cat >conftest.$ac_ext <<_ACEOF
11581 cat confdefs.h >>conftest.$ac_ext
11582 cat >>conftest.$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11585 /* Override any GCC internal prototype to avoid an error.
11586 Use char because int might match the return type of a GCC
11587 builtin and then its argument prototype would still apply. */
11600 rm -f conftest.$ac_objext conftest$ac_exeext
11601 if { (ac_try="$ac_link"
11602 case "(($ac_try" in
11603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11604 *) ac_try_echo=$ac_try;;
11606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11607 (eval "$ac_link") 2>conftest.er1
11609 grep -v '^ *+' conftest.er1 >conftest.err
11611 cat conftest.err >&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } && {
11614 test -z "$ac_c_werror_flag" ||
11615 test ! -s conftest.err
11616 } && test -s conftest$ac_exeext &&
11617 $as_test_x conftest$ac_exeext; then
11618 ac_cv_lib_dl_dlopen=yes
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11623 ac_cv_lib_dl_dlopen=no
11626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11627 conftest$ac_exeext conftest.$ac_ext
11628 LIBS=$ac_check_lib_save_LIBS
11630 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11631 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11632 if test $ac_cv_lib_dl_dlopen = yes; then
11633 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11635 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11636 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11637 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lsvld $LIBS"
11642 cat >conftest.$ac_ext <<_ACEOF
11645 cat confdefs.h >>conftest.$ac_ext
11646 cat >>conftest.$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11664 rm -f conftest.$ac_objext conftest$ac_exeext
11665 if { (ac_try="$ac_link"
11666 case "(($ac_try" in
11667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11668 *) ac_try_echo=$ac_try;;
11670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11671 (eval "$ac_link") 2>conftest.er1
11673 grep -v '^ *+' conftest.er1 >conftest.err
11675 cat conftest.err >&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); } && {
11678 test -z "$ac_c_werror_flag" ||
11679 test ! -s conftest.err
11680 } && test -s conftest$ac_exeext &&
11681 $as_test_x conftest$ac_exeext; then
11682 ac_cv_lib_svld_dlopen=yes
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.$ac_ext >&5
11687 ac_cv_lib_svld_dlopen=no
11690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11691 conftest$ac_exeext conftest.$ac_ext
11692 LIBS=$ac_check_lib_save_LIBS
11694 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11695 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11696 if test $ac_cv_lib_svld_dlopen = yes; then
11697 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11699 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11700 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11701 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 ac_check_lib_save_LIBS=$LIBS
11706 cat >conftest.$ac_ext <<_ACEOF
11709 cat confdefs.h >>conftest.$ac_ext
11710 cat >>conftest.$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11723 return dld_link ();
11728 rm -f conftest.$ac_objext conftest$ac_exeext
11729 if { (ac_try="$ac_link"
11730 case "(($ac_try" in
11731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 *) ac_try_echo=$ac_try;;
11734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11735 (eval "$ac_link") 2>conftest.er1
11737 grep -v '^ *+' conftest.er1 >conftest.err
11739 cat conftest.err >&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } && {
11742 test -z "$ac_c_werror_flag" ||
11743 test ! -s conftest.err
11744 } && test -s conftest$ac_exeext &&
11745 $as_test_x conftest$ac_exeext; then
11746 ac_cv_lib_dld_dld_link=yes
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.$ac_ext >&5
11751 ac_cv_lib_dld_dld_link=no
11754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11755 conftest$ac_exeext conftest.$ac_ext
11756 LIBS=$ac_check_lib_save_LIBS
11758 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11759 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11760 if test $ac_cv_lib_dld_dld_link = yes; then
11761 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11782 if test "x$lt_cv_dlopen" != xno; then
11788 case $lt_cv_dlopen in
11790 save_CPPFLAGS="$CPPFLAGS"
11791 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11793 save_LDFLAGS="$LDFLAGS"
11794 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11797 LIBS="$lt_cv_dlopen_libs $LIBS"
11799 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11800 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11801 if test "${lt_cv_dlopen_self+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 if test "$cross_compiling" = yes; then :
11805 lt_cv_dlopen_self=cross
11807 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11808 lt_status=$lt_dlunknown
11809 cat > conftest.$ac_ext <<_LT_EOF
11810 #line 11810 "configure"
11811 #include "confdefs.h"
11820 # define LT_DLGLOBAL RTLD_GLOBAL
11823 # define LT_DLGLOBAL DL_GLOBAL
11825 # define LT_DLGLOBAL 0
11829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11830 find out it does not work in some platform. */
11831 #ifndef LT_DLLAZY_OR_NOW
11833 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11836 # define LT_DLLAZY_OR_NOW DL_LAZY
11839 # define LT_DLLAZY_OR_NOW RTLD_NOW
11842 # define LT_DLLAZY_OR_NOW DL_NOW
11844 # define LT_DLLAZY_OR_NOW 0
11852 extern "C" void exit (int);
11855 void fnord() { int i=42;}
11858 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11859 int status = $lt_dlunknown;
11863 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11864 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11865 /* dlclose (self); */
11873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11874 (eval $ac_link) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11878 (./conftest; exit; ) >&5 2>/dev/null
11880 case x$lt_status in
11881 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11882 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11883 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11886 # compilation failed
11887 lt_cv_dlopen_self=no
11894 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11895 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11897 if test "x$lt_cv_dlopen_self" = xyes; then
11898 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11899 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11900 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11901 if test "${lt_cv_dlopen_self_static+set}" = set; then
11902 echo $ECHO_N "(cached) $ECHO_C" >&6
11904 if test "$cross_compiling" = yes; then :
11905 lt_cv_dlopen_self_static=cross
11907 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11908 lt_status=$lt_dlunknown
11909 cat > conftest.$ac_ext <<_LT_EOF
11910 #line 11910 "configure"
11911 #include "confdefs.h"
11920 # define LT_DLGLOBAL RTLD_GLOBAL
11923 # define LT_DLGLOBAL DL_GLOBAL
11925 # define LT_DLGLOBAL 0
11929 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11930 find out it does not work in some platform. */
11931 #ifndef LT_DLLAZY_OR_NOW
11933 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11936 # define LT_DLLAZY_OR_NOW DL_LAZY
11939 # define LT_DLLAZY_OR_NOW RTLD_NOW
11942 # define LT_DLLAZY_OR_NOW DL_NOW
11944 # define LT_DLLAZY_OR_NOW 0
11952 extern "C" void exit (int);
11955 void fnord() { int i=42;}
11958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11959 int status = $lt_dlunknown;
11963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11964 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11965 /* dlclose (self); */
11973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11974 (eval $ac_link) 2>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11978 (./conftest; exit; ) >&5 2>/dev/null
11980 case x$lt_status in
11981 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11982 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11983 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11986 # compilation failed
11987 lt_cv_dlopen_self_static=no
11994 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11995 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11998 CPPFLAGS="$save_CPPFLAGS"
11999 LDFLAGS="$save_LDFLAGS"
12004 case $lt_cv_dlopen_self in
12005 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12006 *) enable_dlopen_self=unknown ;;
12009 case $lt_cv_dlopen_self_static in
12010 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12011 *) enable_dlopen_self_static=unknown ;;
12033 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12034 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12035 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12036 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12037 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12038 { echo "$as_me:$LINENO: result: yes" >&5
12039 echo "${ECHO_T}yes" >&6; }
12041 # FIXME - insert some real tests, host_os isn't really good enough
12044 if test -n "$STRIP" ; then
12045 striplib="$STRIP -x"
12046 old_striplib="$STRIP -S"
12047 { echo "$as_me:$LINENO: result: yes" >&5
12048 echo "${ECHO_T}yes" >&6; }
12050 { echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6; }
12055 { echo "$as_me:$LINENO: result: no" >&5
12056 echo "${ECHO_T}no" >&6; }
12072 # Report which library types will actually be built
12073 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12074 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12075 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12076 echo "${ECHO_T}$can_build_shared" >&6; }
12078 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12079 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12080 test "$can_build_shared" = "no" && enable_shared=no
12082 # On AIX, shared libraries and static libraries use the same namespace, and
12083 # are all built from PIC.
12086 test "$enable_shared" = yes && enable_static=no
12087 if test -n "$RANLIB"; then
12088 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12089 postinstall_cmds='$RANLIB $lib'
12094 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12095 test "$enable_shared" = yes && enable_static=no
12099 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12100 echo "${ECHO_T}$enable_shared" >&6; }
12102 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12103 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12104 # Make sure either enable_shared or enable_static is yes.
12105 test "$enable_shared" = yes || enable_static=yes
12106 { echo "$as_me:$LINENO: result: $enable_static" >&5
12107 echo "${ECHO_T}$enable_static" >&6; }
12114 ac_cpp='$CPP $CPPFLAGS'
12115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12123 ac_cpp='$CXXCPP $CPPFLAGS'
12124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12128 archive_cmds_need_lc_CXX=no
12129 allow_undefined_flag_CXX=
12130 always_export_symbols_CXX=no
12131 archive_expsym_cmds_CXX=
12132 compiler_needs_object_CXX=no
12133 export_dynamic_flag_spec_CXX=
12134 hardcode_direct_CXX=no
12135 hardcode_direct_absolute_CXX=no
12136 hardcode_libdir_flag_spec_CXX=
12137 hardcode_libdir_flag_spec_ld_CXX=
12138 hardcode_libdir_separator_CXX=
12139 hardcode_minus_L_CXX=no
12140 hardcode_shlibpath_var_CXX=unsupported
12141 hardcode_automatic_CXX=no
12142 inherit_rpath_CXX=no
12144 module_expsym_cmds_CXX=
12145 link_all_deplibs_CXX=unknown
12146 old_archive_cmds_CXX=$old_archive_cmds
12147 no_undefined_flag_CXX=
12148 whole_archive_flag_spec_CXX=
12149 enable_shared_with_static_runtimes_CXX=no
12151 # Source file extension for C++ test sources.
12154 # Object file extension for compiled C++ test sources.
12158 # No sense in running all these tests if we already determined that
12159 # the CXX compiler isn't working. Some variables (like enable_shared)
12160 # are currently assumed to apply to all compilers on this platform,
12161 # and will be corrupted by setting them based on a non-working compiler.
12162 if test "$_lt_caught_CXX_error" != yes; then
12163 # Code to be used in simple compile tests
12164 lt_simple_compile_test_code="int some_variable = 0;"
12166 # Code to be used in simple link tests
12167 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12169 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12176 # If no C compiler was specified, use CC.
12179 # If no C compiler flags were specified, use CFLAGS.
12180 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12182 # Allow CC to be a program name with arguments.
12186 # save warnings/boilerplate of simple test code
12187 ac_outfile=conftest.$ac_objext
12188 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12189 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12190 _lt_compiler_boilerplate=`cat conftest.err`
12193 ac_outfile=conftest.$ac_objext
12194 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12195 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12196 _lt_linker_boilerplate=`cat conftest.err`
12200 # Allow CC to be a program name with arguments.
12205 lt_save_with_gnu_ld=$with_gnu_ld
12206 lt_save_path_LD=$lt_cv_path_LD
12207 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12208 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12210 $as_unset lt_cv_prog_gnu_ld
12212 if test -n "${lt_cv_path_LDCXX+set}"; then
12213 lt_cv_path_LD=$lt_cv_path_LDCXX
12215 $as_unset lt_cv_path_LD
12217 test -z "${LDCXX+set}" || LD=$LDCXX
12221 for cc_temp in $compiler""; do
12223 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12224 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12229 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12232 if test -n "$compiler"; then
12233 # We don't want -fno-exception when compiling C++ code, so set the
12234 # no_builtin_flag separately
12235 if test "$GXX" = yes; then
12236 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12238 lt_prog_compiler_no_builtin_flag_CXX=
12241 if test "$GXX" = yes; then
12242 # Set up default GNU C++ configuration
12246 # Check whether --with-gnu-ld was given.
12247 if test "${with_gnu_ld+set}" = set; then
12248 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12254 if test "$GCC" = yes; then
12255 # Check if gcc -print-prog-name=ld gives a path.
12256 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12257 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12260 # gcc leaves a trailing carriage return which upsets mingw
12261 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12263 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12266 # Accept absolute paths.
12268 re_direlt='/[^/][^/]*/\.\./'
12269 # Canonicalize the pathname of ld
12270 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12271 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12272 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12274 test -z "$LD" && LD="$ac_prog"
12277 # If it fails, then pretend we aren't using GCC.
12281 # If it is relative, then search for the first ld in PATH.
12282 with_gnu_ld=unknown
12285 elif test "$with_gnu_ld" = yes; then
12286 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12287 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12289 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12290 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12292 if test "${lt_cv_path_LD+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 if test -z "$LD"; then
12296 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12297 for ac_dir in $PATH; do
12299 test -z "$ac_dir" && ac_dir=.
12300 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12301 lt_cv_path_LD="$ac_dir/$ac_prog"
12302 # Check to see if the program is GNU ld. I'd rather use --version,
12303 # but apparently some variants of GNU ld only accept -v.
12304 # Break only if it was the GNU/non-GNU ld that we prefer.
12305 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12306 *GNU* | *'with BFD'*)
12307 test "$with_gnu_ld" != no && break
12310 test "$with_gnu_ld" != yes && break
12317 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12321 LD="$lt_cv_path_LD"
12322 if test -n "$LD"; then
12323 { echo "$as_me:$LINENO: result: $LD" >&5
12324 echo "${ECHO_T}$LD" >&6; }
12326 { echo "$as_me:$LINENO: result: no" >&5
12327 echo "${ECHO_T}no" >&6; }
12329 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12330 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12331 { (exit 1); exit 1; }; }
12332 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12333 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12334 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12338 case `$LD -v 2>&1 </dev/null` in
12339 *GNU* | *'with BFD'*)
12340 lt_cv_prog_gnu_ld=yes
12343 lt_cv_prog_gnu_ld=no
12347 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12348 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12349 with_gnu_ld=$lt_cv_prog_gnu_ld
12357 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12358 # archiving commands below assume that GNU ld is being used.
12359 if test "$with_gnu_ld" = yes; then
12360 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12361 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12363 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12364 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12366 # If archive_cmds runs LD, not CC, wlarc should be empty
12367 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12368 # investigate it a little bit more. (MM)
12371 # ancient GNU ld didn't support --whole-archive et. al.
12372 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12373 $GREP 'no-whole-archive' > /dev/null; then
12374 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12376 whole_archive_flag_spec_CXX=
12382 # A generic and very simple default shared library creation
12383 # command for GNU C++ for the case where it uses the native
12384 # linker, instead of GNU ld. If possible, this setting should
12385 # overridden to take advantage of the native linker features on
12386 # the platform it is being used on.
12387 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12390 # Commands to make compiler produce verbose output that lists
12391 # what "hidden" libraries, object files and flags are used when
12392 # linking a shared library.
12393 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12401 # PORTME: fill in a description of your system's C++ link characteristics
12402 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12403 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12407 # FIXME: insert proper C++ library support
12411 if test "$host_cpu" = ia64; then
12412 # On IA64, the linker does run time linking by default, so we don't
12413 # have to do anything special.
12414 aix_use_runtimelinking=no
12415 exp_sym_flag='-Bexport'
12418 aix_use_runtimelinking=no
12420 # Test if we are trying to use run time linking or normal
12421 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12422 # need to do runtime linking.
12423 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12424 for ld_flag in $LDFLAGS; do
12427 aix_use_runtimelinking=yes
12435 exp_sym_flag='-bexport'
12436 no_entry_flag='-bnoentry'
12439 # When large executables or shared objects are built, AIX ld can
12440 # have problems creating the table of contents. If linking a library
12441 # or program results in "error TOC overflow" add -mminimal-toc to
12442 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12443 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12445 archive_cmds_CXX=''
12446 hardcode_direct_CXX=yes
12447 hardcode_direct_absolute_CXX=yes
12448 hardcode_libdir_separator_CXX=':'
12449 link_all_deplibs_CXX=yes
12450 file_list_spec_CXX='${wl}-f,'
12452 if test "$GXX" = yes; then
12453 case $host_os in aix4.[012]|aix4.[012].*)
12454 # We only want to do this on AIX 4.2 and lower, the check
12455 # below for broken collect2 doesn't work under 4.3+
12456 collect2name=`${CC} -print-prog-name=collect2`
12457 if test -f "$collect2name" &&
12458 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12460 # We have reworked collect2
12463 # We have old collect2
12464 hardcode_direct_CXX=unsupported
12465 # It fails to find uninstalled libraries when the uninstalled
12466 # path is not listed in the libpath. Setting hardcode_minus_L
12467 # to unsupported forces relinking
12468 hardcode_minus_L_CXX=yes
12469 hardcode_libdir_flag_spec_CXX='-L$libdir'
12470 hardcode_libdir_separator_CXX=
12473 shared_flag='-shared'
12474 if test "$aix_use_runtimelinking" = yes; then
12475 shared_flag="$shared_flag "'${wl}-G'
12479 if test "$host_cpu" = ia64; then
12480 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12481 # chokes on -Wl,-G. The following line is correct:
12484 if test "$aix_use_runtimelinking" = yes; then
12485 shared_flag='${wl}-G'
12487 shared_flag='${wl}-bM:SRE'
12492 # It seems that -bexpall does not export symbols beginning with
12493 # underscore (_), so it is better to generate a list of symbols to
12495 always_export_symbols_CXX=yes
12496 if test "$aix_use_runtimelinking" = yes; then
12497 # Warning - without using the other runtime loading flags (-brtl),
12498 # -berok will link without error, but may produce a broken library.
12499 allow_undefined_flag_CXX='-berok'
12500 # Determine the default libpath from the value encoded in an empty
12502 cat >conftest.$ac_ext <<_ACEOF
12505 cat confdefs.h >>conftest.$ac_ext
12506 cat >>conftest.$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12517 rm -f conftest.$ac_objext conftest$ac_exeext
12518 if { (ac_try="$ac_link"
12519 case "(($ac_try" in
12520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12521 *) ac_try_echo=$ac_try;;
12523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12524 (eval "$ac_link") 2>conftest.er1
12526 grep -v '^ *+' conftest.er1 >conftest.err
12528 cat conftest.err >&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } && {
12531 test -z "$ac_cxx_werror_flag" ||
12532 test ! -s conftest.err
12533 } && test -s conftest$ac_exeext &&
12534 $as_test_x conftest$ac_exeext; then
12536 lt_aix_libpath_sed='
12537 /Import File Strings/,/^$/ {
12543 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12544 # Check for a 64-bit object if we didn't find anything.
12545 if test -z "$aix_libpath"; then
12546 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12556 conftest$ac_exeext conftest.$ac_ext
12557 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12559 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12561 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12563 if test "$host_cpu" = ia64; then
12564 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12565 allow_undefined_flag_CXX="-z nodefs"
12566 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12568 # Determine the default libpath from the value encoded in an
12569 # empty executable.
12570 cat >conftest.$ac_ext <<_ACEOF
12573 cat confdefs.h >>conftest.$ac_ext
12574 cat >>conftest.$ac_ext <<_ACEOF
12575 /* end confdefs.h. */
12585 rm -f conftest.$ac_objext conftest$ac_exeext
12586 if { (ac_try="$ac_link"
12587 case "(($ac_try" in
12588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 *) ac_try_echo=$ac_try;;
12591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12592 (eval "$ac_link") 2>conftest.er1
12594 grep -v '^ *+' conftest.er1 >conftest.err
12596 cat conftest.err >&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } && {
12599 test -z "$ac_cxx_werror_flag" ||
12600 test ! -s conftest.err
12601 } && test -s conftest$ac_exeext &&
12602 $as_test_x conftest$ac_exeext; then
12604 lt_aix_libpath_sed='
12605 /Import File Strings/,/^$/ {
12611 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12612 # Check for a 64-bit object if we didn't find anything.
12613 if test -z "$aix_libpath"; then
12614 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12617 echo "$as_me: failed program was:" >&5
12618 sed 's/^/| /' conftest.$ac_ext >&5
12623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12624 conftest$ac_exeext conftest.$ac_ext
12625 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12627 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12628 # Warning - without using the other run time loading flags,
12629 # -berok will link without error, but may produce a broken library.
12630 no_undefined_flag_CXX=' ${wl}-bernotok'
12631 allow_undefined_flag_CXX=' ${wl}-berok'
12632 # Exported symbols can be pulled into shared objects from archives
12633 whole_archive_flag_spec_CXX='$convenience'
12634 archive_cmds_need_lc_CXX=yes
12635 # This is similar to how AIX traditionally builds its shared
12637 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12643 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12644 allow_undefined_flag_CXX=unsupported
12645 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12646 # support --undefined. This deserves some investigation. FIXME
12647 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12654 case $cc_basename in
12656 # FIXME: insert proper C++ library support
12662 cygwin* | mingw* | pw32*)
12663 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12664 # as there is no search path for DLLs.
12665 hardcode_libdir_flag_spec_CXX='-L$libdir'
12666 allow_undefined_flag_CXX=unsupported
12667 always_export_symbols_CXX=no
12668 enable_shared_with_static_runtimes_CXX=yes
12670 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12671 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12672 # If the export-symbols file already is a .def file (1st line
12673 # is EXPORTS), use it as is; otherwise, prepend...
12674 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12675 cp $export_symbols $output_objdir/$soname.def;
12677 echo EXPORTS > $output_objdir/$soname.def;
12678 cat $export_symbols >> $output_objdir/$soname.def;
12680 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12685 darwin* | rhapsody*)
12688 archive_cmds_need_lc_CXX=no
12689 hardcode_direct_CXX=no
12690 hardcode_automatic_CXX=yes
12691 hardcode_shlibpath_var_CXX=unsupported
12692 whole_archive_flag_spec_CXX=''
12693 link_all_deplibs_CXX=yes
12694 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12695 if test "$GCC" = "yes"; then
12696 output_verbose_link_cmd=echo
12697 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12698 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12699 archive_expsym_cmds_CXX="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}"
12700 module_expsym_cmds_CXX="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}"
12701 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12702 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12703 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12713 case $cc_basename in
12715 # FIXME: insert proper C++ library support
12719 # Green Hills C++ Compiler
12720 # FIXME: insert proper C++ library support
12724 # FIXME: insert proper C++ library support
12731 # C++ shared libraries reported to be fairly broken before
12737 archive_cmds_need_lc_CXX=no
12740 freebsd* | dragonfly*)
12741 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12750 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12751 hardcode_libdir_separator_CXX=:
12752 export_dynamic_flag_spec_CXX='${wl}-E'
12753 hardcode_direct_CXX=yes
12754 hardcode_minus_L_CXX=yes # Not in the search PATH,
12755 # but as the default
12756 # location of the library.
12758 case $cc_basename in
12760 # FIXME: insert proper C++ library support
12764 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12765 # Commands to make compiler produce verbose output that lists
12766 # what "hidden" libraries, object files and flags are used when
12767 # linking a shared library.
12769 # There doesn't appear to be a way to prevent this compiler from
12770 # explicitly linking system object files so we need to strip them
12771 # from the output so that they don't get included in the library
12773 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12776 if test "$GXX" = yes; then
12777 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12779 # FIXME: insert proper C++ library support
12787 if test $with_gnu_ld = no; then
12788 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12789 hardcode_libdir_separator_CXX=:
12795 export_dynamic_flag_spec_CXX='${wl}-E'
12801 hardcode_direct_CXX=no
12802 hardcode_shlibpath_var_CXX=no
12805 hardcode_direct_CXX=yes
12806 hardcode_direct_absolute_CXX=yes
12807 hardcode_minus_L_CXX=yes # Not in the search PATH,
12808 # but as the default
12809 # location of the library.
12813 case $cc_basename in
12815 # FIXME: insert proper C++ library support
12821 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12824 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 # Commands to make compiler produce verbose output that lists
12831 # what "hidden" libraries, object files and flags are used when
12832 # linking a shared library.
12834 # There doesn't appear to be a way to prevent this compiler from
12835 # explicitly linking system object files so we need to strip them
12836 # from the output so that they don't get included in the library
12838 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12841 if test "$GXX" = yes; then
12842 if test $with_gnu_ld = no; then
12845 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12848 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12851 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12856 # FIXME: insert proper C++ library support
12864 hardcode_direct_CXX=no
12865 hardcode_shlibpath_var_CXX=no
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12867 export_dynamic_flag_spec_CXX='${wl}-E'
12868 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12869 # Instead, shared libraries are loaded at an image base (0x10000000 by
12870 # default) and relocated if they conflict, which is a slow very memory
12871 # consuming and fragmenting process. To avoid this, we pick a random,
12872 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12873 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12874 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12875 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12878 case $cc_basename in
12881 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12883 # Archives containing C++ object files must be created using
12884 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12887 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12890 if test "$GXX" = yes; then
12891 if test "$with_gnu_ld" = no; then
12892 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12894 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12897 link_all_deplibs_CXX=yes
12900 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12901 hardcode_libdir_separator_CXX=:
12902 inherit_rpath_CXX=yes
12905 linux* | k*bsd*-gnu)
12906 case $cc_basename in
12908 # Kuck and Associates, Inc. (KAI) C++ Compiler
12910 # KCC will only create a shared library if the output file
12911 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12912 # to its proper name (with version) after linking.
12913 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12914 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12915 # Commands to make compiler produce verbose output that lists
12916 # what "hidden" libraries, object files and flags are used when
12917 # linking a shared library.
12919 # There doesn't appear to be a way to prevent this compiler from
12920 # explicitly linking system object files so we need to strip them
12921 # from the output so that they don't get included in the library
12923 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12926 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12928 # Archives containing C++ object files must be created using
12929 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12930 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12935 # version 8.0 and above of icpc choke on multiply defined symbols
12936 # if we add $predep_objects and $postdep_objects, however 7.1 and
12937 # earlier do not add the objects themselves.
12938 case `$CC -V 2>&1` in
12940 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12941 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12943 *) # Version 8.0 or newer
12946 ia64*) tmp_idyn=' -i_dynamic';;
12948 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12949 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12952 archive_cmds_need_lc_CXX=no
12953 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12954 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12955 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12958 # Portland Group C++ compiler
12960 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12961 prelink_cmds_CXX='tpldir=Template.dir~
12963 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12964 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12965 old_archive_cmds_CXX='tpldir=Template.dir~
12967 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12968 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12970 archive_cmds_CXX='tpldir=Template.dir~
12972 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12973 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12974 archive_expsym_cmds_CXX='tpldir=Template.dir~
12976 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12977 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12979 *) # Version 6 will use weak symbols
12980 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12981 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12985 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12986 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12987 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12991 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12992 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12994 runpath_var=LD_RUN_PATH
12995 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12996 hardcode_libdir_separator_CXX=:
12998 # Commands to make compiler produce verbose output that lists
12999 # what "hidden" libraries, object files and flags are used when
13000 # linking a shared library.
13002 # There doesn't appear to be a way to prevent this compiler from
13003 # explicitly linking system object files so we need to strip them
13004 # from the output so that they don't get included in the library
13006 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13009 # IBM XL 8.0 on PPC, with GNU ld
13010 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13011 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13012 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13013 if test "x$supports_anon_versioning" = xyes; then
13014 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13015 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13016 echo "local: *; };" >> $output_objdir/$libname.ver~
13017 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13021 case `$CC -V 2>&1 | sed 5q` in
13024 no_undefined_flag_CXX=' -zdefs'
13025 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13026 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13027 hardcode_libdir_flag_spec_CXX='-R$libdir'
13028 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13029 compiler_needs_object_CXX=yes
13031 # Not sure whether something based on
13032 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13034 output_verbose_link_cmd='echo'
13036 # Archives containing C++ object files must be created using
13037 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13038 # necessary to make sure instantiated templates are included
13040 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13048 # FIXME: insert proper C++ library support
13053 # FIXME: insert proper C++ library support
13058 case $cc_basename in
13060 # FIXME: insert proper C++ library support
13064 # FIXME: insert proper C++ library support
13071 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13072 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13074 hardcode_libdir_flag_spec_CXX='-R$libdir'
13075 hardcode_direct_CXX=yes
13076 hardcode_shlibpath_var_CXX=no
13078 # Workaround some broken pre-1.5 toolchains
13079 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13087 # C++ shared libraries are fairly broken
13092 if test -f /usr/libexec/ld.so; then
13093 hardcode_direct_CXX=yes
13094 hardcode_shlibpath_var_CXX=no
13095 hardcode_direct_absolute_CXX=yes
13096 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13097 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13098 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13099 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13100 export_dynamic_flag_spec_CXX='${wl}-E'
13101 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13103 output_verbose_link_cmd=echo
13109 osf3* | osf4* | osf5*)
13110 case $cc_basename in
13112 # Kuck and Associates, Inc. (KAI) C++ Compiler
13114 # KCC will only create a shared library if the output file
13115 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13116 # to its proper name (with version) after linking.
13117 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13119 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13120 hardcode_libdir_separator_CXX=:
13122 # Archives containing C++ object files must be created using
13123 # the KAI C++ compiler.
13125 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13126 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13130 # Rational C++ 2.4.1
13131 # FIXME: insert proper C++ library support
13137 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13138 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13139 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13142 allow_undefined_flag_CXX=' -expect_unresolved \*'
13143 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13144 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13145 echo "-hidden">> $lib.exp~
13146 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13148 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13152 hardcode_libdir_separator_CXX=:
13154 # Commands to make compiler produce verbose output that lists
13155 # what "hidden" libraries, object files and flags are used when
13156 # linking a shared library.
13158 # There doesn't appear to be a way to prevent this compiler from
13159 # explicitly linking system object files so we need to strip them
13160 # from the output so that they don't get included in the library
13162 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13165 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13166 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13169 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13172 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13176 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13177 hardcode_libdir_separator_CXX=:
13179 # Commands to make compiler produce verbose output that lists
13180 # what "hidden" libraries, object files and flags are used when
13181 # linking a shared library.
13182 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13185 # FIXME: insert proper C++ library support
13193 # FIXME: insert proper C++ library support
13198 case $cc_basename in
13201 # FIXME: insert proper C++ library support
13206 # FIXME: insert proper C++ library support
13210 # FIXME: insert proper C++ library support
13217 case $cc_basename in
13219 # Sun C++ 4.2, 5.x and Centerline C++
13220 archive_cmds_need_lc_CXX=yes
13221 no_undefined_flag_CXX=' -zdefs'
13222 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13223 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13224 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13226 hardcode_libdir_flag_spec_CXX='-R$libdir'
13227 hardcode_shlibpath_var_CXX=no
13229 solaris2.[0-5] | solaris2.[0-5].*) ;;
13231 # The compiler driver will combine and reorder linker options,
13232 # but understands `-z linker_flag'.
13233 # Supported since Solaris 2.6 (maybe 2.5.1?)
13234 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13237 link_all_deplibs_CXX=yes
13239 output_verbose_link_cmd='echo'
13241 # Archives containing C++ object files must be created using
13242 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13243 # necessary to make sure instantiated templates are included
13245 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13248 # Green Hills C++ Compiler
13249 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13251 # The C++ compiler must be used to create the archive.
13252 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13255 # GNU C++ compiler with Solaris linker
13256 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13257 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13258 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13259 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13260 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13261 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13263 # Commands to make compiler produce verbose output that lists
13264 # what "hidden" libraries, object files and flags are used when
13265 # linking a shared library.
13266 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13268 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13270 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13271 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13272 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13274 # Commands to make compiler produce verbose output that lists
13275 # what "hidden" libraries, object files and flags are used when
13276 # linking a shared library.
13277 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13280 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13282 solaris2.[0-5] | solaris2.[0-5].*) ;;
13284 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13292 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13293 no_undefined_flag_CXX='${wl}-z,text'
13294 archive_cmds_need_lc_CXX=no
13295 hardcode_shlibpath_var_CXX=no
13296 runpath_var='LD_RUN_PATH'
13298 case $cc_basename in
13300 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13301 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13305 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13310 sysv5* | sco3.2v5* | sco5v6*)
13311 # Note: We can NOT use -z defs as we might desire, because we do not
13312 # link with -lc, and that would cause any symbols used from libc to
13313 # always be unresolved, which means just about no library would
13314 # ever link correctly. If we're not using GNU ld we use -z text
13315 # though, which does catch some bad symbols but isn't as heavy-handed
13317 no_undefined_flag_CXX='${wl}-z,text'
13318 allow_undefined_flag_CXX='${wl}-z,nodefs'
13319 archive_cmds_need_lc_CXX=no
13320 hardcode_shlibpath_var_CXX=no
13321 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13322 hardcode_libdir_separator_CXX=':'
13323 link_all_deplibs_CXX=yes
13324 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13325 runpath_var='LD_RUN_PATH'
13327 case $cc_basename in
13329 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13330 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13333 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13334 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13340 case $cc_basename in
13342 # NonStop-UX NCC 3.20
13343 # FIXME: insert proper C++ library support
13347 # FIXME: insert proper C++ library support
13354 # FIXME: insert proper C++ library support
13359 # FIXME: insert proper C++ library support
13364 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13365 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13366 test "$ld_shlibs_CXX" = no && can_build_shared=no
13372 ## There is no encapsulation within the following macros, do not change
13373 ## the running order or otherwise move them around unless you know exactly
13374 ## what you are doing...
13375 # Dependencies to place before and after the object being linked:
13376 predep_objects_CXX=
13377 postdep_objects_CXX=
13380 compiler_lib_search_path_CXX=
13382 cat > conftest.$ac_ext <<_LT_EOF
13386 Foo (void) { a = 0; }
13392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13393 (eval $ac_compile) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; then
13397 # Parse the compiler output and extract the necessary
13398 # objects, libraries and library flags.
13400 # Sentinel used to keep track of whether or not we are before
13401 # the conftest object file.
13402 pre_test_object_deps_done=no
13404 for p in `eval "$output_verbose_link_cmd"`; do
13408 # Some compilers place space between "-{L,R}" and the path.
13409 # Remove the space.
13410 if test $p = "-L" ||
13411 test $p = "-R"; then
13418 if test "$pre_test_object_deps_done" = no; then
13421 # Internal compiler library paths should come after those
13422 # provided the user. The postdeps already come after the
13423 # user supplied libs so there is no need to process them.
13424 if test -z "$compiler_lib_search_path_CXX"; then
13425 compiler_lib_search_path_CXX="${prev}${p}"
13427 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13430 # The "-l" case would never come before the object being
13431 # linked, so don't bother handling this case.
13434 if test -z "$postdeps_CXX"; then
13435 postdeps_CXX="${prev}${p}"
13437 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13443 # This assumes that the test object file only shows up
13444 # once in the compiler output.
13445 if test "$p" = "conftest.$objext"; then
13446 pre_test_object_deps_done=yes
13450 if test "$pre_test_object_deps_done" = no; then
13451 if test -z "$predep_objects_CXX"; then
13452 predep_objects_CXX="$p"
13454 predep_objects_CXX="$predep_objects_CXX $p"
13457 if test -z "$postdep_objects_CXX"; then
13458 postdep_objects_CXX="$p"
13460 postdep_objects_CXX="$postdep_objects_CXX $p"
13465 *) ;; # Ignore the rest.
13473 echo "libtool.m4: error: problem compiling CXX test program"
13476 $RM -f confest.$objext
13478 # PORTME: override above test on systems where it is broken
13481 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13482 # hack all around it, let's just trust "g++" to DTRT.
13483 predep_objects_CXX=
13484 postdep_objects_CXX=
13489 case `$CC -V 2>&1 | sed 5q` in
13493 # The more standards-conforming stlport4 library is
13494 # incompatible with the Cstd library. Avoid specifying
13495 # it if it's in CXXFLAGS. Ignore libCrun as
13496 # -library=stlport4 depends on it.
13497 case " $CXX $CXXFLAGS " in
13498 *" -library=stlport4 "*)
13499 solaris_use_stlport4=yes
13503 if test "$solaris_use_stlport4" != yes; then
13504 postdeps_CXX='-library=Cstd -library=Crun'
13511 case $cc_basename in
13513 # The more standards-conforming stlport4 library is
13514 # incompatible with the Cstd library. Avoid specifying
13515 # it if it's in CXXFLAGS. Ignore libCrun as
13516 # -library=stlport4 depends on it.
13517 case " $CXX $CXXFLAGS " in
13518 *" -library=stlport4 "*)
13519 solaris_use_stlport4=yes
13523 # Adding this requires a known-good setup of shared libraries for
13524 # Sun compiler versions before 5.6, else PIC objects from an old
13525 # archive will be linked into the output, leading to subtle bugs.
13526 if test "$solaris_use_stlport4" != yes; then
13527 postdeps_CXX='-library=Cstd -library=Crun'
13535 case " $postdeps_CXX " in
13536 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13538 compiler_lib_search_dirs_CXX=
13539 if test -n "${compiler_lib_search_path_CXX}"; then
13540 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13573 lt_prog_compiler_wl_CXX=
13574 lt_prog_compiler_pic_CXX=
13575 lt_prog_compiler_static_CXX=
13577 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13578 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13580 # C++ specific cases for pic, static, wl, etc.
13581 if test "$GXX" = yes; then
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_static_CXX='-static'
13587 # All AIX code is PIC.
13588 if test "$host_cpu" = ia64; then
13589 # AIX 5 now supports IA64 processor
13590 lt_prog_compiler_static_CXX='-Bstatic'
13597 # see comment about AmigaOS4 .so support
13598 lt_prog_compiler_pic_CXX='-fPIC'
13601 # FIXME: we need at least 68020 code to build shared libraries, but
13602 # adding the `-m68020' flag to GCC prevents building anything better,
13604 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13609 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13610 # PIC is the default for these OSes.
13612 mingw* | cygwin* | os2* | pw32*)
13613 # This hack is so that the source file can tell whether it is being
13614 # built for inclusion in a dll (and should export symbols for example).
13615 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13616 # (--disable-auto-import) libraries
13617 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13619 darwin* | rhapsody*)
13620 # PIC is the default on this platform
13621 # Common symbols not allowed in MH_DYLIB files
13622 lt_prog_compiler_pic_CXX='-fno-common'
13625 # DJGPP does not support shared libraries at all
13626 lt_prog_compiler_pic_CXX=
13629 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13630 # Instead, we relocate shared libraries at runtime.
13633 if test -d /usr/nec; then
13634 lt_prog_compiler_pic_CXX=-Kconform_pic
13638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13639 # not for PA HP-UX.
13644 lt_prog_compiler_pic_CXX='-fPIC'
13649 # QNX uses GNU C++, but need to define -shared option too, otherwise
13650 # it will coredump.
13651 lt_prog_compiler_pic_CXX='-fPIC -shared'
13654 lt_prog_compiler_pic_CXX='-fPIC'
13660 # All AIX code is PIC.
13661 if test "$host_cpu" = ia64; then
13662 # AIX 5 now supports IA64 processor
13663 lt_prog_compiler_static_CXX='-Bstatic'
13665 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13669 case $cc_basename in
13671 # Green Hills C++ Compiler
13672 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13677 case $cc_basename in
13679 lt_prog_compiler_pic_CXX='-KPIC'
13682 # Green Hills C++ Compiler
13683 lt_prog_compiler_pic_CXX='-pic'
13689 freebsd* | dragonfly*)
13690 # FreeBSD uses GNU C++
13692 hpux9* | hpux10* | hpux11*)
13693 case $cc_basename in
13695 lt_prog_compiler_wl_CXX='-Wl,'
13696 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13697 if test "$host_cpu" != ia64; then
13698 lt_prog_compiler_pic_CXX='+Z'
13702 lt_prog_compiler_wl_CXX='-Wl,'
13703 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13709 lt_prog_compiler_pic_CXX='+Z'
13718 # This is c89, which is MS Visual C++ (no shared libs)
13719 # Anyone wants to do a port?
13721 irix5* | irix6* | nonstopux*)
13722 case $cc_basename in
13724 lt_prog_compiler_wl_CXX='-Wl,'
13725 lt_prog_compiler_static_CXX='-non_shared'
13726 # CC pic flag -KPIC is the default.
13732 linux* | k*bsd*-gnu)
13733 case $cc_basename in
13736 lt_prog_compiler_wl_CXX='--backend -Wl,'
13737 lt_prog_compiler_pic_CXX='-fPIC'
13741 lt_prog_compiler_wl_CXX='-Wl,'
13742 lt_prog_compiler_pic_CXX='-KPIC'
13743 lt_prog_compiler_static_CXX='-static'
13746 # Portland Group C++ compiler
13747 lt_prog_compiler_wl_CXX='-Wl,'
13748 lt_prog_compiler_pic_CXX='-fpic'
13749 lt_prog_compiler_static_CXX='-Bstatic'
13753 # Make sure the PIC flag is empty. It appears that all Alpha
13754 # Linux and Compaq Tru64 Unix objects are PIC.
13755 lt_prog_compiler_pic_CXX=
13756 lt_prog_compiler_static_CXX='-non_shared'
13759 # IBM XL 8.0 on PPC
13760 lt_prog_compiler_wl_CXX='-Wl,'
13761 lt_prog_compiler_pic_CXX='-qpic'
13762 lt_prog_compiler_static_CXX='-qstaticlink'
13765 case `$CC -V 2>&1 | sed 5q` in
13768 lt_prog_compiler_pic_CXX='-KPIC'
13769 lt_prog_compiler_static_CXX='-Bstatic'
13770 lt_prog_compiler_wl_CXX='-Qoption ld '
13781 case $cc_basename in
13783 lt_prog_compiler_pic_CXX='-W c,exportall'
13792 # QNX uses GNU C++, but need to define -shared option too, otherwise
13793 # it will coredump.
13794 lt_prog_compiler_pic_CXX='-fPIC -shared'
13796 osf3* | osf4* | osf5*)
13797 case $cc_basename in
13799 lt_prog_compiler_wl_CXX='--backend -Wl,'
13802 # Rational C++ 2.4.1
13803 lt_prog_compiler_pic_CXX='-pic'
13806 # Digital/Compaq C++
13807 lt_prog_compiler_wl_CXX='-Wl,'
13808 # Make sure the PIC flag is empty. It appears that all Alpha
13809 # Linux and Compaq Tru64 Unix objects are PIC.
13810 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_static_CXX='-non_shared'
13820 case $cc_basename in
13822 # Sun C++ 4.2, 5.x and Centerline C++
13823 lt_prog_compiler_pic_CXX='-KPIC'
13824 lt_prog_compiler_static_CXX='-Bstatic'
13825 lt_prog_compiler_wl_CXX='-Qoption ld '
13828 # Green Hills C++ Compiler
13829 lt_prog_compiler_pic_CXX='-PIC'
13836 case $cc_basename in
13839 lt_prog_compiler_pic_CXX='-pic'
13840 lt_prog_compiler_static_CXX='-Bstatic'
13844 lt_prog_compiler_pic_CXX='-pic'
13850 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13851 case $cc_basename in
13853 lt_prog_compiler_wl_CXX='-Wl,'
13854 lt_prog_compiler_pic_CXX='-KPIC'
13855 lt_prog_compiler_static_CXX='-Bstatic'
13860 case $cc_basename in
13862 # NonStop-UX NCC 3.20
13863 lt_prog_compiler_pic_CXX='-KPIC'
13872 lt_prog_compiler_can_build_shared_CXX=no
13878 # For platforms which do not support PIC, -DPIC is meaningless:
13880 lt_prog_compiler_pic_CXX=
13883 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13886 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13887 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13892 # Check to make sure the PIC flag actually works.
13894 if test -n "$lt_prog_compiler_pic_CXX"; then
13895 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13896 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13897 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13900 lt_cv_prog_compiler_pic_works_CXX=no
13901 ac_outfile=conftest.$ac_objext
13902 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13903 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13904 # Insert the option either (1) after the last *FLAGS variable, or
13905 # (2) before a word containing "conftest.", or (3) at the end.
13906 # Note that $ac_compile itself does not contain backslashes and begins
13907 # with a dollar sign (not a hyphen), so the echo should work correctly.
13908 # The option is referenced via a variable to avoid confusing sed.
13909 lt_compile=`echo "$ac_compile" | $SED \
13910 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13911 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13912 -e 's:$: $lt_compiler_flag:'`
13913 (eval echo "\"\$as_me:13913: $lt_compile\"" >&5)
13914 (eval "$lt_compile" 2>conftest.err)
13916 cat conftest.err >&5
13917 echo "$as_me:13917: \$? = $ac_status" >&5
13918 if (exit $ac_status) && test -s "$ac_outfile"; then
13919 # The compiler can only warn and ignore the option if not recognized
13920 # So say no if there are warnings other than the usual output.
13921 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13922 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13923 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13924 lt_cv_prog_compiler_pic_works_CXX=yes
13930 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13931 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13933 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13934 case $lt_prog_compiler_pic_CXX in
13936 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13939 lt_prog_compiler_pic_CXX=
13940 lt_prog_compiler_can_build_shared_CXX=no
13948 # Check to make sure the static flag actually works.
13950 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13951 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13952 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13953 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 lt_cv_prog_compiler_static_works_CXX=no
13957 save_LDFLAGS="$LDFLAGS"
13958 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13959 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13960 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13961 # The linker can only warn and ignore the option if not recognized
13962 # So say no if there are warnings
13963 if test -s conftest.err; then
13964 # Append any errors to the config.log.
13965 cat conftest.err 1>&5
13966 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13967 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13968 if diff conftest.exp conftest.er2 >/dev/null; then
13969 lt_cv_prog_compiler_static_works_CXX=yes
13972 lt_cv_prog_compiler_static_works_CXX=yes
13976 LDFLAGS="$save_LDFLAGS"
13979 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13980 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13982 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13985 lt_prog_compiler_static_CXX=
13991 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13992 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13993 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13994 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 lt_cv_prog_compiler_c_o_CXX=no
13997 $RM -r conftest 2>/dev/null
14001 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14003 lt_compiler_flag="-o out/conftest2.$ac_objext"
14004 # Insert the option either (1) after the last *FLAGS variable, or
14005 # (2) before a word containing "conftest.", or (3) at the end.
14006 # Note that $ac_compile itself does not contain backslashes and begins
14007 # with a dollar sign (not a hyphen), so the echo should work correctly.
14008 lt_compile=`echo "$ac_compile" | $SED \
14009 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14010 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14011 -e 's:$: $lt_compiler_flag:'`
14012 (eval echo "\"\$as_me:14012: $lt_compile\"" >&5)
14013 (eval "$lt_compile" 2>out/conftest.err)
14015 cat out/conftest.err >&5
14016 echo "$as_me:14016: \$? = $ac_status" >&5
14017 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14019 # The compiler can only warn and ignore the option if not recognized
14020 # So say no if there are warnings
14021 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14022 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14023 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14024 lt_cv_prog_compiler_c_o_CXX=yes
14029 # SGI C++ compiler will create directory out/ii_files/ for
14030 # template instantiation
14031 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14032 $RM out/* && rmdir out
14038 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14039 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14043 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14044 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14045 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14046 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 lt_cv_prog_compiler_c_o_CXX=no
14049 $RM -r conftest 2>/dev/null
14053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14055 lt_compiler_flag="-o out/conftest2.$ac_objext"
14056 # Insert the option either (1) after the last *FLAGS variable, or
14057 # (2) before a word containing "conftest.", or (3) at the end.
14058 # Note that $ac_compile itself does not contain backslashes and begins
14059 # with a dollar sign (not a hyphen), so the echo should work correctly.
14060 lt_compile=`echo "$ac_compile" | $SED \
14061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14063 -e 's:$: $lt_compiler_flag:'`
14064 (eval echo "\"\$as_me:14064: $lt_compile\"" >&5)
14065 (eval "$lt_compile" 2>out/conftest.err)
14067 cat out/conftest.err >&5
14068 echo "$as_me:14068: \$? = $ac_status" >&5
14069 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14071 # The compiler can only warn and ignore the option if not recognized
14072 # So say no if there are warnings
14073 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14074 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14075 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14076 lt_cv_prog_compiler_c_o_CXX=yes
14081 # SGI C++ compiler will create directory out/ii_files/ for
14082 # template instantiation
14083 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14084 $RM out/* && rmdir out
14090 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14091 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14096 hard_links="nottested"
14097 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14098 # do not overwrite the value of need_locks provided by the user
14099 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14100 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14103 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14105 ln conftest.a conftest.b 2>&5 || hard_links=no
14106 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14107 { echo "$as_me:$LINENO: result: $hard_links" >&5
14108 echo "${ECHO_T}$hard_links" >&6; }
14109 if test "$hard_links" = no; then
14110 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14111 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14120 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14121 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14123 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14126 # If we're using GNU nm, then we don't want the "-C" option.
14127 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14128 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14129 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14131 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14135 export_symbols_cmds_CXX="$ltdll_cmds"
14138 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14141 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14144 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14146 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14147 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14148 test "$ld_shlibs_CXX" = no && can_build_shared=no
14150 with_gnu_ld_CXX=$with_gnu_ld
14158 # Do we need to explicitly link libc?
14160 case "x$archive_cmds_need_lc_CXX" in
14162 # Assume -lc should be added
14163 archive_cmds_need_lc_CXX=yes
14165 if test "$enable_shared" = yes && test "$GCC" = yes; then
14166 case $archive_cmds_CXX in
14168 # FIXME: we may have to deal with multi-command sequences.
14171 # Test whether the compiler implicitly links with -lc since on some
14172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14173 # to ld, don't add -lc before -lgcc.
14174 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14175 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14177 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14180 (eval $ac_compile) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } 2>conftest.err; then
14186 libobjs=conftest.$ac_objext
14188 wl=$lt_prog_compiler_wl_CXX
14189 pic_flag=$lt_prog_compiler_pic_CXX
14195 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14196 allow_undefined_flag_CXX=
14197 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14198 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }
14203 archive_cmds_need_lc_CXX=no
14205 archive_cmds_need_lc_CXX=yes
14207 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14209 cat conftest.err 1>&5
14212 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14213 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14283 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14284 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14286 library_names_spec=
14287 libname_spec='lib$name'
14291 postuninstall_cmds=
14295 shlibpath_overrides_runpath=unknown
14297 dynamic_linker="$host_os ld.so"
14298 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14299 need_lib_prefix=unknown
14300 hardcode_into_libs=no
14302 # when you set need_version to no, make sure it does not cause -set_version
14303 # flags to be left without arguments
14304 need_version=unknown
14309 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14310 shlibpath_var=LIBPATH
14312 # AIX 3 has no versioning support, so we append a major version to the name.
14313 soname_spec='${libname}${release}${shared_ext}$major'
14320 hardcode_into_libs=yes
14321 if test "$host_cpu" = ia64; then
14322 # AIX 5 supports IA64
14323 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14324 shlibpath_var=LD_LIBRARY_PATH
14326 # With GCC up to 2.95.x, collect2 would create an import file
14327 # for dependence libraries. The import file would start with
14328 # the line `#! .'. This would cause the generated library to
14329 # depend on `.', always an invalid library. This was fixed in
14330 # development snapshots of GCC prior to 3.0.
14332 aix4 | aix4.[01] | aix4.[01].*)
14333 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14335 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14338 can_build_shared=no
14342 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14343 # soname into executable. Probably we can add versioning support to
14344 # collect2, so additional links can be useful in future.
14345 if test "$aix_use_runtimelinking" = yes; then
14346 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14347 # instead of lib<name>.a to let people know that these are not
14348 # typical AIX shared libraries.
14349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351 # We preserve .a as extension for shared libraries through AIX4.2
14352 # and later when we are not doing run time linking.
14353 library_names_spec='${libname}${release}.a $libname.a'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LIBPATH
14363 # Since July 2007 AmigaOS4 officially supports .so libraries.
14364 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14368 library_names_spec='$libname.ixlibrary $libname.a'
14369 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14370 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'
14376 library_names_spec='${libname}${shared_ext}'
14377 dynamic_linker="$host_os ld.so"
14378 shlibpath_var=LIBRARY_PATH
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14387 shlibpath_var=LD_LIBRARY_PATH
14388 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14389 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14390 # the default ld.so.conf also contains /usr/contrib/lib and
14391 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14392 # libtool to hard-code these into programs
14395 cygwin* | mingw* | pw32*)
14396 version_type=windows
14401 case $GCC,$host_os in
14402 yes,cygwin* | yes,mingw* | yes,pw32*)
14403 library_names_spec='$libname.dll.a'
14404 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14405 postinstall_cmds='base_file=`basename \${file}`~
14406 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14407 dldir=$destdir/`dirname \$dlpath`~
14408 test -d \$dldir || mkdir -p \$dldir~
14409 $install_prog $dir/$dlname \$dldir/$dlname~
14410 chmod a+x \$dldir/$dlname~
14411 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14412 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14414 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14415 dlpath=$dir/\$dldll~
14417 shlibpath_overrides_runpath=yes
14421 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14422 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14423 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14426 # MinGW DLLs use traditional 'lib' prefix
14427 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14428 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14429 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14430 # It is most probably a Windows format PATH printed by
14431 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14432 # path with ; separators, and with drive letters. We can handle the
14433 # drive letters (cygwin fileutils understands them), so leave them,
14434 # especially as we might pass files found there to a mingw objdump,
14435 # which wouldn't understand a cygwinified path. Ahh.
14436 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14438 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14442 # pw32 DLLs use 'pw' prefix rather than 'lib'
14443 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14449 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14452 dynamic_linker='Win32 ld.exe'
14453 # FIXME: first we should search . and the directory the executable is in
14457 darwin* | rhapsody*)
14458 dynamic_linker="$host_os dyld"
14459 version_type=darwin
14462 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14463 soname_spec='${libname}${release}${major}$shared_ext'
14464 shlibpath_overrides_runpath=yes
14465 shlibpath_var=DYLD_LIBRARY_PATH
14466 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14468 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14476 soname_spec='${libname}${release}${shared_ext}$major'
14477 shlibpath_var=LD_LIBRARY_PATH
14484 freebsd* | dragonfly*)
14485 # DragonFly does not have aout. When/if they implement a new
14486 # versioning mechanism, adjust this.
14487 if test -x /usr/bin/objformat; then
14488 objformat=`/usr/bin/objformat`
14491 freebsd[123]*) objformat=aout ;;
14492 *) objformat=elf ;;
14495 version_type=freebsd-$objformat
14496 case $version_type in
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14507 shlibpath_var=LD_LIBRARY_PATH
14510 shlibpath_overrides_runpath=yes
14512 freebsd3.[01]* | freebsdelf3.[01]*)
14513 shlibpath_overrides_runpath=yes
14514 hardcode_into_libs=yes
14516 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14517 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14518 shlibpath_overrides_runpath=no
14519 hardcode_into_libs=yes
14521 *) # from 4.6 on, and DragonFly
14522 shlibpath_overrides_runpath=yes
14523 hardcode_into_libs=yes
14532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14533 soname_spec='${libname}${release}${shared_ext}$major'
14534 shlibpath_var=LD_LIBRARY_PATH
14535 hardcode_into_libs=yes
14538 hpux9* | hpux10* | hpux11*)
14539 # Give a soname corresponding to the major version so that dld.sl refuses to
14540 # link against other versions.
14547 hardcode_into_libs=yes
14548 dynamic_linker="$host_os dld.so"
14549 shlibpath_var=LD_LIBRARY_PATH
14550 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 soname_spec='${libname}${release}${shared_ext}$major'
14553 if test "X$HPUX_IA64_MODE" = X32; then
14554 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14556 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14558 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14562 hardcode_into_libs=yes
14563 dynamic_linker="$host_os dld.sl"
14564 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14565 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14567 soname_spec='${libname}${release}${shared_ext}$major'
14568 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14569 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14573 dynamic_linker="$host_os dld.sl"
14574 shlibpath_var=SHLIB_PATH
14575 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14577 soname_spec='${libname}${release}${shared_ext}$major'
14580 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14581 postinstall_cmds='chmod 555 $lib'
14588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14589 soname_spec='${libname}${release}${shared_ext}$major'
14590 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14596 irix5* | irix6* | nonstopux*)
14598 nonstopux*) version_type=nonstopux ;;
14600 if test "$lt_cv_prog_gnu_ld" = yes; then
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14611 irix5* | nonstopux*)
14612 libsuff= shlibsuff=
14615 case $LD in # libtool.m4 will add one of these switches to LD
14616 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14617 libsuff= shlibsuff= libmagic=32-bit;;
14618 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14619 libsuff=32 shlibsuff=N32 libmagic=N32;;
14620 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14621 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14622 *) libsuff= shlibsuff= libmagic=never-match;;
14626 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14627 shlibpath_overrides_runpath=no
14628 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14629 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14630 hardcode_into_libs=yes
14633 # No shared lib support for Linux oldld, aout, or coff.
14634 linux*oldld* | linux*aout* | linux*coff*)
14638 # This must be Linux ELF.
14639 linux* | k*bsd*-gnu)
14643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14644 soname_spec='${libname}${release}${shared_ext}$major'
14645 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14646 shlibpath_var=LD_LIBRARY_PATH
14647 shlibpath_overrides_runpath=no
14648 # Some binutils ld are patched to set DT_RUNPATH
14649 save_LDFLAGS=$LDFLAGS
14650 save_libdir=$libdir
14651 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14652 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14653 cat >conftest.$ac_ext <<_ACEOF
14656 cat confdefs.h >>conftest.$ac_ext
14657 cat >>conftest.$ac_ext <<_ACEOF
14658 /* end confdefs.h. */
14668 rm -f conftest.$ac_objext conftest$ac_exeext
14669 if { (ac_try="$ac_link"
14670 case "(($ac_try" in
14671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14672 *) ac_try_echo=$ac_try;;
14674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14675 (eval "$ac_link") 2>conftest.er1
14677 grep -v '^ *+' conftest.er1 >conftest.err
14679 cat conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } && {
14682 test -z "$ac_cxx_werror_flag" ||
14683 test ! -s conftest.err
14684 } && test -s conftest$ac_exeext &&
14685 $as_test_x conftest$ac_exeext; then
14686 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14687 shlibpath_overrides_runpath=yes
14691 echo "$as_me: failed program was:" >&5
14692 sed 's/^/| /' conftest.$ac_ext >&5
14697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14698 conftest$ac_exeext conftest.$ac_ext
14699 LDFLAGS=$save_LDFLAGS
14700 libdir=$save_libdir
14702 # This implies no fast_install, which is unacceptable.
14703 # Some rework will be needed to allow for fast_install
14704 # before this can be enabled.
14705 hardcode_into_libs=yes
14707 # Append ld.so.conf contents to the search path
14708 if test -f /etc/ld.so.conf; then
14709 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' ' '`
14710 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14713 # We used to test for /lib/ld.so.1 and disable shared libraries on
14714 # powerpc, because MkLinux only supported shared libraries with the
14715 # GNU dynamic linker. Since this was broken with cross compilers,
14716 # most powerpc-linux boxes support dynamic linking these days and
14717 # people can always --disable-shared, the test was removed, and we
14718 # assume the GNU/Linux dynamic linker is in use.
14719 dynamic_linker='GNU/Linux ld.so'
14726 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14728 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14729 dynamic_linker='NetBSD (a.out) ld.so'
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14732 soname_spec='${libname}${release}${shared_ext}$major'
14733 dynamic_linker='NetBSD ld.elf_so'
14735 shlibpath_var=LD_LIBRARY_PATH
14736 shlibpath_overrides_runpath=yes
14737 hardcode_into_libs=yes
14742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14743 shlibpath_var=LD_LIBRARY_PATH
14744 shlibpath_overrides_runpath=yes
14751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14752 soname_spec='${libname}${release}${shared_ext}$major'
14753 shlibpath_var=LD_LIBRARY_PATH
14754 shlibpath_overrides_runpath=no
14755 hardcode_into_libs=yes
14756 dynamic_linker='ldqnx.so'
14761 sys_lib_dlsearch_path_spec="/usr/lib"
14763 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14765 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14766 *) need_version=no ;;
14768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14769 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14770 shlibpath_var=LD_LIBRARY_PATH
14771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14773 openbsd2.[89] | openbsd2.[89].*)
14774 shlibpath_overrides_runpath=no
14777 shlibpath_overrides_runpath=yes
14781 shlibpath_overrides_runpath=yes
14786 libname_spec='$name'
14789 library_names_spec='$libname${shared_ext} $libname.a'
14790 dynamic_linker='OS/2 ld.exe'
14791 shlibpath_var=LIBPATH
14794 osf3* | osf4* | osf5*)
14798 soname_spec='${libname}${release}${shared_ext}$major'
14799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14800 shlibpath_var=LD_LIBRARY_PATH
14801 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14802 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14814 soname_spec='${libname}${release}${shared_ext}$major'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=yes
14817 hardcode_into_libs=yes
14818 # ldd complains unless libraries are executable
14819 postinstall_cmds='chmod +x $lib'
14824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14825 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14826 shlibpath_var=LD_LIBRARY_PATH
14827 shlibpath_overrides_runpath=yes
14828 if test "$with_gnu_ld" = yes; then
14836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14837 soname_spec='${libname}${release}${shared_ext}$major'
14838 shlibpath_var=LD_LIBRARY_PATH
14839 case $host_vendor in
14841 shlibpath_overrides_runpath=no
14843 runpath_var=LD_RUN_PATH
14851 shlibpath_overrides_runpath=no
14852 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14858 if test -d /usr/nec ;then
14860 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14861 soname_spec='$libname${shared_ext}.$major'
14862 shlibpath_var=LD_LIBRARY_PATH
14866 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14867 version_type=freebsd-elf
14870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14871 soname_spec='${libname}${release}${shared_ext}$major'
14872 shlibpath_var=LD_LIBRARY_PATH
14873 shlibpath_overrides_runpath=yes
14874 hardcode_into_libs=yes
14875 if test "$with_gnu_ld" = yes; then
14876 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14878 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14881 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14885 sys_lib_dlsearch_path_spec='/usr/lib'
14889 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14893 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14894 shlibpath_var=LD_LIBRARY_PATH
14895 shlibpath_overrides_runpath=no
14896 hardcode_into_libs=yes
14901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14902 soname_spec='${libname}${release}${shared_ext}$major'
14903 shlibpath_var=LD_LIBRARY_PATH
14910 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14911 echo "${ECHO_T}$dynamic_linker" >&6; }
14912 test "$dynamic_linker" = no && can_build_shared=no
14914 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14915 if test "$GCC" = yes; then
14916 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14919 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14920 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14922 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14923 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14961 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14962 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14963 hardcode_action_CXX=
14964 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14965 test -n "$runpath_var_CXX" ||
14966 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14968 # We can hardcode non-existent directories.
14969 if test "$hardcode_direct_CXX" != no &&
14970 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14971 # have to relink, otherwise we might link with an installed library
14972 # when we should be linking with a yet-to-be-installed one
14973 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14974 test "$hardcode_minus_L_CXX" != no; then
14975 # Linking always hardcodes the temporary library directory.
14976 hardcode_action_CXX=relink
14978 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14979 hardcode_action_CXX=immediate
14982 # We cannot hardcode anything, or else we can only hardcode existing
14984 hardcode_action_CXX=unsupported
14986 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14987 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14989 if test "$hardcode_action_CXX" = relink ||
14990 test "$inherit_rpath_CXX" = yes; then
14991 # Fast installation is not supported
14992 enable_fast_install=no
14993 elif test "$shlibpath_overrides_runpath" = yes ||
14994 test "$enable_shared" = no; then
14995 # Fast installation is not necessary
14996 enable_fast_install=needless
15005 fi # test -n "$compiler"
15011 with_gnu_ld=$lt_save_with_gnu_ld
15012 lt_cv_path_LDCXX=$lt_cv_path_LD
15013 lt_cv_path_LD=$lt_save_path_LD
15014 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15015 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15016 fi # test "$_lt_caught_CXX_error" != yes
15019 ac_cpp='$CPP $CPPFLAGS'
15020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15036 ac_config_commands="$ac_config_commands libtool"
15041 # Only expand once:
15045 # Checks for libraries.
15047 # Check whether --enable-dlog was given.
15048 if test "${enable_dlog+set}" = set; then
15049 enableval=$enable_dlog;
15050 case "${enableval}" in
15051 yes) USE_DLOG=yes ;;
15053 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dlog" >&5
15054 echo "$as_me: error: bad value ${enableval} for --enable-dlog" >&2;}
15055 { (exit 1); exit 1; }; } ;;
15063 if test "x$USE_DLOG" = "xyes"; then
15066 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15067 if test -n "$ac_tool_prefix"; then
15068 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15069 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15072 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 case $PKG_CONFIG in
15077 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15081 for as_dir in $PATH
15084 test -z "$as_dir" && as_dir=.
15085 for ac_exec_ext in '' $ac_executable_extensions; do
15086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15087 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15099 if test -n "$PKG_CONFIG"; then
15100 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15101 echo "${ECHO_T}$PKG_CONFIG" >&6; }
15103 { echo "$as_me:$LINENO: result: no" >&5
15104 echo "${ECHO_T}no" >&6; }
15109 if test -z "$ac_cv_path_PKG_CONFIG"; then
15110 ac_pt_PKG_CONFIG=$PKG_CONFIG
15111 # Extract the first word of "pkg-config", so it can be a program name with args.
15112 set dummy pkg-config; ac_word=$2
15113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15115 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
15116 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 case $ac_pt_PKG_CONFIG in
15120 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15124 for as_dir in $PATH
15127 test -z "$as_dir" && as_dir=.
15128 for ac_exec_ext in '' $ac_executable_extensions; do
15129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15130 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15141 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15142 if test -n "$ac_pt_PKG_CONFIG"; then
15143 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
15144 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
15146 { echo "$as_me:$LINENO: result: no" >&5
15147 echo "${ECHO_T}no" >&6; }
15150 if test "x$ac_pt_PKG_CONFIG" = x; then
15153 case $cross_compiling:$ac_tool_warned in
15155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15156 whose name does not start with the host triplet. If you think this
15157 configuration is useful to you, please write to autoconf@gnu.org." >&5
15158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15159 whose name does not start with the host triplet. If you think this
15160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15161 ac_tool_warned=yes ;;
15163 PKG_CONFIG=$ac_pt_PKG_CONFIG
15166 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15170 if test -n "$PKG_CONFIG"; then
15171 _pkg_min_version=0.9.0
15172 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
15173 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
15174 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15175 { echo "$as_me:$LINENO: result: yes" >&5
15176 echo "${ECHO_T}yes" >&6; }
15178 { echo "$as_me:$LINENO: result: no" >&5
15179 echo "${ECHO_T}no" >&6; }
15186 { echo "$as_me:$LINENO: checking for DLOG" >&5
15187 echo $ECHO_N "checking for DLOG... $ECHO_C" >&6; }
15189 if test -n "$PKG_CONFIG"; then
15190 if test -n "$DLOG_CFLAGS"; then
15191 pkg_cv_DLOG_CFLAGS="$DLOG_CFLAGS"
15193 if test -n "$PKG_CONFIG" && \
15194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dlog\"") >&5
15195 ($PKG_CONFIG --exists --print-errors "dlog") 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; then
15199 pkg_cv_DLOG_CFLAGS=`$PKG_CONFIG --cflags "dlog" 2>/dev/null`
15207 if test -n "$PKG_CONFIG"; then
15208 if test -n "$DLOG_LIBS"; then
15209 pkg_cv_DLOG_LIBS="$DLOG_LIBS"
15211 if test -n "$PKG_CONFIG" && \
15212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dlog\"") >&5
15213 ($PKG_CONFIG --exists --print-errors "dlog") 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; then
15217 pkg_cv_DLOG_LIBS=`$PKG_CONFIG --libs "dlog" 2>/dev/null`
15228 if test $pkg_failed = yes; then
15230 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15231 _pkg_short_errors_supported=yes
15233 _pkg_short_errors_supported=no
15235 if test $_pkg_short_errors_supported = yes; then
15236 DLOG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dlog"`
15238 DLOG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dlog"`
15240 # Put the nasty error message in config.log where it belongs
15241 echo "$DLOG_PKG_ERRORS" >&5
15243 { { echo "$as_me:$LINENO: error: Package requirements (dlog) were not met:
15247 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15248 installed software in a non-standard prefix.
15250 Alternatively, you may set the environment variables DLOG_CFLAGS
15251 and DLOG_LIBS to avoid the need to call pkg-config.
15252 See the pkg-config man page for more details.
15254 echo "$as_me: error: Package requirements (dlog) were not met:
15258 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15259 installed software in a non-standard prefix.
15261 Alternatively, you may set the environment variables DLOG_CFLAGS
15262 and DLOG_LIBS to avoid the need to call pkg-config.
15263 See the pkg-config man page for more details.
15265 { (exit 1); exit 1; }; }
15266 elif test $pkg_failed = untried; then
15267 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15268 is in your PATH or set the PKG_CONFIG environment variable to the full
15269 path to pkg-config.
15271 Alternatively, you may set the environment variables DLOG_CFLAGS
15272 and DLOG_LIBS to avoid the need to call pkg-config.
15273 See the pkg-config man page for more details.
15275 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15276 See \`config.log' for more details." >&5
15277 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15278 is in your PATH or set the PKG_CONFIG environment variable to the full
15279 path to pkg-config.
15281 Alternatively, you may set the environment variables DLOG_CFLAGS
15282 and DLOG_LIBS to avoid the need to call pkg-config.
15283 See the pkg-config man page for more details.
15285 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15286 See \`config.log' for more details." >&2;}
15287 { (exit 1); exit 1; }; }
15289 DLOG_CFLAGS=$pkg_cv_DLOG_CFLAGS
15290 DLOG_LIBS=$pkg_cv_DLOG_LIBS
15291 { echo "$as_me:$LINENO: result: yes" >&5
15292 echo "${ECHO_T}yes" >&6; }
15298 if test "x$USE_DLOG" = "xyes"; then
15307 # Checks for header files.
15308 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15309 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15310 if test "${ac_cv_header_stdc+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 cat >conftest.$ac_ext <<_ACEOF
15316 cat confdefs.h >>conftest.$ac_ext
15317 cat >>conftest.$ac_ext <<_ACEOF
15318 /* end confdefs.h. */
15319 #include <stdlib.h>
15320 #include <stdarg.h>
15321 #include <string.h>
15332 rm -f conftest.$ac_objext
15333 if { (ac_try="$ac_compile"
15334 case "(($ac_try" in
15335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336 *) ac_try_echo=$ac_try;;
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339 (eval "$ac_compile") 2>conftest.er1
15341 grep -v '^ *+' conftest.er1 >conftest.err
15343 cat conftest.err >&5
15344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest.$ac_objext; then
15349 ac_cv_header_stdc=yes
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.$ac_ext >&5
15354 ac_cv_header_stdc=no
15357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15359 if test $ac_cv_header_stdc = yes; then
15360 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15361 cat >conftest.$ac_ext <<_ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 #include <string.h>
15370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15371 $EGREP "memchr" >/dev/null 2>&1; then
15374 ac_cv_header_stdc=no
15380 if test $ac_cv_header_stdc = yes; then
15381 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15382 cat >conftest.$ac_ext <<_ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15388 #include <stdlib.h>
15391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15392 $EGREP "free" >/dev/null 2>&1; then
15395 ac_cv_header_stdc=no
15401 if test $ac_cv_header_stdc = yes; then
15402 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15403 if test "$cross_compiling" = yes; then
15406 cat >conftest.$ac_ext <<_ACEOF
15409 cat confdefs.h >>conftest.$ac_ext
15410 cat >>conftest.$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15413 #include <stdlib.h>
15414 #if ((' ' & 0x0FF) == 0x020)
15415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15418 # define ISLOWER(c) \
15419 (('a' <= (c) && (c) <= 'i') \
15420 || ('j' <= (c) && (c) <= 'r') \
15421 || ('s' <= (c) && (c) <= 'z'))
15422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15430 for (i = 0; i < 256; i++)
15431 if (XOR (islower (i), ISLOWER (i))
15432 || toupper (i) != TOUPPER (i))
15437 rm -f conftest$ac_exeext
15438 if { (ac_try="$ac_link"
15439 case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_link") 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15448 { (case "(($ac_try" in
15449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15450 *) ac_try_echo=$ac_try;;
15452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15453 (eval "$ac_try") 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15459 echo "$as_me: program exited with status $ac_status" >&5
15460 echo "$as_me: failed program was:" >&5
15461 sed 's/^/| /' conftest.$ac_ext >&5
15463 ( exit $ac_status )
15464 ac_cv_header_stdc=no
15466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15472 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15473 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
15474 if test $ac_cv_header_stdc = yes; then
15476 cat >>confdefs.h <<\_ACEOF
15477 #define STDC_HEADERS 1
15485 for ac_header in malloc.h sys/mman.h sys/ioctl.h
15487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 ac_res=`eval echo '${'$as_ac_Header'}'`
15495 { echo "$as_me:$LINENO: result: $ac_res" >&5
15496 echo "${ECHO_T}$ac_res" >&6; }
15498 # Is the header compilable?
15499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15501 cat >conftest.$ac_ext <<_ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507 $ac_includes_default
15508 #include <$ac_header>
15510 rm -f conftest.$ac_objext
15511 if { (ac_try="$ac_compile"
15512 case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_compile") 2>conftest.er1
15519 grep -v '^ *+' conftest.er1 >conftest.err
15521 cat conftest.err >&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } && {
15524 test -z "$ac_c_werror_flag" ||
15525 test ! -s conftest.err
15526 } && test -s conftest.$ac_objext; then
15527 ac_header_compiler=yes
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15532 ac_header_compiler=no
15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15537 echo "${ECHO_T}$ac_header_compiler" >&6; }
15539 # Is the header present?
15540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548 #include <$ac_header>
15550 if { (ac_try="$ac_cpp conftest.$ac_ext"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15558 grep -v '^ *+' conftest.er1 >conftest.err
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } >/dev/null && {
15563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15564 test ! -s conftest.err
15566 ac_header_preproc=yes
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15571 ac_header_preproc=no
15574 rm -f conftest.err conftest.$ac_ext
15575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15576 echo "${ECHO_T}$ac_header_preproc" >&6; }
15578 # So? What about this header?
15579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15585 ac_header_preproc=yes
15588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 eval "$as_ac_Header=\$ac_header_preproc"
15610 ac_res=`eval echo '${'$as_ac_Header'}'`
15611 { echo "$as_me:$LINENO: result: $ac_res" >&5
15612 echo "${ECHO_T}$ac_res" >&6; }
15615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15616 cat >>confdefs.h <<_ACEOF
15617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15625 # Checks for typedefs, structures, and compiler characteristics.
15626 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15627 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
15628 if test "${ac_cv_c_const+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 cat >conftest.$ac_ext <<_ACEOF
15634 cat confdefs.h >>conftest.$ac_ext
15635 cat >>conftest.$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15641 /* FIXME: Include the comments suggested by Paul. */
15642 #ifndef __cplusplus
15643 /* Ultrix mips cc rejects this. */
15644 typedef int charset[2];
15646 /* SunOS 4.1.1 cc rejects this. */
15647 char const *const *pcpcc;
15649 /* NEC SVR4.0.2 mips cc rejects this. */
15650 struct point {int x, y;};
15651 static struct point const zero = {0,0};
15652 /* AIX XL C 1.02.0.0 rejects this.
15653 It does not let you subtract one const X* pointer from another in
15654 an arm of an if-expression whose if-part is not a constant
15656 const char *g = "string";
15657 pcpcc = &g + (g ? g-g : 0);
15658 /* HPUX 7.0 cc rejects these. */
15660 ppc = (char**) pcpcc;
15661 pcpcc = (char const *const *) ppc;
15662 { /* SCO 3.2v4 cc rejects this. */
15664 char const *s = 0 ? (char *) 0 : (char const *) 0;
15669 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15670 int x[] = {25, 17};
15671 const int *foo = &x[0];
15674 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15675 typedef const int *iptr;
15679 { /* AIX XL C 1.02.0.0 rejects this saying
15680 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15681 struct s { int j; const int *ap[3]; };
15682 struct s *b; b->j = 5;
15684 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15685 const int foo = 10;
15686 if (!foo) return 0;
15688 return !cs[0] && !zero.x;
15695 rm -f conftest.$ac_objext
15696 if { (ac_try="$ac_compile"
15697 case "(($ac_try" in
15698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15699 *) ac_try_echo=$ac_try;;
15701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15702 (eval "$ac_compile") 2>conftest.er1
15704 grep -v '^ *+' conftest.er1 >conftest.err
15706 cat conftest.err >&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } && {
15709 test -z "$ac_c_werror_flag" ||
15710 test ! -s conftest.err
15711 } && test -s conftest.$ac_objext; then
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.$ac_ext >&5
15720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15722 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15723 echo "${ECHO_T}$ac_cv_c_const" >&6; }
15724 if test $ac_cv_c_const = no; then
15726 cat >>confdefs.h <<\_ACEOF
15732 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
15733 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
15734 if test "${ac_cv_header_time+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 cat >conftest.$ac_ext <<_ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15743 #include <sys/types.h>
15744 #include <sys/time.h>
15750 if ((struct tm *) 0)
15756 rm -f conftest.$ac_objext
15757 if { (ac_try="$ac_compile"
15758 case "(($ac_try" in
15759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15760 *) ac_try_echo=$ac_try;;
15762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15763 (eval "$ac_compile") 2>conftest.er1
15765 grep -v '^ *+' conftest.er1 >conftest.err
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } && {
15770 test -z "$ac_c_werror_flag" ||
15771 test ! -s conftest.err
15772 } && test -s conftest.$ac_objext; then
15773 ac_cv_header_time=yes
15775 echo "$as_me: failed program was:" >&5
15776 sed 's/^/| /' conftest.$ac_ext >&5
15778 ac_cv_header_time=no
15781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15783 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
15784 echo "${ECHO_T}$ac_cv_header_time" >&6; }
15785 if test $ac_cv_header_time = yes; then
15787 cat >>confdefs.h <<\_ACEOF
15788 #define TIME_WITH_SYS_TIME 1
15794 # Checks for library functions.
15796 for ac_header in stdlib.h
15798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15800 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 ac_res=`eval echo '${'$as_ac_Header'}'`
15806 { echo "$as_me:$LINENO: result: $ac_res" >&5
15807 echo "${ECHO_T}$ac_res" >&6; }
15809 # Is the header compilable?
15810 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15812 cat >conftest.$ac_ext <<_ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 $ac_includes_default
15819 #include <$ac_header>
15821 rm -f conftest.$ac_objext
15822 if { (ac_try="$ac_compile"
15823 case "(($ac_try" in
15824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15825 *) ac_try_echo=$ac_try;;
15827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15828 (eval "$ac_compile") 2>conftest.er1
15830 grep -v '^ *+' conftest.er1 >conftest.err
15832 cat conftest.err >&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } && {
15835 test -z "$ac_c_werror_flag" ||
15836 test ! -s conftest.err
15837 } && test -s conftest.$ac_objext; then
15838 ac_header_compiler=yes
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15843 ac_header_compiler=no
15846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15848 echo "${ECHO_T}$ac_header_compiler" >&6; }
15850 # Is the header present?
15851 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15853 cat >conftest.$ac_ext <<_ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 #include <$ac_header>
15861 if { (ac_try="$ac_cpp conftest.$ac_ext"
15862 case "(($ac_try" in
15863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15864 *) ac_try_echo=$ac_try;;
15866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15869 grep -v '^ *+' conftest.er1 >conftest.err
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } >/dev/null && {
15874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15875 test ! -s conftest.err
15877 ac_header_preproc=yes
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15882 ac_header_preproc=no
15885 rm -f conftest.err conftest.$ac_ext
15886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15887 echo "${ECHO_T}$ac_header_preproc" >&6; }
15889 # So? What about this header?
15890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15896 ac_header_preproc=yes
15899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15914 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 eval "$as_ac_Header=\$ac_header_preproc"
15921 ac_res=`eval echo '${'$as_ac_Header'}'`
15922 { echo "$as_me:$LINENO: result: $ac_res" >&5
15923 echo "${ECHO_T}$ac_res" >&6; }
15926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15927 cat >>confdefs.h <<_ACEOF
15928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15935 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
15936 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
15937 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 if test "$cross_compiling" = yes; then
15941 ac_cv_func_malloc_0_nonnull=no
15943 cat >conftest.$ac_ext <<_ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15949 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
15950 # include <stdlib.h>
15958 return ! malloc (0);
15963 rm -f conftest$ac_exeext
15964 if { (ac_try="$ac_link"
15965 case "(($ac_try" in
15966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15967 *) ac_try_echo=$ac_try;;
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_link") 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15974 { (case "(($ac_try" in
15975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15976 *) ac_try_echo=$ac_try;;
15978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15979 (eval "$ac_try") 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_cv_func_malloc_0_nonnull=yes
15985 echo "$as_me: program exited with status $ac_status" >&5
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15989 ( exit $ac_status )
15990 ac_cv_func_malloc_0_nonnull=no
15992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15997 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
15998 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
15999 if test $ac_cv_func_malloc_0_nonnull = yes; then
16001 cat >>confdefs.h <<\_ACEOF
16002 #define HAVE_MALLOC 1
16006 cat >>confdefs.h <<\_ACEOF
16007 #define HAVE_MALLOC 0
16010 case " $LIBOBJS " in
16011 *" malloc.$ac_objext "* ) ;;
16012 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16017 cat >>confdefs.h <<\_ACEOF
16018 #define malloc rpl_malloc
16029 for ac_func in gethostname gettimeofday memset uname
16031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16032 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16035 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 cat >conftest.$ac_ext <<_ACEOF
16040 cat confdefs.h >>conftest.$ac_ext
16041 cat >>conftest.$ac_ext <<_ACEOF
16042 /* end confdefs.h. */
16043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16045 #define $ac_func innocuous_$ac_func
16047 /* System header to define __stub macros and hopefully few prototypes,
16048 which can conflict with char $ac_func (); below.
16049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16050 <limits.h> exists even on freestanding compilers. */
16053 # include <limits.h>
16055 # include <assert.h>
16060 /* Override any GCC internal prototype to avoid an error.
16061 Use char because int might match the return type of a GCC
16062 builtin and then its argument prototype would still apply. */
16067 /* The GNU C library defines this for functions which it implements
16068 to always fail with ENOSYS. Some functions are actually named
16069 something starting with __ and the normal name is an alias. */
16070 #if defined __stub_$ac_func || defined __stub___$ac_func
16077 return $ac_func ();
16082 rm -f conftest.$ac_objext conftest$ac_exeext
16083 if { (ac_try="$ac_link"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_link") 2>conftest.er1
16091 grep -v '^ *+' conftest.er1 >conftest.err
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } && {
16096 test -z "$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 } && test -s conftest$ac_exeext &&
16099 $as_test_x conftest$ac_exeext; then
16100 eval "$as_ac_var=yes"
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16105 eval "$as_ac_var=no"
16108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16109 conftest$ac_exeext conftest.$ac_ext
16111 ac_res=`eval echo '${'$as_ac_var'}'`
16112 { echo "$as_me:$LINENO: result: $ac_res" >&5
16113 echo "${ECHO_T}$ac_res" >&6; }
16114 if test `eval echo '${'$as_ac_var'}'` = yes; then
16115 cat >>confdefs.h <<_ACEOF
16116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16125 { echo "$as_me:$LINENO: checking for GLIB" >&5
16126 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
16128 if test -n "$PKG_CONFIG"; then
16129 if test -n "$GLIB_CFLAGS"; then
16130 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
16132 if test -n "$PKG_CONFIG" && \
16133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
16134 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; then
16138 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
16146 if test -n "$PKG_CONFIG"; then
16147 if test -n "$GLIB_LIBS"; then
16148 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
16150 if test -n "$PKG_CONFIG" && \
16151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
16152 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; then
16156 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
16167 if test $pkg_failed = yes; then
16169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16170 _pkg_short_errors_supported=yes
16172 _pkg_short_errors_supported=no
16174 if test $_pkg_short_errors_supported = yes; then
16175 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
16177 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
16179 # Put the nasty error message in config.log where it belongs
16180 echo "$GLIB_PKG_ERRORS" >&5
16182 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
16186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16187 installed software in a non-standard prefix.
16189 Alternatively, you may set the environment variables GLIB_CFLAGS
16190 and GLIB_LIBS to avoid the need to call pkg-config.
16191 See the pkg-config man page for more details.
16193 echo "$as_me: error: Package requirements (glib-2.0) were not met:
16197 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16198 installed software in a non-standard prefix.
16200 Alternatively, you may set the environment variables GLIB_CFLAGS
16201 and GLIB_LIBS to avoid the need to call pkg-config.
16202 See the pkg-config man page for more details.
16204 { (exit 1); exit 1; }; }
16205 elif test $pkg_failed = untried; then
16206 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
16207 is in your PATH or set the PKG_CONFIG environment variable to the full
16208 path to pkg-config.
16210 Alternatively, you may set the environment variables GLIB_CFLAGS
16211 and GLIB_LIBS to avoid the need to call pkg-config.
16212 See the pkg-config man page for more details.
16214 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16215 See \`config.log' for more details." >&5
16216 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
16217 is in your PATH or set the PKG_CONFIG environment variable to the full
16218 path to pkg-config.
16220 Alternatively, you may set the environment variables GLIB_CFLAGS
16221 and GLIB_LIBS to avoid the need to call pkg-config.
16222 See the pkg-config man page for more details.
16224 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16225 See \`config.log' for more details." >&2;}
16226 { (exit 1); exit 1; }; }
16228 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
16229 GLIB_LIBS=$pkg_cv_GLIB_LIBS
16230 { echo "$as_me:$LINENO: result: yes" >&5
16231 echo "${ECHO_T}yes" >&6; }
16237 ac_config_files="$ac_config_files Makefile src/Makefile camsrcjpegenc-sw.pc"
16239 cat >confcache <<\_ACEOF
16240 # This file is a shell script that caches the results of configure
16241 # tests run on this system so they can be shared between configure
16242 # scripts and configure runs, see configure's option --config-cache.
16243 # It is not useful on other systems. If it contains results you don't
16244 # want to keep, you may remove or edit it.
16246 # config.status only pays attention to the cache file if you give it
16247 # the --recheck option to rerun configure.
16249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16251 # following values.
16255 # The following way of writing the cache mishandles newlines in values,
16256 # but we know of no workaround that is simple, portable, and efficient.
16257 # So, we kill variables containing newlines.
16258 # Ultrix sh set writes to stderr and can't be redirected directly,
16259 # and sets the high bit in the cache file unless we assign to the vars.
16261 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16262 eval ac_val=\$$ac_var
16266 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16267 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16270 _ | IFS | as_nl) ;; #(
16271 *) $as_unset $ac_var ;;
16277 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16278 *${as_nl}ac_space=\ *)
16279 # `set' does not quote correctly, so add quotes (double-quote
16280 # substitution turns \\\\ into \\, and sed turns \\ into \).
16283 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16286 # `set' quotes correctly as required by POSIX, so do not add quotes.
16287 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16296 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16298 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16300 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16301 if test -w "$cache_file"; then
16302 test "x$cache_file" != "x/dev/null" &&
16303 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16304 echo "$as_me: updating cache $cache_file" >&6;}
16305 cat confcache >$cache_file
16307 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16308 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16313 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16314 # Let make expand exec_prefix.
16315 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16317 DEFS=-DHAVE_CONFIG_H
16321 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16322 # 1. Remove the extension, and $U if already installed.
16323 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16324 ac_i=`echo "$ac_i" | sed "$ac_script"`
16325 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16326 # will be set to the directory where LIBOBJS objects are built.
16327 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16328 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16330 LIBOBJS=$ac_libobjs
16332 LTLIBOBJS=$ac_ltlibobjs
16335 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16336 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16337 Usually this means the macro was only invoked conditionally." >&5
16338 echo "$as_me: error: conditional \"AMDEP\" was never defined.
16339 Usually this means the macro was only invoked conditionally." >&2;}
16340 { (exit 1); exit 1; }; }
16342 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16343 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16344 Usually this means the macro was only invoked conditionally." >&5
16345 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16346 Usually this means the macro was only invoked conditionally." >&2;}
16347 { (exit 1); exit 1; }; }
16349 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16350 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16351 Usually this means the macro was only invoked conditionally." >&5
16352 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16353 Usually this means the macro was only invoked conditionally." >&2;}
16354 { (exit 1); exit 1; }; }
16356 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16357 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16358 Usually this means the macro was only invoked conditionally." >&5
16359 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16360 Usually this means the macro was only invoked conditionally." >&2;}
16361 { (exit 1); exit 1; }; }
16363 if test -z "${USE_DLOG_TRUE}" && test -z "${USE_DLOG_FALSE}"; then
16364 { { echo "$as_me:$LINENO: error: conditional \"USE_DLOG\" was never defined.
16365 Usually this means the macro was only invoked conditionally." >&5
16366 echo "$as_me: error: conditional \"USE_DLOG\" was never defined.
16367 Usually this means the macro was only invoked conditionally." >&2;}
16368 { (exit 1); exit 1; }; }
16371 : ${CONFIG_STATUS=./config.status}
16372 ac_clean_files_save=$ac_clean_files
16373 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16374 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16375 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16376 cat >$CONFIG_STATUS <<_ACEOF
16378 # Generated by $as_me.
16379 # Run this file to recreate the current configuration.
16380 # Compiler output produced by configure, useful for debugging
16381 # configure, is in config.log if it exists.
16384 ac_cs_recheck=false
16386 SHELL=\${CONFIG_SHELL-$SHELL}
16389 cat >>$CONFIG_STATUS <<\_ACEOF
16390 ## --------------------- ##
16391 ## M4sh Initialization. ##
16392 ## --------------------- ##
16394 # Be more Bourne compatible
16395 DUALCASE=1; export DUALCASE # for MKS sh
16396 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16399 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16400 # is contrary to our usage. Disable this feature.
16401 alias -g '${1+"$@"}'='"$@"'
16402 setopt NO_GLOB_SUBST
16404 case `(set -o) 2>/dev/null` in
16405 *posix*) set -o posix ;;
16414 # Avoid depending upon Character Ranges.
16415 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16416 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16417 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16418 as_cr_digits='0123456789'
16419 as_cr_alnum=$as_cr_Letters$as_cr_digits
16421 # The user is always right.
16422 if test "${PATH_SEPARATOR+set}" != set; then
16423 echo "#! /bin/sh" >conf$$.sh
16424 echo "exit 0" >>conf$$.sh
16426 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16434 # Support unset when possible.
16435 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16443 # We need space, tab and new line, in precisely that order. Quoting is
16444 # there to prevent editors from complaining about space-tab.
16445 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16446 # splitting by setting IFS to empty value.)
16451 # Find who we are. Look in the path if we contain no directory separator.
16453 *[\\/]* ) as_myself=$0 ;;
16454 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16455 for as_dir in $PATH
16458 test -z "$as_dir" && as_dir=.
16459 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16465 # We did not find ourselves, most probably we were run as `sh COMMAND'
16466 # in which case we are not to be found in the path.
16467 if test "x$as_myself" = x; then
16470 if test ! -f "$as_myself"; then
16471 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16472 { (exit 1); exit 1; }
16475 # Work around bugs in pre-3.0 UWIN ksh.
16476 for as_var in ENV MAIL MAILPATH
16477 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16485 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16486 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16487 LC_TELEPHONE LC_TIME
16489 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16490 eval $as_var=C; export $as_var
16492 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16496 # Required to use basename.
16497 if expr a : '\(a\)' >/dev/null 2>&1 &&
16498 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16504 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16505 as_basename=basename
16511 # Name of the executable.
16512 as_me=`$as_basename -- "$0" ||
16513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16514 X"$0" : 'X\(//\)$' \| \
16515 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16517 sed '/^.*\/\([^/][^/]*\)\/*$/{
16536 as_lineno_1=$LINENO
16537 as_lineno_2=$LINENO
16538 test "x$as_lineno_1" != "x$as_lineno_2" &&
16539 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
16541 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16542 # uniformly replaced by the line number. The first 'sed' inserts a
16543 # line-number line after each line using $LINENO; the second 'sed'
16544 # does the real work. The second script uses 'N' to pair each
16545 # line-number line with the line containing $LINENO, and appends
16546 # trailing '-' during substitution so that $LINENO is not a special
16547 # case at line end.
16548 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16549 # scripts with optimization help from Paolo Bonzini. Blame Lee
16550 # E. McMahon (1931-1989) for sed's syntax. :-)
16562 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16565 ' >$as_me.lineno &&
16566 chmod +x "$as_me.lineno" ||
16567 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16568 { (exit 1); exit 1; }; }
16570 # Don't try to exec as it changes $[0], causing all sort of problems
16571 # (the dirname of $[0] is not the place where we might find the
16572 # original and so on. Autoconf is especially sensitive to this).
16573 . "./$as_me.lineno"
16574 # Exit status is that of the last command.
16579 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16585 ECHO_C= ECHO_N= ECHO_T=
16586 case `echo -n x` in
16588 case `echo 'x\c'` in
16589 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16596 if expr a : '\(a\)' >/dev/null 2>&1 &&
16597 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16603 rm -f conf$$ conf$$.exe conf$$.file
16604 if test -d conf$$.dir; then
16605 rm -f conf$$.dir/conf$$.file
16611 if ln -s conf$$.file conf$$ 2>/dev/null; then
16613 # ... but there are two gotchas:
16614 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16615 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16616 # In both cases, we have to default to `cp -p'.
16617 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16619 elif ln conf$$.file conf$$ 2>/dev/null; then
16624 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16625 rmdir conf$$.dir 2>/dev/null
16627 if mkdir -p . 2>/dev/null; then
16630 test -d ./-p && rmdir ./-p
16634 if test -x / >/dev/null 2>&1; then
16635 as_test_x='test -x'
16637 if ls -dL / >/dev/null 2>&1; then
16644 if test -d "$1"; then
16650 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16651 ???[sx]*):;;*)false;;esac;fi
16655 as_executable_p=$as_test_x
16657 # Sed expression to map a string onto a valid CPP name.
16658 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16660 # Sed expression to map a string onto a valid variable name.
16661 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16666 # Save the log message, to keep $[0] and so on meaningful, and to
16667 # report actual input values of CONFIG_FILES etc. instead of their
16668 # values after options handling.
16670 This file was extended by libcamsrcjpegenc-sw $as_me 0.1, which was
16671 generated by GNU Autoconf 2.61. Invocation command line was
16673 CONFIG_FILES = $CONFIG_FILES
16674 CONFIG_HEADERS = $CONFIG_HEADERS
16675 CONFIG_LINKS = $CONFIG_LINKS
16676 CONFIG_COMMANDS = $CONFIG_COMMANDS
16679 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16684 cat >>$CONFIG_STATUS <<_ACEOF
16685 # Files that config.status was made for.
16686 config_files="$ac_config_files"
16687 config_headers="$ac_config_headers"
16688 config_commands="$ac_config_commands"
16692 cat >>$CONFIG_STATUS <<\_ACEOF
16694 \`$as_me' instantiates files from templates according to the
16695 current configuration.
16697 Usage: $0 [OPTIONS] [FILE]...
16699 -h, --help print this help, then exit
16700 -V, --version print version number and configuration settings, then exit
16701 -q, --quiet do not print progress messages
16702 -d, --debug don't remove temporary files
16703 --recheck update $as_me by reconfiguring in the same conditions
16704 --file=FILE[:TEMPLATE]
16705 instantiate the configuration file FILE
16706 --header=FILE[:TEMPLATE]
16707 instantiate the configuration header FILE
16709 Configuration files:
16712 Configuration headers:
16715 Configuration commands:
16718 Report bugs to <bug-autoconf@gnu.org>."
16721 cat >>$CONFIG_STATUS <<_ACEOF
16723 libcamsrcjpegenc-sw config.status 0.1
16724 configured by $0, generated by GNU Autoconf 2.61,
16725 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16727 Copyright (C) 2006 Free Software Foundation, Inc.
16728 This config.status script is free software; the Free Software Foundation
16729 gives unlimited permission to copy, distribute and modify it."
16737 cat >>$CONFIG_STATUS <<\_ACEOF
16738 # If no file are specified by the user, then we need to provide default
16739 # value. By we need to know if files were specified by the user.
16745 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16746 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16757 # Handling of the options.
16758 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16760 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16761 echo "$ac_cs_version"; exit ;;
16762 --debug | --debu | --deb | --de | --d | -d )
16764 --file | --fil | --fi | --f )
16766 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16767 ac_need_defaults=false;;
16768 --header | --heade | --head | --hea )
16770 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16771 ac_need_defaults=false;;
16773 # Conflict between --help and --header
16774 { echo "$as_me: error: ambiguous option: $1
16775 Try \`$0 --help' for more information." >&2
16776 { (exit 1); exit 1; }; };;
16777 --help | --hel | -h )
16778 echo "$ac_cs_usage"; exit ;;
16779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16780 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16783 # This is an error.
16784 -*) { echo "$as_me: error: unrecognized option: $1
16785 Try \`$0 --help' for more information." >&2
16786 { (exit 1); exit 1; }; } ;;
16788 *) ac_config_targets="$ac_config_targets $1"
16789 ac_need_defaults=false ;;
16795 ac_configure_extra_args=
16797 if $ac_cs_silent; then
16799 ac_configure_extra_args="$ac_configure_extra_args --silent"
16803 cat >>$CONFIG_STATUS <<_ACEOF
16804 if \$ac_cs_recheck; then
16805 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16806 CONFIG_SHELL=$SHELL
16807 export CONFIG_SHELL
16808 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16812 cat >>$CONFIG_STATUS <<\_ACEOF
16816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16817 ## Running $as_me. ##
16823 cat >>$CONFIG_STATUS <<_ACEOF
16827 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16830 # The HP-UX ksh and POSIX shell print the target directory to stdout
16831 # if CDPATH is set.
16832 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16834 sed_quote_subst='$sed_quote_subst'
16835 double_quote_subst='$double_quote_subst'
16836 delay_variable_subst='$delay_variable_subst'
16837 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16838 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16839 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16840 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16841 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16842 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16843 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16844 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16845 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16846 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16847 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16848 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16849 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16850 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16851 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16852 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16853 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16854 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16855 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16856 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16857 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16858 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16859 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16860 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16861 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16862 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16863 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16864 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16865 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16866 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16867 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16868 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16869 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16870 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16871 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16872 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16873 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16874 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16875 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16876 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16877 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16878 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16879 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16880 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"`'
16881 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"`'
16882 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16883 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16884 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16885 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16886 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16887 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16888 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16889 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16890 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16891 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16892 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16893 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16894 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16895 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16896 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16897 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16898 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16899 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16900 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16901 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16902 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16903 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16904 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16905 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16906 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16907 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16908 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16909 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16910 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16911 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16912 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16913 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16914 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16915 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16916 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16917 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16918 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16919 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16920 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16921 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16922 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16923 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16924 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16925 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16926 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16927 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16928 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16929 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16930 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16931 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16932 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16933 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16934 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16935 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16936 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16937 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16938 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16939 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16940 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16941 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16942 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16943 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16944 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16945 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16946 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16947 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16948 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16949 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16950 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16951 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16952 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16953 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16954 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16955 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16956 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16957 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16958 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16959 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16960 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16961 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16962 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16963 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16964 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16965 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16966 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16967 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16968 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16969 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16970 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16971 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16972 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16973 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16974 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16975 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16976 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16977 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16978 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16979 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16980 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16981 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16982 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16983 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16984 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16985 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16986 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16987 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16988 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16989 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16990 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16991 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16992 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16993 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16994 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16995 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16996 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16997 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16998 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16999 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17000 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17001 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17002 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17003 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17004 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17005 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17006 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17009 LTCFLAGS='$LTCFLAGS'
17010 compiler='$compiler_DEFAULT'
17012 # Quote evaled strings.
17023 deplibs_check_method \
17032 lt_cv_sys_global_symbol_pipe \
17033 lt_cv_sys_global_symbol_to_cdecl \
17034 lt_cv_sys_global_symbol_to_c_name_address \
17035 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17038 lt_prog_compiler_no_builtin_flag \
17039 lt_prog_compiler_wl \
17040 lt_prog_compiler_pic \
17041 lt_prog_compiler_static \
17042 lt_cv_prog_compiler_c_o \
17050 export_dynamic_flag_spec \
17051 whole_archive_flag_spec \
17052 compiler_needs_object \
17054 allow_undefined_flag \
17055 no_undefined_flag \
17056 hardcode_libdir_flag_spec \
17057 hardcode_libdir_flag_spec_ld \
17058 hardcode_libdir_separator \
17063 variables_saved_for_relink \
17065 library_names_spec \
17070 compiler_lib_search_dirs \
17075 compiler_lib_search_path \
17078 lt_prog_compiler_no_builtin_flag_CXX \
17079 lt_prog_compiler_wl_CXX \
17080 lt_prog_compiler_pic_CXX \
17081 lt_prog_compiler_static_CXX \
17082 lt_cv_prog_compiler_c_o_CXX \
17083 export_dynamic_flag_spec_CXX \
17084 whole_archive_flag_spec_CXX \
17085 compiler_needs_object_CXX \
17087 allow_undefined_flag_CXX \
17088 no_undefined_flag_CXX \
17089 hardcode_libdir_flag_spec_CXX \
17090 hardcode_libdir_flag_spec_ld_CXX \
17091 hardcode_libdir_separator_CXX \
17092 fix_srcfile_path_CXX \
17093 exclude_expsyms_CXX \
17094 include_expsyms_CXX \
17095 file_list_spec_CXX \
17096 compiler_lib_search_dirs_CXX \
17097 predep_objects_CXX \
17098 postdep_objects_CXX \
17101 compiler_lib_search_path_CXX; do
17102 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17103 *[\\\\\\\`\\"\\\$]*)
17104 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17107 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17112 # Double-quote double-evaled strings.
17113 for var in reload_cmds \
17114 old_postinstall_cmds \
17115 old_postuninstall_cmds \
17117 extract_expsyms_cmds \
17118 old_archive_from_new_cmds \
17119 old_archive_from_expsyms_cmds \
17121 archive_expsym_cmds \
17123 module_expsym_cmds \
17124 export_symbols_cmds \
17127 postuninstall_cmds \
17129 sys_lib_search_path_spec \
17130 sys_lib_dlsearch_path_spec \
17131 old_archive_cmds_CXX \
17132 old_archive_from_new_cmds_CXX \
17133 old_archive_from_expsyms_cmds_CXX \
17135 archive_expsym_cmds_CXX \
17137 module_expsym_cmds_CXX \
17138 export_symbols_cmds_CXX \
17139 prelink_cmds_CXX; do
17140 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17141 *[\\\\\\\`\\"\\\$]*)
17142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17150 # Fix-up fallback echo if it was mangled by the above quoting rules.
17152 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17156 ac_aux_dir='$ac_aux_dir'
17157 xsi_shell='$xsi_shell'
17158 lt_shell_append='$lt_shell_append'
17160 # See if we are running on zsh, and set the options which allow our
17161 # commands through without removal of \ escapes INIT.
17162 if test -n "\${ZSH_VERSION+set}" ; then
17163 setopt NO_GLOB_SUBST
17169 TIMESTAMP='$TIMESTAMP'
17180 cat >>$CONFIG_STATUS <<\_ACEOF
17182 # Handling of arguments.
17183 for ac_config_target in $ac_config_targets
17185 case $ac_config_target in
17186 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17187 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17188 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17189 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17190 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17191 "camsrcjpegenc-sw.pc") CONFIG_FILES="$CONFIG_FILES camsrcjpegenc-sw.pc" ;;
17193 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17194 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17195 { (exit 1); exit 1; }; };;
17200 # If the user did not use the arguments to specify the items to instantiate,
17201 # then the envvar interface is used. Set only those that are not.
17202 # We use the long form for the default assignment because of an extremely
17203 # bizarre bug on SunOS 4.1.3.
17204 if $ac_need_defaults; then
17205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17206 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17207 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17210 # Have a temporary directory for convenience. Make it in the build tree
17211 # simply because there is no reason against having it here, and in addition,
17212 # creating and moving files from /tmp can sometimes cause problems.
17213 # Hook for its removal unless debugging.
17214 # Note that there is a small window in which the directory will not be cleaned:
17215 # after its creation but before its name has been assigned to `$tmp'.
17219 trap 'exit_status=$?
17220 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17222 trap '{ (exit 1); exit 1; }' 1 2 13 15
17224 # Create a (secure) tmp directory for tmp files.
17227 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17228 test -n "$tmp" && test -d "$tmp"
17231 tmp=./conf$$-$RANDOM
17232 (umask 077 && mkdir "$tmp")
17235 echo "$me: cannot create a temporary directory in ." >&2
17236 { (exit 1); exit 1; }
17240 # Set up the sed scripts for CONFIG_FILES section.
17243 # No need to generate the scripts if there are no CONFIG_FILES.
17244 # This happens for instance when ./config.status config.h
17245 if test -n "$CONFIG_FILES"; then
17252 for ac_last_try in false false false false false :; do
17253 cat >conf$$subs.sed <<_ACEOF
17254 SHELL!$SHELL$ac_delim
17255 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
17256 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
17257 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
17258 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
17259 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
17260 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
17261 exec_prefix!$exec_prefix$ac_delim
17262 prefix!$prefix$ac_delim
17263 program_transform_name!$program_transform_name$ac_delim
17264 bindir!$bindir$ac_delim
17265 sbindir!$sbindir$ac_delim
17266 libexecdir!$libexecdir$ac_delim
17267 datarootdir!$datarootdir$ac_delim
17268 datadir!$datadir$ac_delim
17269 sysconfdir!$sysconfdir$ac_delim
17270 sharedstatedir!$sharedstatedir$ac_delim
17271 localstatedir!$localstatedir$ac_delim
17272 includedir!$includedir$ac_delim
17273 oldincludedir!$oldincludedir$ac_delim
17274 docdir!$docdir$ac_delim
17275 infodir!$infodir$ac_delim
17276 htmldir!$htmldir$ac_delim
17277 dvidir!$dvidir$ac_delim
17278 pdfdir!$pdfdir$ac_delim
17279 psdir!$psdir$ac_delim
17280 libdir!$libdir$ac_delim
17281 localedir!$localedir$ac_delim
17282 mandir!$mandir$ac_delim
17283 DEFS!$DEFS$ac_delim
17284 ECHO_C!$ECHO_C$ac_delim
17285 ECHO_N!$ECHO_N$ac_delim
17286 ECHO_T!$ECHO_T$ac_delim
17287 LIBS!$LIBS$ac_delim
17288 build_alias!$build_alias$ac_delim
17289 host_alias!$host_alias$ac_delim
17290 target_alias!$target_alias$ac_delim
17291 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
17292 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
17293 INSTALL_DATA!$INSTALL_DATA$ac_delim
17294 am__isrc!$am__isrc$ac_delim
17295 CYGPATH_W!$CYGPATH_W$ac_delim
17296 PACKAGE!$PACKAGE$ac_delim
17297 VERSION!$VERSION$ac_delim
17298 ACLOCAL!$ACLOCAL$ac_delim
17299 AUTOCONF!$AUTOCONF$ac_delim
17300 AUTOMAKE!$AUTOMAKE$ac_delim
17301 AUTOHEADER!$AUTOHEADER$ac_delim
17302 MAKEINFO!$MAKEINFO$ac_delim
17303 install_sh!$install_sh$ac_delim
17304 STRIP!$STRIP$ac_delim
17305 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
17306 mkdir_p!$mkdir_p$ac_delim
17308 SET_MAKE!$SET_MAKE$ac_delim
17309 am__leading_dot!$am__leading_dot$ac_delim
17310 AMTAR!$AMTAR$ac_delim
17311 am__tar!$am__tar$ac_delim
17312 am__untar!$am__untar$ac_delim
17314 CXXFLAGS!$CXXFLAGS$ac_delim
17315 LDFLAGS!$LDFLAGS$ac_delim
17316 CPPFLAGS!$CPPFLAGS$ac_delim
17317 ac_ct_CXX!$ac_ct_CXX$ac_delim
17318 EXEEXT!$EXEEXT$ac_delim
17319 OBJEXT!$OBJEXT$ac_delim
17320 DEPDIR!$DEPDIR$ac_delim
17321 am__include!$am__include$ac_delim
17322 am__quote!$am__quote$ac_delim
17323 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
17324 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
17325 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
17326 CXXDEPMODE!$CXXDEPMODE$ac_delim
17327 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
17328 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
17330 CFLAGS!$CFLAGS$ac_delim
17331 ac_ct_CC!$ac_ct_CC$ac_delim
17332 CCDEPMODE!$CCDEPMODE$ac_delim
17333 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
17334 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
17336 LN_S!$LN_S$ac_delim
17337 LIBTOOL!$LIBTOOL$ac_delim
17338 build!$build$ac_delim
17339 build_cpu!$build_cpu$ac_delim
17340 build_vendor!$build_vendor$ac_delim
17341 build_os!$build_os$ac_delim
17342 host!$host$ac_delim
17343 host_cpu!$host_cpu$ac_delim
17344 host_vendor!$host_vendor$ac_delim
17345 host_os!$host_os$ac_delim
17347 GREP!$GREP$ac_delim
17348 EGREP!$EGREP$ac_delim
17349 FGREP!$FGREP$ac_delim
17353 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17355 elif $ac_last_try; then
17356 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17357 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17358 { (exit 1); exit 1; }; }
17360 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17364 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17365 if test -n "$ac_eof"; then
17366 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17367 ac_eof=`expr $ac_eof + 1`
17370 cat >>$CONFIG_STATUS <<_ACEOF
17371 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
17372 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17375 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17376 s/^/s,@/; s/!/@,|#_!!_#|/
17379 s/'"$ac_delim"'$/,g/; t
17381 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17382 ' >>$CONFIG_STATUS <conf$$subs.sed
17383 rm -f conf$$subs.sed
17384 cat >>$CONFIG_STATUS <<_ACEOF
17390 for ac_last_try in false false false false false :; do
17391 cat >conf$$subs.sed <<_ACEOF
17392 DUMPBIN!$DUMPBIN$ac_delim
17393 ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
17396 RANLIB!$RANLIB$ac_delim
17397 lt_ECHO!$lt_ECHO$ac_delim
17398 DSYMUTIL!$DSYMUTIL$ac_delim
17399 NMEDIT!$NMEDIT$ac_delim
17400 LIPO!$LIPO$ac_delim
17401 OTOOL!$OTOOL$ac_delim
17402 OTOOL64!$OTOOL64$ac_delim
17403 CXXCPP!$CXXCPP$ac_delim
17404 PKG_CONFIG!$PKG_CONFIG$ac_delim
17405 DLOG_CFLAGS!$DLOG_CFLAGS$ac_delim
17406 DLOG_LIBS!$DLOG_LIBS$ac_delim
17407 USE_DLOG_TRUE!$USE_DLOG_TRUE$ac_delim
17408 USE_DLOG_FALSE!$USE_DLOG_FALSE$ac_delim
17409 LIBOBJS!$LIBOBJS$ac_delim
17410 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
17411 GLIB_LIBS!$GLIB_LIBS$ac_delim
17412 LTLIBOBJS!$LTLIBOBJS$ac_delim
17415 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
17417 elif $ac_last_try; then
17418 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17419 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17420 { (exit 1); exit 1; }; }
17422 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17426 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17427 if test -n "$ac_eof"; then
17428 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17429 ac_eof=`expr $ac_eof + 1`
17432 cat >>$CONFIG_STATUS <<_ACEOF
17433 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
17434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
17437 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17438 s/^/s,@/; s/!/@,|#_!!_#|/
17441 s/'"$ac_delim"'$/,g/; t
17443 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17444 ' >>$CONFIG_STATUS <conf$$subs.sed
17445 rm -f conf$$subs.sed
17446 cat >>$CONFIG_STATUS <<_ACEOF
17453 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17454 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17455 # trailing colons and then remove the whole line if VPATH becomes empty
17456 # (actually we leave an empty line to preserve line numbers).
17457 if test "x$srcdir" = x.; then
17458 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17459 s/:*\$(srcdir):*/:/
17460 s/:*\${srcdir}:*/:/
17462 s/^\([^=]*=[ ]*\):*/\1/
17468 cat >>$CONFIG_STATUS <<\_ACEOF
17469 fi # test -n "$CONFIG_FILES"
17472 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
17475 :[FHLC]) ac_mode=$ac_tag; continue;;
17477 case $ac_mode$ac_tag in
17479 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
17480 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
17481 { (exit 1); exit 1; }; };;
17482 :[FH]-) ac_tag=-:-;;
17483 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17500 -) ac_f="$tmp/stdin";;
17501 *) # Look for the file first in the build tree, then in the source tree
17502 # (if the path is not absolute). The absolute path cannot be DOS-style,
17503 # because $ac_f cannot contain `:'.
17507 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17509 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17510 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17511 { (exit 1); exit 1; }; };;
17513 ac_file_inputs="$ac_file_inputs $ac_f"
17516 # Let's still pretend it is `configure' which instantiates (i.e., don't
17517 # use $as_me), people would be surprised to read:
17518 # /* config.h. Generated by config.status. */
17519 configure_input="Generated from "`IFS=:
17520 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
17521 if test x"$ac_file" != x-; then
17522 configure_input="$ac_file. $configure_input"
17523 { echo "$as_me:$LINENO: creating $ac_file" >&5
17524 echo "$as_me: creating $ac_file" >&6;}
17528 *:-:* | *:-) cat >"$tmp/stdin";;
17533 ac_dir=`$as_dirname -- "$ac_file" ||
17534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17535 X"$ac_file" : 'X\(//\)[^/]' \| \
17536 X"$ac_file" : 'X\(//\)$' \| \
17537 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17543 /^X\(\/\/\)[^/].*/{
17558 -*) as_dir=./$as_dir;;
17560 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17564 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17565 *) as_qdir=$as_dir;;
17567 as_dirs="'$as_qdir' $as_dirs"
17568 as_dir=`$as_dirname -- "$as_dir" ||
17569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17570 X"$as_dir" : 'X\(//\)[^/]' \| \
17571 X"$as_dir" : 'X\(//\)$' \| \
17572 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17578 /^X\(\/\/\)[^/].*/{
17591 test -d "$as_dir" && break
17593 test -z "$as_dirs" || eval "mkdir $as_dirs"
17594 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17595 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17596 { (exit 1); exit 1; }; }; }
17600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17602 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17603 # A ".." for each directory in $ac_dir_suffix.
17604 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
17605 case $ac_top_builddir_sub in
17606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17610 ac_abs_top_builddir=$ac_pwd
17611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17612 # for backward compatibility:
17613 ac_top_builddir=$ac_top_build_prefix
17616 .) # We are building in place.
17618 ac_top_srcdir=$ac_top_builddir_sub
17619 ac_abs_top_srcdir=$ac_pwd ;;
17620 [\\/]* | ?:[\\/]* ) # Absolute name.
17621 ac_srcdir=$srcdir$ac_dir_suffix;
17622 ac_top_srcdir=$srcdir
17623 ac_abs_top_srcdir=$srcdir ;;
17624 *) # Relative name.
17625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17626 ac_top_srcdir=$ac_top_build_prefix$srcdir
17627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17639 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17640 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17642 ac_MKDIR_P=$MKDIR_P
17644 [\\/$]* | ?:[\\/]* ) ;;
17645 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17649 cat >>$CONFIG_STATUS <<\_ACEOF
17650 # If the template does not know about datarootdir, expand it.
17651 # FIXME: This hack should be removed a few years after 2.60.
17652 ac_datarootdir_hack=; ac_datarootdir_seen=
17654 case `sed -n '/datarootdir/ {
17663 ' $ac_file_inputs` in
17664 *datarootdir*) ac_datarootdir_seen=yes;;
17665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17666 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17667 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17669 cat >>$CONFIG_STATUS <<_ACEOF
17670 ac_datarootdir_hack='
17671 s&@datadir@&$datadir&g
17672 s&@docdir@&$docdir&g
17673 s&@infodir@&$infodir&g
17674 s&@localedir@&$localedir&g
17675 s&@mandir@&$mandir&g
17676 s&\\\${datarootdir}&$datarootdir&g' ;;
17680 # Neutralize VPATH when `$srcdir' = `.'.
17681 # Shell code in configure.ac might set extrasub.
17682 # FIXME: do we really want to maintain this feature?
17683 cat >>$CONFIG_STATUS <<_ACEOF
17687 cat >>$CONFIG_STATUS <<\_ACEOF
17689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17690 s&@configure_input@&$configure_input&;t t
17691 s&@top_builddir@&$ac_top_builddir_sub&;t t
17692 s&@srcdir@&$ac_srcdir&;t t
17693 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17694 s&@top_srcdir@&$ac_top_srcdir&;t t
17695 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17696 s&@builddir@&$ac_builddir&;t t
17697 s&@abs_builddir@&$ac_abs_builddir&;t t
17698 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17699 s&@INSTALL@&$ac_INSTALL&;t t
17700 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17701 $ac_datarootdir_hack
17702 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
17704 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17705 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17706 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17707 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17708 which seems to be undefined. Please make sure it is defined." >&5
17709 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17710 which seems to be undefined. Please make sure it is defined." >&2;}
17714 -) cat "$tmp/out"; rm -f "$tmp/out";;
17715 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
17724 # Transform confdefs.h into a sed script `conftest.defines', that
17725 # substitutes the proper values into config.h.in to produce config.h.
17726 rm -f conftest.defines conftest.tail
17727 # First, append a space to every undef/define line, to ease matching.
17728 echo 's/$/ /' >conftest.defines
17729 # Then, protect against being on the right side of a sed subst, or in
17730 # an unquoted here document, in config.status. If some macros were
17731 # called several times there might be several #defines for the same
17732 # symbol, which is useless. But do not sort them, since the last
17733 # AC_DEFINE must be honored.
17734 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17735 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
17736 # NAME is the cpp macro being defined, VALUE is the value it is being given.
17737 # PARAMS is the parameter list in the macro definition--in most cases, it's
17738 # just an empty string.
17739 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
17740 ac_dB='\\)[ (].*,\\1define\\2'
17748 s/^[ ]*#[ ]*define[ ][ ]*//
17753 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
17754 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
17755 ' >>conftest.defines
17757 # Remove the space that was appended to ease matching.
17758 # Then replace #undef with comments. This is necessary, for
17759 # example, in the case of _POSIX_SOURCE, which is predefined and required
17760 # on some systems where configure will not decide to define it.
17761 # (The regexp can be short, since the line contains either #define or #undef.)
17763 s,^[ #]*u.*,/* & */,' >>conftest.defines
17765 # Break up conftest.defines:
17766 ac_max_sed_lines=50
17768 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
17769 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
17770 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
17772 ac_in='$ac_file_inputs'
17773 ac_out='"$tmp/out1"'
17774 ac_nxt='"$tmp/out2"'
17778 # Write a here document:
17779 cat >>$CONFIG_STATUS <<_ACEOF
17780 # First, check the format of the line:
17781 cat >"\$tmp/defines.sed" <<\\CEOF
17782 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
17783 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
17787 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
17789 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
17790 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
17791 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
17792 grep . conftest.tail >/dev/null || break
17793 rm -f conftest.defines
17794 mv conftest.tail conftest.defines
17796 rm -f conftest.defines conftest.tail
17798 echo "ac_result=$ac_in" >>$CONFIG_STATUS
17799 cat >>$CONFIG_STATUS <<\_ACEOF
17800 if test x"$ac_file" != x-; then
17801 echo "/* $configure_input */" >"$tmp/config.h"
17802 cat "$ac_result" >>"$tmp/config.h"
17803 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
17804 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17805 echo "$as_me: $ac_file is unchanged" >&6;}
17808 mv "$tmp/config.h" $ac_file
17811 echo "/* $configure_input */"
17815 # Compute $ac_file's index in $config_headers.
17818 for _am_header in $config_headers :; do
17819 case $_am_header in
17820 $_am_arg | $_am_arg:* )
17823 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17826 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17827 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17828 X"$_am_arg" : 'X\(//\)[^/]' \| \
17829 X"$_am_arg" : 'X\(//\)$' \| \
17830 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17836 /^X\(\/\/\)[^/].*/{
17848 s/.*/./; q'`/stamp-h$_am_stamp_count
17851 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17852 echo "$as_me: executing $ac_file commands" >&6;}
17857 case $ac_file$ac_mode in
17858 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
17859 # are listed without --file. Let's play safe and only enable the eval
17860 # if we detect the quoting.
17861 case $CONFIG_FILES in
17862 *\'*) eval set x "$CONFIG_FILES" ;;
17863 *) set x $CONFIG_FILES ;;
17868 # Strip MF so we end up with the name of the file.
17869 mf=`echo "$mf" | sed -e 's/:.*$//'`
17870 # Check whether this is an Automake generated Makefile or not.
17871 # We used to match only the files named `Makefile.in', but
17872 # some people rename them; so instead we look at the file content.
17873 # Grep'ing the first line is not enough: some people post-process
17874 # each Makefile.in and add a new line on top of each file to say so.
17875 # Grep'ing the whole file is not good either: AIX grep has a line
17876 # limit of 2048, but all sed's we know have understand at least 4000.
17877 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17878 dirpart=`$as_dirname -- "$mf" ||
17879 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17880 X"$mf" : 'X\(//\)[^/]' \| \
17881 X"$mf" : 'X\(//\)$' \| \
17882 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17888 /^X\(\/\/\)[^/].*/{
17904 # Extract the definition of DEPDIR, am__include, and am__quote
17905 # from the Makefile without running `make'.
17906 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17907 test -z "$DEPDIR" && continue
17908 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17909 test -z "am__include" && continue
17910 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17911 # When using ansi2knr, U may be empty or an underscore; expand it
17912 U=`sed -n 's/^U = //p' < "$mf"`
17913 # Find all dependency output files, they are included files with
17914 # $(DEPDIR) in their names. We invoke sed twice because it is the
17915 # simplest approach to changing $(DEPDIR) to its actual value in the
17917 for file in `sed -n "
17918 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17919 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17920 # Make sure the directory exists.
17921 test -f "$dirpart/$file" && continue
17922 fdir=`$as_dirname -- "$file" ||
17923 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17924 X"$file" : 'X\(//\)[^/]' \| \
17925 X"$file" : 'X\(//\)$' \| \
17926 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17932 /^X\(\/\/\)[^/].*/{
17945 { as_dir=$dirpart/$fdir
17947 -*) as_dir=./$as_dir;;
17949 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17953 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17954 *) as_qdir=$as_dir;;
17956 as_dirs="'$as_qdir' $as_dirs"
17957 as_dir=`$as_dirname -- "$as_dir" ||
17958 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17959 X"$as_dir" : 'X\(//\)[^/]' \| \
17960 X"$as_dir" : 'X\(//\)$' \| \
17961 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17967 /^X\(\/\/\)[^/].*/{
17980 test -d "$as_dir" && break
17982 test -z "$as_dirs" || eval "mkdir $as_dirs"
17983 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17984 echo "$as_me: error: cannot create directory $as_dir" >&2;}
17985 { (exit 1); exit 1; }; }; }
17986 # echo "creating $dirpart/$file"
17987 echo '# dummy' > "$dirpart/$file"
17993 # See if we are running on zsh, and set the options which allow our
17994 # commands through without removal of \ escapes.
17995 if test -n "${ZSH_VERSION+set}" ; then
17996 setopt NO_GLOB_SUBST
17999 cfgfile="${ofile}T"
18000 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18003 cat <<_LT_EOF >> "$cfgfile"
18006 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18007 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18008 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18009 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18011 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18012 # 2006, 2007, 2008 Free Software Foundation, Inc.
18013 # Written by Gordon Matzigkeit, 1996
18015 # This file is part of GNU Libtool.
18017 # GNU Libtool is free software; you can redistribute it and/or
18018 # modify it under the terms of the GNU General Public License as
18019 # published by the Free Software Foundation; either version 2 of
18020 # the License, or (at your option) any later version.
18022 # As a special exception to the GNU General Public License,
18023 # if you distribute this file as part of a program or library that
18024 # is built using GNU Libtool, you may include this file under the
18025 # same distribution terms that you use for the rest of that program.
18027 # GNU Libtool is distributed in the hope that it will be useful,
18028 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18029 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18030 # GNU General Public License for more details.
18032 # You should have received a copy of the GNU General Public License
18033 # along with GNU Libtool; see the file COPYING. If not, a copy
18034 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18035 # obtained by writing to the Free Software Foundation, Inc.,
18036 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18039 # The names of the tagged configurations supported by this script.
18040 available_tags="CXX "
18042 # ### BEGIN LIBTOOL CONFIG
18044 # Which release of libtool.m4 was used?
18045 macro_version=$macro_version
18046 macro_revision=$macro_revision
18048 # Whether or not to build shared libraries.
18049 build_libtool_libs=$enable_shared
18051 # Whether or not to build static libraries.
18052 build_old_libs=$enable_static
18054 # What type of objects to build.
18057 # Whether or not to optimize for fast installation.
18058 fast_install=$enable_fast_install
18061 host_alias=$host_alias
18065 # The build system.
18066 build_alias=$build_alias
18070 # A sed program that does not truncate output.
18073 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18074 Xsed="\$SED -e 1s/^X//"
18076 # A grep program that handles long lines.
18082 # A literal string matcher.
18085 # A BSD- or MS-compatible name lister.
18088 # Whether we need soft or hard links.
18091 # What is the maximum length of a command?
18092 max_cmd_len=$max_cmd_len
18094 # Object file suffix (normally "o").
18097 # Executable file suffix (normally "").
18100 # whether the shell understands "unset".
18103 # turn spaces into newlines.
18106 # turn newlines into spaces.
18109 # How to create reloadable object files.
18110 reload_flag=$lt_reload_flag
18111 reload_cmds=$lt_reload_cmds
18113 # Method to check whether dependent libraries are shared objects.
18114 deplibs_check_method=$lt_deplibs_check_method
18116 # Command to use when deplibs_check_method == "file_magic".
18117 file_magic_cmd=$lt_file_magic_cmd
18121 AR_FLAGS=$lt_AR_FLAGS
18123 # A symbol stripping program.
18126 # Commands used to install an old-style archive.
18128 old_postinstall_cmds=$lt_old_postinstall_cmds
18129 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18134 # LTCC compiler flags.
18135 LTCFLAGS=$lt_CFLAGS
18137 # Take the output of nm and produce a listing of raw symbols and C names.
18138 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18140 # Transform the output of nm in a proper C declaration.
18141 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18143 # Transform the output of nm in a C name address pair.
18144 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18146 # Transform the output of nm in a C name address pair when lib prefix is needed.
18147 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18149 # The name of the directory that contains temporary libtool files.
18152 # Shell to use when invoking shell scripts.
18155 # An echo program that does not interpret backslashes.
18158 # Used to examine libraries when file_magic_cmd begins with "file".
18159 MAGIC_CMD=$MAGIC_CMD
18161 # Must we lock files when doing compilation?
18162 need_locks=$lt_need_locks
18164 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18165 DSYMUTIL=$lt_DSYMUTIL
18167 # Tool to change global to local symbols on Mac OS X.
18170 # Tool to manipulate fat objects and archives on Mac OS X.
18173 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18176 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18177 OTOOL64=$lt_OTOOL64
18179 # Old archive suffix (normally "a").
18182 # Shared library suffix (normally ".so").
18183 shrext_cmds=$lt_shrext_cmds
18185 # The commands to extract the exported symbol list from a shared archive.
18186 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18188 # Variables whose values should be saved in libtool wrapper scripts and
18189 # restored at link time.
18190 variables_saved_for_relink=$lt_variables_saved_for_relink
18192 # Do we need the "lib" prefix for modules?
18193 need_lib_prefix=$need_lib_prefix
18195 # Do we need a version for libraries?
18196 need_version=$need_version
18198 # Library versioning type.
18199 version_type=$version_type
18201 # Shared library runtime path variable.
18202 runpath_var=$runpath_var
18204 # Shared library path variable.
18205 shlibpath_var=$shlibpath_var
18207 # Is shlibpath searched before the hard-coded library search path?
18208 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18210 # Format of library name prefix.
18211 libname_spec=$lt_libname_spec
18213 # List of archive names. First name is the real one, the rest are links.
18214 # The last name is the one that the linker finds with -lNAME
18215 library_names_spec=$lt_library_names_spec
18217 # The coded name of the library, if different from the real name.
18218 soname_spec=$lt_soname_spec
18220 # Command to use after installation of a shared archive.
18221 postinstall_cmds=$lt_postinstall_cmds
18223 # Command to use after uninstallation of a shared archive.
18224 postuninstall_cmds=$lt_postuninstall_cmds
18226 # Commands used to finish a libtool library installation in a directory.
18227 finish_cmds=$lt_finish_cmds
18229 # As "finish_cmds", except a single script fragment to be evaled but
18231 finish_eval=$lt_finish_eval
18233 # Whether we should hardcode library paths into libraries.
18234 hardcode_into_libs=$hardcode_into_libs
18236 # Compile-time system search path for libraries.
18237 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18239 # Run-time system search path for libraries.
18240 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18242 # Whether dlopen is supported.
18243 dlopen_support=$enable_dlopen
18245 # Whether dlopen of programs is supported.
18246 dlopen_self=$enable_dlopen_self
18248 # Whether dlopen of statically linked programs is supported.
18249 dlopen_self_static=$enable_dlopen_self_static
18251 # Commands to strip libraries.
18252 old_striplib=$lt_old_striplib
18253 striplib=$lt_striplib
18256 # The linker used to build libraries.
18259 # Commands used to build an old-style archive.
18260 old_archive_cmds=$lt_old_archive_cmds
18262 # A language specific compiler.
18265 # Is the compiler the GNU compiler?
18268 # Compiler flag to turn off builtin functions.
18269 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18271 # How to pass a linker flag through the compiler.
18272 wl=$lt_lt_prog_compiler_wl
18274 # Additional compiler flags for building library objects.
18275 pic_flag=$lt_lt_prog_compiler_pic
18277 # Compiler flag to prevent dynamic linking.
18278 link_static_flag=$lt_lt_prog_compiler_static
18280 # Does compiler simultaneously support -c and -o options?
18281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18283 # Whether or not to add -lc for building shared libraries.
18284 build_libtool_need_lc=$archive_cmds_need_lc
18286 # Whether or not to disallow shared libs when runtime libs are static.
18287 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18289 # Compiler flag to allow reflexive dlopens.
18290 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18292 # Compiler flag to generate shared objects directly from archives.
18293 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18295 # Whether the compiler copes with passing no objects directly.
18296 compiler_needs_object=$lt_compiler_needs_object
18298 # Create an old-style archive from a shared archive.
18299 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18301 # Create a temporary old-style archive to link instead of a shared archive.
18302 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18304 # Commands used to build a shared archive.
18305 archive_cmds=$lt_archive_cmds
18306 archive_expsym_cmds=$lt_archive_expsym_cmds
18308 # Commands used to build a loadable module if different from building
18309 # a shared archive.
18310 module_cmds=$lt_module_cmds
18311 module_expsym_cmds=$lt_module_expsym_cmds
18313 # Whether we are building with GNU ld or not.
18314 with_gnu_ld=$lt_with_gnu_ld
18316 # Flag that allows shared libraries with undefined symbols to be built.
18317 allow_undefined_flag=$lt_allow_undefined_flag
18319 # Flag that enforces no undefined symbols.
18320 no_undefined_flag=$lt_no_undefined_flag
18322 # Flag to hardcode \$libdir into a binary during linking.
18323 # This must work even if \$libdir does not exist
18324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18326 # If ld is used when linking, flag to hardcode \$libdir into a binary
18327 # during linking. This must work even if \$libdir does not exist.
18328 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18330 # Whether we need a single "-rpath" flag with a separated argument.
18331 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18333 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18334 # DIR into the resulting binary.
18335 hardcode_direct=$hardcode_direct
18337 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18338 # DIR into the resulting binary and the resulting library dependency is
18339 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18340 # library is relocated.
18341 hardcode_direct_absolute=$hardcode_direct_absolute
18343 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18344 # into the resulting binary.
18345 hardcode_minus_L=$hardcode_minus_L
18347 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18348 # into the resulting binary.
18349 hardcode_shlibpath_var=$hardcode_shlibpath_var
18351 # Set to "yes" if building a shared library automatically hardcodes DIR
18352 # into the library and all subsequent libraries and executables linked
18354 hardcode_automatic=$hardcode_automatic
18356 # Set to yes if linker adds runtime paths of dependent libraries
18357 # to runtime path list.
18358 inherit_rpath=$inherit_rpath
18360 # Whether libtool must link a program against all its dependency libraries.
18361 link_all_deplibs=$link_all_deplibs
18363 # Fix the shell variable \$srcfile for the compiler.
18364 fix_srcfile_path=$lt_fix_srcfile_path
18366 # Set to "yes" if exported symbols are required.
18367 always_export_symbols=$always_export_symbols
18369 # The commands to list exported symbols.
18370 export_symbols_cmds=$lt_export_symbols_cmds
18372 # Symbols that should not be listed in the preloaded symbols.
18373 exclude_expsyms=$lt_exclude_expsyms
18375 # Symbols that must always be exported.
18376 include_expsyms=$lt_include_expsyms
18378 # Commands necessary for linking programs (against libraries) with templates.
18379 prelink_cmds=$lt_prelink_cmds
18381 # Specify filename containing input files.
18382 file_list_spec=$lt_file_list_spec
18384 # How to hardcode a shared library path into an executable.
18385 hardcode_action=$hardcode_action
18387 # The directories searched by this compiler when creating a shared library.
18388 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18390 # Dependencies to place before and after the objects being linked to
18391 # create a shared library.
18392 predep_objects=$lt_predep_objects
18393 postdep_objects=$lt_postdep_objects
18394 predeps=$lt_predeps
18395 postdeps=$lt_postdeps
18397 # The library search path used internally by the compiler when linking
18398 # a shared library.
18399 compiler_lib_search_path=$lt_compiler_lib_search_path
18401 # ### END LIBTOOL CONFIG
18407 cat <<\_LT_EOF >> "$cfgfile"
18408 # AIX sometimes has problems with the GCC collect2 program. For some
18409 # reason, if we set the COLLECT_NAMES environment variable, the problems
18410 # vanish in a puff of smoke.
18411 if test "X${COLLECT_NAMES+set}" != Xset; then
18413 export COLLECT_NAMES
18420 ltmain="$ac_aux_dir/ltmain.sh"
18423 # We use sed instead of cat because bash on DJGPP gets confused if
18424 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18425 # text mode, it properly converts lines to CR/LF. This bash problem
18426 # is reportedly fixed, but why not run on old versions too?
18427 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18428 || (rm -f "$cfgfile"; exit 1)
18432 cat << \_LT_EOF >> "$cfgfile"
18434 # func_dirname file append nondir_replacement
18435 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18436 # otherwise set result to NONDIR_REPLACEMENT.
18440 */*) func_dirname_result="${1%/*}${2}" ;;
18441 * ) func_dirname_result="${3}" ;;
18445 # func_basename file
18448 func_basename_result="${1##*/}"
18451 # func_dirname_and_basename file append nondir_replacement
18452 # perform func_basename and func_dirname in a single function
18454 # dirname: Compute the dirname of FILE. If nonempty,
18455 # add APPEND to the result, otherwise set result
18456 # to NONDIR_REPLACEMENT.
18457 # value returned in "$func_dirname_result"
18458 # basename: Compute filename of FILE.
18459 # value retuned in "$func_basename_result"
18460 # Implementation must be kept synchronized with func_dirname
18461 # and func_basename. For efficiency, we do not delegate to
18462 # those functions but instead duplicate the functionality here.
18463 func_dirname_and_basename ()
18466 */*) func_dirname_result="${1%/*}${2}" ;;
18467 * ) func_dirname_result="${3}" ;;
18469 func_basename_result="${1##*/}"
18472 # func_stripname prefix suffix name
18473 # strip PREFIX and SUFFIX off of NAME.
18474 # PREFIX and SUFFIX must not contain globbing or regex special
18475 # characters, hashes, percent signs, but SUFFIX may contain a leading
18476 # dot (in which case that matches only a dot).
18479 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18480 # positional parameters, so assign one to ordinary parameter first.
18481 func_stripname_result=${3}
18482 func_stripname_result=${func_stripname_result#"${1}"}
18483 func_stripname_result=${func_stripname_result%"${2}"}
18489 func_opt_split_opt=${1%%=*}
18490 func_opt_split_arg=${1#*=}
18497 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18498 *) func_lo2o_result=${1} ;;
18502 # func_xform libobj-or-source
18505 func_xform_result=${1%.*}.lo
18508 # func_arith arithmetic-term...
18511 func_arith_result=$(( $* ))
18515 # STRING may not start with a hyphen.
18518 func_len_result=${#1}
18523 *) # Bourne compatible functions.
18524 cat << \_LT_EOF >> "$cfgfile"
18526 # func_dirname file append nondir_replacement
18527 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18528 # otherwise set result to NONDIR_REPLACEMENT.
18531 # Extract subdirectory from the argument.
18532 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18533 if test "X$func_dirname_result" = "X${1}"; then
18534 func_dirname_result="${3}"
18536 func_dirname_result="$func_dirname_result${2}"
18540 # func_basename file
18543 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18547 # func_stripname prefix suffix name
18548 # strip PREFIX and SUFFIX off of NAME.
18549 # PREFIX and SUFFIX must not contain globbing or regex special
18550 # characters, hashes, percent signs, but SUFFIX may contain a leading
18551 # dot (in which case that matches only a dot).
18552 # func_strip_suffix prefix name
18556 .*) func_stripname_result=`$ECHO "X${3}" \
18557 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18558 *) func_stripname_result=`$ECHO "X${3}" \
18559 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18564 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18565 my_sed_long_arg='1s/^-[^=]*=//'
18570 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18571 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18577 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18580 # func_xform libobj-or-source
18583 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18586 # func_arith arithmetic-term...
18589 func_arith_result=`expr "$@"`
18593 # STRING may not start with a hyphen.
18596 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18602 case $lt_shell_append in
18604 cat << \_LT_EOF >> "$cfgfile"
18606 # func_append var value
18607 # Append VALUE to the end of shell variable VAR.
18615 cat << \_LT_EOF >> "$cfgfile"
18617 # func_append var value
18618 # Append VALUE to the end of shell variable VAR.
18629 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18630 || (rm -f "$cfgfile"; exit 1)
18632 mv -f "$cfgfile" "$ofile" ||
18633 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18637 cat <<_LT_EOF >> "$ofile"
18639 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18641 # The linker used to build libraries.
18644 # Commands used to build an old-style archive.
18645 old_archive_cmds=$lt_old_archive_cmds_CXX
18647 # A language specific compiler.
18648 CC=$lt_compiler_CXX
18650 # Is the compiler the GNU compiler?
18653 # Compiler flag to turn off builtin functions.
18654 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18656 # How to pass a linker flag through the compiler.
18657 wl=$lt_lt_prog_compiler_wl_CXX
18659 # Additional compiler flags for building library objects.
18660 pic_flag=$lt_lt_prog_compiler_pic_CXX
18662 # Compiler flag to prevent dynamic linking.
18663 link_static_flag=$lt_lt_prog_compiler_static_CXX
18665 # Does compiler simultaneously support -c and -o options?
18666 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18668 # Whether or not to add -lc for building shared libraries.
18669 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18671 # Whether or not to disallow shared libs when runtime libs are static.
18672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18674 # Compiler flag to allow reflexive dlopens.
18675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18677 # Compiler flag to generate shared objects directly from archives.
18678 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18680 # Whether the compiler copes with passing no objects directly.
18681 compiler_needs_object=$lt_compiler_needs_object_CXX
18683 # Create an old-style archive from a shared archive.
18684 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18686 # Create a temporary old-style archive to link instead of a shared archive.
18687 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18689 # Commands used to build a shared archive.
18690 archive_cmds=$lt_archive_cmds_CXX
18691 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18693 # Commands used to build a loadable module if different from building
18694 # a shared archive.
18695 module_cmds=$lt_module_cmds_CXX
18696 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18698 # Whether we are building with GNU ld or not.
18699 with_gnu_ld=$lt_with_gnu_ld_CXX
18701 # Flag that allows shared libraries with undefined symbols to be built.
18702 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18704 # Flag that enforces no undefined symbols.
18705 no_undefined_flag=$lt_no_undefined_flag_CXX
18707 # Flag to hardcode \$libdir into a binary during linking.
18708 # This must work even if \$libdir does not exist
18709 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18711 # If ld is used when linking, flag to hardcode \$libdir into a binary
18712 # during linking. This must work even if \$libdir does not exist.
18713 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18715 # Whether we need a single "-rpath" flag with a separated argument.
18716 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18718 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18719 # DIR into the resulting binary.
18720 hardcode_direct=$hardcode_direct_CXX
18722 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18723 # DIR into the resulting binary and the resulting library dependency is
18724 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18725 # library is relocated.
18726 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18728 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18729 # into the resulting binary.
18730 hardcode_minus_L=$hardcode_minus_L_CXX
18732 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18733 # into the resulting binary.
18734 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18736 # Set to "yes" if building a shared library automatically hardcodes DIR
18737 # into the library and all subsequent libraries and executables linked
18739 hardcode_automatic=$hardcode_automatic_CXX
18741 # Set to yes if linker adds runtime paths of dependent libraries
18742 # to runtime path list.
18743 inherit_rpath=$inherit_rpath_CXX
18745 # Whether libtool must link a program against all its dependency libraries.
18746 link_all_deplibs=$link_all_deplibs_CXX
18748 # Fix the shell variable \$srcfile for the compiler.
18749 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18751 # Set to "yes" if exported symbols are required.
18752 always_export_symbols=$always_export_symbols_CXX
18754 # The commands to list exported symbols.
18755 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18757 # Symbols that should not be listed in the preloaded symbols.
18758 exclude_expsyms=$lt_exclude_expsyms_CXX
18760 # Symbols that must always be exported.
18761 include_expsyms=$lt_include_expsyms_CXX
18763 # Commands necessary for linking programs (against libraries) with templates.
18764 prelink_cmds=$lt_prelink_cmds_CXX
18766 # Specify filename containing input files.
18767 file_list_spec=$lt_file_list_spec_CXX
18769 # How to hardcode a shared library path into an executable.
18770 hardcode_action=$hardcode_action_CXX
18772 # The directories searched by this compiler when creating a shared library.
18773 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18775 # Dependencies to place before and after the objects being linked to
18776 # create a shared library.
18777 predep_objects=$lt_predep_objects_CXX
18778 postdep_objects=$lt_postdep_objects_CXX
18779 predeps=$lt_predeps_CXX
18780 postdeps=$lt_postdeps_CXX
18782 # The library search path used internally by the compiler when linking
18783 # a shared library.
18784 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18786 # ### END LIBTOOL TAG CONFIG: CXX
18795 { (exit 0); exit 0; }
18797 chmod +x $CONFIG_STATUS
18798 ac_clean_files=$ac_clean_files_save
18801 # configure is writing to config.log, and then calls config.status.
18802 # config.status does its own redirection, appending to config.log.
18803 # Unfortunately, on DOS this fails, as config.log is still kept open
18804 # by configure, so config.status won't be able to write to it; its
18805 # output is simply discarded. So we exec the FD to /dev/null,
18806 # effectively closing config.log, so it can be properly (re)opened and
18807 # appended to by config.status. When coming back to configure, we
18808 # need to make the FD available again.
18809 if test "$no_create" != yes; then
18811 ac_config_status_args=
18812 test "$silent" = yes &&
18813 ac_config_status_args="$ac_config_status_args --quiet"
18815 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18818 # would make configure fail if this is the last instruction.
18819 $ac_cs_success || { (exit 1); exit 1; }