2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for depdemo 1.0.
5 # Report bugs to <bug-libtool@gnu.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: bug-libtool@gnu.org about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='depdemo'
572 PACKAGE_TARNAME='depdemo'
573 PACKAGE_VERSION='1.0'
574 PACKAGE_STRING='depdemo 1.0'
575 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
578 ac_unique_file="main.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
677 INSTALL_STRIP_PROGRAM
719 program_transform_name
732 enable_option_checking
733 enable_dependency_tracking
742 ac_precious_vars='build_alias
753 # Initialize some variables set by options.
755 ac_init_version=false
756 ac_unrecognized_opts=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name=s,x,x,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\$ac_option
813 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir | --bindir | --bindi | --bind | --bin | --bi)
826 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
829 -build | --build | --buil | --bui | --bu)
830 ac_prev=build_alias ;;
831 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832 build_alias=$ac_optarg ;;
834 -cache-file | --cache-file | --cache-fil | --cache-fi \
835 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836 ac_prev=cache_file ;;
837 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839 cache_file=$ac_optarg ;;
842 cache_file=config.cache ;;
844 -datadir | --datadir | --datadi | --datad)
846 -datadir=* | --datadir=* | --datadi=* | --datad=*)
847 datadir=$ac_optarg ;;
849 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850 | --dataroo | --dataro | --datar)
851 ac_prev=datarootdir ;;
852 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854 datarootdir=$ac_optarg ;;
856 -disable-* | --disable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error $? "invalid feature name: $ac_useropt"
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
870 eval enable_$ac_useropt=no ;;
872 -docdir | --docdir | --docdi | --doc | --do)
874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
882 -enable-* | --enable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: $ac_useropt"
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
896 eval enable_$ac_useropt=\$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
911 -help | --help | --hel | --he | -h)
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927 htmldir=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 # Obsolete; use --without-fp.
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045 sbindir=$ac_optarg ;;
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056 sharedstatedir=$ac_optarg ;;
1058 -site | --site | --sit)
1060 -site=* | --site=* | --sit=*)
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
1068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069 | --syscon | --sysco | --sysc | --sys | --sy)
1070 ac_prev=sysconfdir ;;
1071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073 sysconfdir=$ac_optarg ;;
1075 -target | --target | --targe | --targ | --tar | --ta | --t)
1076 ac_prev=target_alias ;;
1077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078 target_alias=$ac_optarg ;;
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
1087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error $? "invalid package name: $ac_useropt"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1100 eval with_$ac_useropt=\$ac_optarg ;;
1102 -without-* | --without-*)
1103 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106 as_fn_error $? "invalid package name: $ac_useropt"
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1116 eval with_$ac_useropt=no ;;
1119 # Obsolete; use --with-x.
1122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123 | --x-incl | --x-inc | --x-in | --x-i)
1124 ac_prev=x_includes ;;
1125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127 x_includes=$ac_optarg ;;
1129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131 ac_prev=x_libraries ;;
1132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134 x_libraries=$ac_optarg ;;
1136 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1137 Try \`$0 --help' for more information"
1141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 case $ac_envvar in #(
1144 '' | [0-9]* | *[!_$as_cr_alnum]* )
1145 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1147 eval $ac_envvar=\$ac_optarg
1148 export $ac_envvar ;;
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1161 if test -n "$ac_prev"; then
1162 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163 as_fn_error $? "missing argument to $ac_option"
1166 if test -n "$ac_unrecognized_opts"; then
1167 case $enable_option_checking in
1169 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1170 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174 # Check all directory arguments for consistency.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 # Remove trailing slashes.
1184 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1185 eval $ac_var=\$ac_val;;
1187 # Be sure to have absolute directory names.
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1192 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x; then
1204 if test "x$build_alias" = x; then
1205 cross_compiling=maybe
1206 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used" >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1216 test "$silent" = yes && exec 6>/dev/null
1219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di=`ls -di .` &&
1221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1222 as_fn_error $? "working directory cannot be determined"
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 as_fn_error $? "pwd does not report name of working directory"
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir=`$as_dirname -- "$as_myself" ||
1232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$as_myself" : 'X\(//\)[^/]' \| \
1234 X"$as_myself" : 'X\(//\)$' \| \
1235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1236 $as_echo X"$as_myself" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures depdemo 1.0 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking ...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/depdemo]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --program-prefix=PREFIX prepend PREFIX to installed program names
1352 --program-suffix=SUFFIX append SUFFIX to installed program names
1353 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of depdemo 1.0:";;
1368 --disable-option-checking ignore unrecognized --enable/--with options
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --disable-dependency-tracking speeds up one-time build
1372 --enable-dependency-tracking do not reject slow dependency extractors
1373 --enable-shared[=PKGS] build shared libraries [default=yes]
1374 --enable-static[=PKGS] build static libraries [default=yes]
1375 --enable-fast-install[=PKGS]
1376 optimize for fast installation [default=yes]
1377 --disable-libtool-lock avoid locking (might break parallel builds)
1380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1382 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1384 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1385 --with-sysroot=DIR Search for dependent libraries within DIR
1386 (or the compiler's sysroot if not specified).
1388 Some influential environment variables:
1389 CC C compiler command
1390 CFLAGS C compiler flags
1391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1392 nonstandard directory <lib dir>
1393 LIBS libraries to pass to the linker, e.g. -l<library>
1394 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1395 you have headers in a nonstandard directory <include dir>
1398 Use these variables to override the choices made by `configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <bug-libtool@gnu.org>.
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" ||
1410 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1418 # A ".." for each directory in $ac_dir_suffix.
1419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1420 case $ac_top_builddir_sub in
1421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 ac_abs_top_builddir=$ac_pwd
1426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1427 # for backward compatibility:
1428 ac_top_builddir=$ac_top_build_prefix
1431 .) # We are building in place.
1433 ac_top_srcdir=$ac_top_builddir_sub
1434 ac_abs_top_srcdir=$ac_pwd ;;
1435 [\\/]* | ?:[\\/]* ) # Absolute name.
1436 ac_srcdir=$srcdir$ac_dir_suffix;
1437 ac_top_srcdir=$srcdir
1438 ac_abs_top_srcdir=$srcdir ;;
1440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1441 ac_top_srcdir=$ac_top_build_prefix$srcdir
1442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1446 cd "$ac_dir" || { ac_status=$?; continue; }
1447 # Check for guested configure.
1448 if test -f "$ac_srcdir/configure.gnu"; then
1450 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1451 elif test -f "$ac_srcdir/configure"; then
1453 $SHELL "$ac_srcdir/configure" --help=recursive
1455 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1457 cd "$ac_pwd" || { ac_status=$?; break; }
1461 test -n "$ac_init_help" && exit $ac_status
1462 if $ac_init_version; then
1464 depdemo configure 1.0
1465 generated by GNU Autoconf 2.68
1467 Copyright (C) 2010 Free Software Foundation, Inc.
1468 This configure script is free software; the Free Software Foundation
1469 gives unlimited permission to copy, distribute and modify it.
1474 ## ------------------------ ##
1475 ## Autoconf initialization. ##
1476 ## ------------------------ ##
1478 # ac_fn_c_try_compile LINENO
1479 # --------------------------
1480 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1481 ac_fn_c_try_compile ()
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext
1485 if { { ac_try="$ac_compile"
1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 *) ac_try_echo=$ac_try;;
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_compile") 2>conftest.err
1494 if test -s conftest.err; then
1495 grep -v '^ *+' conftest.err >conftest.er1
1496 cat conftest.er1 >&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest.$ac_objext; then :
1506 $as_echo "$as_me: failed program was:" >&5
1507 sed 's/^/| /' conftest.$ac_ext >&5
1511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 as_fn_set_status $ac_retval
1514 } # ac_fn_c_try_compile
1516 # ac_fn_c_try_link LINENO
1517 # -----------------------
1518 # Try to link conftest.$ac_ext, and return whether this succeeded.
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 rm -f conftest.$ac_objext conftest$ac_exeext
1523 if { { ac_try="$ac_link"
1525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_link") 2>conftest.err
1532 if test -s conftest.err; then
1533 grep -v '^ *+' conftest.err >conftest.er1
1534 cat conftest.er1 >&5
1535 mv -f conftest.er1 conftest.err
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && {
1539 test -z "$ac_c_werror_flag" ||
1540 test ! -s conftest.err
1541 } && test -s conftest$ac_exeext && {
1542 test "$cross_compiling" = yes ||
1543 $as_test_x conftest$ac_exeext
1547 $as_echo "$as_me: failed program was:" >&5
1548 sed 's/^/| /' conftest.$ac_ext >&5
1552 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1553 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1554 # interfere with the next link command; also delete a directory that is
1555 # left behind by Apple's compiler. We do this before executing the actions.
1556 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1560 } # ac_fn_c_try_link
1562 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1563 # -------------------------------------------------------
1564 # Tests whether HEADER exists and can be compiled using the include files in
1565 # INCLUDES, setting the cache variable VAR accordingly.
1566 ac_fn_c_check_header_compile ()
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1570 $as_echo_n "checking for $2... " >&6; }
1571 if eval \${$3+:} false; then :
1572 $as_echo_n "(cached) " >&6
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h. */
1579 if ac_fn_c_try_compile "$LINENO"; then :
1584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591 } # ac_fn_c_check_header_compile
1593 # ac_fn_c_try_cpp LINENO
1594 # ----------------------
1595 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 if { { ac_try="$ac_cpp conftest.$ac_ext"
1601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602 *) ac_try_echo=$ac_try;;
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1608 if test -s conftest.err; then
1609 grep -v '^ *+' conftest.err >conftest.er1
1610 cat conftest.er1 >&5
1611 mv -f conftest.er1 conftest.err
1613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614 test $ac_status = 0; } > conftest.i && {
1615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1616 test ! -s conftest.err
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1625 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626 as_fn_set_status $ac_retval
1630 # ac_fn_c_try_run LINENO
1631 # ----------------------
1632 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1633 # that executables *can* be run.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_link"
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_link") 2>&5
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1648 { { case "(($ac_try" in
1649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_try") 2>&5
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; }; }; then :
1660 $as_echo "$as_me: program exited with status $ac_status" >&5
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1664 ac_retval=$ac_status
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status $ac_retval
1672 # ac_fn_c_check_func LINENO FUNC VAR
1673 # ----------------------------------
1674 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1675 ac_fn_c_check_func ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \${$3+:} false; then :
1681 $as_echo_n "(cached) " >&6
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1687 #define $2 innocuous_$2
1689 /* System header to define __stub macros and hopefully few prototypes,
1690 which can conflict with char $2 (); below.
1691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1692 <limits.h> exists even on freestanding compilers. */
1695 # include <limits.h>
1697 # include <assert.h>
1702 /* Override any GCC internal prototype to avoid an error.
1703 Use char because int might match the return type of a GCC
1704 builtin and then its argument prototype would still apply. */
1709 /* The GNU C library defines this for functions which it implements
1710 to always fail with ENOSYS. Some functions are actually named
1711 something starting with __ and the normal name is an alias. */
1712 #if defined __stub_$2 || defined __stub___$2
1724 if ac_fn_c_try_link "$LINENO"; then :
1729 rm -f core conftest.err conftest.$ac_objext \
1730 conftest$ac_exeext conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 } # ac_fn_c_check_func
1738 cat >config.log <<_ACEOF
1739 This file contains any messages produced by compilers while
1740 running configure, to aid debugging if configure makes a mistake.
1742 It was created by depdemo $as_me 1.0, which was
1743 generated by GNU Autoconf 2.68. Invocation command line was
1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1762 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1764 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1765 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1767 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1768 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1769 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1770 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 $as_echo "PATH: $as_dir"
1795 # Keep a trace of the command line.
1796 # Strip out --no-create and --no-recursion so they do not pile up.
1797 # Strip out --silent because we don't want to record it for future runs.
1798 # Also quote any args containing shell meta-characters.
1799 # Make two passes to allow for proper duplicate-argument suppression.
1803 ac_must_keep_next=false
1809 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1810 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1811 | -silent | --silent | --silen | --sile | --sil)
1814 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1819 as_fn_append ac_configure_args1 " '$ac_arg'"
1820 if test $ac_must_keep_next = true; then
1821 ac_must_keep_next=false # Got value, back to normal.
1824 *=* | --config-cache | -C | -disable-* | --disable-* \
1825 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1826 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1827 | -with-* | --with-* | -without-* | --without-* | --x)
1828 case "$ac_configure_args0 " in
1829 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832 -* ) ac_must_keep_next=true ;;
1835 as_fn_append ac_configure_args " '$ac_arg'"
1840 { ac_configure_args0=; unset ac_configure_args0;}
1841 { ac_configure_args1=; unset ac_configure_args1;}
1843 # When interrupted or exit'd, cleanup temporary files, and complete
1844 # config.log. We remove comments because anyway the quotes in there
1845 # would cause problems or look ugly.
1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1848 trap 'exit_status=$?
1849 # Save into config.log some information that might help in debugging.
1853 $as_echo "## ---------------- ##
1854 ## Cache variables. ##
1855 ## ---------------- ##"
1857 # The following way of writing the cache mishandles newlines in values,
1859 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1860 eval ac_val=\$$ac_var
1864 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868 _ | IFS | as_nl) ;; #(
1869 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1870 *) { eval $ac_var=; unset $ac_var;} ;;
1875 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1876 *${as_nl}ac_space=\ *)
1878 "s/'\''/'\''\\\\'\'''\''/g;
1879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1889 $as_echo "## ----------------- ##
1890 ## Output variables. ##
1891 ## ----------------- ##"
1893 for ac_var in $ac_subst_vars
1895 eval ac_val=\$$ac_var
1897 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 $as_echo "$ac_var='\''$ac_val'\''"
1903 if test -n "$ac_subst_files"; then
1904 $as_echo "## ------------------- ##
1905 ## File substitutions. ##
1906 ## ------------------- ##"
1908 for ac_var in $ac_subst_files
1910 eval ac_val=\$$ac_var
1912 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1914 $as_echo "$ac_var='\''$ac_val'\''"
1919 if test -s confdefs.h; then
1920 $as_echo "## ----------- ##
1927 test "$ac_signal" != 0 &&
1928 $as_echo "$as_me: caught signal $ac_signal"
1929 $as_echo "$as_me: exit $exit_status"
1931 rm -f core *.core core.conftest.* &&
1932 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935 for ac_signal in 1 2 13 15; do
1936 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1941 rm -f -r conftest* confdefs.h
1943 $as_echo "/* confdefs.h */" > confdefs.h
1945 # Predefined preprocessor variables.
1947 cat >>confdefs.h <<_ACEOF
1948 #define PACKAGE_NAME "$PACKAGE_NAME"
1951 cat >>confdefs.h <<_ACEOF
1952 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955 cat >>confdefs.h <<_ACEOF
1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1959 cat >>confdefs.h <<_ACEOF
1960 #define PACKAGE_STRING "$PACKAGE_STRING"
1963 cat >>confdefs.h <<_ACEOF
1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE_URL "$PACKAGE_URL"
1972 # Let the site file select an alternate cache file if it wants to.
1973 # Prefer an explicitly selected file to automatically selected ones.
1976 if test -n "$CONFIG_SITE"; then
1977 # We do not want a PATH search for config.site.
1978 case $CONFIG_SITE in #((
1979 -*) ac_site_file1=./$CONFIG_SITE;;
1980 */*) ac_site_file1=$CONFIG_SITE;;
1981 *) ac_site_file1=./$CONFIG_SITE;;
1983 elif test "x$prefix" != xNONE; then
1984 ac_site_file1=$prefix/share/config.site
1985 ac_site_file2=$prefix/etc/config.site
1987 ac_site_file1=$ac_default_prefix/share/config.site
1988 ac_site_file2=$ac_default_prefix/etc/config.site
1990 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1992 test "x$ac_site_file" = xNONE && continue
1993 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1995 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1996 sed 's/^/| /' "$ac_site_file" >&5
1998 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 as_fn_error $? "failed to load site script $ac_site_file
2001 See \`config.log' for more details" "$LINENO" 5; }
2005 if test -r "$cache_file"; then
2006 # Some versions of bash will fail to source /dev/null (special files
2007 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2008 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2010 $as_echo "$as_me: loading cache $cache_file" >&6;}
2012 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2013 *) . "./$cache_file";;
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2018 $as_echo "$as_me: creating cache $cache_file" >&6;}
2022 # Check that the precious variables saved in the cache have kept the same
2024 ac_cache_corrupted=false
2025 for ac_var in $ac_precious_vars; do
2026 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2027 eval ac_new_set=\$ac_env_${ac_var}_set
2028 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2029 eval ac_new_val=\$ac_env_${ac_var}_value
2030 case $ac_old_set,$ac_new_set in
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2033 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2034 ac_cache_corrupted=: ;;
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2037 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2038 ac_cache_corrupted=: ;;
2041 if test "x$ac_old_val" != "x$ac_new_val"; then
2042 # differences in whitespace do not lead to failure.
2043 ac_old_val_w=`echo x $ac_old_val`
2044 ac_new_val_w=`echo x $ac_new_val`
2045 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2047 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2048 ac_cache_corrupted=:
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2051 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2052 eval $ac_var=\$ac_old_val
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2055 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2057 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2060 # Pass precious variables to config.status.
2061 if test "$ac_new_set" = set; then
2063 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2064 *) ac_arg=$ac_var=$ac_new_val ;;
2066 case " $ac_configure_args " in
2067 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2068 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2072 if $ac_cache_corrupted; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2076 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2077 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2079 ## -------------------- ##
2080 ## Main body of script. ##
2081 ## -------------------- ##
2084 ac_cpp='$CPP $CPPFLAGS'
2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092 for ac_dir in ../../libltdl/config "$srcdir"/../../libltdl/config; do
2093 if test -f "$ac_dir/install-sh"; then
2095 ac_install_sh="$ac_aux_dir/install-sh -c"
2097 elif test -f "$ac_dir/install.sh"; then
2099 ac_install_sh="$ac_aux_dir/install.sh -c"
2101 elif test -f "$ac_dir/shtool"; then
2103 ac_install_sh="$ac_aux_dir/shtool install -c"
2107 if test -z "$ac_aux_dir"; then
2108 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../libltdl/config \"$srcdir\"/../../libltdl/config" "$LINENO" 5
2111 # These three variables are undocumented and unsupported,
2112 # and are intended to be withdrawn in a future Autoconf release.
2113 # They can cause serious problems if a builder's source tree is in a directory
2114 # whose full name contains unusual characters.
2115 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2116 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2117 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2122 ## ------------------------ ##
2123 ## Automake Initialisation. ##
2124 ## ------------------------ ##
2125 am__api_version='1.11'
2127 # Find a good install program. We prefer a C program (faster),
2128 # so one script is as good as another. But avoid the broken or
2129 # incompatible versions:
2130 # SysV /etc/install, /usr/sbin/install
2131 # SunOS /usr/etc/install
2132 # IRIX /sbin/install
2134 # AmigaOS /C/install, which installs bootblocks on floppy discs
2135 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2136 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2137 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2138 # OS/2's system install, which has a completely different semantic
2139 # ./install, which can be erroneously created by make from ./install.sh.
2140 # Reject install programs that cannot install multiple files.
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2142 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2143 if test -z "$INSTALL"; then
2144 if ${ac_cv_path_install+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 # Account for people who put trailing slashes in PATH elements.
2153 case $as_dir/ in #((
2154 ./ | .// | /[cC]/* | \
2155 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2156 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2159 # OSF1 and SCO ODT 3.0 have their own names for install.
2160 # Don't use installbsd from OSF since it installs stuff as root
2162 for ac_prog in ginstall scoinst install; do
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2165 if test $ac_prog = install &&
2166 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2167 # AIX install. It has an incompatible calling convention.
2169 elif test $ac_prog = install &&
2170 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171 # program-specific install script used by HP pwplus--don't use.
2174 rm -rf conftest.one conftest.two conftest.dir
2175 echo one > conftest.one
2176 echo two > conftest.two
2178 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2179 test -s conftest.one && test -s conftest.two &&
2180 test -s conftest.dir/conftest.one &&
2181 test -s conftest.dir/conftest.two
2183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2196 rm -rf conftest.one conftest.two conftest.dir
2199 if test "${ac_cv_path_install+set}" = set; then
2200 INSTALL=$ac_cv_path_install
2202 # As a last resort, use the slow shell script. Don't cache a
2203 # value for INSTALL within a source directory, because that will
2204 # break other packages using the cache if that directory is
2205 # removed, or if the value is a relative name.
2206 INSTALL=$ac_install_sh
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2210 $as_echo "$INSTALL" >&6; }
2212 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2213 # It thinks the first close brace ends the variable substitution.
2214 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2216 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2218 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2221 $as_echo_n "checking whether build environment is sane... " >&6; }
2224 echo timestamp > conftest.file
2225 # Reject unsafe characters in $srcdir or the absolute working directory
2226 # name. Accept space and tab only in the latter.
2230 *[\\\"\#\$\&\'\`$am_lf]*)
2231 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2234 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2235 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2238 # Do `set' in a subshell so we don't clobber the current shell's
2239 # arguments. Must try -L first in case configure is actually a
2240 # symlink; some systems play weird games with the mod time of symlinks
2241 # (eg FreeBSD returns the mod time of the symlink's containing
2244 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2245 if test "$*" = "X"; then
2247 set X `ls -t "$srcdir/configure" conftest.file`
2250 if test "$*" != "X $srcdir/configure conftest.file" \
2251 && test "$*" != "X conftest.file $srcdir/configure"; then
2253 # If neither matched, then we have a broken ls. This can happen
2254 # if, for instance, CONFIG_SHELL is bash and it inherits a
2255 # broken ls alias from the environment. This has actually
2256 # happened. Such a system could not be considered "sane".
2257 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2258 alias in your environment" "$LINENO" 5
2261 test "$2" = conftest.file
2267 as_fn_error $? "newly created file is older than distributed files!
2268 Check your system clock" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2271 $as_echo "yes" >&6; }
2272 test "$program_prefix" != NONE &&
2273 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2274 # Use a double $ so make ignores it.
2275 test "$program_suffix" != NONE &&
2276 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2277 # Double any \ or $.
2278 # By default was `s,x,x', remove it if useless.
2279 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2280 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2282 # expand $ac_aux_dir to an absolute path
2283 am_aux_dir=`cd $ac_aux_dir && pwd`
2285 if test x"${MISSING+set}" != xset; then
2288 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2290 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2293 # Use eval to expand $SHELL
2294 if eval "$MISSING --run true"; then
2295 am_missing_run="$MISSING --run "
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2299 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2302 if test x"${install_sh}" != xset; then
2305 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2307 install_sh="\${SHELL} $am_aux_dir/install-sh"
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'. However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy ${ac_tool_prefix}strip; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if ${ac_cv_prog_STRIP+:} false; then :
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$STRIP"; then
2325 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 STRIP=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2355 if test -z "$ac_cv_prog_STRIP"; then
2357 # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip; ac_word=$2
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$ac_ct_STRIP"; then
2365 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_ac_ct_STRIP="strip"
2375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2390 $as_echo "no" >&6; }
2393 if test "x$ac_ct_STRIP" = x; then
2396 case $cross_compiling:$ac_tool_warned in
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2400 ac_tool_warned=yes ;;
2405 STRIP="$ac_cv_prog_STRIP"
2409 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2412 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2413 if test -z "$MKDIR_P"; then
2414 if ${ac_cv_path_mkdir+:} false; then :
2415 $as_echo_n "(cached) " >&6
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2421 test -z "$as_dir" && as_dir=.
2422 for ac_prog in mkdir gmkdir; do
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2425 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2426 'mkdir (GNU coreutils) '* | \
2427 'mkdir (coreutils) '* | \
2428 'mkdir (fileutils) '4.1*)
2429 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2439 test -d ./--version && rmdir ./--version
2440 if test "${ac_cv_path_mkdir+set}" = set; then
2441 MKDIR_P="$ac_cv_path_mkdir -p"
2443 # As a last resort, use the slow shell script. Don't cache a
2444 # value for MKDIR_P within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the value is a relative name.
2447 MKDIR_P="$ac_install_sh -d"
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2451 $as_echo "$MKDIR_P" >&6; }
2455 [\\/$]* | ?:[\\/]*) ;;
2456 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2459 for ac_prog in gawk mawk nawk awk
2461 # Extract the first word of "$ac_prog", so it can be a program name with args.
2462 set dummy $ac_prog; ac_word=$2
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2464 $as_echo_n "checking for $ac_word... " >&6; }
2465 if ${ac_cv_prog_AWK+:} false; then :
2466 $as_echo_n "(cached) " >&6
2468 if test -n "$AWK"; then
2469 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 test -z "$as_dir" && as_dir=.
2476 for ac_exec_ext in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478 ac_cv_prog_AWK="$ac_prog"
2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2489 if test -n "$AWK"; then
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2491 $as_echo "$AWK" >&6; }
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2498 test -n "$AWK" && break
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2504 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2505 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2506 $as_echo_n "(cached) " >&6
2508 cat >conftest.make <<\_ACEOF
2511 @echo '@@@%%%=$(MAKE)=@@@%%%'
2513 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2514 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2516 eval ac_cv_prog_make_${ac_make}_set=yes;;
2518 eval ac_cv_prog_make_${ac_make}_set=no;;
2522 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2524 $as_echo "yes" >&6; }
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528 $as_echo "no" >&6; }
2529 SET_MAKE="MAKE=${MAKE-make}"
2532 rm -rf .tst 2>/dev/null
2533 mkdir .tst 2>/dev/null
2534 if test -d .tst; then
2539 rmdir .tst 2>/dev/null
2541 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2542 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2543 # is not polluted with repeated "-I."
2544 am__isrc=' -I$(srcdir)'
2545 # test to see if srcdir already configured
2546 if test -f $srcdir/config.status; then
2547 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2551 # test whether we have cygpath
2552 if test -z "$CYGPATH_W"; then
2553 if (cygpath --version) >/dev/null 2>/dev/null; then
2554 CYGPATH_W='cygpath -w'
2561 # Define the identity of the package.
2566 cat >>confdefs.h <<_ACEOF
2567 #define PACKAGE "$PACKAGE"
2571 cat >>confdefs.h <<_ACEOF
2572 #define VERSION "$VERSION"
2575 # Some tools Automake needs.
2577 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2580 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2583 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2586 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2589 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2591 # We need awk for the "check" target. The system "awk" is bad on
2593 # Always define AMTAR for backward compatibility.
2595 AMTAR=${AMTAR-"${am_missing_run}tar"}
2597 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2605 ## ---------------- ##
2606 ## compiler checks. ##
2607 ## ---------------- ##
2609 ac_cpp='$CPP $CPPFLAGS'
2610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2613 if test -n "$ac_tool_prefix"; then
2614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2615 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if ${ac_cv_prog_CC+:} false; then :
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC="$CC" # Let the user override the test.
2624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir=.
2629 for ac_exec_ext in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 if test -n "$CC"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2644 $as_echo "$CC" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2652 if test -z "$ac_cv_prog_CC"; then
2654 # Extract the first word of "gcc", so it can be a program name with args.
2655 set dummy gcc; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$ac_ct_CC"; then
2662 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir=.
2669 for ac_exec_ext in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_ac_ct_CC="gcc"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2682 if test -n "$ac_ct_CC"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2684 $as_echo "$ac_ct_CC" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2690 if test "x$ac_ct_CC" = x; then
2693 case $cross_compiling:$ac_tool_warned in
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned=yes ;;
2705 if test -z "$CC"; then
2706 if test -n "$ac_tool_prefix"; then
2707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2708 set dummy ${ac_tool_prefix}cc; ac_word=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if ${ac_cv_prog_CC+:} false; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC="$CC" # Let the user override the test.
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_CC="${ac_tool_prefix}cc"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2746 if test -z "$CC"; then
2747 # Extract the first word of "cc", so it can be a program name with args.
2748 set dummy cc; ac_word=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if ${ac_cv_prog_CC+:} false; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC="$CC" # Let the user override the test.
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2766 ac_prog_rejected=yes
2770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test $ac_prog_rejected = yes; then
2778 # We found a bogon in the path, so make sure we never use it.
2779 set dummy $ac_cv_prog_CC
2781 if test $# != 0; then
2782 # We chose a different compiler from the bogus one.
2783 # However, it has the same basename, so the bogon will be chosen
2784 # first if we set CC to just the basename; use the full file name.
2786 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 if test -n "$ac_tool_prefix"; then
2804 for ac_prog in cl.exe
2806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_CC+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$CC" && break
2846 if test -z "$CC"; then
2848 for ac_prog in cl.exe
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy $ac_prog; ac_word=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$ac_ct_CC"; then
2858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir=.
2865 for ac_exec_ext in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_ac_ct_CC="$ac_prog"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2878 if test -n "$ac_ct_CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2880 $as_echo "$ac_ct_CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2887 test -n "$ac_ct_CC" && break
2890 if test "x$ac_ct_CC" = x; then
2893 case $cross_compiling:$ac_tool_warned in
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897 ac_tool_warned=yes ;;
2906 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 as_fn_error $? "no acceptable C compiler found in \$PATH
2909 See \`config.log' for more details" "$LINENO" 5; }
2911 # Provide some information about the compiler.
2912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2915 for ac_option in --version -v -V -qversion; do
2916 { { ac_try="$ac_compiler $ac_option >&5"
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2925 if test -s conftest.err; then
2927 ... rest of stderr output deleted ...
2928 10q' conftest.err >conftest.er1
2929 cat conftest.er1 >&5
2931 rm -f conftest.er1 conftest.err
2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933 test $ac_status = 0; }
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2947 ac_clean_files_save=$ac_clean_files
2948 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2949 # Try to create an executable without -o first, disregard a.out.
2950 # It will help us diagnose broken compilers, and finding out an intuition
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2953 $as_echo_n "checking whether the C compiler works... " >&6; }
2954 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2956 # The possible output files:
2957 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2960 for ac_file in $ac_files
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2964 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2969 if { { ac_try="$ac_link_default"
2971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2972 *) ac_try_echo=$ac_try;;
2974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_link_default") 2>&5
2978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979 test $ac_status = 0; }; then :
2980 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2981 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2982 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2983 # so that the user can short-circuit this test for compilers unknown to
2985 for ac_file in $ac_files ''
2987 test -f "$ac_file" || continue
2989 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2992 # We found the default executable, but exeext='' is most
2996 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2998 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3000 # We set ac_cv_exeext here because the later test for it is not
3001 # safe: cross compilers may not add the suffix if given an `-o'
3002 # argument, so we may need to know it at that point already.
3003 # Even if this section looks crufty: it has the advantage of
3010 test "$ac_cv_exeext" = no && ac_cv_exeext=
3015 if test -z "$ac_file"; then :
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error 77 "C compiler cannot create executables
3024 See \`config.log' for more details" "$LINENO" 5; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3027 $as_echo "yes" >&6; }
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3030 $as_echo_n "checking for C compiler default output file name... " >&6; }
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3032 $as_echo "$ac_file" >&6; }
3033 ac_exeext=$ac_cv_exeext
3035 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3036 ac_clean_files=$ac_clean_files_save
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3038 $as_echo_n "checking for suffix of executables... " >&6; }
3039 if { { ac_try="$ac_link"
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; }; then :
3050 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3051 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3052 # work properly (i.e., refer to `conftest.exe'), while it won't with
3054 for ac_file in conftest.exe conftest conftest.*; do
3055 test -f "$ac_file" || continue
3057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3058 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3066 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3067 See \`config.log' for more details" "$LINENO" 5; }
3069 rm -f conftest conftest$ac_cv_exeext
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3071 $as_echo "$ac_cv_exeext" >&6; }
3073 rm -f conftest.$ac_ext
3074 EXEEXT=$ac_cv_exeext
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3082 FILE *f = fopen ("conftest.out", "w");
3083 return ferror (f) || fclose (f) != 0;
3089 ac_clean_files="$ac_clean_files conftest.out"
3090 # Check that the compiler produces executables we can run. If not, either
3091 # the compiler is broken, or we cross compile.
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3093 $as_echo_n "checking whether we are cross compiling... " >&6; }
3094 if test "$cross_compiling" != yes; then
3095 { { ac_try="$ac_link"
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_link") 2>&5
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }
3106 if { ac_try='./conftest$ac_cv_exeext'
3107 { { case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_try") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }; }; then
3119 if test "$cross_compiling" = maybe; then
3122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3124 as_fn_error $? "cannot run C compiled programs.
3125 If you meant to cross compile, use \`--host'.
3126 See \`config.log' for more details" "$LINENO" 5; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3131 $as_echo "$cross_compiling" >&6; }
3133 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3134 ac_clean_files=$ac_clean_files_save
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3136 $as_echo_n "checking for suffix of object files... " >&6; }
3137 if ${ac_cv_objext+:} false; then :
3138 $as_echo_n "(cached) " >&6
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 rm -f conftest.o conftest.obj
3152 if { { ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_compile") 2>&5
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; }; then :
3163 for ac_file in conftest.o conftest.obj conftest.*; do
3164 test -f "$ac_file" || continue;
3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3167 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error $? "cannot compute suffix of object files: cannot compile
3178 See \`config.log' for more details" "$LINENO" 5; }
3180 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3183 $as_echo "$ac_cv_objext" >&6; }
3184 OBJEXT=$ac_cv_objext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3187 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3188 if ${ac_cv_c_compiler_gnu+:} false; then :
3189 $as_echo_n "(cached) " >&6
3191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3205 if ac_fn_c_try_compile "$LINENO"; then :
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3215 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3216 if test $ac_compiler_gnu = yes; then
3221 ac_test_CFLAGS=${CFLAGS+set}
3222 ac_save_CFLAGS=$CFLAGS
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3224 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3225 if ${ac_cv_prog_cc_g+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 ac_save_c_werror_flag=$ac_c_werror_flag
3229 ac_c_werror_flag=yes
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 if ac_fn_c_try_compile "$LINENO"; then :
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3258 if ac_fn_c_try_compile "$LINENO"; then :
3261 ac_c_werror_flag=$ac_save_c_werror_flag
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3274 if ac_fn_c_try_compile "$LINENO"; then :
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 ac_c_werror_flag=$ac_save_c_werror_flag
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3285 $as_echo "$ac_cv_prog_cc_g" >&6; }
3286 if test "$ac_test_CFLAGS" = set; then
3287 CFLAGS=$ac_save_CFLAGS
3288 elif test $ac_cv_prog_cc_g = yes; then
3289 if test "$GCC" = yes; then
3295 if test "$GCC" = yes; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3302 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3303 if ${ac_cv_prog_cc_c89+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 ac_cv_prog_cc_c89=no
3308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309 /* end confdefs.h. */
3312 #include <sys/types.h>
3313 #include <sys/stat.h>
3314 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3315 struct buf { int x; };
3316 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3317 static char *e (p, i)
3323 static char *f (char * (*g) (char **, int), char **p, ...)
3328 s = g (p, va_arg (v,int));
3333 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3334 function prototypes and stuff, but not '\xHH' hex character constants.
3335 These don't provoke an error unfortunately, instead are silently treated
3336 as 'x'. The following induces an error, until -std is added to get
3337 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3338 array size at least. It's necessary to write '\x00'==0 to get something
3339 that's true only with -std. */
3340 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3342 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3343 inside strings and character constants. */
3345 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3347 int test (int i, double x);
3348 struct s1 {int (*f) (int a);};
3349 struct s2 {int (*f) (double a);};
3350 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3356 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3361 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3362 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3364 CC="$ac_save_CC $ac_arg"
3365 if ac_fn_c_try_compile "$LINENO"; then :
3366 ac_cv_prog_cc_c89=$ac_arg
3368 rm -f core conftest.err conftest.$ac_objext
3369 test "x$ac_cv_prog_cc_c89" != "xno" && break
3371 rm -f conftest.$ac_ext
3376 case "x$ac_cv_prog_cc_c89" in
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3379 $as_echo "none needed" >&6; } ;;
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3382 $as_echo "unsupported" >&6; } ;;
3384 CC="$CC $ac_cv_prog_cc_c89"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3388 if test "x$ac_cv_prog_cc_c89" != xno; then :
3393 ac_cpp='$CPP $CPPFLAGS'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3397 DEPDIR="${am__leading_dot}deps"
3399 ac_config_commands="$ac_config_commands depfiles"
3402 am_make=${MAKE-make}
3403 cat > confinc << 'END'
3405 @echo this is the am__doit target
3408 # If we don't find an include directive, just comment out the code.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3410 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3414 # First try GNU make style include.
3415 echo "include confinc" > confmf
3416 # Ignore all kinds of additional output from `make'.
3417 case `$am_make -s -f confmf 2> /dev/null` in #(
3418 *the\ am__doit\ target*)
3424 # Now try BSD make style include.
3425 if test "$am__include" = "#"; then
3426 echo '.include "confinc"' > confmf
3427 case `$am_make -s -f confmf 2> /dev/null` in #(
3428 *the\ am__doit\ target*)
3429 am__include=.include
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3438 $as_echo "$_am_result" >&6; }
3439 rm -f confinc confmf
3441 # Check whether --enable-dependency-tracking was given.
3442 if test "${enable_dependency_tracking+set}" = set; then :
3443 enableval=$enable_dependency_tracking;
3446 if test "x$enable_dependency_tracking" != xno; then
3447 am_depcomp="$ac_aux_dir/depcomp"
3450 if test "x$enable_dependency_tracking" != xno; then
3460 depcc="$CC" am_compiler_list=
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3463 $as_echo_n "checking dependency style of $depcc... " >&6; }
3464 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3465 $as_echo_n "(cached) " >&6
3467 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3468 # We make a subdir and do the tests there. Otherwise we can end up
3469 # making bogus files that we don't know about and never remove. For
3470 # instance it was reported that on HP-UX the gcc test will end up
3471 # making a dummy file named `D' -- because `-MD' means `put the output
3474 # Copy depcomp to subdir because otherwise we won't find it if we're
3475 # using a relative directory.
3476 cp "$am_depcomp" conftest.dir
3478 # We will build objects and dependencies in a subdirectory because
3479 # it helps to detect inapplicable dependency modes. For instance
3480 # both Tru64's cc and ICC support -MD to output dependencies as a
3481 # side effect of compilation, but ICC will put the dependencies in
3482 # the current directory while Tru64 will put them in the object
3486 am_cv_CC_dependencies_compiler_type=none
3487 if test "$am_compiler_list" = ""; then
3488 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3491 case " $depcc " in #(
3492 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3495 for depmode in $am_compiler_list; do
3496 # Setup a source with many dependencies, because some compilers
3497 # like to wrap large dependency lists on column 80 (with \), and
3498 # we should not choose a depcomp mode which is confused by this.
3500 # We need to recreate these files for each test, as the compiler may
3501 # overwrite some of them when testing with obscure command lines.
3502 # This happens at least with the AIX C compiler.
3504 for i in 1 2 3 4 5 6; do
3505 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3506 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3507 # Solaris 8's {/usr,}/bin/sh.
3508 touch sub/conftst$i.h
3510 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3512 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3513 # mode. It turns out that the SunPro C++ compiler does not properly
3514 # handle `-M -o', and we need to detect this. Also, some Intel
3515 # versions had trouble with output in subdirs
3516 am__obj=sub/conftest.${OBJEXT-o}
3517 am__minus_obj="-o $am__obj"
3520 # This depmode causes a compiler race in universal mode.
3521 test "$am__universal" = false || continue
3524 # after this tag, mechanisms are not by side-effect, so they'll
3525 # only be used when explicitly requested
3526 if test "x$enable_dependency_tracking" = xyes; then
3532 msvisualcpp | msvcmsys)
3533 # This compiler won't grok `-c -o', but also, the minuso test has
3534 # not run yet. These depmodes are late enough in the game, and
3535 # so weak that their functioning should not be impacted.
3536 am__obj=conftest.${OBJEXT-o}
3541 if depmode=$depmode \
3542 source=sub/conftest.c object=$am__obj \
3543 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3544 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3545 >/dev/null 2>conftest.err &&
3546 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3547 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3548 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3549 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3550 # icc doesn't choke on unknown options, it will just issue warnings
3551 # or remarks (even with -Werror). So we grep stderr for any message
3552 # that says an option was ignored or not supported.
3553 # When given -MP, icc 7.0 and 7.1 complain thusly:
3554 # icc: Command line warning: ignoring option '-M'; no argument required
3555 # The diagnosis changed in icc 8.0:
3556 # icc: Command line remark: option '-MP' not supported
3557 if (grep 'ignoring option' conftest.err ||
3558 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3559 am_cv_CC_dependencies_compiler_type=$depmode
3568 am_cv_CC_dependencies_compiler_type=none
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3573 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3574 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3577 test "x$enable_dependency_tracking" != xno \
3578 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3580 am__fastdepCC_FALSE='#'
3582 am__fastdepCC_TRUE='#'
3583 am__fastdepCC_FALSE=
3588 ## ----------------------- ##
3589 ## Libtool initialisation. ##
3590 ## ----------------------- ##
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3594 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3599 macro_version='2.4.2'
3600 macro_revision='1.3337'
3614 ltmain="$ac_aux_dir/ltmain.sh"
3616 # Make sure we can run config.sub.
3617 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3618 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3621 $as_echo_n "checking build system type... " >&6; }
3622 if ${ac_cv_build+:} false; then :
3623 $as_echo_n "(cached) " >&6
3625 ac_build_alias=$build_alias
3626 test "x$ac_build_alias" = x &&
3627 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3628 test "x$ac_build_alias" = x &&
3629 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3630 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3631 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3635 $as_echo "$ac_cv_build" >&6; }
3636 case $ac_cv_build in
3638 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3641 ac_save_IFS=$IFS; IFS='-'
3647 # Remember, the first character of IFS is used to create $*,
3648 # except with old shells:
3651 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3655 $as_echo_n "checking host system type... " >&6; }
3656 if ${ac_cv_host+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 if test "x$host_alias" = x; then
3660 ac_cv_host=$ac_cv_build
3662 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3663 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3668 $as_echo "$ac_cv_host" >&6; }
3671 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3674 ac_save_IFS=$IFS; IFS='-'
3680 # Remember, the first character of IFS is used to create $*,
3681 # except with old shells:
3684 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3687 # Backslashify metacharacters that are still active within
3688 # double-quoted strings.
3689 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3691 # Same as above, but do not quote variable references.
3692 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3694 # Sed substitution to delay expansion of an escaped shell variable in a
3695 # double_quote_subst'ed string.
3696 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3698 # Sed substitution to delay expansion of an escaped single quote.
3699 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3701 # Sed substitution to avoid accidental globbing in evaled expressions
3702 no_glob_subst='s/\*/\\\*/g'
3704 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3705 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3706 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3709 $as_echo_n "checking how to print strings... " >&6; }
3710 # Test print first, because it will be a builtin if present.
3711 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3712 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3714 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3717 # Use this function as a fallback that always works.
3718 func_fallback_echo ()
3720 eval 'cat <<_LTECHO_EOF
3724 ECHO='func_fallback_echo'
3727 # func_echo_all arg...
3728 # Invoke $ECHO with all args, space-separated.
3735 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3736 $as_echo "printf" >&6; } ;;
3737 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3738 $as_echo "print -r" >&6; } ;;
3739 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3740 $as_echo "cat" >&6; } ;;
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3757 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3758 if ${ac_cv_path_SED+:} false; then :
3759 $as_echo_n "(cached) " >&6
3761 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3762 for ac_i in 1 2 3 4 5 6 7; do
3763 ac_script="$ac_script$as_nl$ac_script"
3765 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3766 { ac_script=; unset ac_script;}
3767 if test -z "$SED"; then
3768 ac_path_SED_found=false
3769 # Loop through the user's path and test for each of PROGNAME-LIST
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir=.
3775 for ac_prog in sed gsed; do
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3778 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3779 # Check for GNU ac_path_SED and select it if it is found.
3780 # Check for GNU $ac_path_SED
3781 case `"$ac_path_SED" --version 2>&1` in
3783 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3786 $as_echo_n 0123456789 >"conftest.in"
3789 cat "conftest.in" "conftest.in" >"conftest.tmp"
3790 mv "conftest.tmp" "conftest.in"
3791 cp "conftest.in" "conftest.nl"
3792 $as_echo '' >> "conftest.nl"
3793 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3794 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3795 as_fn_arith $ac_count + 1 && ac_count=$as_val
3796 if test $ac_count -gt ${ac_path_SED_max-0}; then
3797 # Best one so far, save it but keep looking for a better one
3798 ac_cv_path_SED="$ac_path_SED"
3799 ac_path_SED_max=$ac_count
3801 # 10*(2^10) chars as input seems more than enough
3802 test $ac_count -gt 10 && break
3804 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3807 $ac_path_SED_found && break 3
3812 if test -z "$ac_cv_path_SED"; then
3813 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3821 $as_echo "$ac_cv_path_SED" >&6; }
3822 SED="$ac_cv_path_SED"
3825 test -z "$SED" && SED=sed
3826 Xsed="$SED -e 1s/^X//"
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3839 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3840 if ${ac_cv_path_GREP+:} false; then :
3841 $as_echo_n "(cached) " >&6
3843 if test -z "$GREP"; then
3844 ac_path_GREP_found=false
3845 # Loop through the user's path and test for each of PROGNAME-LIST
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3850 test -z "$as_dir" && as_dir=.
3851 for ac_prog in grep ggrep; do
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3854 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3855 # Check for GNU ac_path_GREP and select it if it is found.
3856 # Check for GNU $ac_path_GREP
3857 case `"$ac_path_GREP" --version 2>&1` in
3859 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3862 $as_echo_n 0123456789 >"conftest.in"
3865 cat "conftest.in" "conftest.in" >"conftest.tmp"
3866 mv "conftest.tmp" "conftest.in"
3867 cp "conftest.in" "conftest.nl"
3868 $as_echo 'GREP' >> "conftest.nl"
3869 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3870 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3871 as_fn_arith $ac_count + 1 && ac_count=$as_val
3872 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3873 # Best one so far, save it but keep looking for a better one
3874 ac_cv_path_GREP="$ac_path_GREP"
3875 ac_path_GREP_max=$ac_count
3877 # 10*(2^10) chars as input seems more than enough
3878 test $ac_count -gt 10 && break
3880 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3883 $ac_path_GREP_found && break 3
3888 if test -z "$ac_cv_path_GREP"; then
3889 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3892 ac_cv_path_GREP=$GREP
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3897 $as_echo "$ac_cv_path_GREP" >&6; }
3898 GREP="$ac_cv_path_GREP"
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3902 $as_echo_n "checking for egrep... " >&6; }
3903 if ${ac_cv_path_EGREP+:} false; then :
3904 $as_echo_n "(cached) " >&6
3906 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3907 then ac_cv_path_EGREP="$GREP -E"
3909 if test -z "$EGREP"; then
3910 ac_path_EGREP_found=false
3911 # Loop through the user's path and test for each of PROGNAME-LIST
3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3916 test -z "$as_dir" && as_dir=.
3917 for ac_prog in egrep; do
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3920 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3921 # Check for GNU ac_path_EGREP and select it if it is found.
3922 # Check for GNU $ac_path_EGREP
3923 case `"$ac_path_EGREP" --version 2>&1` in
3925 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3928 $as_echo_n 0123456789 >"conftest.in"
3931 cat "conftest.in" "conftest.in" >"conftest.tmp"
3932 mv "conftest.tmp" "conftest.in"
3933 cp "conftest.in" "conftest.nl"
3934 $as_echo 'EGREP' >> "conftest.nl"
3935 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3937 as_fn_arith $ac_count + 1 && ac_count=$as_val
3938 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3939 # Best one so far, save it but keep looking for a better one
3940 ac_cv_path_EGREP="$ac_path_EGREP"
3941 ac_path_EGREP_max=$ac_count
3943 # 10*(2^10) chars as input seems more than enough
3944 test $ac_count -gt 10 && break
3946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3949 $ac_path_EGREP_found && break 3
3954 if test -z "$ac_cv_path_EGREP"; then
3955 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3958 ac_cv_path_EGREP=$EGREP
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3964 $as_echo "$ac_cv_path_EGREP" >&6; }
3965 EGREP="$ac_cv_path_EGREP"
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3969 $as_echo_n "checking for fgrep... " >&6; }
3970 if ${ac_cv_path_FGREP+:} false; then :
3971 $as_echo_n "(cached) " >&6
3973 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3974 then ac_cv_path_FGREP="$GREP -F"
3976 if test -z "$FGREP"; then
3977 ac_path_FGREP_found=false
3978 # Loop through the user's path and test for each of PROGNAME-LIST
3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3983 test -z "$as_dir" && as_dir=.
3984 for ac_prog in fgrep; do
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3987 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3988 # Check for GNU ac_path_FGREP and select it if it is found.
3989 # Check for GNU $ac_path_FGREP
3990 case `"$ac_path_FGREP" --version 2>&1` in
3992 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3995 $as_echo_n 0123456789 >"conftest.in"
3998 cat "conftest.in" "conftest.in" >"conftest.tmp"
3999 mv "conftest.tmp" "conftest.in"
4000 cp "conftest.in" "conftest.nl"
4001 $as_echo 'FGREP' >> "conftest.nl"
4002 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4003 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4004 as_fn_arith $ac_count + 1 && ac_count=$as_val
4005 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4006 # Best one so far, save it but keep looking for a better one
4007 ac_cv_path_FGREP="$ac_path_FGREP"
4008 ac_path_FGREP_max=$ac_count
4010 # 10*(2^10) chars as input seems more than enough
4011 test $ac_count -gt 10 && break
4013 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4016 $ac_path_FGREP_found && break 3
4021 if test -z "$ac_cv_path_FGREP"; then
4022 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4025 ac_cv_path_FGREP=$FGREP
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4031 $as_echo "$ac_cv_path_FGREP" >&6; }
4032 FGREP="$ac_cv_path_FGREP"
4035 test -z "$GREP" && GREP=grep
4055 # Check whether --with-gnu-ld was given.
4056 if test "${with_gnu_ld+set}" = set; then :
4057 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4063 if test "$GCC" = yes; then
4064 # Check if gcc -print-prog-name=ld gives a path.
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4066 $as_echo_n "checking for ld used by $CC... " >&6; }
4069 # gcc leaves a trailing carriage return which upsets mingw
4070 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4072 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4075 # Accept absolute paths.
4077 re_direlt='/[^/][^/]*/\.\./'
4078 # Canonicalize the pathname of ld
4079 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4080 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4081 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4083 test -z "$LD" && LD="$ac_prog"
4086 # If it fails, then pretend we aren't using GCC.
4090 # If it is relative, then search for the first ld in PATH.
4094 elif test "$with_gnu_ld" = yes; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4096 $as_echo_n "checking for GNU ld... " >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4099 $as_echo_n "checking for non-GNU ld... " >&6; }
4101 if ${lt_cv_path_LD+:} false; then :
4102 $as_echo_n "(cached) " >&6
4104 if test -z "$LD"; then
4105 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4106 for ac_dir in $PATH; do
4108 test -z "$ac_dir" && ac_dir=.
4109 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4110 lt_cv_path_LD="$ac_dir/$ac_prog"
4111 # Check to see if the program is GNU ld. I'd rather use --version,
4112 # but apparently some variants of GNU ld only accept -v.
4113 # Break only if it was the GNU/non-GNU ld that we prefer.
4114 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4115 *GNU* | *'with BFD'*)
4116 test "$with_gnu_ld" != no && break
4119 test "$with_gnu_ld" != yes && break
4126 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4131 if test -n "$LD"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4133 $as_echo "$LD" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4138 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4141 if ${lt_cv_prog_gnu_ld+:} false; then :
4142 $as_echo_n "(cached) " >&6
4144 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4145 case `$LD -v 2>&1 </dev/null` in
4146 *GNU* | *'with BFD'*)
4147 lt_cv_prog_gnu_ld=yes
4150 lt_cv_prog_gnu_ld=no
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4155 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4156 with_gnu_ld=$lt_cv_prog_gnu_ld
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4167 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4168 if ${lt_cv_path_NM+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$NM"; then
4172 # Let the user override the test.
4175 lt_nm_to_check="${ac_tool_prefix}nm"
4176 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4177 lt_nm_to_check="$lt_nm_to_check nm"
4179 for lt_tmp_nm in $lt_nm_to_check; do
4180 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4181 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4183 test -z "$ac_dir" && ac_dir=.
4184 tmp_nm="$ac_dir/$lt_tmp_nm"
4185 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4186 # Check to see if the nm accepts a BSD-compat flag.
4187 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4188 # nm: unknown option "B" ignored
4189 # Tru64's nm complains that /dev/null is an invalid object file
4190 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4191 */dev/null* | *'Invalid file or object type'*)
4192 lt_cv_path_NM="$tmp_nm -B"
4196 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4198 lt_cv_path_NM="$tmp_nm -p"
4202 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4203 continue # so that we can try to find one that supports BSD flags
4212 : ${lt_cv_path_NM=no}
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4216 $as_echo "$lt_cv_path_NM" >&6; }
4217 if test "$lt_cv_path_NM" != "no"; then
4220 # Didn't find any BSD compatible name lister, look for dumpbin.
4221 if test -n "$DUMPBIN"; then :
4222 # Let the user override the test.
4224 if test -n "$ac_tool_prefix"; then
4225 for ac_prog in dumpbin "link -dump"
4227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4230 $as_echo_n "checking for $ac_word... " >&6; }
4231 if ${ac_cv_prog_DUMPBIN+:} false; then :
4232 $as_echo_n "(cached) " >&6
4234 if test -n "$DUMPBIN"; then
4235 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 test -z "$as_dir" && as_dir=.
4242 for ac_exec_ext in '' $ac_executable_extensions; do
4243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 DUMPBIN=$ac_cv_prog_DUMPBIN
4255 if test -n "$DUMPBIN"; then
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4257 $as_echo "$DUMPBIN" >&6; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4264 test -n "$DUMPBIN" && break
4267 if test -z "$DUMPBIN"; then
4268 ac_ct_DUMPBIN=$DUMPBIN
4269 for ac_prog in dumpbin "link -dump"
4271 # Extract the first word of "$ac_prog", so it can be a program name with args.
4272 set dummy $ac_prog; ac_word=$2
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 $as_echo_n "checking for $ac_word... " >&6; }
4275 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4276 $as_echo_n "(cached) " >&6
4278 if test -n "$ac_ct_DUMPBIN"; then
4279 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir=.
4286 for ac_exec_ext in '' $ac_executable_extensions; do
4287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4299 if test -n "$ac_ct_DUMPBIN"; then
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4301 $as_echo "$ac_ct_DUMPBIN" >&6; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4304 $as_echo "no" >&6; }
4308 test -n "$ac_ct_DUMPBIN" && break
4311 if test "x$ac_ct_DUMPBIN" = x; then
4314 case $cross_compiling:$ac_tool_warned in
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4318 ac_tool_warned=yes ;;
4320 DUMPBIN=$ac_ct_DUMPBIN
4324 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4326 DUMPBIN="$DUMPBIN -symbols"
4334 if test "$DUMPBIN" != ":"; then
4338 test -z "$NM" && NM=nm
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4346 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4347 if ${lt_cv_nm_interface+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 lt_cv_nm_interface="BSD nm"
4351 echo "int some_variable = 0;" > conftest.$ac_ext
4352 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4353 (eval "$ac_compile" 2>conftest.err)
4354 cat conftest.err >&5
4355 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4356 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4357 cat conftest.err >&5
4358 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4359 cat conftest.out >&5
4360 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4361 lt_cv_nm_interface="MS dumpbin"
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4366 $as_echo "$lt_cv_nm_interface" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4369 $as_echo_n "checking whether ln -s works... " >&6; }
4371 if test "$LN_S" = "ln -s"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4373 $as_echo "yes" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4376 $as_echo "no, using $LN_S" >&6; }
4379 # find the maximum length of command line arguments
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4381 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4382 if ${lt_cv_sys_max_cmd_len+:} false; then :
4383 $as_echo_n "(cached) " >&6
4390 # On DJGPP, this test can blow up pretty badly due to problems in libc
4391 # (any single argument exceeding 2000 bytes causes a buffer overrun
4392 # during glob expansion). Even if it were fixed, the result of this
4393 # check would be larger than it should be.
4394 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4398 # Under GNU Hurd, this test is not required because there is
4399 # no limit to the length of command line arguments.
4400 # Libtool will interpret -1 as no limit whatsoever
4401 lt_cv_sys_max_cmd_len=-1;
4404 cygwin* | mingw* | cegcc*)
4405 # On Win9x/ME, this test blows up -- it succeeds, but takes
4406 # about 5 minutes as the teststring grows exponentially.
4407 # Worse, since 9x/ME are not pre-emptively multitasking,
4408 # you end up with a "frozen" computer, even though with patience
4409 # the test eventually succeeds (with a max line length of 256k).
4410 # Instead, let's just punt: use the minimum linelength reported by
4411 # all of the supported platforms: 8192 (on NT/2K/XP).
4412 lt_cv_sys_max_cmd_len=8192;
4416 # On MiNT this can take a long time and run out of memory.
4417 lt_cv_sys_max_cmd_len=8192;
4421 # On AmigaOS with pdksh, this test takes hours, literally.
4422 # So we just punt and use a minimum line length of 8192.
4423 lt_cv_sys_max_cmd_len=8192;
4426 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4427 # This has been around since 386BSD, at least. Likely further.
4428 if test -x /sbin/sysctl; then
4429 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4430 elif test -x /usr/sbin/sysctl; then
4431 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4433 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4435 # And add a safety zone
4436 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4437 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4441 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4442 lt_cv_sys_max_cmd_len=196608
4446 # The test takes a long time on OS/2.
4447 lt_cv_sys_max_cmd_len=8192
4451 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4452 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4453 # nice to cause kernel panics so lets avoid the loop below.
4454 # First set a reasonable default.
4455 lt_cv_sys_max_cmd_len=16384
4457 if test -x /sbin/sysconfig; then
4458 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4459 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4464 lt_cv_sys_max_cmd_len=102400
4466 sysv5* | sco5v6* | sysv4.2uw2*)
4467 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4468 if test -n "$kargmax"; then
4469 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4471 lt_cv_sys_max_cmd_len=32768
4475 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4476 if test -n "$lt_cv_sys_max_cmd_len"; then
4477 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4478 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4480 # Make teststring a little bigger before we do anything with it.
4481 # a 1K string should be a reasonable start.
4482 for i in 1 2 3 4 5 6 7 8 ; do
4483 teststring=$teststring$teststring
4485 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4486 # If test is not a shell built-in, we'll probably end up computing a
4487 # maximum length that is only half of the actual maximum length, but
4489 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4490 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4491 test $i != 17 # 1/2 MB should be enough
4494 teststring=$teststring$teststring
4496 # Only check the string length outside the loop.
4497 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4499 # Add a significant safety factor because C++ compilers can tack on
4500 # massive amounts of additional arguments before passing them to the
4501 # linker. It appears as though 1/2 is a usable value.
4502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4509 if test -n $lt_cv_sys_max_cmd_len ; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4511 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4514 $as_echo "none" >&6; }
4516 max_cmd_len=$lt_cv_sys_max_cmd_len
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4528 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4529 # Try some XSI features
4532 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4534 && eval 'test $(( 1 + 1 )) -eq 2 \
4535 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4538 $as_echo "$xsi_shell" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4542 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4544 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4546 && lt_shell_append=yes
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4548 $as_echo "$lt_shell_append" >&6; }
4551 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4561 # test EBCDIC or ASCII
4562 case `echo X|tr X '\101'` in
4563 A) # ASCII based system
4564 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4565 lt_SP2NL='tr \040 \012'
4566 lt_NL2SP='tr \015\012 \040\040'
4568 *) # EBCDIC based system
4569 lt_SP2NL='tr \100 \n'
4570 lt_NL2SP='tr \r\n \100\100'
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4583 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4584 if ${lt_cv_to_host_file_cmd+:} false; then :
4585 $as_echo_n "(cached) " >&6
4590 *-*-mingw* ) # actually msys
4591 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4594 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4596 * ) # otherwise, assume *nix
4597 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4603 *-*-mingw* ) # actually msys
4604 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4607 lt_cv_to_host_file_cmd=func_convert_file_noop
4609 * ) # otherwise, assume *nix
4610 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4614 * ) # unhandled hosts (and "normal" native builds)
4615 lt_cv_to_host_file_cmd=func_convert_file_noop
4621 to_host_file_cmd=$lt_cv_to_host_file_cmd
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4623 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4630 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4631 if ${lt_cv_to_tool_file_cmd+:} false; then :
4632 $as_echo_n "(cached) " >&6
4634 #assume ordinary cross tools, or native build.
4635 lt_cv_to_tool_file_cmd=func_convert_file_noop
4639 *-*-mingw* ) # actually msys
4640 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4648 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4650 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4657 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4658 if ${lt_cv_ld_reload_flag+:} false; then :
4659 $as_echo_n "(cached) " >&6
4661 lt_cv_ld_reload_flag='-r'
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4664 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4665 reload_flag=$lt_cv_ld_reload_flag
4666 case $reload_flag in
4668 *) reload_flag=" $reload_flag" ;;
4670 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4672 cygwin* | mingw* | pw32* | cegcc*)
4673 if test "$GCC" != yes; then
4678 if test "$GCC" = yes; then
4679 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4681 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4694 if test -n "$ac_tool_prefix"; then
4695 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4696 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_OBJDUMP+:} false; then :
4700 $as_echo_n "(cached) " >&6
4702 if test -n "$OBJDUMP"; then
4703 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4712 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 OBJDUMP=$ac_cv_prog_OBJDUMP
4723 if test -n "$OBJDUMP"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4725 $as_echo "$OBJDUMP" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4733 if test -z "$ac_cv_prog_OBJDUMP"; then
4734 ac_ct_OBJDUMP=$OBJDUMP
4735 # Extract the first word of "objdump", so it can be a program name with args.
4736 set dummy objdump; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$ac_ct_OBJDUMP"; then
4743 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4763 if test -n "$ac_ct_OBJDUMP"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4765 $as_echo "$ac_ct_OBJDUMP" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4771 if test "x$ac_ct_OBJDUMP" = x; then
4774 case $cross_compiling:$ac_tool_warned in
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4778 ac_tool_warned=yes ;;
4780 OBJDUMP=$ac_ct_OBJDUMP
4783 OBJDUMP="$ac_cv_prog_OBJDUMP"
4786 test -z "$OBJDUMP" && OBJDUMP=objdump
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4794 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4795 if ${lt_cv_deplibs_check_method+:} false; then :
4796 $as_echo_n "(cached) " >&6
4798 lt_cv_file_magic_cmd='$MAGIC_CMD'
4799 lt_cv_file_magic_test_file=
4800 lt_cv_deplibs_check_method='unknown'
4801 # Need to set the preceding variable on all platforms that support
4802 # interlibrary dependencies.
4803 # 'none' -- dependencies not supported.
4804 # `unknown' -- same as none, but documents that we really don't know.
4805 # 'pass_all' -- all dependencies passed with no checks.
4806 # 'test_compile' -- check by making test program.
4807 # 'file_magic [[regex]]' -- check by looking for files in library path
4808 # which responds to the $file_magic_cmd with a given extended regex.
4809 # If you have `file' or equivalent on your system and you're not sure
4810 # whether `pass_all' will *always* work, you probably want this one.
4814 lt_cv_deplibs_check_method=pass_all
4818 lt_cv_deplibs_check_method=pass_all
4822 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4823 lt_cv_file_magic_cmd='/usr/bin/file -L'
4824 lt_cv_file_magic_test_file=/shlib/libc.so
4828 # func_win32_libid is a shell function defined in ltmain.sh
4829 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4830 lt_cv_file_magic_cmd='func_win32_libid'
4834 # Base MSYS/MinGW do not provide the 'file' command needed by
4835 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4836 # unless we find 'file', for example because we are cross-compiling.
4837 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4838 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4839 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4840 lt_cv_file_magic_cmd='func_win32_libid'
4842 # Keep this pattern in sync with the one in func_win32_libid.
4843 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4844 lt_cv_file_magic_cmd='$OBJDUMP -f'
4849 # use the weaker test based on 'objdump'. See mingw*.
4850 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4851 lt_cv_file_magic_cmd='$OBJDUMP -f'
4854 darwin* | rhapsody*)
4855 lt_cv_deplibs_check_method=pass_all
4858 freebsd* | dragonfly*)
4859 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4862 # Not sure whether the presence of OpenBSD here was a mistake.
4863 # Let's accept both of them until this is cleared up.
4864 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4865 lt_cv_file_magic_cmd=/usr/bin/file
4866 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4870 lt_cv_deplibs_check_method=pass_all
4875 lt_cv_deplibs_check_method=pass_all
4879 lt_cv_deplibs_check_method=pass_all
4882 hpux10.20* | hpux11*)
4883 lt_cv_file_magic_cmd=/usr/bin/file
4886 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4887 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4890 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4891 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4894 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4895 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4901 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4902 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4905 irix5* | irix6* | nonstopux*)
4907 *-32|*"-32 ") libmagic=32-bit;;
4908 *-n32|*"-n32 ") libmagic=N32;;
4909 *-64|*"-64 ") libmagic=64-bit;;
4910 *) libmagic=never-match;;
4912 lt_cv_deplibs_check_method=pass_all
4915 # This must be glibc/ELF.
4916 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4917 lt_cv_deplibs_check_method=pass_all
4921 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4922 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4924 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4929 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4930 lt_cv_file_magic_cmd=/usr/bin/file
4931 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4935 lt_cv_deplibs_check_method=pass_all
4939 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4940 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4942 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4946 osf3* | osf4* | osf5*)
4947 lt_cv_deplibs_check_method=pass_all
4951 lt_cv_deplibs_check_method=pass_all
4955 lt_cv_deplibs_check_method=pass_all
4958 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4959 lt_cv_deplibs_check_method=pass_all
4963 case $host_vendor in
4965 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]'
4966 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4969 lt_cv_deplibs_check_method=pass_all
4972 lt_cv_file_magic_cmd='/bin/file'
4973 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4976 lt_cv_file_magic_cmd='/bin/file'
4977 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4978 lt_cv_file_magic_test_file=/lib/libc.so
4981 lt_cv_deplibs_check_method=pass_all
4984 lt_cv_deplibs_check_method=pass_all
4990 lt_cv_deplibs_check_method=pass_all
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4996 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5000 if test "$build" = "$host"; then
5003 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5006 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5012 file_magic_cmd=$lt_cv_file_magic_cmd
5013 deplibs_check_method=$lt_cv_deplibs_check_method
5014 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5039 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_DLLTOOL+:} false; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$DLLTOOL"; then
5046 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir=.
5053 for ac_exec_ext in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 DLLTOOL=$ac_cv_prog_DLLTOOL
5066 if test -n "$DLLTOOL"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5068 $as_echo "$DLLTOOL" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_DLLTOOL"; then
5077 ac_ct_DLLTOOL=$DLLTOOL
5078 # Extract the first word of "dlltool", so it can be a program name with args.
5079 set dummy dlltool; ac_word=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_DLLTOOL"; then
5086 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir=.
5093 for ac_exec_ext in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5106 if test -n "$ac_ct_DLLTOOL"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5108 $as_echo "$ac_ct_DLLTOOL" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_DLLTOOL" = x; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned=yes ;;
5123 DLLTOOL=$ac_ct_DLLTOOL
5126 DLLTOOL="$ac_cv_prog_DLLTOOL"
5129 test -z "$DLLTOOL" && DLLTOOL=dlltool
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5138 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5139 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5140 $as_echo_n "(cached) " >&6
5142 lt_cv_sharedlib_from_linklib_cmd='unknown'
5145 cygwin* | mingw* | pw32* | cegcc*)
5146 # two different shell functions defined in ltmain.sh
5147 # decide which to use based on capabilities of $DLLTOOL
5148 case `$DLLTOOL --help 2>&1` in
5149 *--identify-strict*)
5150 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5153 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5158 # fallback: assume linklib IS sharedlib
5159 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5165 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5166 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5167 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5176 if test -n "$ac_tool_prefix"; then
5179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5180 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if ${ac_cv_prog_AR+:} false; then :
5184 $as_echo_n "(cached) " >&6
5186 if test -n "$AR"; then
5187 ac_cv_prog_AR="$AR" # Let the user override the test.
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir=.
5194 for ac_exec_ext in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 if test -n "$AR"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5209 $as_echo "$AR" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5216 test -n "$AR" && break
5219 if test -z "$AR"; then
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$ac_ct_AR"; then
5231 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_ac_ct_AR="$ac_prog"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5251 if test -n "$ac_ct_AR"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5253 $as_echo "$ac_ct_AR" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5260 test -n "$ac_ct_AR" && break
5263 if test "x$ac_ct_AR" = x; then
5266 case $cross_compiling:$ac_tool_warned in
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5270 ac_tool_warned=yes ;;
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5290 $as_echo_n "checking for archiver @FILE support... " >&6; }
5291 if ${lt_cv_ar_at_file+:} false; then :
5292 $as_echo_n "(cached) " >&6
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5306 if ac_fn_c_try_compile "$LINENO"; then :
5307 echo conftest.$ac_objext > conftest.lst
5308 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5309 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5310 (eval $lt_ar_try) 2>&5
5312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5313 test $ac_status = 0; }
5314 if test "$ac_status" -eq 0; then
5315 # Ensure the archiver fails upon bogus file names.
5316 rm -f conftest.$ac_objext libconftest.a
5317 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5318 (eval $lt_ar_try) 2>&5
5320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5321 test $ac_status = 0; }
5322 if test "$ac_status" -ne 0; then
5326 rm -f conftest.* libconftest.a
5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5333 $as_echo "$lt_cv_ar_at_file" >&6; }
5335 if test "x$lt_cv_ar_at_file" = xno; then
5338 archiver_list_spec=$lt_cv_ar_at_file
5347 if test -n "$ac_tool_prefix"; then
5348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}strip; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_STRIP+:} false; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$STRIP"; then
5356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5375 STRIP=$ac_cv_prog_STRIP
5376 if test -n "$STRIP"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5378 $as_echo "$STRIP" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5386 if test -z "$ac_cv_prog_STRIP"; then
5388 # Extract the first word of "strip", so it can be a program name with args.
5389 set dummy strip; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5393 $as_echo_n "(cached) " >&6
5395 if test -n "$ac_ct_STRIP"; then
5396 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir=.
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 ac_cv_prog_ac_ct_STRIP="strip"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5415 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5416 if test -n "$ac_ct_STRIP"; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5418 $as_echo "$ac_ct_STRIP" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5424 if test "x$ac_ct_STRIP" = x; then
5427 case $cross_compiling:$ac_tool_warned in
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5436 STRIP="$ac_cv_prog_STRIP"
5439 test -z "$STRIP" && STRIP=:
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_RANLIB+:} false; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$RANLIB"; then
5455 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 RANLIB=$ac_cv_prog_RANLIB
5475 if test -n "$RANLIB"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5477 $as_echo "$RANLIB" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5485 if test -z "$ac_cv_prog_RANLIB"; then
5486 ac_ct_RANLIB=$RANLIB
5487 # Extract the first word of "ranlib", so it can be a program name with args.
5488 set dummy ranlib; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$ac_ct_RANLIB"; then
5495 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_RANLIB="ranlib"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5515 if test -n "$ac_ct_RANLIB"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5517 $as_echo "$ac_ct_RANLIB" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5523 if test "x$ac_ct_RANLIB" = x; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5532 RANLIB=$ac_ct_RANLIB
5535 RANLIB="$ac_cv_prog_RANLIB"
5538 test -z "$RANLIB" && RANLIB=:
5545 # Determine commands to create old-style static archives.
5546 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5547 old_postinstall_cmds='chmod 644 $oldlib'
5548 old_postuninstall_cmds=
5550 if test -n "$RANLIB"; then
5553 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5556 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5559 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5564 lock_old_archive_extraction=yes ;;
5566 lock_old_archive_extraction=no ;;
5607 # If no C compiler was specified, use CC.
5610 # If no C compiler flags were specified, use CFLAGS.
5611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5613 # Allow CC to be a program name with arguments.
5617 # Check for command to grab the raw symbol name followed by C symbol from nm.
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5619 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5620 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5621 $as_echo_n "(cached) " >&6
5624 # These are sane defaults that work on at least a few old systems.
5625 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5627 # Character class describing NM global symbol codes.
5628 symcode='[BCDEGRST]'
5630 # Regexp to match symbols that can be accessed directly from C.
5631 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5633 # Define system-specific variables.
5638 cygwin* | mingw* | pw32* | cegcc*)
5639 symcode='[ABCDGISTW]'
5642 if test "$host_cpu" = ia64; then
5643 symcode='[ABCDEGRST]'
5647 symcode='[BCDEGRST]'
5650 symcode='[BCDEGQRST]'
5661 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5669 # If we're using GNU nm, then use its standard symbol codes.
5670 case `$NM -V 2>&1` in
5671 *GNU* | *'with BFD'*)
5672 symcode='[ABCDGIRSTW]' ;;
5675 # Transform an extracted symbol line into a proper C declaration.
5676 # Some systems (esp. on ia64) link data and code symbols differently,
5677 # so use this general approach.
5678 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5680 # Transform an extracted symbol line into symbol name and symbol address
5681 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5682 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'"
5684 # Handle CRLF in mingw tool chain
5688 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5692 # Try without a prefix underscore, then with it.
5693 for ac_symprfx in "" "_"; do
5695 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5696 symxfrm="\\1 $ac_symprfx\\2 \\2"
5698 # Write the raw and C identifiers.
5699 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5700 # Fake it for dumpbin and say T for any non-static function
5701 # and D for any global variable.
5702 # Also find C++ and __fastcall symbols from MSVC++,
5703 # which start with @ or ?.
5704 lt_cv_sys_global_symbol_pipe="$AWK '"\
5705 " {last_section=section; section=\$ 3};"\
5706 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5707 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5708 " \$ 0!~/External *\|/{next};"\
5709 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5710 " {if(hide[section]) next};"\
5711 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5712 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5713 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5714 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5715 " ' prfx=^$ac_symprfx"
5717 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5719 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5721 # Check to see that the pipe works correctly.
5725 cat > conftest.$ac_ext <<_LT_EOF
5730 void nm_test_func(void);
5731 void nm_test_func(void){}
5735 int main(){nm_test_var='a';nm_test_func();return(0);}
5738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5739 (eval $ac_compile) 2>&5
5741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5742 test $ac_status = 0; }; then
5743 # Now try to grab the symbols.
5745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5746 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5749 test $ac_status = 0; } && test -s "$nlist"; then
5750 # Try sorting and uniquifying the output.
5751 if sort "$nlist" | uniq > "$nlist"T; then
5752 mv -f "$nlist"T "$nlist"
5757 # Make sure that we snagged all the symbols we need.
5758 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5759 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5760 cat <<_LT_EOF > conftest.$ac_ext
5761 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5762 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5763 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5764 relocations are performed -- see ld's documentation on pseudo-relocs. */
5765 # define LT_DLSYM_CONST
5766 #elif defined(__osf__)
5767 /* This system does not cope well with relocations in const data. */
5768 # define LT_DLSYM_CONST
5770 # define LT_DLSYM_CONST const
5778 # Now generate the symbol file.
5779 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5781 cat <<_LT_EOF >> conftest.$ac_ext
5783 /* The mapping between symbol names and symbols. */
5784 LT_DLSYM_CONST struct {
5788 lt__PROGRAM__LTX_preloaded_symbols[] =
5790 { "@PROGRAM@", (void *) 0 },
5792 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5793 cat <<\_LT_EOF >> conftest.$ac_ext
5797 /* This works around a problem in FreeBSD linker */
5798 #ifdef FREEBSD_WORKAROUND
5799 static const void *lt_preloaded_setup() {
5800 return lt__PROGRAM__LTX_preloaded_symbols;
5808 # Now try linking the two files.
5809 mv conftest.$ac_objext conftstm.$ac_objext
5810 lt_globsym_save_LIBS=$LIBS
5811 lt_globsym_save_CFLAGS=$CFLAGS
5812 LIBS="conftstm.$ac_objext"
5813 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5815 (eval $ac_link) 2>&5
5817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5818 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5821 LIBS=$lt_globsym_save_LIBS
5822 CFLAGS=$lt_globsym_save_CFLAGS
5824 echo "cannot find nm_test_func in $nlist" >&5
5827 echo "cannot find nm_test_var in $nlist" >&5
5830 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5833 echo "$progname: failed program was:" >&5
5834 cat conftest.$ac_ext >&5
5836 rm -rf conftest* conftst*
5838 # Do not use the global_symbol_pipe unless it works.
5839 if test "$pipe_works" = yes; then
5842 lt_cv_sys_global_symbol_pipe=
5848 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5849 lt_cv_sys_global_symbol_to_cdecl=
5851 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5853 $as_echo "failed" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5856 $as_echo "ok" >&6; }
5859 # Response file support.
5860 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5861 nm_file_list_spec='@'
5862 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5863 nm_file_list_spec='@'
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5893 $as_echo_n "checking for sysroot... " >&6; }
5895 # Check whether --with-sysroot was given.
5896 if test "${with_sysroot+set}" = set; then :
5897 withval=$with_sysroot;
5904 case ${with_sysroot} in #(
5906 if test "$GCC" = yes; then
5907 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5911 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5917 $as_echo "${with_sysroot}" >&6; }
5918 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5923 $as_echo "${lt_sysroot:-no}" >&6; }
5929 # Check whether --enable-libtool-lock was given.
5930 if test "${enable_libtool_lock+set}" = set; then :
5931 enableval=$enable_libtool_lock;
5934 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5936 # Some flags need to be propagated to the compiler or linker for good
5940 # Find out which ABI we are using.
5941 echo 'int i;' > conftest.$ac_ext
5942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5943 (eval $ac_compile) 2>&5
5945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5946 test $ac_status = 0; }; then
5947 case `/usr/bin/file conftest.$ac_objext` in
5959 # Find out which ABI we are using.
5960 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5962 (eval $ac_compile) 2>&5
5964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5965 test $ac_status = 0; }; then
5966 if test "$lt_cv_prog_gnu_ld" = yes; then
5967 case `/usr/bin/file conftest.$ac_objext` in
5969 LD="${LD-ld} -melf32bsmip"
5972 LD="${LD-ld} -melf32bmipn32"
5975 LD="${LD-ld} -melf64bmip"
5979 case `/usr/bin/file conftest.$ac_objext` in
5995 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5996 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5997 # Find out which ABI we are using.
5998 echo 'int i;' > conftest.$ac_ext
5999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6000 (eval $ac_compile) 2>&5
6002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6003 test $ac_status = 0; }; then
6004 case `/usr/bin/file conftest.o` in
6007 x86_64-*kfreebsd*-gnu)
6008 LD="${LD-ld} -m elf_i386_fbsd"
6011 LD="${LD-ld} -m elf_i386"
6013 ppc64-*linux*|powerpc64-*linux*)
6014 LD="${LD-ld} -m elf32ppclinux"
6017 LD="${LD-ld} -m elf_s390"
6020 LD="${LD-ld} -m elf32_sparc"
6026 x86_64-*kfreebsd*-gnu)
6027 LD="${LD-ld} -m elf_x86_64_fbsd"
6030 LD="${LD-ld} -m elf_x86_64"
6032 ppc*-*linux*|powerpc*-*linux*)
6033 LD="${LD-ld} -m elf64ppc"
6035 s390*-*linux*|s390*-*tpf*)
6036 LD="${LD-ld} -m elf64_s390"
6039 LD="${LD-ld} -m elf64_sparc"
6049 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6050 SAVE_CFLAGS="$CFLAGS"
6051 CFLAGS="$CFLAGS -belf"
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6053 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6054 if ${lt_cv_cc_needs_belf+:} false; then :
6055 $as_echo_n "(cached) " >&6
6058 ac_cpp='$CPP $CPPFLAGS'
6059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6074 if ac_fn_c_try_link "$LINENO"; then :
6075 lt_cv_cc_needs_belf=yes
6077 lt_cv_cc_needs_belf=no
6079 rm -f core conftest.err conftest.$ac_objext \
6080 conftest$ac_exeext conftest.$ac_ext
6082 ac_cpp='$CPP $CPPFLAGS'
6083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6089 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6090 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6091 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6092 CFLAGS="$SAVE_CFLAGS"
6096 # Find out which ABI we are using.
6097 echo 'int i;' > conftest.$ac_ext
6098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6099 (eval $ac_compile) 2>&5
6101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102 test $ac_status = 0; }; then
6103 case `/usr/bin/file conftest.o` in
6105 case $lt_cv_prog_gnu_ld in
6109 LD="${LD-ld} -m elf_x86_64"
6112 LD="${LD-ld} -m elf64_sparc"
6115 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6116 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6121 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6133 need_locks="$enable_libtool_lock"
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}mt; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; }
6140 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6141 $as_echo_n "(cached) " >&6
6143 if test -n "$MANIFEST_TOOL"; then
6144 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6164 if test -n "$MANIFEST_TOOL"; then
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6166 $as_echo "$MANIFEST_TOOL" >&6; }
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6169 $as_echo "no" >&6; }
6174 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6175 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6176 # Extract the first word of "mt", so it can be a program name with args.
6177 set dummy mt; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; }
6180 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6181 $as_echo_n "(cached) " >&6
6183 if test -n "$ac_ct_MANIFEST_TOOL"; then
6184 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6204 if test -n "$ac_ct_MANIFEST_TOOL"; then
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6206 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 $as_echo "no" >&6; }
6212 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6215 case $cross_compiling:$ac_tool_warned in
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned=yes ;;
6221 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6224 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6227 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6229 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6230 if ${lt_cv_path_mainfest_tool+:} false; then :
6231 $as_echo_n "(cached) " >&6
6233 lt_cv_path_mainfest_tool=no
6234 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6235 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6236 cat conftest.err >&5
6237 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6238 lt_cv_path_mainfest_tool=yes
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6243 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6244 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6254 rhapsody* | darwin*)
6255 if test -n "$ac_tool_prefix"; then
6256 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6257 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -n "$DSYMUTIL"; then
6264 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6283 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6284 if test -n "$DSYMUTIL"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6286 $as_echo "$DSYMUTIL" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6294 if test -z "$ac_cv_prog_DSYMUTIL"; then
6295 ac_ct_DSYMUTIL=$DSYMUTIL
6296 # Extract the first word of "dsymutil", so it can be a program name with args.
6297 set dummy dsymutil; ac_word=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6301 $as_echo_n "(cached) " >&6
6303 if test -n "$ac_ct_DSYMUTIL"; then
6304 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6324 if test -n "$ac_ct_DSYMUTIL"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6326 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6332 if test "x$ac_ct_DSYMUTIL" = x; then
6335 case $cross_compiling:$ac_tool_warned in
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6339 ac_tool_warned=yes ;;
6341 DSYMUTIL=$ac_ct_DSYMUTIL
6344 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6347 if test -n "$ac_tool_prefix"; then
6348 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6349 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_NMEDIT+:} false; then :
6353 $as_echo_n "(cached) " >&6
6355 if test -n "$NMEDIT"; then
6356 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 NMEDIT=$ac_cv_prog_NMEDIT
6376 if test -n "$NMEDIT"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6378 $as_echo "$NMEDIT" >&6; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6386 if test -z "$ac_cv_prog_NMEDIT"; then
6387 ac_ct_NMEDIT=$NMEDIT
6388 # Extract the first word of "nmedit", so it can be a program name with args.
6389 set dummy nmedit; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6393 $as_echo_n "(cached) " >&6
6395 if test -n "$ac_ct_NMEDIT"; then
6396 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6416 if test -n "$ac_ct_NMEDIT"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6418 $as_echo "$ac_ct_NMEDIT" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6424 if test "x$ac_ct_NMEDIT" = x; then
6427 case $cross_compiling:$ac_tool_warned in
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431 ac_tool_warned=yes ;;
6433 NMEDIT=$ac_ct_NMEDIT
6436 NMEDIT="$ac_cv_prog_NMEDIT"
6439 if test -n "$ac_tool_prefix"; then
6440 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6441 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if ${ac_cv_prog_LIPO+:} false; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$LIPO"; then
6448 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 LIPO=$ac_cv_prog_LIPO
6468 if test -n "$LIPO"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6470 $as_echo "$LIPO" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6478 if test -z "$ac_cv_prog_LIPO"; then
6480 # Extract the first word of "lipo", so it can be a program name with args.
6481 set dummy lipo; ac_word=$2
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 $as_echo_n "checking for $ac_word... " >&6; }
6484 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6485 $as_echo_n "(cached) " >&6
6487 if test -n "$ac_ct_LIPO"; then
6488 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 test -z "$as_dir" && as_dir=.
6495 for ac_exec_ext in '' $ac_executable_extensions; do
6496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497 ac_cv_prog_ac_ct_LIPO="lipo"
6498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6508 if test -n "$ac_ct_LIPO"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6510 $as_echo "$ac_ct_LIPO" >&6; }
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6516 if test "x$ac_ct_LIPO" = x; then
6519 case $cross_compiling:$ac_tool_warned in
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6523 ac_tool_warned=yes ;;
6528 LIPO="$ac_cv_prog_LIPO"
6531 if test -n "$ac_tool_prefix"; then
6532 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6533 set dummy ${ac_tool_prefix}otool; ac_word=$2
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535 $as_echo_n "checking for $ac_word... " >&6; }
6536 if ${ac_cv_prog_OTOOL+:} false; then :
6537 $as_echo_n "(cached) " >&6
6539 if test -n "$OTOOL"; then
6540 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 OTOOL=$ac_cv_prog_OTOOL
6560 if test -n "$OTOOL"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6562 $as_echo "$OTOOL" >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6570 if test -z "$ac_cv_prog_OTOOL"; then
6572 # Extract the first word of "otool", so it can be a program name with args.
6573 set dummy otool; ac_word=$2
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 $as_echo_n "checking for $ac_word... " >&6; }
6576 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6577 $as_echo_n "(cached) " >&6
6579 if test -n "$ac_ct_OTOOL"; then
6580 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6589 ac_cv_prog_ac_ct_OTOOL="otool"
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6599 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6600 if test -n "$ac_ct_OTOOL"; then
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6602 $as_echo "$ac_ct_OTOOL" >&6; }
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 $as_echo "no" >&6; }
6608 if test "x$ac_ct_OTOOL" = x; then
6611 case $cross_compiling:$ac_tool_warned in
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6615 ac_tool_warned=yes ;;
6620 OTOOL="$ac_cv_prog_OTOOL"
6623 if test -n "$ac_tool_prefix"; then
6624 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6625 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6627 $as_echo_n "checking for $ac_word... " >&6; }
6628 if ${ac_cv_prog_OTOOL64+:} false; then :
6629 $as_echo_n "(cached) " >&6
6631 if test -n "$OTOOL64"; then
6632 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 test -z "$as_dir" && as_dir=.
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6641 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6651 OTOOL64=$ac_cv_prog_OTOOL64
6652 if test -n "$OTOOL64"; then
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6654 $as_echo "$OTOOL64" >&6; }
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6662 if test -z "$ac_cv_prog_OTOOL64"; then
6663 ac_ct_OTOOL64=$OTOOL64
6664 # Extract the first word of "otool64", so it can be a program name with args.
6665 set dummy otool64; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6669 $as_echo_n "(cached) " >&6
6671 if test -n "$ac_ct_OTOOL64"; then
6672 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 test -z "$as_dir" && as_dir=.
6679 for ac_exec_ext in '' $ac_executable_extensions; do
6680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681 ac_cv_prog_ac_ct_OTOOL64="otool64"
6682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6691 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6692 if test -n "$ac_ct_OTOOL64"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6694 $as_echo "$ac_ct_OTOOL64" >&6; }
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6700 if test "x$ac_ct_OTOOL64" = x; then
6703 case $cross_compiling:$ac_tool_warned in
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6709 OTOOL64=$ac_ct_OTOOL64
6712 OTOOL64="$ac_cv_prog_OTOOL64"
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6742 $as_echo_n "checking for -single_module linker flag... " >&6; }
6743 if ${lt_cv_apple_cc_single_mod+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 lt_cv_apple_cc_single_mod=no
6747 if test -z "${LT_MULTI_MODULE}"; then
6748 # By default we will add the -single_module flag. You can override
6749 # by either setting the environment variable LT_MULTI_MODULE
6750 # non-empty at configure time, or by adding -multi_module to the
6752 rm -rf libconftest.dylib*
6753 echo "int foo(void){return 1;}" > conftest.c
6754 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6755 -dynamiclib -Wl,-single_module conftest.c" >&5
6756 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6757 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6759 # If there is a non-empty error log, and "single_module"
6760 # appears in it, assume the flag caused a linker warning
6761 if test -s conftest.err && $GREP single_module conftest.err; then
6762 cat conftest.err >&5
6763 # Otherwise, if the output was created with a 0 exit code from
6764 # the compiler, it worked.
6765 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6766 lt_cv_apple_cc_single_mod=yes
6768 cat conftest.err >&5
6770 rm -rf libconftest.dylib*
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6775 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6778 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6779 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6780 $as_echo_n "(cached) " >&6
6782 lt_cv_ld_exported_symbols_list=no
6783 save_LDFLAGS=$LDFLAGS
6784 echo "_main" > conftest.sym
6785 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6787 /* end confdefs.h. */
6797 if ac_fn_c_try_link "$LINENO"; then :
6798 lt_cv_ld_exported_symbols_list=yes
6800 lt_cv_ld_exported_symbols_list=no
6802 rm -f core conftest.err conftest.$ac_objext \
6803 conftest$ac_exeext conftest.$ac_ext
6804 LDFLAGS="$save_LDFLAGS"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6808 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6811 $as_echo_n "checking for -force_load linker flag... " >&6; }
6812 if ${lt_cv_ld_force_load+:} false; then :
6813 $as_echo_n "(cached) " >&6
6815 lt_cv_ld_force_load=no
6816 cat > conftest.c << _LT_EOF
6817 int forced_loaded() { return 2;}
6819 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6820 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6821 echo "$AR cru libconftest.a conftest.o" >&5
6822 $AR cru libconftest.a conftest.o 2>&5
6823 echo "$RANLIB libconftest.a" >&5
6824 $RANLIB libconftest.a 2>&5
6825 cat > conftest.c << _LT_EOF
6826 int main() { return 0;}
6828 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6829 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6831 if test -s conftest.err && $GREP force_load conftest.err; then
6832 cat conftest.err >&5
6833 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6834 lt_cv_ld_force_load=yes
6836 cat conftest.err >&5
6838 rm -f conftest.err libconftest.a conftest conftest.c
6839 rm -rf conftest.dSYM
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6843 $as_echo "$lt_cv_ld_force_load" >&6; }
6845 rhapsody* | darwin1.[012])
6846 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6848 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6849 darwin*) # darwin 5.x on
6850 # if running on 10.5 or later, the deployment target defaults
6851 # to the OS version, if on x86, and 10.4, the deployment
6852 # target defaults to 10.4. Don't you love it?
6853 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6854 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6855 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6857 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6859 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6863 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6864 _lt_dar_single_mod='$single_module'
6866 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6867 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6869 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6871 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6872 _lt_dsymutil='~$DSYMUTIL $lib || :'
6880 ac_cpp='$CPP $CPPFLAGS'
6881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6885 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6886 # On Suns, sometimes $CPP names a directory.
6887 if test -n "$CPP" && test -d "$CPP"; then
6890 if test -z "$CPP"; then
6891 if ${ac_cv_prog_CPP+:} false; then :
6892 $as_echo_n "(cached) " >&6
6894 # Double quotes because CPP needs to be expanded
6895 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6898 for ac_c_preproc_warn_flag in '' yes
6900 # Use a header file that comes with gcc, so configuring glibc
6901 # with a fresh cross-compiler works.
6902 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6903 # <limits.h> exists even on freestanding compilers.
6904 # On the NeXT, cc -E runs the code through the compiler's parser,
6905 # not just through cpp. "Syntax error" is here to catch this case.
6906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h. */
6909 # include <limits.h>
6911 # include <assert.h>
6915 if ac_fn_c_try_cpp "$LINENO"; then :
6918 # Broken: fails on valid input.
6921 rm -f conftest.err conftest.i conftest.$ac_ext
6923 # OK, works on sane cases. Now check whether nonexistent headers
6924 # can be detected and how.
6925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926 /* end confdefs.h. */
6927 #include <ac_nonexistent.h>
6929 if ac_fn_c_try_cpp "$LINENO"; then :
6930 # Broken: success on invalid input.
6933 # Passes both tests.
6937 rm -f conftest.err conftest.i conftest.$ac_ext
6940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6941 rm -f conftest.i conftest.err conftest.$ac_ext
6942 if $ac_preproc_ok; then :
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6955 $as_echo "$CPP" >&6; }
6957 for ac_c_preproc_warn_flag in '' yes
6959 # Use a header file that comes with gcc, so configuring glibc
6960 # with a fresh cross-compiler works.
6961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6962 # <limits.h> exists even on freestanding compilers.
6963 # On the NeXT, cc -E runs the code through the compiler's parser,
6964 # not just through cpp. "Syntax error" is here to catch this case.
6965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6966 /* end confdefs.h. */
6968 # include <limits.h>
6970 # include <assert.h>
6974 if ac_fn_c_try_cpp "$LINENO"; then :
6977 # Broken: fails on valid input.
6980 rm -f conftest.err conftest.i conftest.$ac_ext
6982 # OK, works on sane cases. Now check whether nonexistent headers
6983 # can be detected and how.
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6986 #include <ac_nonexistent.h>
6988 if ac_fn_c_try_cpp "$LINENO"; then :
6989 # Broken: success on invalid input.
6992 # Passes both tests.
6996 rm -f conftest.err conftest.i conftest.$ac_ext
6999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7000 rm -f conftest.i conftest.err conftest.$ac_ext
7001 if $ac_preproc_ok; then :
7004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7006 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7007 See \`config.log' for more details" "$LINENO" 5; }
7011 ac_cpp='$CPP $CPPFLAGS'
7012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7018 $as_echo_n "checking for ANSI C header files... " >&6; }
7019 if ${ac_cv_header_stdc+:} false; then :
7020 $as_echo_n "(cached) " >&6
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038 ac_cv_header_stdc=yes
7040 ac_cv_header_stdc=no
7042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044 if test $ac_cv_header_stdc = yes; then
7045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7052 $EGREP "memchr" >/dev/null 2>&1; then :
7055 ac_cv_header_stdc=no
7061 if test $ac_cv_header_stdc = yes; then
7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7069 $EGREP "free" >/dev/null 2>&1; then :
7072 ac_cv_header_stdc=no
7078 if test $ac_cv_header_stdc = yes; then
7079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7080 if test "$cross_compiling" = yes; then :
7083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7087 #if ((' ' & 0x0FF) == 0x020)
7088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7091 # define ISLOWER(c) \
7092 (('a' <= (c) && (c) <= 'i') \
7093 || ('j' <= (c) && (c) <= 'r') \
7094 || ('s' <= (c) && (c) <= 'z'))
7095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7103 for (i = 0; i < 256; i++)
7104 if (XOR (islower (i), ISLOWER (i))
7105 || toupper (i) != TOUPPER (i))
7110 if ac_fn_c_try_run "$LINENO"; then :
7113 ac_cv_header_stdc=no
7115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7116 conftest.$ac_objext conftest.beam conftest.$ac_ext
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7122 $as_echo "$ac_cv_header_stdc" >&6; }
7123 if test $ac_cv_header_stdc = yes; then
7125 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7129 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7130 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7131 inttypes.h stdint.h unistd.h
7133 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7134 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7136 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7137 cat >>confdefs.h <<_ACEOF
7138 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7146 for ac_header in dlfcn.h
7148 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7150 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7151 cat >>confdefs.h <<_ACEOF
7152 #define HAVE_DLFCN_H 1
7164 enable_win32_dll=yes
7167 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7168 if test -n "$ac_tool_prefix"; then
7169 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7170 set dummy ${ac_tool_prefix}as; ac_word=$2
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7172 $as_echo_n "checking for $ac_word... " >&6; }
7173 if ${ac_cv_prog_AS+:} false; then :
7174 $as_echo_n "(cached) " >&6
7176 if test -n "$AS"; then
7177 ac_cv_prog_AS="$AS" # Let the user override the test.
7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir=.
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_prog_AS="${ac_tool_prefix}as"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 if test -n "$AS"; then
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7199 $as_echo "$AS" >&6; }
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 $as_echo "no" >&6; }
7207 if test -z "$ac_cv_prog_AS"; then
7209 # Extract the first word of "as", so it can be a program name with args.
7210 set dummy as; ac_word=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7214 $as_echo_n "(cached) " >&6
7216 if test -n "$ac_ct_AS"; then
7217 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir=.
7224 for ac_exec_ext in '' $ac_executable_extensions; do
7225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226 ac_cv_prog_ac_ct_AS="as"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7237 if test -n "$ac_ct_AS"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7239 $as_echo "$ac_ct_AS" >&6; }
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7245 if test "x$ac_ct_AS" = x; then
7248 case $cross_compiling:$ac_tool_warned in
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7252 ac_tool_warned=yes ;;
7260 if test -n "$ac_tool_prefix"; then
7261 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7262 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7264 $as_echo_n "checking for $ac_word... " >&6; }
7265 if ${ac_cv_prog_DLLTOOL+:} false; then :
7266 $as_echo_n "(cached) " >&6
7268 if test -n "$DLLTOOL"; then
7269 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 test -z "$as_dir" && as_dir=.
7276 for ac_exec_ext in '' $ac_executable_extensions; do
7277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7278 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288 DLLTOOL=$ac_cv_prog_DLLTOOL
7289 if test -n "$DLLTOOL"; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7291 $as_echo "$DLLTOOL" >&6; }
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7294 $as_echo "no" >&6; }
7299 if test -z "$ac_cv_prog_DLLTOOL"; then
7300 ac_ct_DLLTOOL=$DLLTOOL
7301 # Extract the first word of "dlltool", so it can be a program name with args.
7302 set dummy dlltool; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7306 $as_echo_n "(cached) " >&6
7308 if test -n "$ac_ct_DLLTOOL"; then
7309 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7315 test -z "$as_dir" && as_dir=.
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7318 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7329 if test -n "$ac_ct_DLLTOOL"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7331 $as_echo "$ac_ct_DLLTOOL" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7337 if test "x$ac_ct_DLLTOOL" = x; then
7340 case $cross_compiling:$ac_tool_warned in
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7344 ac_tool_warned=yes ;;
7346 DLLTOOL=$ac_ct_DLLTOOL
7349 DLLTOOL="$ac_cv_prog_DLLTOOL"
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_OBJDUMP+:} false; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$OBJDUMP"; then
7361 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 OBJDUMP=$ac_cv_prog_OBJDUMP
7381 if test -n "$OBJDUMP"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7383 $as_echo "$OBJDUMP" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 if test -z "$ac_cv_prog_OBJDUMP"; then
7392 ac_ct_OBJDUMP=$OBJDUMP
7393 # Extract the first word of "objdump", so it can be a program name with args.
7394 set dummy objdump; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7398 $as_echo_n "(cached) " >&6
7400 if test -n "$ac_ct_OBJDUMP"; then
7401 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7410 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7421 if test -n "$ac_ct_OBJDUMP"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7423 $as_echo "$ac_ct_OBJDUMP" >&6; }
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7429 if test "x$ac_ct_OBJDUMP" = x; then
7432 case $cross_compiling:$ac_tool_warned in
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned=yes ;;
7438 OBJDUMP=$ac_ct_OBJDUMP
7441 OBJDUMP="$ac_cv_prog_OBJDUMP"
7447 test -z "$AS" && AS=as
7453 test -z "$DLLTOOL" && DLLTOOL=dlltool
7459 test -z "$OBJDUMP" && OBJDUMP=objdump
7471 # Check whether --enable-shared was given.
7472 if test "${enable_shared+set}" = set; then :
7473 enableval=$enable_shared; p=${PACKAGE-default}
7475 yes) enable_shared=yes ;;
7476 no) enable_shared=no ;;
7479 # Look at the argument we got. We use all the common list separators.
7480 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7481 for pkg in $enableval; do
7483 if test "X$pkg" = "X$p"; then
7502 # Check whether --enable-static was given.
7503 if test "${enable_static+set}" = set; then :
7504 enableval=$enable_static; p=${PACKAGE-default}
7506 yes) enable_static=yes ;;
7507 no) enable_static=no ;;
7510 # Look at the argument we got. We use all the common list separators.
7511 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7512 for pkg in $enableval; do
7514 if test "X$pkg" = "X$p"; then
7534 # Check whether --with-pic was given.
7535 if test "${with_pic+set}" = set; then :
7536 withval=$with_pic; lt_p=${PACKAGE-default}
7538 yes|no) pic_mode=$withval ;;
7541 # Look at the argument we got. We use all the common list separators.
7542 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7543 for lt_pkg in $withval; do
7545 if test "X$lt_pkg" = "X$lt_p"; then
7557 test -z "$pic_mode" && pic_mode=default
7565 # Check whether --enable-fast-install was given.
7566 if test "${enable_fast_install+set}" = set; then :
7567 enableval=$enable_fast_install; p=${PACKAGE-default}
7569 yes) enable_fast_install=yes ;;
7570 no) enable_fast_install=no ;;
7572 enable_fast_install=no
7573 # Look at the argument we got. We use all the common list separators.
7574 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7575 for pkg in $enableval; do
7577 if test "X$pkg" = "X$p"; then
7578 enable_fast_install=yes
7585 enable_fast_install=yes
7598 # This can be used to rebuild libtool when needed
7599 LIBTOOL_DEPS="$ltmain"
7601 # Always use our own libtool.
7602 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7633 test -z "$LN_S" && LN_S="ln -s"
7648 if test -n "${ZSH_VERSION+set}" ; then
7649 setopt NO_GLOB_SUBST
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7653 $as_echo_n "checking for objdir... " >&6; }
7654 if ${lt_cv_objdir+:} false; then :
7655 $as_echo_n "(cached) " >&6
7657 rm -f .libs 2>/dev/null
7658 mkdir .libs 2>/dev/null
7659 if test -d .libs; then
7662 # MS-DOS does not allow filenames that begin with a dot.
7665 rmdir .libs 2>/dev/null
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7668 $as_echo "$lt_cv_objdir" >&6; }
7669 objdir=$lt_cv_objdir
7675 cat >>confdefs.h <<_ACEOF
7676 #define LT_OBJDIR "$lt_cv_objdir/"
7684 # AIX sometimes has problems with the GCC collect2 program. For some
7685 # reason, if we set the COLLECT_NAMES environment variable, the problems
7686 # vanish in a puff of smoke.
7687 if test "X${COLLECT_NAMES+set}" != Xset; then
7689 export COLLECT_NAMES
7696 can_build_shared=yes
7698 # All known linkers require a `.a' archive for static linking (except MSVC,
7699 # which needs '.lib').
7702 with_gnu_ld="$lt_cv_prog_gnu_ld"
7705 old_CFLAGS="$CFLAGS"
7707 # Set sane defaults for various variables
7708 test -z "$CC" && CC=cc
7709 test -z "$LTCC" && LTCC=$CC
7710 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7711 test -z "$LD" && LD=ld
7712 test -z "$ac_objext" && ac_objext=o
7714 for cc_temp in $compiler""; do
7716 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7717 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7722 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7725 # Only perform the check for file, if the check method requires it
7726 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7727 case $deplibs_check_method in
7729 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7731 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7732 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7733 $as_echo_n "(cached) " >&6
7737 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7740 lt_save_MAGIC_CMD="$MAGIC_CMD"
7741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7742 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7743 for ac_dir in $ac_dummy; do
7745 test -z "$ac_dir" && ac_dir=.
7746 if test -f $ac_dir/${ac_tool_prefix}file; then
7747 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7748 if test -n "$file_magic_test_file"; then
7749 case $deplibs_check_method in
7751 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7752 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7753 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7754 $EGREP "$file_magic_regex" > /dev/null; then
7759 *** Warning: the command libtool uses to detect shared libraries,
7760 *** $file_magic_cmd, produces output that libtool cannot recognize.
7761 *** The result is that libtool may fail to recognize shared libraries
7762 *** as such. This will affect the creation of libtool libraries that
7763 *** depend on shared libraries, but programs linked with such libtool
7764 *** libraries will work regardless of this problem. Nevertheless, you
7765 *** may want to report the problem to your system manager and/or to
7766 *** bug-libtool@gnu.org
7776 MAGIC_CMD="$lt_save_MAGIC_CMD"
7781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7782 if test -n "$MAGIC_CMD"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7784 $as_echo "$MAGIC_CMD" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7794 if test -z "$lt_cv_path_MAGIC_CMD"; then
7795 if test -n "$ac_tool_prefix"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7797 $as_echo_n "checking for file... " >&6; }
7798 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7799 $as_echo_n "(cached) " >&6
7803 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7806 lt_save_MAGIC_CMD="$MAGIC_CMD"
7807 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7808 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7809 for ac_dir in $ac_dummy; do
7811 test -z "$ac_dir" && ac_dir=.
7812 if test -f $ac_dir/file; then
7813 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7814 if test -n "$file_magic_test_file"; then
7815 case $deplibs_check_method in
7817 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7818 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7819 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7820 $EGREP "$file_magic_regex" > /dev/null; then
7825 *** Warning: the command libtool uses to detect shared libraries,
7826 *** $file_magic_cmd, produces output that libtool cannot recognize.
7827 *** The result is that libtool may fail to recognize shared libraries
7828 *** as such. This will affect the creation of libtool libraries that
7829 *** depend on shared libraries, but programs linked with such libtool
7830 *** libraries will work regardless of this problem. Nevertheless, you
7831 *** may want to report the problem to your system manager and/or to
7832 *** bug-libtool@gnu.org
7842 MAGIC_CMD="$lt_save_MAGIC_CMD"
7847 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7848 if test -n "$MAGIC_CMD"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7850 $as_echo "$MAGIC_CMD" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7866 # Use C for the default configuration in the libtool script
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 # Source file extension for C test sources.
7879 # Object file extension for compiled C test sources.
7883 # Code to be used in simple compile tests
7884 lt_simple_compile_test_code="int some_variable = 0;"
7886 # Code to be used in simple link tests
7887 lt_simple_link_test_code='int main(){return(0);}'
7895 # If no C compiler was specified, use CC.
7898 # If no C compiler flags were specified, use CFLAGS.
7899 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7901 # Allow CC to be a program name with arguments.
7904 # Save the default compiler, since it gets overwritten when the other
7905 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7906 compiler_DEFAULT=$CC
7908 # save warnings/boilerplate of simple test code
7909 ac_outfile=conftest.$ac_objext
7910 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7911 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7912 _lt_compiler_boilerplate=`cat conftest.err`
7915 ac_outfile=conftest.$ac_objext
7916 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7917 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7918 _lt_linker_boilerplate=`cat conftest.err`
7923 ## There is no encapsulation within the following macros, do not change
7924 ## the running order or otherwise move them around unless you know exactly
7925 ## what you are doing...
7926 if test -n "$compiler"; then
7928 lt_prog_compiler_no_builtin_flag=
7930 if test "$GCC" = yes; then
7931 case $cc_basename in
7933 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7935 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7939 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7940 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7941 $as_echo_n "(cached) " >&6
7943 lt_cv_prog_compiler_rtti_exceptions=no
7944 ac_outfile=conftest.$ac_objext
7945 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7946 lt_compiler_flag="-fno-rtti -fno-exceptions"
7947 # Insert the option either (1) after the last *FLAGS variable, or
7948 # (2) before a word containing "conftest.", or (3) at the end.
7949 # Note that $ac_compile itself does not contain backslashes and begins
7950 # with a dollar sign (not a hyphen), so the echo should work correctly.
7951 # The option is referenced via a variable to avoid confusing sed.
7952 lt_compile=`echo "$ac_compile" | $SED \
7953 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7954 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7955 -e 's:$: $lt_compiler_flag:'`
7956 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7957 (eval "$lt_compile" 2>conftest.err)
7959 cat conftest.err >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 if (exit $ac_status) && test -s "$ac_outfile"; then
7962 # The compiler can only warn and ignore the option if not recognized
7963 # So say no if there are warnings other than the usual output.
7964 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7965 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7966 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7967 lt_cv_prog_compiler_rtti_exceptions=yes
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7974 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7976 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7977 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7989 lt_prog_compiler_wl=
7990 lt_prog_compiler_pic=
7991 lt_prog_compiler_static=
7994 if test "$GCC" = yes; then
7995 lt_prog_compiler_wl='-Wl,'
7996 lt_prog_compiler_static='-static'
8000 # All AIX code is PIC.
8001 if test "$host_cpu" = ia64; then
8002 # AIX 5 now supports IA64 processor
8003 lt_prog_compiler_static='-Bstatic'
8010 # see comment about AmigaOS4 .so support
8011 lt_prog_compiler_pic='-fPIC'
8014 # FIXME: we need at least 68020 code to build shared libraries, but
8015 # adding the `-m68020' flag to GCC prevents building anything better,
8017 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8022 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8023 # PIC is the default for these OSes.
8026 mingw* | cygwin* | pw32* | os2* | cegcc*)
8027 # This hack is so that the source file can tell whether it is being
8028 # built for inclusion in a dll (and should export symbols for example).
8029 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8030 # (--disable-auto-import) libraries
8031 lt_prog_compiler_pic='-DDLL_EXPORT'
8034 darwin* | rhapsody*)
8035 # PIC is the default on this platform
8036 # Common symbols not allowed in MH_DYLIB files
8037 lt_prog_compiler_pic='-fno-common'
8041 # PIC is the default for Haiku.
8042 # The "-static" flag exists, but is broken.
8043 lt_prog_compiler_static=
8047 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8048 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8049 # sets the default TLS model and affects inlining.
8055 lt_prog_compiler_pic='-fPIC'
8061 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8062 # Instead, we relocate shared libraries at runtime.
8066 # Just because we use GCC doesn't mean we suddenly get shared libraries
8067 # on systems that don't support them.
8068 lt_prog_compiler_can_build_shared=no
8073 # QNX uses GNU C++, but need to define -shared option too, otherwise
8075 lt_prog_compiler_pic='-fPIC -shared'
8079 if test -d /usr/nec; then
8080 lt_prog_compiler_pic=-Kconform_pic
8085 lt_prog_compiler_pic='-fPIC'
8089 case $cc_basename in
8090 nvcc*) # Cuda Compiler Driver 2.2
8091 lt_prog_compiler_wl='-Xlinker '
8092 if test -n "$lt_prog_compiler_pic"; then
8093 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8098 # PORTME Check for flag to pass linker flags through the system compiler.
8101 lt_prog_compiler_wl='-Wl,'
8102 if test "$host_cpu" = ia64; then
8103 # AIX 5 now supports IA64 processor
8104 lt_prog_compiler_static='-Bstatic'
8106 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8110 mingw* | cygwin* | pw32* | os2* | cegcc*)
8111 # This hack is so that the source file can tell whether it is being
8112 # built for inclusion in a dll (and should export symbols for example).
8113 lt_prog_compiler_pic='-DDLL_EXPORT'
8116 hpux9* | hpux10* | hpux11*)
8117 lt_prog_compiler_wl='-Wl,'
8118 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8125 lt_prog_compiler_pic='+Z'
8128 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8129 lt_prog_compiler_static='${wl}-a ${wl}archive'
8132 irix5* | irix6* | nonstopux*)
8133 lt_prog_compiler_wl='-Wl,'
8134 # PIC (with -KPIC) is the default.
8135 lt_prog_compiler_static='-non_shared'
8138 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8139 case $cc_basename in
8140 # old Intel for x86_64 which still supported -KPIC.
8142 lt_prog_compiler_wl='-Wl,'
8143 lt_prog_compiler_pic='-KPIC'
8144 lt_prog_compiler_static='-static'
8146 # icc used to be incompatible with GCC.
8147 # ICC 10 doesn't accept -KPIC any more.
8149 lt_prog_compiler_wl='-Wl,'
8150 lt_prog_compiler_pic='-fPIC'
8151 lt_prog_compiler_static='-static'
8153 # Lahey Fortran 8.1.
8155 lt_prog_compiler_wl='-Wl,'
8156 lt_prog_compiler_pic='--shared'
8157 lt_prog_compiler_static='--static'
8160 # NAG Fortran compiler
8161 lt_prog_compiler_wl='-Wl,-Wl,,'
8162 lt_prog_compiler_pic='-PIC'
8163 lt_prog_compiler_static='-Bstatic'
8165 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8166 # Portland Group compilers (*not* the Pentium gcc compiler,
8167 # which looks to be a dead project)
8168 lt_prog_compiler_wl='-Wl,'
8169 lt_prog_compiler_pic='-fpic'
8170 lt_prog_compiler_static='-Bstatic'
8173 lt_prog_compiler_wl='-Wl,'
8174 # All Alpha code is PIC.
8175 lt_prog_compiler_static='-non_shared'
8177 xl* | bgxl* | bgf* | mpixl*)
8178 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8179 lt_prog_compiler_wl='-Wl,'
8180 lt_prog_compiler_pic='-qpic'
8181 lt_prog_compiler_static='-qstaticlink'
8184 case `$CC -V 2>&1 | sed 5q` in
8185 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8186 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8187 lt_prog_compiler_pic='-KPIC'
8188 lt_prog_compiler_static='-Bstatic'
8189 lt_prog_compiler_wl=''
8191 *Sun\ F* | *Sun*Fortran*)
8192 lt_prog_compiler_pic='-KPIC'
8193 lt_prog_compiler_static='-Bstatic'
8194 lt_prog_compiler_wl='-Qoption ld '
8198 lt_prog_compiler_pic='-KPIC'
8199 lt_prog_compiler_static='-Bstatic'
8200 lt_prog_compiler_wl='-Wl,'
8202 *Intel*\ [CF]*Compiler*)
8203 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_pic='-fPIC'
8205 lt_prog_compiler_static='-static'
8208 lt_prog_compiler_wl='-Wl,'
8209 lt_prog_compiler_pic='-fpic'
8210 lt_prog_compiler_static='-Bstatic'
8218 lt_prog_compiler_pic='-KPIC'
8219 lt_prog_compiler_static='-Bstatic'
8223 # QNX uses GNU C++, but need to define -shared option too, otherwise
8225 lt_prog_compiler_pic='-fPIC -shared'
8228 osf3* | osf4* | osf5*)
8229 lt_prog_compiler_wl='-Wl,'
8230 # All OSF/1 code is PIC.
8231 lt_prog_compiler_static='-non_shared'
8235 lt_prog_compiler_static='-non_shared'
8239 lt_prog_compiler_pic='-KPIC'
8240 lt_prog_compiler_static='-Bstatic'
8241 case $cc_basename in
8242 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8243 lt_prog_compiler_wl='-Qoption ld ';;
8245 lt_prog_compiler_wl='-Wl,';;
8250 lt_prog_compiler_wl='-Qoption ld '
8251 lt_prog_compiler_pic='-PIC'
8252 lt_prog_compiler_static='-Bstatic'
8255 sysv4 | sysv4.2uw2* | sysv4.3*)
8256 lt_prog_compiler_wl='-Wl,'
8257 lt_prog_compiler_pic='-KPIC'
8258 lt_prog_compiler_static='-Bstatic'
8262 if test -d /usr/nec ;then
8263 lt_prog_compiler_pic='-Kconform_pic'
8264 lt_prog_compiler_static='-Bstatic'
8268 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8269 lt_prog_compiler_wl='-Wl,'
8270 lt_prog_compiler_pic='-KPIC'
8271 lt_prog_compiler_static='-Bstatic'
8275 lt_prog_compiler_wl='-Wl,'
8276 lt_prog_compiler_can_build_shared=no
8280 lt_prog_compiler_pic='-pic'
8281 lt_prog_compiler_static='-Bstatic'
8285 lt_prog_compiler_can_build_shared=no
8291 # For platforms which do not support PIC, -DPIC is meaningless:
8293 lt_prog_compiler_pic=
8296 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8301 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8302 if ${lt_cv_prog_compiler_pic+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8308 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8309 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8312 # Check to make sure the PIC flag actually works.
8314 if test -n "$lt_prog_compiler_pic"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8316 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8317 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8318 $as_echo_n "(cached) " >&6
8320 lt_cv_prog_compiler_pic_works=no
8321 ac_outfile=conftest.$ac_objext
8322 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8323 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8324 # Insert the option either (1) after the last *FLAGS variable, or
8325 # (2) before a word containing "conftest.", or (3) at the end.
8326 # Note that $ac_compile itself does not contain backslashes and begins
8327 # with a dollar sign (not a hyphen), so the echo should work correctly.
8328 # The option is referenced via a variable to avoid confusing sed.
8329 lt_compile=`echo "$ac_compile" | $SED \
8330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8332 -e 's:$: $lt_compiler_flag:'`
8333 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8334 (eval "$lt_compile" 2>conftest.err)
8336 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 if (exit $ac_status) && test -s "$ac_outfile"; then
8339 # The compiler can only warn and ignore the option if not recognized
8340 # So say no if there are warnings other than the usual output.
8341 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8342 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8343 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8344 lt_cv_prog_compiler_pic_works=yes
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8351 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8353 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8354 case $lt_prog_compiler_pic in
8356 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8359 lt_prog_compiler_pic=
8360 lt_prog_compiler_can_build_shared=no
8376 # Check to make sure the static flag actually works.
8378 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8380 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8381 if ${lt_cv_prog_compiler_static_works+:} false; then :
8382 $as_echo_n "(cached) " >&6
8384 lt_cv_prog_compiler_static_works=no
8385 save_LDFLAGS="$LDFLAGS"
8386 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8387 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8388 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8389 # The linker can only warn and ignore the option if not recognized
8390 # So say no if there are warnings
8391 if test -s conftest.err; then
8392 # Append any errors to the config.log.
8393 cat conftest.err 1>&5
8394 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8395 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8396 if diff conftest.exp conftest.er2 >/dev/null; then
8397 lt_cv_prog_compiler_static_works=yes
8400 lt_cv_prog_compiler_static_works=yes
8404 LDFLAGS="$save_LDFLAGS"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8408 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8410 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8413 lt_prog_compiler_static=
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8423 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8424 if ${lt_cv_prog_compiler_c_o+:} false; then :
8425 $as_echo_n "(cached) " >&6
8427 lt_cv_prog_compiler_c_o=no
8428 $RM -r conftest 2>/dev/null
8432 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8434 lt_compiler_flag="-o out/conftest2.$ac_objext"
8435 # Insert the option either (1) after the last *FLAGS variable, or
8436 # (2) before a word containing "conftest.", or (3) at the end.
8437 # Note that $ac_compile itself does not contain backslashes and begins
8438 # with a dollar sign (not a hyphen), so the echo should work correctly.
8439 lt_compile=`echo "$ac_compile" | $SED \
8440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8442 -e 's:$: $lt_compiler_flag:'`
8443 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8444 (eval "$lt_compile" 2>out/conftest.err)
8446 cat out/conftest.err >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8450 # The compiler can only warn and ignore the option if not recognized
8451 # So say no if there are warnings
8452 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8453 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8454 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8455 lt_cv_prog_compiler_c_o=yes
8460 # SGI C++ compiler will create directory out/ii_files/ for
8461 # template instantiation
8462 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8463 $RM out/* && rmdir out
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8470 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8478 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8479 if ${lt_cv_prog_compiler_c_o+:} false; then :
8480 $as_echo_n "(cached) " >&6
8482 lt_cv_prog_compiler_c_o=no
8483 $RM -r conftest 2>/dev/null
8487 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8489 lt_compiler_flag="-o out/conftest2.$ac_objext"
8490 # Insert the option either (1) after the last *FLAGS variable, or
8491 # (2) before a word containing "conftest.", or (3) at the end.
8492 # Note that $ac_compile itself does not contain backslashes and begins
8493 # with a dollar sign (not a hyphen), so the echo should work correctly.
8494 lt_compile=`echo "$ac_compile" | $SED \
8495 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8497 -e 's:$: $lt_compiler_flag:'`
8498 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8499 (eval "$lt_compile" 2>out/conftest.err)
8501 cat out/conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8505 # The compiler can only warn and ignore the option if not recognized
8506 # So say no if there are warnings
8507 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8508 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8509 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8510 lt_cv_prog_compiler_c_o=yes
8515 # SGI C++ compiler will create directory out/ii_files/ for
8516 # template instantiation
8517 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8518 $RM out/* && rmdir out
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8525 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8530 hard_links="nottested"
8531 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8532 # do not overwrite the value of need_locks provided by the user
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8534 $as_echo_n "checking if we can lock with hard links... " >&6; }
8537 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8539 ln conftest.a conftest.b 2>&5 || hard_links=no
8540 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8542 $as_echo "$hard_links" >&6; }
8543 if test "$hard_links" = no; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8545 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8558 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8561 allow_undefined_flag=
8562 always_export_symbols=no
8564 archive_expsym_cmds=
8565 compiler_needs_object=no
8566 enable_shared_with_static_runtimes=no
8567 export_dynamic_flag_spec=
8568 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8569 hardcode_automatic=no
8571 hardcode_direct_absolute=no
8572 hardcode_libdir_flag_spec=
8573 hardcode_libdir_separator=
8575 hardcode_shlibpath_var=unsupported
8577 link_all_deplibs=unknown
8580 old_archive_from_new_cmds=
8581 old_archive_from_expsyms_cmds=
8582 thread_safe_flag_spec=
8583 whole_archive_flag_spec=
8584 # include_expsyms should be a list of space-separated symbols to be *always*
8585 # included in the symbol list
8587 # exclude_expsyms can be an extended regexp of symbols to exclude
8588 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8589 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8590 # as well as any symbol that contains `d'.
8591 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8592 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8593 # platforms (ab)use it in PIC code, but their linkers get confused if
8594 # the symbol is explicitly referenced. Since portable code cannot
8595 # rely on this symbol name, it's probably fine to never include it in
8596 # preloaded symbol tables.
8597 # Exclude shared library initialization/finalization symbols.
8598 extract_expsyms_cmds=
8601 cygwin* | mingw* | pw32* | cegcc*)
8602 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8603 # When not using gcc, we currently assume that we are using
8604 # Microsoft Visual C++.
8605 if test "$GCC" != yes; then
8610 # we just hope/assume this is gcc and not c89 (= MSVC++)
8620 # On some targets, GNU ld is compatible enough with the native linker
8621 # that we're better off using the native interface for both.
8622 lt_use_gnu_ld_interface=no
8623 if test "$with_gnu_ld" = yes; then
8626 # The AIX port of GNU ld has always aspired to compatibility
8627 # with the native linker. However, as the warning in the GNU ld
8628 # block says, versions before 2.19.5* couldn't really create working
8629 # shared libraries, regardless of the interface used.
8630 case `$LD -v 2>&1` in
8631 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8632 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8633 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8635 lt_use_gnu_ld_interface=yes
8640 lt_use_gnu_ld_interface=yes
8645 if test "$lt_use_gnu_ld_interface" = yes; then
8646 # If archive_cmds runs LD, not CC, wlarc should be empty
8649 # Set some defaults for GNU ld with shared library support. These
8650 # are reset later if shared libraries are not supported. Putting them
8651 # here allows them to be overridden if necessary.
8652 runpath_var=LD_RUN_PATH
8653 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8654 export_dynamic_flag_spec='${wl}--export-dynamic'
8655 # ancient GNU ld didn't support --whole-archive et. al.
8656 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8657 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8659 whole_archive_flag_spec=
8661 supports_anon_versioning=no
8662 case `$LD -v 2>&1` in
8663 *GNU\ gold*) supports_anon_versioning=yes ;;
8664 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8665 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8666 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8667 *\ 2.11.*) ;; # other 2.11 versions
8668 *) supports_anon_versioning=yes ;;
8671 # See if GNU ld supports shared libraries.
8674 # On AIX/PPC, the GNU linker is very broken
8675 if test "$host_cpu" != ia64; then
8679 *** Warning: the GNU linker, at least up to release 2.19, is reported
8680 *** to be unable to reliably create shared libraries on AIX.
8681 *** Therefore, libtool is disabling shared libraries support. If you
8682 *** really care for shared libraries, you may want to install binutils
8683 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8684 *** You will then need to restart the configuration process.
8693 # see comment about AmigaOS4 .so support
8694 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695 archive_expsym_cmds=''
8698 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)'
8699 hardcode_libdir_flag_spec='-L$libdir'
8700 hardcode_minus_L=yes
8706 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8707 allow_undefined_flag=unsupported
8708 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8709 # support --undefined. This deserves some investigation. FIXME
8710 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8716 cygwin* | mingw* | pw32* | cegcc*)
8717 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8718 # as there is no search path for DLLs.
8719 hardcode_libdir_flag_spec='-L$libdir'
8720 export_dynamic_flag_spec='${wl}--export-all-symbols'
8721 allow_undefined_flag=unsupported
8722 always_export_symbols=no
8723 enable_shared_with_static_runtimes=yes
8724 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8725 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8727 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8729 # If the export-symbols file already is a .def file (1st line
8730 # is EXPORTS), use it as is; otherwise, prepend...
8731 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8732 cp $export_symbols $output_objdir/$soname.def;
8734 echo EXPORTS > $output_objdir/$soname.def;
8735 cat $export_symbols >> $output_objdir/$soname.def;
8737 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8745 link_all_deplibs=yes
8750 hardcode_shlibpath_var=no
8751 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8752 export_dynamic_flag_spec='${wl}-E'
8753 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8754 # Instead, shared libraries are loaded at an image base (0x10000000 by
8755 # default) and relocated if they conflict, which is a slow very memory
8756 # consuming and fragmenting process. To avoid this, we pick a random,
8757 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8758 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8759 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8760 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'
8763 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8765 if test "$host_os" = linux-dietlibc; then
8766 case $cc_basename in
8767 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8770 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8771 && test "$tmp_diet" = no
8773 tmp_addflag=' $pic_flag'
8774 tmp_sharedflag='-shared'
8775 case $cc_basename,$host_cpu in
8776 pgcc*) # Portland Group C compiler
8777 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8778 tmp_addflag=' $pic_flag'
8780 pgf77* | pgf90* | pgf95* | pgfortran*)
8781 # Portland Group f77 and f90 compilers
8782 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8783 tmp_addflag=' $pic_flag -Mnomain' ;;
8784 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8785 tmp_addflag=' -i_dynamic' ;;
8786 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8787 tmp_addflag=' -i_dynamic -nofor_main' ;;
8788 ifc* | ifort*) # Intel Fortran compiler
8789 tmp_addflag=' -nofor_main' ;;
8790 lf95*) # Lahey Fortran 8.1
8791 whole_archive_flag_spec=
8792 tmp_sharedflag='--shared' ;;
8793 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8794 tmp_sharedflag='-qmkshrobj'
8796 nvcc*) # Cuda Compiler Driver 2.2
8797 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8798 compiler_needs_object=yes
8801 case `$CC -V 2>&1 | sed 5q` in
8802 *Sun\ C*) # Sun C 5.9
8803 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8804 compiler_needs_object=yes
8805 tmp_sharedflag='-G' ;;
8806 *Sun\ F*) # Sun Fortran 8.3
8807 tmp_sharedflag='-G' ;;
8809 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8811 if test "x$supports_anon_versioning" = xyes; then
8812 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8813 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8814 echo "local: *; };" >> $output_objdir/$libname.ver~
8815 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8818 case $cc_basename in
8819 xlf* | bgf* | bgxlf* | mpixlf*)
8820 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8821 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8823 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8824 if test "x$supports_anon_versioning" = xyes; then
8825 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8826 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8827 echo "local: *; };" >> $output_objdir/$libname.ver~
8828 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8838 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8839 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8842 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8843 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8852 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8853 *** create shared libraries on Solaris systems. Therefore, libtool
8854 *** is disabling shared libraries support. We urge you to upgrade GNU
8855 *** binutils to release 2.9.1 or newer. Another option is to modify
8856 *** your PATH or compiler configuration so that the native linker is
8857 *** used, and then restart.
8860 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8861 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8862 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8868 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8869 case `$LD -v 2>&1` in
8870 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8874 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8875 *** reliably create shared libraries on SCO systems. Therefore, libtool
8876 *** is disabling shared libraries support. We urge you to upgrade GNU
8877 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8878 *** your PATH or compiler configuration so that the native linker is
8879 *** used, and then restart.
8884 # For security reasons, it is highly recommended that you always
8885 # use absolute paths for naming shared libraries, and exclude the
8886 # DT_RUNPATH tag from executables and libraries. But doing so
8887 # requires that you compile everything twice, which is a pain.
8888 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8900 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8903 hardcode_shlibpath_var=no
8907 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8908 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8909 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8916 if test "$ld_shlibs" = no; then
8918 hardcode_libdir_flag_spec=
8919 export_dynamic_flag_spec=
8920 whole_archive_flag_spec=
8923 # PORTME fill in a description of your system's linker (not GNU ld)
8926 allow_undefined_flag=unsupported
8927 always_export_symbols=yes
8928 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'
8929 # Note: this linker hardcodes the directories in LIBPATH if there
8930 # are no directories specified by -L.
8931 hardcode_minus_L=yes
8932 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8933 # Neither direct hardcoding nor static linking is supported with a
8935 hardcode_direct=unsupported
8940 if test "$host_cpu" = ia64; then
8941 # On IA64, the linker does run time linking by default, so we don't
8942 # have to do anything special.
8943 aix_use_runtimelinking=no
8944 exp_sym_flag='-Bexport'
8947 # If we're using GNU nm, then we don't want the "-C" option.
8948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8949 # Also, AIX nm treats weak defined symbols like other global
8950 # defined symbols, whereas GNU nm marks them as "W".
8951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8952 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8954 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'
8956 aix_use_runtimelinking=no
8958 # Test if we are trying to use run time linking or normal
8959 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8960 # need to do runtime linking.
8961 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8962 for ld_flag in $LDFLAGS; do
8963 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8964 aix_use_runtimelinking=yes
8971 exp_sym_flag='-bexport'
8972 no_entry_flag='-bnoentry'
8975 # When large executables or shared objects are built, AIX ld can
8976 # have problems creating the table of contents. If linking a library
8977 # or program results in "error TOC overflow" add -mminimal-toc to
8978 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8979 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8983 hardcode_direct_absolute=yes
8984 hardcode_libdir_separator=':'
8985 link_all_deplibs=yes
8986 file_list_spec='${wl}-f,'
8988 if test "$GCC" = yes; then
8989 case $host_os in aix4.[012]|aix4.[012].*)
8990 # We only want to do this on AIX 4.2 and lower, the check
8991 # below for broken collect2 doesn't work under 4.3+
8992 collect2name=`${CC} -print-prog-name=collect2`
8993 if test -f "$collect2name" &&
8994 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8996 # We have reworked collect2
8999 # We have old collect2
9000 hardcode_direct=unsupported
9001 # It fails to find uninstalled libraries when the uninstalled
9002 # path is not listed in the libpath. Setting hardcode_minus_L
9003 # to unsupported forces relinking
9004 hardcode_minus_L=yes
9005 hardcode_libdir_flag_spec='-L$libdir'
9006 hardcode_libdir_separator=
9010 shared_flag='-shared'
9011 if test "$aix_use_runtimelinking" = yes; then
9012 shared_flag="$shared_flag "'${wl}-G'
9016 if test "$host_cpu" = ia64; then
9017 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9018 # chokes on -Wl,-G. The following line is correct:
9021 if test "$aix_use_runtimelinking" = yes; then
9022 shared_flag='${wl}-G'
9024 shared_flag='${wl}-bM:SRE'
9029 export_dynamic_flag_spec='${wl}-bexpall'
9030 # It seems that -bexpall does not export symbols beginning with
9031 # underscore (_), so it is better to generate a list of symbols to export.
9032 always_export_symbols=yes
9033 if test "$aix_use_runtimelinking" = yes; then
9034 # Warning - without using the other runtime loading flags (-brtl),
9035 # -berok will link without error, but may produce a broken library.
9036 allow_undefined_flag='-berok'
9037 # Determine the default libpath from the value encoded in an
9039 if test "${lt_cv_aix_libpath+set}" = set; then
9040 aix_libpath=$lt_cv_aix_libpath
9042 if ${lt_cv_aix_libpath_+:} false; then :
9043 $as_echo_n "(cached) " >&6
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9056 if ac_fn_c_try_link "$LINENO"; then :
9058 lt_aix_libpath_sed='
9059 /Import File Strings/,/^$/ {
9061 s/^0 *\([^ ]*\) *$/\1/
9065 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9066 # Check for a 64-bit object if we didn't find anything.
9067 if test -z "$lt_cv_aix_libpath_"; then
9068 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 if test -z "$lt_cv_aix_libpath_"; then
9074 lt_cv_aix_libpath_="/usr/lib:/lib"
9079 aix_libpath=$lt_cv_aix_libpath_
9082 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9083 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9085 if test "$host_cpu" = ia64; then
9086 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9087 allow_undefined_flag="-z nodefs"
9088 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"
9090 # Determine the default libpath from the value encoded in an
9092 if test "${lt_cv_aix_libpath+set}" = set; then
9093 aix_libpath=$lt_cv_aix_libpath
9095 if ${lt_cv_aix_libpath_+:} false; then :
9096 $as_echo_n "(cached) " >&6
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9109 if ac_fn_c_try_link "$LINENO"; then :
9111 lt_aix_libpath_sed='
9112 /Import File Strings/,/^$/ {
9114 s/^0 *\([^ ]*\) *$/\1/
9118 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9119 # Check for a 64-bit object if we didn't find anything.
9120 if test -z "$lt_cv_aix_libpath_"; then
9121 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9124 rm -f core conftest.err conftest.$ac_objext \
9125 conftest$ac_exeext conftest.$ac_ext
9126 if test -z "$lt_cv_aix_libpath_"; then
9127 lt_cv_aix_libpath_="/usr/lib:/lib"
9132 aix_libpath=$lt_cv_aix_libpath_
9135 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9136 # Warning - without using the other run time loading flags,
9137 # -berok will link without error, but may produce a broken library.
9138 no_undefined_flag=' ${wl}-bernotok'
9139 allow_undefined_flag=' ${wl}-berok'
9140 if test "$with_gnu_ld" = yes; then
9141 # We only use this code for GNU lds that support --whole-archive.
9142 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9144 # Exported symbols can be pulled into shared objects from archives
9145 whole_archive_flag_spec='$convenience'
9147 archive_cmds_need_lc=yes
9148 # This is similar to how AIX traditionally builds its shared libraries.
9149 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'
9157 # see comment about AmigaOS4 .so support
9158 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159 archive_expsym_cmds=''
9162 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)'
9163 hardcode_libdir_flag_spec='-L$libdir'
9164 hardcode_minus_L=yes
9170 export_dynamic_flag_spec=-rdynamic
9173 cygwin* | mingw* | pw32* | cegcc*)
9174 # When not using gcc, we currently assume that we are using
9175 # Microsoft Visual C++.
9176 # hardcode_libdir_flag_spec is actually meaningless, as there is
9177 # no search path for DLLs.
9178 case $cc_basename in
9181 hardcode_libdir_flag_spec=' '
9182 allow_undefined_flag=unsupported
9183 always_export_symbols=yes
9185 # Tell ltmain to make .lib files, not .a files.
9187 # Tell ltmain to make .dll files, not .so files.
9189 # FIXME: Setting linknames here is a bad hack.
9190 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9191 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9192 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9194 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9196 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9198 # The linker will not automatically build a static lib if we build a DLL.
9199 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9200 enable_shared_with_static_runtimes=yes
9201 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9202 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9204 old_postinstall_cmds='chmod 644 $oldlib'
9205 postlink_cmds='lt_outputfile="@OUTPUT@"~
9206 lt_tool_outputfile="@TOOL_OUTPUT@"~
9207 case $lt_outputfile in
9210 lt_outputfile="$lt_outputfile.exe"
9211 lt_tool_outputfile="$lt_tool_outputfile.exe"
9214 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9215 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9216 $RM "$lt_outputfile.manifest";
9220 # Assume MSVC wrapper
9221 hardcode_libdir_flag_spec=' '
9222 allow_undefined_flag=unsupported
9223 # Tell ltmain to make .lib files, not .a files.
9225 # Tell ltmain to make .dll files, not .so files.
9227 # FIXME: Setting linknames here is a bad hack.
9228 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9229 # The linker will automatically build a .lib file if we build a DLL.
9230 old_archive_from_new_cmds='true'
9231 # FIXME: Should let the user specify the lib program.
9232 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9233 enable_shared_with_static_runtimes=yes
9238 darwin* | rhapsody*)
9241 archive_cmds_need_lc=no
9243 hardcode_automatic=yes
9244 hardcode_shlibpath_var=unsupported
9245 if test "$lt_cv_ld_force_load" = "yes"; then
9246 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9249 whole_archive_flag_spec=''
9251 link_all_deplibs=yes
9252 allow_undefined_flag="$_lt_dar_allow_undefined"
9253 case $cc_basename in
9254 ifort*) _lt_dar_can_shared=yes ;;
9255 *) _lt_dar_can_shared=$GCC ;;
9257 if test "$_lt_dar_can_shared" = "yes"; then
9258 output_verbose_link_cmd=func_echo_all
9259 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9260 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9261 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}"
9262 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}"
9271 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9272 hardcode_libdir_flag_spec='-L$libdir'
9273 hardcode_shlibpath_var=no
9276 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9277 # support. Future versions do this automatically, but an explicit c++rt0.o
9278 # does not break anything, and helps significantly (at the cost of a little
9281 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9282 hardcode_libdir_flag_spec='-R$libdir'
9284 hardcode_shlibpath_var=no
9287 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9289 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9291 hardcode_minus_L=yes
9292 hardcode_shlibpath_var=no
9295 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9296 freebsd* | dragonfly*)
9297 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9298 hardcode_libdir_flag_spec='-R$libdir'
9300 hardcode_shlibpath_var=no
9304 if test "$GCC" = yes; then
9305 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9307 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'
9309 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9310 hardcode_libdir_separator=:
9313 # hardcode_minus_L: Not really in the search PATH,
9314 # but as the default location of the library.
9315 hardcode_minus_L=yes
9316 export_dynamic_flag_spec='${wl}-E'
9320 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9321 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9325 if test "$with_gnu_ld" = no; then
9326 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9327 hardcode_libdir_separator=:
9329 hardcode_direct_absolute=yes
9330 export_dynamic_flag_spec='${wl}-E'
9331 # hardcode_minus_L: Not really in the search PATH,
9332 # but as the default location of the library.
9333 hardcode_minus_L=yes
9338 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9341 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9344 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9347 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9353 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9356 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9360 # Older versions of the 11.00 compiler do not understand -b yet
9361 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9363 $as_echo_n "checking if $CC understands -b... " >&6; }
9364 if ${lt_cv_prog_compiler__b+:} false; then :
9365 $as_echo_n "(cached) " >&6
9367 lt_cv_prog_compiler__b=no
9368 save_LDFLAGS="$LDFLAGS"
9369 LDFLAGS="$LDFLAGS -b"
9370 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9371 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9372 # The linker can only warn and ignore the option if not recognized
9373 # So say no if there are warnings
9374 if test -s conftest.err; then
9375 # Append any errors to the config.log.
9376 cat conftest.err 1>&5
9377 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9378 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9379 if diff conftest.exp conftest.er2 >/dev/null; then
9380 lt_cv_prog_compiler__b=yes
9383 lt_cv_prog_compiler__b=yes
9387 LDFLAGS="$save_LDFLAGS"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9391 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9393 if test x"$lt_cv_prog_compiler__b" = xyes; then
9394 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9402 if test "$with_gnu_ld" = no; then
9403 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9404 hardcode_libdir_separator=:
9409 hardcode_shlibpath_var=no
9413 hardcode_direct_absolute=yes
9414 export_dynamic_flag_spec='${wl}-E'
9416 # hardcode_minus_L: Not really in the search PATH,
9417 # but as the default location of the library.
9418 hardcode_minus_L=yes
9424 irix5* | irix6* | nonstopux*)
9425 if test "$GCC" = yes; then
9426 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9427 # Try to use the -exported_symbol ld option, if it does not
9428 # work, assume that -exports_file does not work either and
9429 # implicitly export all symbols.
9430 # This should be the same for all languages, so no per-tag cache variable.
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9432 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9433 if ${lt_cv_irix_exported_symbol+:} false; then :
9434 $as_echo_n "(cached) " >&6
9436 save_LDFLAGS="$LDFLAGS"
9437 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9440 int foo (void) { return 0; }
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 lt_cv_irix_exported_symbol=yes
9445 lt_cv_irix_exported_symbol=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LDFLAGS="$save_LDFLAGS"
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9452 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9453 if test "$lt_cv_irix_exported_symbol" = yes; then
9454 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9457 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9458 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9460 archive_cmds_need_lc='no'
9461 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9462 hardcode_libdir_separator=:
9464 link_all_deplibs=yes
9468 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9469 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9471 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9473 hardcode_libdir_flag_spec='-R$libdir'
9475 hardcode_shlibpath_var=no
9479 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9481 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9482 hardcode_libdir_separator=:
9483 hardcode_shlibpath_var=no
9490 if test -f /usr/libexec/ld.so; then
9492 hardcode_shlibpath_var=no
9493 hardcode_direct_absolute=yes
9494 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9495 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9497 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9498 export_dynamic_flag_spec='${wl}-E'
9501 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9502 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9503 hardcode_libdir_flag_spec='-R$libdir'
9506 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9507 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9517 hardcode_libdir_flag_spec='-L$libdir'
9518 hardcode_minus_L=yes
9519 allow_undefined_flag=unsupported
9520 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'
9521 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9525 if test "$GCC" = yes; then
9526 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9527 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9529 allow_undefined_flag=' -expect_unresolved \*'
9530 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9532 archive_cmds_need_lc='no'
9533 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9534 hardcode_libdir_separator=:
9537 osf4* | osf5*) # as osf3* with the addition of -msym flag
9538 if test "$GCC" = yes; then
9539 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9540 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9541 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9543 allow_undefined_flag=' -expect_unresolved \*'
9544 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9545 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~
9546 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9548 # Both c and cxx compiler support -rpath directly
9549 hardcode_libdir_flag_spec='-rpath $libdir'
9551 archive_cmds_need_lc='no'
9552 hardcode_libdir_separator=:
9556 no_undefined_flag=' -z defs'
9557 if test "$GCC" = yes; then
9559 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9560 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9561 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9563 case `$CC -V 2>&1` in
9566 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9568 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9572 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9573 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9574 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9578 hardcode_libdir_flag_spec='-R$libdir'
9579 hardcode_shlibpath_var=no
9581 solaris2.[0-5] | solaris2.[0-5].*) ;;
9583 # The compiler driver will combine and reorder linker options,
9584 # but understands `-z linker_flag'. GCC discards it without `$wl',
9585 # but is careful enough not to reorder.
9586 # Supported since Solaris 2.6 (maybe 2.5.1?)
9587 if test "$GCC" = yes; then
9588 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9590 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9594 link_all_deplibs=yes
9598 if test "x$host_vendor" = xsequent; then
9599 # Use $CC to link under sequent, because it throws in some extra .o
9600 # files that make .init and .fini sections work.
9601 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9603 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9605 hardcode_libdir_flag_spec='-L$libdir'
9607 hardcode_minus_L=yes
9608 hardcode_shlibpath_var=no
9612 case $host_vendor in
9614 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9615 hardcode_direct=yes # is this really true???
9618 ## LD is ld it makes a PLAMLIB
9619 ## CC just makes a GrossModule.
9620 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9621 reload_cmds='$CC -r -o $output$reload_objs'
9625 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9626 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9629 runpath_var='LD_RUN_PATH'
9630 hardcode_shlibpath_var=no
9634 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9635 hardcode_shlibpath_var=no
9636 export_dynamic_flag_spec='-Bexport'
9640 if test -d /usr/nec; then
9641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9642 hardcode_shlibpath_var=no
9643 runpath_var=LD_RUN_PATH
9644 hardcode_runpath_var=yes
9649 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9650 no_undefined_flag='${wl}-z,text'
9651 archive_cmds_need_lc=no
9652 hardcode_shlibpath_var=no
9653 runpath_var='LD_RUN_PATH'
9655 if test "$GCC" = yes; then
9656 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9657 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9659 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9660 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9664 sysv5* | sco3.2v5* | sco5v6*)
9665 # Note: We can NOT use -z defs as we might desire, because we do not
9666 # link with -lc, and that would cause any symbols used from libc to
9667 # always be unresolved, which means just about no library would
9668 # ever link correctly. If we're not using GNU ld we use -z text
9669 # though, which does catch some bad symbols but isn't as heavy-handed
9671 no_undefined_flag='${wl}-z,text'
9672 allow_undefined_flag='${wl}-z,nodefs'
9673 archive_cmds_need_lc=no
9674 hardcode_shlibpath_var=no
9675 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9676 hardcode_libdir_separator=':'
9677 link_all_deplibs=yes
9678 export_dynamic_flag_spec='${wl}-Bexport'
9679 runpath_var='LD_RUN_PATH'
9681 if test "$GCC" = yes; then
9682 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9685 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9686 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9691 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9692 hardcode_libdir_flag_spec='-L$libdir'
9693 hardcode_shlibpath_var=no
9701 if test x$host_vendor = xsni; then
9703 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9704 export_dynamic_flag_spec='${wl}-Blargedynsym'
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9711 $as_echo "$ld_shlibs" >&6; }
9712 test "$ld_shlibs" = no && can_build_shared=no
9714 with_gnu_ld=$with_gnu_ld
9731 # Do we need to explicitly link libc?
9733 case "x$archive_cmds_need_lc" in
9735 # Assume -lc should be added
9736 archive_cmds_need_lc=yes
9738 if test "$enable_shared" = yes && test "$GCC" = yes; then
9739 case $archive_cmds in
9741 # FIXME: we may have to deal with multi-command sequences.
9744 # Test whether the compiler implicitly links with -lc since on some
9745 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9746 # to ld, don't add -lc before -lgcc.
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9748 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9749 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9750 $as_echo_n "(cached) " >&6
9753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9755 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9756 (eval $ac_compile) 2>&5
9758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9759 test $ac_status = 0; } 2>conftest.err; then
9762 libobjs=conftest.$ac_objext
9764 wl=$lt_prog_compiler_wl
9765 pic_flag=$lt_prog_compiler_pic
9771 lt_save_allow_undefined_flag=$allow_undefined_flag
9772 allow_undefined_flag=
9773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9774 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9777 test $ac_status = 0; }
9779 lt_cv_archive_cmds_need_lc=no
9781 lt_cv_archive_cmds_need_lc=yes
9783 allow_undefined_flag=$lt_save_allow_undefined_flag
9785 cat conftest.err 1>&5
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9791 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9792 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9951 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9953 if test "$GCC" = yes; then
9955 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9956 *) lt_awk_arg="/^libraries:/" ;;
9959 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9960 *) lt_sed_strip_eq="s,=/,/,g" ;;
9962 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9963 case $lt_search_path_spec in
9965 # if the path contains ";" then we assume it to be the separator
9966 # otherwise default to the standard path separator (i.e. ":") - it is
9967 # assumed that no part of a normal pathname contains ";" but that should
9968 # okay in the real world where ";" in dirpaths is itself problematic.
9969 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9972 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9975 # Ok, now we have the path, separated by spaces, we can step through it
9976 # and add multilib dir if necessary.
9977 lt_tmp_lt_search_path_spec=
9978 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9979 for lt_sys_path in $lt_search_path_spec; do
9980 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9981 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9983 test -d "$lt_sys_path" && \
9984 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9987 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9988 BEGIN {RS=" "; FS="/|\n";} {
9991 for (lt_i = NF; lt_i > 0; lt_i--) {
9992 if ($lt_i != "" && $lt_i != ".") {
9993 if ($lt_i == "..") {
9996 if (lt_count == 0) {
9997 lt_foo="/" $lt_i lt_foo;
10004 if (lt_foo != "") { lt_freq[lt_foo]++; }
10005 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10007 # AWK program above erroneously prepends '/' to C:/dos/paths
10010 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10011 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10013 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10015 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10017 library_names_spec=
10018 libname_spec='lib$name'
10022 postuninstall_cmds=
10026 shlibpath_overrides_runpath=unknown
10028 dynamic_linker="$host_os ld.so"
10029 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10030 need_lib_prefix=unknown
10031 hardcode_into_libs=no
10033 # when you set need_version to no, make sure it does not cause -set_version
10034 # flags to be left without arguments
10035 need_version=unknown
10039 version_type=linux # correct to gnu/linux during the next big refactor
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10041 shlibpath_var=LIBPATH
10043 # AIX 3 has no versioning support, so we append a major version to the name.
10044 soname_spec='${libname}${release}${shared_ext}$major'
10048 version_type=linux # correct to gnu/linux during the next big refactor
10051 hardcode_into_libs=yes
10052 if test "$host_cpu" = ia64; then
10053 # AIX 5 supports IA64
10054 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10055 shlibpath_var=LD_LIBRARY_PATH
10057 # With GCC up to 2.95.x, collect2 would create an import file
10058 # for dependence libraries. The import file would start with
10059 # the line `#! .'. This would cause the generated library to
10060 # depend on `.', always an invalid library. This was fixed in
10061 # development snapshots of GCC prior to 3.0.
10063 aix4 | aix4.[01] | aix4.[01].*)
10064 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10066 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10069 can_build_shared=no
10073 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10074 # soname into executable. Probably we can add versioning support to
10075 # collect2, so additional links can be useful in future.
10076 if test "$aix_use_runtimelinking" = yes; then
10077 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10078 # instead of lib<name>.a to let people know that these are not
10079 # typical AIX shared libraries.
10080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082 # We preserve .a as extension for shared libraries through AIX4.2
10083 # and later when we are not doing run time linking.
10084 library_names_spec='${libname}${release}.a $libname.a'
10085 soname_spec='${libname}${release}${shared_ext}$major'
10087 shlibpath_var=LIBPATH
10094 # Since July 2007 AmigaOS4 officially supports .so libraries.
10095 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099 library_names_spec='$libname.ixlibrary $libname.a'
10100 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10101 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10107 library_names_spec='${libname}${shared_ext}'
10108 dynamic_linker="$host_os ld.so"
10109 shlibpath_var=LIBRARY_PATH
10113 version_type=linux # correct to gnu/linux during the next big refactor
10115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10116 soname_spec='${libname}${release}${shared_ext}$major'
10117 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10118 shlibpath_var=LD_LIBRARY_PATH
10119 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10120 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10121 # the default ld.so.conf also contains /usr/contrib/lib and
10122 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10123 # libtool to hard-code these into programs
10126 cygwin* | mingw* | pw32* | cegcc*)
10127 version_type=windows
10132 case $GCC,$cc_basename in
10135 library_names_spec='$libname.dll.a'
10136 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10137 postinstall_cmds='base_file=`basename \${file}`~
10138 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10139 dldir=$destdir/`dirname \$dlpath`~
10140 test -d \$dldir || mkdir -p \$dldir~
10141 $install_prog $dir/$dlname \$dldir/$dlname~
10142 chmod a+x \$dldir/$dlname~
10143 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10144 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10146 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10147 dlpath=$dir/\$dldll~
10149 shlibpath_overrides_runpath=yes
10153 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10154 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10156 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10159 # MinGW DLLs use traditional 'lib' prefix
10160 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10163 # pw32 DLLs use 'pw' prefix rather than 'lib'
10164 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10167 dynamic_linker='Win32 ld.exe'
10172 libname_spec='$name'
10173 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10174 library_names_spec='${libname}.dll.lib'
10178 sys_lib_search_path_spec=
10181 for lt_path in $LIB
10184 # Let DOS variable expansion print the short 8.3 style file name.
10185 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10186 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10189 # Convert to MSYS style.
10190 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10193 # Convert to unix form, then to dos form, then back to unix form
10194 # but this time dos style (no spaces!) so that the unix form looks
10195 # like /cygdrive/c/PROGRA~1:/cygdr...
10196 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10197 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10198 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10201 sys_lib_search_path_spec="$LIB"
10202 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10203 # It is most probably a Windows format PATH.
10204 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10206 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10208 # FIXME: find the short name or the path components, as spaces are
10209 # common. (e.g. "Program Files" -> "PROGRA~1")
10213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10214 postinstall_cmds='base_file=`basename \${file}`~
10215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10216 dldir=$destdir/`dirname \$dlpath`~
10217 test -d \$dldir || mkdir -p \$dldir~
10218 $install_prog $dir/$dlname \$dldir/$dlname'
10219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10220 dlpath=$dir/\$dldll~
10222 shlibpath_overrides_runpath=yes
10223 dynamic_linker='Win32 link.exe'
10227 # Assume MSVC wrapper
10228 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10229 dynamic_linker='Win32 ld.exe'
10232 # FIXME: first we should search . and the directory the executable is in
10236 darwin* | rhapsody*)
10237 dynamic_linker="$host_os dyld"
10238 version_type=darwin
10241 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10242 soname_spec='${libname}${release}${major}$shared_ext'
10243 shlibpath_overrides_runpath=yes
10244 shlibpath_var=DYLD_LIBRARY_PATH
10245 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10247 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10248 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10252 version_type=linux # correct to gnu/linux during the next big refactor
10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10256 soname_spec='${libname}${release}${shared_ext}$major'
10257 shlibpath_var=LD_LIBRARY_PATH
10260 freebsd* | dragonfly*)
10261 # DragonFly does not have aout. When/if they implement a new
10262 # versioning mechanism, adjust this.
10263 if test -x /usr/bin/objformat; then
10264 objformat=`/usr/bin/objformat`
10267 freebsd[23].*) objformat=aout ;;
10268 *) objformat=elf ;;
10271 version_type=freebsd-$objformat
10272 case $version_type in
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10283 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10288 freebsd3.[01]* | freebsdelf3.[01]*)
10289 shlibpath_overrides_runpath=yes
10290 hardcode_into_libs=yes
10292 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10293 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10294 shlibpath_overrides_runpath=no
10295 hardcode_into_libs=yes
10297 *) # from 4.6 on, and DragonFly
10298 shlibpath_overrides_runpath=yes
10299 hardcode_into_libs=yes
10305 version_type=linux # correct to gnu/linux during the next big refactor
10308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10309 soname_spec='${libname}${release}${shared_ext}$major'
10310 shlibpath_var=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath=no
10312 hardcode_into_libs=yes
10316 version_type=linux # correct to gnu/linux during the next big refactor
10319 dynamic_linker="$host_os runtime_loader"
10320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10321 soname_spec='${libname}${release}${shared_ext}$major'
10322 shlibpath_var=LIBRARY_PATH
10323 shlibpath_overrides_runpath=yes
10324 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10325 hardcode_into_libs=yes
10328 hpux9* | hpux10* | hpux11*)
10329 # Give a soname corresponding to the major version so that dld.sl refuses to
10330 # link against other versions.
10337 hardcode_into_libs=yes
10338 dynamic_linker="$host_os dld.so"
10339 shlibpath_var=LD_LIBRARY_PATH
10340 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342 soname_spec='${libname}${release}${shared_ext}$major'
10343 if test "X$HPUX_IA64_MODE" = X32; then
10344 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10346 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10348 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10352 hardcode_into_libs=yes
10353 dynamic_linker="$host_os dld.sl"
10354 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10355 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 soname_spec='${libname}${release}${shared_ext}$major'
10358 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10359 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10363 dynamic_linker="$host_os dld.sl"
10364 shlibpath_var=SHLIB_PATH
10365 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367 soname_spec='${libname}${release}${shared_ext}$major'
10370 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10371 postinstall_cmds='chmod 555 $lib'
10372 # or fails outright, so override atomically:
10373 install_override_mode=555
10377 version_type=linux # correct to gnu/linux during the next big refactor
10380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381 soname_spec='${libname}${release}${shared_ext}$major'
10382 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10383 shlibpath_var=LD_LIBRARY_PATH
10384 shlibpath_overrides_runpath=no
10385 hardcode_into_libs=yes
10388 irix5* | irix6* | nonstopux*)
10390 nonstopux*) version_type=nonstopux ;;
10392 if test "$lt_cv_prog_gnu_ld" = yes; then
10393 version_type=linux # correct to gnu/linux during the next big refactor
10400 soname_spec='${libname}${release}${shared_ext}$major'
10401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10403 irix5* | nonstopux*)
10404 libsuff= shlibsuff=
10407 case $LD in # libtool.m4 will add one of these switches to LD
10408 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10409 libsuff= shlibsuff= libmagic=32-bit;;
10410 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10411 libsuff=32 shlibsuff=N32 libmagic=N32;;
10412 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10413 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10414 *) libsuff= shlibsuff= libmagic=never-match;;
10418 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10419 shlibpath_overrides_runpath=no
10420 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10421 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10422 hardcode_into_libs=yes
10425 # No shared lib support for Linux oldld, aout, or coff.
10426 linux*oldld* | linux*aout* | linux*coff*)
10430 # This must be glibc/ELF.
10431 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10432 version_type=linux # correct to gnu/linux during the next big refactor
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436 soname_spec='${libname}${release}${shared_ext}$major'
10437 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10438 shlibpath_var=LD_LIBRARY_PATH
10439 shlibpath_overrides_runpath=no
10441 # Some binutils ld are patched to set DT_RUNPATH
10442 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10443 $as_echo_n "(cached) " >&6
10445 lt_cv_shlibpath_overrides_runpath=no
10446 save_LDFLAGS=$LDFLAGS
10447 save_libdir=$libdir
10448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10461 if ac_fn_c_try_link "$LINENO"; then :
10462 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10463 lt_cv_shlibpath_overrides_runpath=yes
10466 rm -f core conftest.err conftest.$ac_objext \
10467 conftest$ac_exeext conftest.$ac_ext
10468 LDFLAGS=$save_LDFLAGS
10469 libdir=$save_libdir
10473 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10475 # This implies no fast_install, which is unacceptable.
10476 # Some rework will be needed to allow for fast_install
10477 # before this can be enabled.
10478 hardcode_into_libs=yes
10480 # Append ld.so.conf contents to the search path
10481 if test -f /etc/ld.so.conf; then
10482 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;s/"//g;/^$/d' | tr '\n' ' '`
10483 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10486 # We used to test for /lib/ld.so.1 and disable shared libraries on
10487 # powerpc, because MkLinux only supported shared libraries with the
10488 # GNU dynamic linker. Since this was broken with cross compilers,
10489 # most powerpc-linux boxes support dynamic linking these days and
10490 # people can always --disable-shared, the test was removed, and we
10491 # assume the GNU/Linux dynamic linker is in use.
10492 dynamic_linker='GNU/Linux ld.so'
10499 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10501 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10502 dynamic_linker='NetBSD (a.out) ld.so'
10504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10505 soname_spec='${libname}${release}${shared_ext}$major'
10506 dynamic_linker='NetBSD ld.elf_so'
10508 shlibpath_var=LD_LIBRARY_PATH
10509 shlibpath_overrides_runpath=yes
10510 hardcode_into_libs=yes
10514 version_type=linux # correct to gnu/linux during the next big refactor
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516 shlibpath_var=LD_LIBRARY_PATH
10517 shlibpath_overrides_runpath=yes
10524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 soname_spec='${libname}${release}${shared_ext}$major'
10526 shlibpath_var=LD_LIBRARY_PATH
10527 shlibpath_overrides_runpath=no
10528 hardcode_into_libs=yes
10529 dynamic_linker='ldqnx.so'
10534 sys_lib_dlsearch_path_spec="/usr/lib"
10536 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10538 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10539 *) need_version=no ;;
10541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10542 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10543 shlibpath_var=LD_LIBRARY_PATH
10544 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10546 openbsd2.[89] | openbsd2.[89].*)
10547 shlibpath_overrides_runpath=no
10550 shlibpath_overrides_runpath=yes
10554 shlibpath_overrides_runpath=yes
10559 libname_spec='$name'
10562 library_names_spec='$libname${shared_ext} $libname.a'
10563 dynamic_linker='OS/2 ld.exe'
10564 shlibpath_var=LIBPATH
10567 osf3* | osf4* | osf5*)
10571 soname_spec='${libname}${release}${shared_ext}$major'
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573 shlibpath_var=LD_LIBRARY_PATH
10574 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10575 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10583 version_type=linux # correct to gnu/linux during the next big refactor
10586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587 soname_spec='${libname}${release}${shared_ext}$major'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 shlibpath_overrides_runpath=yes
10590 hardcode_into_libs=yes
10591 # ldd complains unless libraries are executable
10592 postinstall_cmds='chmod +x $lib'
10597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10598 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10599 shlibpath_var=LD_LIBRARY_PATH
10600 shlibpath_overrides_runpath=yes
10601 if test "$with_gnu_ld" = yes; then
10608 version_type=linux # correct to gnu/linux during the next big refactor
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 case $host_vendor in
10614 shlibpath_overrides_runpath=no
10616 runpath_var=LD_RUN_PATH
10624 shlibpath_overrides_runpath=no
10625 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10631 if test -d /usr/nec ;then
10632 version_type=linux # correct to gnu/linux during the next big refactor
10633 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10634 soname_spec='$libname${shared_ext}.$major'
10635 shlibpath_var=LD_LIBRARY_PATH
10639 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10640 version_type=freebsd-elf
10643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10644 soname_spec='${libname}${release}${shared_ext}$major'
10645 shlibpath_var=LD_LIBRARY_PATH
10646 shlibpath_overrides_runpath=yes
10647 hardcode_into_libs=yes
10648 if test "$with_gnu_ld" = yes; then
10649 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10651 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10654 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10658 sys_lib_dlsearch_path_spec='/usr/lib'
10662 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10663 version_type=linux # correct to gnu/linux during the next big refactor
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=no
10669 hardcode_into_libs=yes
10673 version_type=linux # correct to gnu/linux during the next big refactor
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 shlibpath_var=LD_LIBRARY_PATH
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10684 $as_echo "$dynamic_linker" >&6; }
10685 test "$dynamic_linker" = no && can_build_shared=no
10687 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10688 if test "$GCC" = yes; then
10689 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10692 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10693 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10695 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10696 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10791 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10793 if test -n "$hardcode_libdir_flag_spec" ||
10794 test -n "$runpath_var" ||
10795 test "X$hardcode_automatic" = "Xyes" ; then
10797 # We can hardcode non-existent directories.
10798 if test "$hardcode_direct" != no &&
10799 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10800 # have to relink, otherwise we might link with an installed library
10801 # when we should be linking with a yet-to-be-installed one
10802 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10803 test "$hardcode_minus_L" != no; then
10804 # Linking always hardcodes the temporary library directory.
10805 hardcode_action=relink
10807 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10808 hardcode_action=immediate
10811 # We cannot hardcode anything, or else we can only hardcode existing
10813 hardcode_action=unsupported
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10816 $as_echo "$hardcode_action" >&6; }
10818 if test "$hardcode_action" = relink ||
10819 test "$inherit_rpath" = yes; then
10820 # Fast installation is not supported
10821 enable_fast_install=no
10822 elif test "$shlibpath_overrides_runpath" = yes ||
10823 test "$enable_shared" = no; then
10824 # Fast installation is not necessary
10825 enable_fast_install=needless
10833 if test "x$enable_dlopen" != xyes; then
10834 enable_dlopen=unknown
10835 enable_dlopen_self=unknown
10836 enable_dlopen_self_static=unknown
10843 lt_cv_dlopen="load_add_on"
10845 lt_cv_dlopen_self=yes
10848 mingw* | pw32* | cegcc*)
10849 lt_cv_dlopen="LoadLibrary"
10854 lt_cv_dlopen="dlopen"
10859 # if libdl is installed we need to link against it
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10861 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10862 if ${ac_cv_lib_dl_dlopen+:} false; then :
10863 $as_echo_n "(cached) " >&6
10865 ac_check_lib_save_LIBS=$LIBS
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 ac_cv_lib_dl_dlopen=yes
10888 ac_cv_lib_dl_dlopen=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10895 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10896 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10897 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10900 lt_cv_dlopen="dyld"
10902 lt_cv_dlopen_self=yes
10909 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10910 if test "x$ac_cv_func_shl_load" = xyes; then :
10911 lt_cv_dlopen="shl_load"
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10914 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10915 if ${ac_cv_lib_dld_shl_load+:} false; then :
10916 $as_echo_n "(cached) " >&6
10918 ac_check_lib_save_LIBS=$LIBS
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10933 return shl_load ();
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_dld_shl_load=yes
10941 ac_cv_lib_dld_shl_load=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10948 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10949 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10950 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10952 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10953 if test "x$ac_cv_func_dlopen" = xyes; then :
10954 lt_cv_dlopen="dlopen"
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10957 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10958 if ${ac_cv_lib_dl_dlopen+:} false; then :
10959 $as_echo_n "(cached) " >&6
10961 ac_check_lib_save_LIBS=$LIBS
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 ac_cv_lib_dl_dlopen=yes
10984 ac_cv_lib_dl_dlopen=no
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10991 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10992 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10993 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10996 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10997 if ${ac_cv_lib_svld_dlopen+:} false; then :
10998 $as_echo_n "(cached) " >&6
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-lsvld $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 ac_cv_lib_svld_dlopen=yes
11023 ac_cv_lib_svld_dlopen=no
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11030 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11031 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11032 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11035 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11036 if ${ac_cv_lib_dld_dld_link+:} false; then :
11037 $as_echo_n "(cached) " >&6
11039 ac_check_lib_save_LIBS=$LIBS
11041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h. */
11044 /* Override any GCC internal prototype to avoid an error.
11045 Use char because int might match the return type of a GCC
11046 builtin and then its argument prototype would still apply. */
11054 return dld_link ();
11059 if ac_fn_c_try_link "$LINENO"; then :
11060 ac_cv_lib_dld_dld_link=yes
11062 ac_cv_lib_dld_dld_link=no
11064 rm -f core conftest.err conftest.$ac_objext \
11065 conftest$ac_exeext conftest.$ac_ext
11066 LIBS=$ac_check_lib_save_LIBS
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11069 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11070 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11071 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11092 if test "x$lt_cv_dlopen" != xno; then
11098 case $lt_cv_dlopen in
11100 save_CPPFLAGS="$CPPFLAGS"
11101 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11103 save_LDFLAGS="$LDFLAGS"
11104 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11107 LIBS="$lt_cv_dlopen_libs $LIBS"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11110 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11111 if ${lt_cv_dlopen_self+:} false; then :
11112 $as_echo_n "(cached) " >&6
11114 if test "$cross_compiling" = yes; then :
11115 lt_cv_dlopen_self=cross
11117 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11118 lt_status=$lt_dlunknown
11119 cat > conftest.$ac_ext <<_LT_EOF
11120 #line $LINENO "configure"
11121 #include "confdefs.h"
11130 # define LT_DLGLOBAL RTLD_GLOBAL
11133 # define LT_DLGLOBAL DL_GLOBAL
11135 # define LT_DLGLOBAL 0
11139 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11140 find out it does not work in some platform. */
11141 #ifndef LT_DLLAZY_OR_NOW
11143 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11146 # define LT_DLLAZY_OR_NOW DL_LAZY
11149 # define LT_DLLAZY_OR_NOW RTLD_NOW
11152 # define LT_DLLAZY_OR_NOW DL_NOW
11154 # define LT_DLLAZY_OR_NOW 0
11161 /* When -fvisbility=hidden is used, assume the code has been annotated
11162 correspondingly for the symbols needed. */
11163 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11164 int fnord () __attribute__((visibility("default")));
11167 int fnord () { return 42; }
11170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11171 int status = $lt_dlunknown;
11175 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11178 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11179 else puts (dlerror ());
11181 /* dlclose (self); */
11189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11190 (eval $ac_link) 2>&5
11192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11193 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11194 (./conftest; exit; ) >&5 2>/dev/null
11196 case x$lt_status in
11197 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11198 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11199 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11202 # compilation failed
11203 lt_cv_dlopen_self=no
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11211 $as_echo "$lt_cv_dlopen_self" >&6; }
11213 if test "x$lt_cv_dlopen_self" = xyes; then
11214 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11216 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11217 if ${lt_cv_dlopen_self_static+:} false; then :
11218 $as_echo_n "(cached) " >&6
11220 if test "$cross_compiling" = yes; then :
11221 lt_cv_dlopen_self_static=cross
11223 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11224 lt_status=$lt_dlunknown
11225 cat > conftest.$ac_ext <<_LT_EOF
11226 #line $LINENO "configure"
11227 #include "confdefs.h"
11236 # define LT_DLGLOBAL RTLD_GLOBAL
11239 # define LT_DLGLOBAL DL_GLOBAL
11241 # define LT_DLGLOBAL 0
11245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246 find out it does not work in some platform. */
11247 #ifndef LT_DLLAZY_OR_NOW
11249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11252 # define LT_DLLAZY_OR_NOW DL_LAZY
11255 # define LT_DLLAZY_OR_NOW RTLD_NOW
11258 # define LT_DLLAZY_OR_NOW DL_NOW
11260 # define LT_DLLAZY_OR_NOW 0
11267 /* When -fvisbility=hidden is used, assume the code has been annotated
11268 correspondingly for the symbols needed. */
11269 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11270 int fnord () __attribute__((visibility("default")));
11273 int fnord () { return 42; }
11276 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11277 int status = $lt_dlunknown;
11281 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11284 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11285 else puts (dlerror ());
11287 /* dlclose (self); */
11295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11296 (eval $ac_link) 2>&5
11298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11300 (./conftest; exit; ) >&5 2>/dev/null
11302 case x$lt_status in
11303 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11304 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11305 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11308 # compilation failed
11309 lt_cv_dlopen_self_static=no
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11317 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11320 CPPFLAGS="$save_CPPFLAGS"
11321 LDFLAGS="$save_LDFLAGS"
11326 case $lt_cv_dlopen_self in
11327 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11328 *) enable_dlopen_self=unknown ;;
11331 case $lt_cv_dlopen_self_static in
11332 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11333 *) enable_dlopen_self_static=unknown ;;
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11356 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11357 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11358 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11359 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11361 $as_echo "yes" >&6; }
11363 # FIXME - insert some real tests, host_os isn't really good enough
11366 if test -n "$STRIP" ; then
11367 striplib="$STRIP -x"
11368 old_striplib="$STRIP -S"
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11370 $as_echo "yes" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 $as_echo "no" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378 $as_echo "no" >&6; }
11394 # Report which library types will actually be built
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11396 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11398 $as_echo "$can_build_shared" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11401 $as_echo_n "checking whether to build shared libraries... " >&6; }
11402 test "$can_build_shared" = "no" && enable_shared=no
11404 # On AIX, shared libraries and static libraries use the same namespace, and
11405 # are all built from PIC.
11408 test "$enable_shared" = yes && enable_static=no
11409 if test -n "$RANLIB"; then
11410 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11411 postinstall_cmds='$RANLIB $lib'
11416 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11417 test "$enable_shared" = yes && enable_static=no
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11422 $as_echo "$enable_shared" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11425 $as_echo_n "checking whether to build static libraries... " >&6; }
11426 # Make sure either enable_shared or enable_static is yes.
11427 test "$enable_shared" = yes || enable_static=yes
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11429 $as_echo "$enable_static" >&6; }
11436 ac_cpp='$CPP $CPPFLAGS'
11437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11457 ac_config_commands="$ac_config_commands libtool"
11462 # Only expand once:
11467 ## ------------------------------- ##
11468 ## depdemo specific configuration. ##
11469 ## ------------------------------- ##
11470 STATIC="\`${CONFIG_SHELL} ./libtool --features | ${SED} -n -e '/enable static/s/^.*\$\$/-static/p'\`"
11473 ## ------------------------------ ##
11474 ## Libraries required by depdemo. ##
11475 ## ------------------------------ ##
11478 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
11479 # These system don't have libm, or don't need it
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
11483 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
11484 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
11485 $as_echo_n "(cached) " >&6
11487 ac_check_lib_save_LIBS=$LIBS
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11498 char _mwvalidcheckl ();
11502 return _mwvalidcheckl ();
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_mw__mwvalidcheckl=yes
11510 ac_cv_lib_mw__mwvalidcheckl=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
11517 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
11518 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11523 $as_echo_n "checking for cos in -lm... " >&6; }
11524 if ${ac_cv_lib_m_cos+:} false; then :
11525 $as_echo_n "(cached) " >&6
11527 ac_check_lib_save_LIBS=$LIBS
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 ac_cv_lib_m_cos=yes
11552 rm -f core conftest.err conftest.$ac_objext \
11553 conftest$ac_exeext conftest.$ac_ext
11554 LIBS=$ac_check_lib_save_LIBS
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11557 $as_echo "$ac_cv_lib_m_cos" >&6; }
11558 if test "x$ac_cv_lib_m_cos" = xyes; then :
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
11565 $as_echo_n "checking for cos in -lm... " >&6; }
11566 if ${ac_cv_lib_m_cos+:} false; then :
11567 $as_echo_n "(cached) " >&6
11569 ac_check_lib_save_LIBS=$LIBS
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11589 if ac_fn_c_try_link "$LINENO"; then :
11590 ac_cv_lib_m_cos=yes
11594 rm -f core conftest.err conftest.$ac_objext \
11595 conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
11599 $as_echo "$ac_cv_lib_m_cos" >&6; }
11600 if test "x$ac_cv_lib_m_cos" = xyes; then :
11613 ac_config_files="$ac_config_files Makefile l1/Makefile l2/Makefile l3/Makefile l4/Makefile"
11615 cat >confcache <<\_ACEOF
11616 # This file is a shell script that caches the results of configure
11617 # tests run on this system so they can be shared between configure
11618 # scripts and configure runs, see configure's option --config-cache.
11619 # It is not useful on other systems. If it contains results you don't
11620 # want to keep, you may remove or edit it.
11622 # config.status only pays attention to the cache file if you give it
11623 # the --recheck option to rerun configure.
11625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11627 # following values.
11631 # The following way of writing the cache mishandles newlines in values,
11632 # but we know of no workaround that is simple, portable, and efficient.
11633 # So, we kill variables containing newlines.
11634 # Ultrix sh set writes to stderr and can't be redirected directly,
11635 # and sets the high bit in the cache file unless we assign to the vars.
11637 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11638 eval ac_val=\$$ac_var
11642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11646 _ | IFS | as_nl) ;; #(
11647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11648 *) { eval $ac_var=; unset $ac_var;} ;;
11654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11655 *${as_nl}ac_space=\ *)
11656 # `set' does not quote correctly, so add quotes: double-quote
11657 # substitution turns \\\\ into \\, and sed turns \\ into \.
11660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11663 # `set' quotes correctly as required by POSIX, so do not add quotes.
11664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11678 if test -w "$cache_file"; then
11679 if test "x$cache_file" != "x/dev/null"; then
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11681 $as_echo "$as_me: updating cache $cache_file" >&6;}
11682 if test ! -f "$cache_file" || test -h "$cache_file"; then
11683 cat confcache >"$cache_file"
11685 case $cache_file in #(
11687 mv -f confcache "$cache_file"$$ &&
11688 mv -f "$cache_file"$$ "$cache_file" ;; #(
11690 mv -f confcache "$cache_file" ;;
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11696 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11701 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11702 # Let make expand exec_prefix.
11703 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11705 # Transform confdefs.h into DEFS.
11706 # Protect against shell expansion while executing Makefile rules.
11707 # Protect against Makefile macro expansion.
11709 # If the first sed substitution is executed (which looks for macros that
11710 # take arguments), then branch to the quote section. Otherwise,
11711 # look for a macro that doesn't take arguments.
11721 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11723 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11727 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11740 DEFS=`sed -n "$ac_script" confdefs.h`
11746 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11747 # 1. Remove the extension, and $U if already installed.
11748 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11749 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11750 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11751 # will be set to the directory where LIBOBJS objects are built.
11752 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11753 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11755 LIBOBJS=$ac_libobjs
11757 LTLIBOBJS=$ac_ltlibobjs
11760 if test -n "$EXEEXT"; then
11762 am__EXEEXT_FALSE='#'
11764 am__EXEEXT_TRUE='#'
11768 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11769 as_fn_error $? "conditional \"AMDEP\" was never defined.
11770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11772 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11773 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11777 : "${CONFIG_STATUS=./config.status}"
11779 ac_clean_files_save=$ac_clean_files
11780 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11782 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11784 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11786 # Generated by $as_me.
11787 # Run this file to recreate the current configuration.
11788 # Compiler output produced by configure, useful for debugging
11789 # configure, is in config.log if it exists.
11792 ac_cs_recheck=false
11795 SHELL=\${CONFIG_SHELL-$SHELL}
11798 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11799 ## -------------------- ##
11800 ## M4sh Initialization. ##
11801 ## -------------------- ##
11803 # Be more Bourne compatible
11804 DUALCASE=1; export DUALCASE # for MKS sh
11805 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11808 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11809 # is contrary to our usage. Disable this feature.
11810 alias -g '${1+"$@"}'='"$@"'
11811 setopt NO_GLOB_SUBST
11813 case `(set -o) 2>/dev/null` in #(
11825 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11826 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11827 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11828 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11829 # Prefer a ksh shell builtin over an external printf program on Solaris,
11830 # but without wasting forks for bash or zsh.
11831 if test -z "$BASH_VERSION$ZSH_VERSION" \
11832 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11833 as_echo='print -r --'
11834 as_echo_n='print -rn --'
11835 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11836 as_echo='printf %s\n'
11837 as_echo_n='printf %s'
11839 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11840 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11841 as_echo_n='/usr/ucb/echo -n'
11843 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11844 as_echo_n_body='eval
11848 expr "X$arg" : "X\\(.*\\)$as_nl";
11849 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11851 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11853 export as_echo_n_body
11854 as_echo_n='sh -c $as_echo_n_body as_echo'
11856 export as_echo_body
11857 as_echo='sh -c $as_echo_body as_echo'
11860 # The user is always right.
11861 if test "${PATH_SEPARATOR+set}" != set; then
11863 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11864 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11871 # We need space, tab and new line, in precisely that order. Quoting is
11872 # there to prevent editors from complaining about space-tab.
11873 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11874 # splitting by setting IFS to empty value.)
11877 # Find who we are. Look in the path if we contain no directory separator.
11880 *[\\/]* ) as_myself=$0 ;;
11881 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882 for as_dir in $PATH
11885 test -z "$as_dir" && as_dir=.
11886 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11892 # We did not find ourselves, most probably we were run as `sh COMMAND'
11893 # in which case we are not to be found in the path.
11894 if test "x$as_myself" = x; then
11897 if test ! -f "$as_myself"; then
11898 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11902 # Unset variables that we do not need and which cause bugs (e.g. in
11903 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11904 # suppresses any "Segmentation fault" message there. '((' could
11905 # trigger a bug in pdksh 5.2.14.
11906 for as_var in BASH_ENV ENV MAIL MAILPATH
11907 do eval test x\${$as_var+set} = xset \
11908 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11921 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11924 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11925 # ----------------------------------------
11926 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11927 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11928 # script with STATUS, using 1 if that was 0.
11931 as_status=$1; test $as_status -eq 0 && as_status=1
11933 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11934 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11936 $as_echo "$as_me: error: $2" >&2
11937 as_fn_exit $as_status
11941 # as_fn_set_status STATUS
11942 # -----------------------
11943 # Set $? to STATUS, without forking.
11944 as_fn_set_status ()
11947 } # as_fn_set_status
11949 # as_fn_exit STATUS
11950 # -----------------
11951 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11955 as_fn_set_status $1
11961 # Portably unset VAR.
11964 { eval $1=; unset $1;}
11966 as_unset=as_fn_unset
11967 # as_fn_append VAR VALUE
11968 # ----------------------
11969 # Append the text in VALUE to the end of the definition contained in VAR. Take
11970 # advantage of any shell optimizations that allow amortized linear growth over
11971 # repeated appends, instead of the typical quadratic growth present in naive
11973 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11974 eval 'as_fn_append ()
11985 # as_fn_arith ARG...
11986 # ------------------
11987 # Perform arithmetic evaluation on the ARGs, and store the result in the
11988 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11989 # must be portable across $(()) and expr.
11990 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11991 eval 'as_fn_arith ()
11998 as_val=`expr "$@" || test $? -eq 1`
12003 if expr a : '\(a\)' >/dev/null 2>&1 &&
12004 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12010 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12011 as_basename=basename
12016 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12022 as_me=`$as_basename -- "$0" ||
12023 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12024 X"$0" : 'X\(//\)$' \| \
12025 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12027 sed '/^.*\/\([^/][^/]*\)\/*$/{
12041 # Avoid depending upon Character Ranges.
12042 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12043 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12044 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12045 as_cr_digits='0123456789'
12046 as_cr_alnum=$as_cr_Letters$as_cr_digits
12048 ECHO_C= ECHO_N= ECHO_T=
12049 case `echo -n x` in #(((((
12051 case `echo 'xy\c'` in
12052 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12054 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12061 rm -f conf$$ conf$$.exe conf$$.file
12062 if test -d conf$$.dir; then
12063 rm -f conf$$.dir/conf$$.file
12066 mkdir conf$$.dir 2>/dev/null
12068 if (echo >conf$$.file) 2>/dev/null; then
12069 if ln -s conf$$.file conf$$ 2>/dev/null; then
12071 # ... but there are two gotchas:
12072 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12073 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12074 # In both cases, we have to default to `cp -p'.
12075 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12077 elif ln conf$$.file conf$$ 2>/dev/null; then
12085 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12086 rmdir conf$$.dir 2>/dev/null
12091 # Create "$as_dir" as a directory, including parents if necessary.
12096 -*) as_dir=./$as_dir;;
12098 test -d "$as_dir" || eval $as_mkdir_p || {
12102 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12103 *) as_qdir=$as_dir;;
12105 as_dirs="'$as_qdir' $as_dirs"
12106 as_dir=`$as_dirname -- "$as_dir" ||
12107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12108 X"$as_dir" : 'X\(//\)[^/]' \| \
12109 X"$as_dir" : 'X\(//\)$' \| \
12110 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12111 $as_echo X"$as_dir" |
12112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12116 /^X\(\/\/\)[^/].*/{
12129 test -d "$as_dir" && break
12131 test -z "$as_dirs" || eval "mkdir $as_dirs"
12132 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12136 if mkdir -p . 2>/dev/null; then
12137 as_mkdir_p='mkdir -p "$as_dir"'
12139 test -d ./-p && rmdir ./-p
12143 if test -x / >/dev/null 2>&1; then
12144 as_test_x='test -x'
12146 if ls -dL / >/dev/null 2>&1; then
12153 if test -d "$1"; then
12159 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12160 ???[sx]*):;;*)false;;esac;fi
12164 as_executable_p=$as_test_x
12166 # Sed expression to map a string onto a valid CPP name.
12167 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12169 # Sed expression to map a string onto a valid variable name.
12170 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12174 ## ----------------------------------- ##
12175 ## Main body of $CONFIG_STATUS script. ##
12176 ## ----------------------------------- ##
12178 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12181 # Save the log message, to keep $0 and so on meaningful, and to
12182 # report actual input values of CONFIG_FILES etc. instead of their
12183 # values after options handling.
12185 This file was extended by depdemo $as_me 1.0, which was
12186 generated by GNU Autoconf 2.68. Invocation command line was
12188 CONFIG_FILES = $CONFIG_FILES
12189 CONFIG_HEADERS = $CONFIG_HEADERS
12190 CONFIG_LINKS = $CONFIG_LINKS
12191 CONFIG_COMMANDS = $CONFIG_COMMANDS
12194 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12199 case $ac_config_files in *"
12200 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12206 # Files that config.status was made for.
12207 config_files="$ac_config_files"
12208 config_commands="$ac_config_commands"
12212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12214 \`$as_me' instantiates files and other configuration actions
12215 from templates according to the current configuration. Unless the files
12216 and actions are specified as TAGs, all are instantiated by default.
12218 Usage: $0 [OPTION]... [TAG]...
12220 -h, --help print this help, then exit
12221 -V, --version print version number and configuration settings, then exit
12222 --config print configuration, then exit
12223 -q, --quiet, --silent
12224 do not print progress messages
12225 -d, --debug don't remove temporary files
12226 --recheck update $as_me by reconfiguring in the same conditions
12227 --file=FILE[:TEMPLATE]
12228 instantiate the configuration file FILE
12230 Configuration files:
12233 Configuration commands:
12236 Report bugs to <bug-libtool@gnu.org>."
12239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12240 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12242 depdemo config.status 1.0
12243 configured by $0, generated by GNU Autoconf 2.68,
12244 with options \\"\$ac_cs_config\\"
12246 Copyright (C) 2010 Free Software Foundation, Inc.
12247 This config.status script is free software; the Free Software Foundation
12248 gives unlimited permission to copy, distribute and modify it."
12255 test -n "\$AWK" || AWK=awk
12258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12259 # The default lists apply if the user does not specify any file.
12265 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12266 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12270 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12282 # Handling of the options.
12283 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12285 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12286 $as_echo "$ac_cs_version"; exit ;;
12287 --config | --confi | --conf | --con | --co | --c )
12288 $as_echo "$ac_cs_config"; exit ;;
12289 --debug | --debu | --deb | --de | --d | -d )
12291 --file | --fil | --fi | --f )
12294 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12295 '') as_fn_error $? "missing file argument" ;;
12297 as_fn_append CONFIG_FILES " '$ac_optarg'"
12298 ac_need_defaults=false;;
12299 --he | --h | --help | --hel | -h )
12300 $as_echo "$ac_cs_usage"; exit ;;
12301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12302 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12305 # This is an error.
12306 -*) as_fn_error $? "unrecognized option: \`$1'
12307 Try \`$0 --help' for more information." ;;
12309 *) as_fn_append ac_config_targets " $1"
12310 ac_need_defaults=false ;;
12316 ac_configure_extra_args=
12318 if $ac_cs_silent; then
12320 ac_configure_extra_args="$ac_configure_extra_args --silent"
12324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12325 if \$ac_cs_recheck; then
12326 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12329 CONFIG_SHELL='$SHELL'
12330 export CONFIG_SHELL
12335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12340 ## Running $as_me. ##
12346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12350 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12353 # The HP-UX ksh and POSIX shell print the target directory to stdout
12354 # if CDPATH is set.
12355 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12357 sed_quote_subst='$sed_quote_subst'
12358 double_quote_subst='$double_quote_subst'
12359 delay_variable_subst='$delay_variable_subst'
12360 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12361 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12362 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12363 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12364 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12365 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12366 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12367 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12368 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12369 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12370 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12371 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12372 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12373 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12374 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12375 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12376 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12377 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12378 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12379 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12380 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12381 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12382 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12383 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12384 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12385 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12386 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12387 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12388 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12389 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12390 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12391 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12392 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12393 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12394 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12395 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12396 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12397 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12398 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12399 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12400 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12401 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12402 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12403 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12404 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12405 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12406 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12407 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12408 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12409 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12410 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12411 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12412 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12413 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12414 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12415 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12416 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12417 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12418 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12419 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12420 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12421 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12422 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12423 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12424 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12425 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12426 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12427 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12428 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12429 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12430 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12431 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12432 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12433 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12434 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12435 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12436 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12437 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12438 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12439 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12440 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12441 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12442 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12443 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12444 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12445 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12446 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12447 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12448 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12449 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12450 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12451 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12452 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12453 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12454 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12455 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12456 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12457 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12458 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12459 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12460 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12461 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12462 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12463 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12464 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12465 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12466 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12467 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12468 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12469 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12470 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12471 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12472 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12473 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12474 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12475 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12476 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12477 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12478 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12479 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12480 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12481 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12482 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12483 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12484 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12485 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12486 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12487 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12488 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12489 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12490 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12493 LTCFLAGS='$LTCFLAGS'
12494 compiler='$compiler_DEFAULT'
12496 # A function that is used when there is no print builtin or printf.
12497 func_fallback_echo ()
12499 eval 'cat <<_LTECHO_EOF
12504 # Quote evaled strings.
12521 deplibs_check_method \
12525 sharedlib_from_linklib_cmd \
12528 archiver_list_spec \
12534 lt_cv_sys_global_symbol_pipe \
12535 lt_cv_sys_global_symbol_to_cdecl \
12536 lt_cv_sys_global_symbol_to_c_name_address \
12537 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12538 nm_file_list_spec \
12539 lt_prog_compiler_no_builtin_flag \
12540 lt_prog_compiler_pic \
12541 lt_prog_compiler_wl \
12542 lt_prog_compiler_static \
12543 lt_cv_prog_compiler_c_o \
12552 export_dynamic_flag_spec \
12553 whole_archive_flag_spec \
12554 compiler_needs_object \
12556 allow_undefined_flag \
12557 no_undefined_flag \
12558 hardcode_libdir_flag_spec \
12559 hardcode_libdir_separator \
12563 variables_saved_for_relink \
12565 library_names_spec \
12567 install_override_mode \
12571 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12572 *[\\\\\\\`\\"\\\$]*)
12573 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12576 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12581 # Double-quote double-evaled strings.
12582 for var in reload_cmds \
12583 old_postinstall_cmds \
12584 old_postuninstall_cmds \
12586 extract_expsyms_cmds \
12587 old_archive_from_new_cmds \
12588 old_archive_from_expsyms_cmds \
12590 archive_expsym_cmds \
12592 module_expsym_cmds \
12593 export_symbols_cmds \
12597 postuninstall_cmds \
12599 sys_lib_search_path_spec \
12600 sys_lib_dlsearch_path_spec; do
12601 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12602 *[\\\\\\\`\\"\\\$]*)
12603 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12606 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12611 ac_aux_dir='$ac_aux_dir'
12612 xsi_shell='$xsi_shell'
12613 lt_shell_append='$lt_shell_append'
12615 # See if we are running on zsh, and set the options which allow our
12616 # commands through without removal of \ escapes INIT.
12617 if test -n "\${ZSH_VERSION+set}" ; then
12618 setopt NO_GLOB_SUBST
12624 TIMESTAMP='$TIMESTAMP'
12633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12635 # Handling of arguments.
12636 for ac_config_target in $ac_config_targets
12638 case $ac_config_target in
12639 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12640 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12641 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12642 "l1/Makefile") CONFIG_FILES="$CONFIG_FILES l1/Makefile" ;;
12643 "l2/Makefile") CONFIG_FILES="$CONFIG_FILES l2/Makefile" ;;
12644 "l3/Makefile") CONFIG_FILES="$CONFIG_FILES l3/Makefile" ;;
12645 "l4/Makefile") CONFIG_FILES="$CONFIG_FILES l4/Makefile" ;;
12647 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12652 # If the user did not use the arguments to specify the items to instantiate,
12653 # then the envvar interface is used. Set only those that are not.
12654 # We use the long form for the default assignment because of an extremely
12655 # bizarre bug on SunOS 4.1.3.
12656 if $ac_need_defaults; then
12657 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12658 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12661 # Have a temporary directory for convenience. Make it in the build tree
12662 # simply because there is no reason against having it here, and in addition,
12663 # creating and moving files from /tmp can sometimes cause problems.
12664 # Hook for its removal unless debugging.
12665 # Note that there is a small window in which the directory will not be cleaned:
12666 # after its creation but before its name has been assigned to `$tmp'.
12670 trap 'exit_status=$?
12671 : "${ac_tmp:=$tmp}"
12672 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12674 trap 'as_fn_exit 1' 1 2 13 15
12676 # Create a (secure) tmp directory for tmp files.
12679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12683 tmp=./conf$$-$RANDOM
12684 (umask 077 && mkdir "$tmp")
12685 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12688 # Set up the scripts for CONFIG_FILES section.
12689 # No need to generate them if there are no CONFIG_FILES.
12690 # This happens for instance with `./config.status config.h'.
12691 if test -n "$CONFIG_FILES"; then
12694 ac_cr=`echo X | tr X '\015'`
12695 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12696 # But we know of no other shell where ac_cr would be empty at this
12697 # point, so we can use a bashism as a fallback.
12698 if test "x$ac_cr" = x; then
12699 eval ac_cr=\$\'\\r\'
12701 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12702 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12705 ac_cs_awk_cr=$ac_cr
12708 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12713 echo "cat >conf$$subs.awk <<_ACEOF" &&
12714 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12716 } >conf$$subs.sh ||
12717 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12718 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12720 for ac_last_try in false false false false false :; do
12721 . ./conf$$subs.sh ||
12722 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12724 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12725 if test $ac_delim_n = $ac_delim_num; then
12727 elif $ac_last_try; then
12728 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12730 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12733 rm -f conf$$subs.sh
12735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12736 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12740 s/^/S["/; s/!.*/"]=/
12750 s/\(.\{148\}\)..*/\1/
12752 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12757 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12764 s/\(.\{148\}\)..*/\1/
12766 s/["\\]/\\&/g; s/^/"/; s/$/"/
12770 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12775 ' <conf$$subs.awk | sed '
12780 ' >>$CONFIG_STATUS || ac_write_fail=1
12781 rm -f conf$$subs.awk
12782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12784 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12785 for (key in S) S_is_set[key] = 1
12791 nfields = split(line, field, "@")
12793 len = length(field[1])
12794 for (i = 2; i < nfields; i++) {
12796 keylen = length(key)
12797 if (S_is_set[key]) {
12799 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12800 len += length(value) + length(field[++i])
12811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12812 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12813 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12816 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12817 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12820 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12821 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12822 # trailing colons and then remove the whole line if VPATH becomes empty
12823 # (actually we leave an empty line to preserve line numbers).
12824 if test "x$srcdir" = x.; then
12825 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12844 fi # test -n "$CONFIG_FILES"
12847 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12852 :[FHLC]) ac_mode=$ac_tag; continue;;
12854 case $ac_mode$ac_tag in
12856 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12857 :[FH]-) ac_tag=-:-;;
12858 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12875 -) ac_f="$ac_tmp/stdin";;
12876 *) # Look for the file first in the build tree, then in the source tree
12877 # (if the path is not absolute). The absolute path cannot be DOS-style,
12878 # because $ac_f cannot contain `:'.
12882 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12884 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12886 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12887 as_fn_append ac_file_inputs " '$ac_f'"
12890 # Let's still pretend it is `configure' which instantiates (i.e., don't
12891 # use $as_me), people would be surprised to read:
12892 # /* config.h. Generated by config.status. */
12893 configure_input='Generated from '`
12894 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12896 if test x"$ac_file" != x-; then
12897 configure_input="$ac_file. $configure_input"
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12899 $as_echo "$as_me: creating $ac_file" >&6;}
12901 # Neutralize special characters interpreted by sed in replacement strings.
12902 case $configure_input in #(
12903 *\&* | *\|* | *\\* )
12904 ac_sed_conf_input=`$as_echo "$configure_input" |
12905 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12906 *) ac_sed_conf_input=$configure_input;;
12910 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12916 ac_dir=`$as_dirname -- "$ac_file" ||
12917 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12918 X"$ac_file" : 'X\(//\)[^/]' \| \
12919 X"$ac_file" : 'X\(//\)$' \| \
12920 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12921 $as_echo X"$ac_file" |
12922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12926 /^X\(\/\/\)[^/].*/{
12939 as_dir="$ac_dir"; as_fn_mkdir_p
12943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12945 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12946 # A ".." for each directory in $ac_dir_suffix.
12947 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12948 case $ac_top_builddir_sub in
12949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12953 ac_abs_top_builddir=$ac_pwd
12954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12955 # for backward compatibility:
12956 ac_top_builddir=$ac_top_build_prefix
12959 .) # We are building in place.
12961 ac_top_srcdir=$ac_top_builddir_sub
12962 ac_abs_top_srcdir=$ac_pwd ;;
12963 [\\/]* | ?:[\\/]* ) # Absolute name.
12964 ac_srcdir=$srcdir$ac_dir_suffix;
12965 ac_top_srcdir=$srcdir
12966 ac_abs_top_srcdir=$srcdir ;;
12967 *) # Relative name.
12968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12969 ac_top_srcdir=$ac_top_build_prefix$srcdir
12970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12982 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12983 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12985 ac_MKDIR_P=$MKDIR_P
12987 [\\/$]* | ?:[\\/]* ) ;;
12988 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12993 # If the template does not know about datarootdir, expand it.
12994 # FIXME: This hack should be removed a few years after 2.60.
12995 ac_datarootdir_hack=; ac_datarootdir_seen=
13006 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13007 *datarootdir*) ac_datarootdir_seen=yes;;
13008 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13010 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13013 ac_datarootdir_hack='
13014 s&@datadir@&$datadir&g
13015 s&@docdir@&$docdir&g
13016 s&@infodir@&$infodir&g
13017 s&@localedir@&$localedir&g
13018 s&@mandir@&$mandir&g
13019 s&\\\${datarootdir}&$datarootdir&g' ;;
13023 # Neutralize VPATH when `$srcdir' = `.'.
13024 # Shell code in configure.ac might set extrasub.
13025 # FIXME: do we really want to maintain this feature?
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13027 ac_sed_extra="$ac_vpsub
13030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13033 s|@configure_input@|$ac_sed_conf_input|;t t
13034 s&@top_builddir@&$ac_top_builddir_sub&;t t
13035 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13036 s&@srcdir@&$ac_srcdir&;t t
13037 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13038 s&@top_srcdir@&$ac_top_srcdir&;t t
13039 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13040 s&@builddir@&$ac_builddir&;t t
13041 s&@abs_builddir@&$ac_abs_builddir&;t t
13042 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13043 s&@INSTALL@&$ac_INSTALL&;t t
13044 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13045 $ac_datarootdir_hack
13047 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13048 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13050 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13051 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13052 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13053 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13055 which seems to be undefined. Please make sure it is defined" >&5
13056 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13057 which seems to be undefined. Please make sure it is defined" >&2;}
13059 rm -f "$ac_tmp/stdin"
13061 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13062 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13064 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13068 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13069 $as_echo "$as_me: executing $ac_file commands" >&6;}
13074 case $ac_file$ac_mode in
13075 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13076 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13077 # are listed without --file. Let's play safe and only enable the eval
13078 # if we detect the quoting.
13079 case $CONFIG_FILES in
13080 *\'*) eval set x "$CONFIG_FILES" ;;
13081 *) set x $CONFIG_FILES ;;
13086 # Strip MF so we end up with the name of the file.
13087 mf=`echo "$mf" | sed -e 's/:.*$//'`
13088 # Check whether this is an Automake generated Makefile or not.
13089 # We used to match only the files named `Makefile.in', but
13090 # some people rename them; so instead we look at the file content.
13091 # Grep'ing the first line is not enough: some people post-process
13092 # each Makefile.in and add a new line on top of each file to say so.
13093 # Grep'ing the whole file is not good either: AIX grep has a line
13094 # limit of 2048, but all sed's we know have understand at least 4000.
13095 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13096 dirpart=`$as_dirname -- "$mf" ||
13097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13098 X"$mf" : 'X\(//\)[^/]' \| \
13099 X"$mf" : 'X\(//\)$' \| \
13100 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13106 /^X\(\/\/\)[^/].*/{
13122 # Extract the definition of DEPDIR, am__include, and am__quote
13123 # from the Makefile without running `make'.
13124 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13125 test -z "$DEPDIR" && continue
13126 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13127 test -z "am__include" && continue
13128 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13129 # When using ansi2knr, U may be empty or an underscore; expand it
13130 U=`sed -n 's/^U = //p' < "$mf"`
13131 # Find all dependency output files, they are included files with
13132 # $(DEPDIR) in their names. We invoke sed twice because it is the
13133 # simplest approach to changing $(DEPDIR) to its actual value in the
13135 for file in `sed -n "
13136 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13137 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13138 # Make sure the directory exists.
13139 test -f "$dirpart/$file" && continue
13140 fdir=`$as_dirname -- "$file" ||
13141 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13142 X"$file" : 'X\(//\)[^/]' \| \
13143 X"$file" : 'X\(//\)$' \| \
13144 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13145 $as_echo X"$file" |
13146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13150 /^X\(\/\/\)[^/].*/{
13163 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13164 # echo "creating $dirpart/$file"
13165 echo '# dummy' > "$dirpart/$file"
13172 # See if we are running on zsh, and set the options which allow our
13173 # commands through without removal of \ escapes.
13174 if test -n "${ZSH_VERSION+set}" ; then
13175 setopt NO_GLOB_SUBST
13178 cfgfile="${ofile}T"
13179 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13182 cat <<_LT_EOF >> "$cfgfile"
13185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13190 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13191 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13193 # Written by Gordon Matzigkeit, 1996
13195 # This file is part of GNU Libtool.
13197 # GNU Libtool is free software; you can redistribute it and/or
13198 # modify it under the terms of the GNU General Public License as
13199 # published by the Free Software Foundation; either version 2 of
13200 # the License, or (at your option) any later version.
13202 # As a special exception to the GNU General Public License,
13203 # if you distribute this file as part of a program or library that
13204 # is built using GNU Libtool, you may include this file under the
13205 # same distribution terms that you use for the rest of that program.
13207 # GNU Libtool is distributed in the hope that it will be useful,
13208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13210 # GNU General Public License for more details.
13212 # You should have received a copy of the GNU General Public License
13213 # along with GNU Libtool; see the file COPYING. If not, a copy
13214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13215 # obtained by writing to the Free Software Foundation, Inc.,
13216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13219 # The names of the tagged configurations supported by this script.
13222 # ### BEGIN LIBTOOL CONFIG
13224 # Which release of libtool.m4 was used?
13225 macro_version=$macro_version
13226 macro_revision=$macro_revision
13228 # Assembler program.
13231 # DLL creation program.
13232 DLLTOOL=$lt_DLLTOOL
13234 # Object dumper program.
13235 OBJDUMP=$lt_OBJDUMP
13237 # Whether or not to build shared libraries.
13238 build_libtool_libs=$enable_shared
13240 # Whether or not to build static libraries.
13241 build_old_libs=$enable_static
13243 # What type of objects to build.
13246 # Whether or not to optimize for fast installation.
13247 fast_install=$enable_fast_install
13249 # Shell to use when invoking shell scripts.
13252 # An echo program that protects backslashes.
13255 # The PATH separator for the build system.
13256 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13259 host_alias=$host_alias
13263 # The build system.
13264 build_alias=$build_alias
13268 # A sed program that does not truncate output.
13271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13272 Xsed="\$SED -e 1s/^X//"
13274 # A grep program that handles long lines.
13280 # A literal string matcher.
13283 # A BSD- or MS-compatible name lister.
13286 # Whether we need soft or hard links.
13289 # What is the maximum length of a command?
13290 max_cmd_len=$max_cmd_len
13292 # Object file suffix (normally "o").
13295 # Executable file suffix (normally "").
13298 # whether the shell understands "unset".
13301 # turn spaces into newlines.
13304 # turn newlines into spaces.
13307 # convert \$build file names to \$host format.
13308 to_host_file_cmd=$lt_cv_to_host_file_cmd
13310 # convert \$build files to toolchain format.
13311 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13313 # Method to check whether dependent libraries are shared objects.
13314 deplibs_check_method=$lt_deplibs_check_method
13316 # Command to use when deplibs_check_method = "file_magic".
13317 file_magic_cmd=$lt_file_magic_cmd
13319 # How to find potential files when deplibs_check_method = "file_magic".
13320 file_magic_glob=$lt_file_magic_glob
13322 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13323 want_nocaseglob=$lt_want_nocaseglob
13325 # Command to associate shared and link libraries.
13326 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13331 # Flags to create an archive.
13332 AR_FLAGS=$lt_AR_FLAGS
13334 # How to feed a file listing to the archiver.
13335 archiver_list_spec=$lt_archiver_list_spec
13337 # A symbol stripping program.
13340 # Commands used to install an old-style archive.
13342 old_postinstall_cmds=$lt_old_postinstall_cmds
13343 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13345 # Whether to use a lock for old archive extraction.
13346 lock_old_archive_extraction=$lock_old_archive_extraction
13351 # LTCC compiler flags.
13352 LTCFLAGS=$lt_CFLAGS
13354 # Take the output of nm and produce a listing of raw symbols and C names.
13355 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13357 # Transform the output of nm in a proper C declaration.
13358 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13360 # Transform the output of nm in a C name address pair.
13361 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13363 # Transform the output of nm in a C name address pair when lib prefix is needed.
13364 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13366 # Specify filename containing input files for \$NM.
13367 nm_file_list_spec=$lt_nm_file_list_spec
13369 # The root where to search for dependent libraries,and in which our libraries should be installed.
13370 lt_sysroot=$lt_sysroot
13372 # The name of the directory that contains temporary libtool files.
13375 # Used to examine libraries when file_magic_cmd begins with "file".
13376 MAGIC_CMD=$MAGIC_CMD
13378 # Must we lock files when doing compilation?
13379 need_locks=$lt_need_locks
13382 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13384 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13385 DSYMUTIL=$lt_DSYMUTIL
13387 # Tool to change global to local symbols on Mac OS X.
13390 # Tool to manipulate fat objects and archives on Mac OS X.
13393 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13396 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13397 OTOOL64=$lt_OTOOL64
13399 # Old archive suffix (normally "a").
13402 # Shared library suffix (normally ".so").
13403 shrext_cmds=$lt_shrext_cmds
13405 # The commands to extract the exported symbol list from a shared archive.
13406 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13408 # Variables whose values should be saved in libtool wrapper scripts and
13409 # restored at link time.
13410 variables_saved_for_relink=$lt_variables_saved_for_relink
13412 # Do we need the "lib" prefix for modules?
13413 need_lib_prefix=$need_lib_prefix
13415 # Do we need a version for libraries?
13416 need_version=$need_version
13418 # Library versioning type.
13419 version_type=$version_type
13421 # Shared library runtime path variable.
13422 runpath_var=$runpath_var
13424 # Shared library path variable.
13425 shlibpath_var=$shlibpath_var
13427 # Is shlibpath searched before the hard-coded library search path?
13428 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13430 # Format of library name prefix.
13431 libname_spec=$lt_libname_spec
13433 # List of archive names. First name is the real one, the rest are links.
13434 # The last name is the one that the linker finds with -lNAME
13435 library_names_spec=$lt_library_names_spec
13437 # The coded name of the library, if different from the real name.
13438 soname_spec=$lt_soname_spec
13440 # Permission mode override for installation of shared libraries.
13441 install_override_mode=$lt_install_override_mode
13443 # Command to use after installation of a shared archive.
13444 postinstall_cmds=$lt_postinstall_cmds
13446 # Command to use after uninstallation of a shared archive.
13447 postuninstall_cmds=$lt_postuninstall_cmds
13449 # Commands used to finish a libtool library installation in a directory.
13450 finish_cmds=$lt_finish_cmds
13452 # As "finish_cmds", except a single script fragment to be evaled but
13454 finish_eval=$lt_finish_eval
13456 # Whether we should hardcode library paths into libraries.
13457 hardcode_into_libs=$hardcode_into_libs
13459 # Compile-time system search path for libraries.
13460 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13462 # Run-time system search path for libraries.
13463 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13465 # Whether dlopen is supported.
13466 dlopen_support=$enable_dlopen
13468 # Whether dlopen of programs is supported.
13469 dlopen_self=$enable_dlopen_self
13471 # Whether dlopen of statically linked programs is supported.
13472 dlopen_self_static=$enable_dlopen_self_static
13474 # Commands to strip libraries.
13475 old_striplib=$lt_old_striplib
13476 striplib=$lt_striplib
13479 # The linker used to build libraries.
13482 # How to create reloadable object files.
13483 reload_flag=$lt_reload_flag
13484 reload_cmds=$lt_reload_cmds
13486 # Commands used to build an old-style archive.
13487 old_archive_cmds=$lt_old_archive_cmds
13489 # A language specific compiler.
13492 # Is the compiler the GNU compiler?
13495 # Compiler flag to turn off builtin functions.
13496 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13498 # Additional compiler flags for building library objects.
13499 pic_flag=$lt_lt_prog_compiler_pic
13501 # How to pass a linker flag through the compiler.
13502 wl=$lt_lt_prog_compiler_wl
13504 # Compiler flag to prevent dynamic linking.
13505 link_static_flag=$lt_lt_prog_compiler_static
13507 # Does compiler simultaneously support -c and -o options?
13508 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13510 # Whether or not to add -lc for building shared libraries.
13511 build_libtool_need_lc=$archive_cmds_need_lc
13513 # Whether or not to disallow shared libs when runtime libs are static.
13514 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13516 # Compiler flag to allow reflexive dlopens.
13517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13519 # Compiler flag to generate shared objects directly from archives.
13520 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13522 # Whether the compiler copes with passing no objects directly.
13523 compiler_needs_object=$lt_compiler_needs_object
13525 # Create an old-style archive from a shared archive.
13526 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13528 # Create a temporary old-style archive to link instead of a shared archive.
13529 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13531 # Commands used to build a shared archive.
13532 archive_cmds=$lt_archive_cmds
13533 archive_expsym_cmds=$lt_archive_expsym_cmds
13535 # Commands used to build a loadable module if different from building
13536 # a shared archive.
13537 module_cmds=$lt_module_cmds
13538 module_expsym_cmds=$lt_module_expsym_cmds
13540 # Whether we are building with GNU ld or not.
13541 with_gnu_ld=$lt_with_gnu_ld
13543 # Flag that allows shared libraries with undefined symbols to be built.
13544 allow_undefined_flag=$lt_allow_undefined_flag
13546 # Flag that enforces no undefined symbols.
13547 no_undefined_flag=$lt_no_undefined_flag
13549 # Flag to hardcode \$libdir into a binary during linking.
13550 # This must work even if \$libdir does not exist
13551 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13553 # Whether we need a single "-rpath" flag with a separated argument.
13554 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13557 # DIR into the resulting binary.
13558 hardcode_direct=$hardcode_direct
13560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13561 # DIR into the resulting binary and the resulting library dependency is
13562 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13563 # library is relocated.
13564 hardcode_direct_absolute=$hardcode_direct_absolute
13566 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13567 # into the resulting binary.
13568 hardcode_minus_L=$hardcode_minus_L
13570 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13571 # into the resulting binary.
13572 hardcode_shlibpath_var=$hardcode_shlibpath_var
13574 # Set to "yes" if building a shared library automatically hardcodes DIR
13575 # into the library and all subsequent libraries and executables linked
13577 hardcode_automatic=$hardcode_automatic
13579 # Set to yes if linker adds runtime paths of dependent libraries
13580 # to runtime path list.
13581 inherit_rpath=$inherit_rpath
13583 # Whether libtool must link a program against all its dependency libraries.
13584 link_all_deplibs=$link_all_deplibs
13586 # Set to "yes" if exported symbols are required.
13587 always_export_symbols=$always_export_symbols
13589 # The commands to list exported symbols.
13590 export_symbols_cmds=$lt_export_symbols_cmds
13592 # Symbols that should not be listed in the preloaded symbols.
13593 exclude_expsyms=$lt_exclude_expsyms
13595 # Symbols that must always be exported.
13596 include_expsyms=$lt_include_expsyms
13598 # Commands necessary for linking programs (against libraries) with templates.
13599 prelink_cmds=$lt_prelink_cmds
13601 # Commands necessary for finishing linking programs.
13602 postlink_cmds=$lt_postlink_cmds
13604 # Specify filename containing input files.
13605 file_list_spec=$lt_file_list_spec
13607 # How to hardcode a shared library path into an executable.
13608 hardcode_action=$hardcode_action
13610 # ### END LIBTOOL CONFIG
13616 cat <<\_LT_EOF >> "$cfgfile"
13617 # AIX sometimes has problems with the GCC collect2 program. For some
13618 # reason, if we set the COLLECT_NAMES environment variable, the problems
13619 # vanish in a puff of smoke.
13620 if test "X${COLLECT_NAMES+set}" != Xset; then
13622 export COLLECT_NAMES
13629 ltmain="$ac_aux_dir/ltmain.sh"
13632 # We use sed instead of cat because bash on DJGPP gets confused if
13633 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13634 # text mode, it properly converts lines to CR/LF. This bash problem
13635 # is reportedly fixed, but why not run on old versions too?
13636 sed '$q' "$ltmain" >> "$cfgfile" \
13637 || (rm -f "$cfgfile"; exit 1)
13639 if test x"$xsi_shell" = xyes; then
13640 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13644 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13645 \ * ) func_dirname_result="${3}" ;;\
13647 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13648 && mv -f "$cfgfile.tmp" "$cfgfile" \
13649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13650 test 0 -eq $? || _lt_function_replace_fail=:
13653 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13656 \ func_basename_result="${1##*/}"\
13657 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13658 && mv -f "$cfgfile.tmp" "$cfgfile" \
13659 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13660 test 0 -eq $? || _lt_function_replace_fail=:
13663 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13664 func_dirname_and_basename ()\
13667 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13668 \ * ) func_dirname_result="${3}" ;;\
13670 \ func_basename_result="${1##*/}"\
13671 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13672 && mv -f "$cfgfile.tmp" "$cfgfile" \
13673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13674 test 0 -eq $? || _lt_function_replace_fail=:
13677 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13680 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13681 \ # positional parameters, so assign one to ordinary parameter first.\
13682 \ func_stripname_result=${3}\
13683 \ func_stripname_result=${func_stripname_result#"${1}"}\
13684 \ func_stripname_result=${func_stripname_result%"${2}"}\
13685 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13686 && mv -f "$cfgfile.tmp" "$cfgfile" \
13687 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13688 test 0 -eq $? || _lt_function_replace_fail=:
13691 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13692 func_split_long_opt ()\
13694 \ func_split_long_opt_name=${1%%=*}\
13695 \ func_split_long_opt_arg=${1#*=}\
13696 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13697 && mv -f "$cfgfile.tmp" "$cfgfile" \
13698 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13699 test 0 -eq $? || _lt_function_replace_fail=:
13702 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13703 func_split_short_opt ()\
13705 \ func_split_short_opt_arg=${1#??}\
13706 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13707 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13708 && mv -f "$cfgfile.tmp" "$cfgfile" \
13709 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13710 test 0 -eq $? || _lt_function_replace_fail=:
13713 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13717 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13718 \ *) func_lo2o_result=${1} ;;\
13720 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13721 && mv -f "$cfgfile.tmp" "$cfgfile" \
13722 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13723 test 0 -eq $? || _lt_function_replace_fail=:
13726 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13729 func_xform_result=${1%.*}.lo\
13730 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13731 && mv -f "$cfgfile.tmp" "$cfgfile" \
13732 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13733 test 0 -eq $? || _lt_function_replace_fail=:
13736 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13739 func_arith_result=$(( $* ))\
13740 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13741 && mv -f "$cfgfile.tmp" "$cfgfile" \
13742 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13743 test 0 -eq $? || _lt_function_replace_fail=:
13746 sed -e '/^func_len ()$/,/^} # func_len /c\
13749 func_len_result=${#1}\
13750 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13751 && mv -f "$cfgfile.tmp" "$cfgfile" \
13752 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13753 test 0 -eq $? || _lt_function_replace_fail=:
13757 if test x"$lt_shell_append" = xyes; then
13758 sed -e '/^func_append ()$/,/^} # func_append /c\
13761 eval "${1}+=\\${2}"\
13762 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13763 && mv -f "$cfgfile.tmp" "$cfgfile" \
13764 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13765 test 0 -eq $? || _lt_function_replace_fail=:
13768 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13769 func_append_quoted ()\
13771 \ func_quote_for_eval "${2}"\
13772 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13773 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13774 && mv -f "$cfgfile.tmp" "$cfgfile" \
13775 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13776 test 0 -eq $? || _lt_function_replace_fail=:
13779 # Save a `func_append' function call where possible by direct use of '+='
13780 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13781 && mv -f "$cfgfile.tmp" "$cfgfile" \
13782 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13783 test 0 -eq $? || _lt_function_replace_fail=:
13785 # Save a `func_append' function call even when '+=' is not available
13786 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13787 && mv -f "$cfgfile.tmp" "$cfgfile" \
13788 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13789 test 0 -eq $? || _lt_function_replace_fail=:
13792 if test x"$_lt_function_replace_fail" = x":"; then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13794 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13798 mv -f "$cfgfile" "$ofile" ||
13799 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13810 ac_clean_files=$ac_clean_files_save
13812 test $ac_write_fail = 0 ||
13813 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13816 # configure is writing to config.log, and then calls config.status.
13817 # config.status does its own redirection, appending to config.log.
13818 # Unfortunately, on DOS this fails, as config.log is still kept open
13819 # by configure, so config.status won't be able to write to it; its
13820 # output is simply discarded. So we exec the FD to /dev/null,
13821 # effectively closing config.log, so it can be properly (re)opened and
13822 # appended to by config.status. When coming back to configure, we
13823 # need to make the FD available again.
13824 if test "$no_create" != yes; then
13826 ac_config_status_args=
13827 test "$silent" = yes &&
13828 ac_config_status_args="$ac_config_status_args --quiet"
13830 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13832 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13833 # would make configure fail if this is the last instruction.
13834 $ac_cs_success || as_fn_exit 1
13836 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13838 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}