2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sod 0.2.0-86-g67d1.
5 # Report bugs to <mdw@distorted.org.uk>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: mdw@distorted.org.uk about your system, including any
279 $0: error possibly output before this message. Then install
280 $0: a modern shell, or manually run the script under such a
281 $0: shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='sod'
593 PACKAGE_VERSION='0.2.0-86-g67d1'
594 PACKAGE_STRING='sod 0.2.0-86-g67d1'
595 PACKAGE_BUGREPORT='mdw@distorted.org.uk'
598 ac_unique_file="lib/sod.h"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
705 INSTALL_STRIP_PROGRAM
747 program_transform_name
760 enable_option_checking
762 enable_dependency_tracking
774 ac_precious_vars='build_alias
785 # Initialize some variables set by options.
787 ac_init_version=false
788 ac_unrecognized_opts=
790 # The variables have the same names as the options, with
791 # dashes changed to underlines.
799 program_transform_name=s,x,x,
807 # Installation directory options.
808 # These are left unexpanded so users can "make install exec_prefix=/foo"
809 # and all the variables that are supposed to be based on exec_prefix
810 # by default will actually change.
811 # Use braces instead of parens because sh, perl, etc. also accept them.
812 # (The list follows the same order as the GNU Coding Standards.)
813 bindir='${exec_prefix}/bin'
814 sbindir='${exec_prefix}/sbin'
815 libexecdir='${exec_prefix}/libexec'
816 datarootdir='${prefix}/share'
817 datadir='${datarootdir}'
818 sysconfdir='${prefix}/etc'
819 sharedstatedir='${prefix}/com'
820 localstatedir='${prefix}/var'
821 includedir='${prefix}/include'
822 oldincludedir='/usr/include'
823 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
824 infodir='${datarootdir}/info'
829 libdir='${exec_prefix}/lib'
830 localedir='${datarootdir}/locale'
831 mandir='${datarootdir}/man'
837 # If the previous option needs an argument, assign it.
838 if test -n "$ac_prev"; then
839 eval $ac_prev=\$ac_option
845 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 # Accept the important Cygnus configure options, so we can diagnose typos.
852 case $ac_dashdash$ac_option in
856 -bindir | --bindir | --bindi | --bind | --bin | --bi)
858 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861 -build | --build | --buil | --bui | --bu)
862 ac_prev=build_alias ;;
863 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
864 build_alias=$ac_optarg ;;
866 -cache-file | --cache-file | --cache-fil | --cache-fi \
867 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
868 ac_prev=cache_file ;;
869 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
870 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
871 cache_file=$ac_optarg ;;
874 cache_file=config.cache ;;
876 -datadir | --datadir | --datadi | --datad)
878 -datadir=* | --datadir=* | --datadi=* | --datad=*)
879 datadir=$ac_optarg ;;
881 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
882 | --dataroo | --dataro | --datar)
883 ac_prev=datarootdir ;;
884 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
885 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
886 datarootdir=$ac_optarg ;;
888 -disable-* | --disable-*)
889 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892 as_fn_error $? "invalid feature name: $ac_useropt"
893 ac_useropt_orig=$ac_useropt
894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900 ac_unrecognized_sep=', ';;
902 eval enable_$ac_useropt=no ;;
904 -docdir | --docdir | --docdi | --doc | --do)
906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914 -enable-* | --enable-*)
915 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918 as_fn_error $? "invalid feature name: $ac_useropt"
919 ac_useropt_orig=$ac_useropt
920 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921 case $ac_user_opts in
925 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926 ac_unrecognized_sep=', ';;
928 eval enable_$ac_useropt=\$ac_optarg ;;
930 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932 | --exec | --exe | --ex)
933 ac_prev=exec_prefix ;;
934 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936 | --exec=* | --exe=* | --ex=*)
937 exec_prefix=$ac_optarg ;;
939 -gas | --gas | --ga | --g)
940 # Obsolete; use --with-gas.
943 -help | --help | --hel | --he | -h)
945 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946 ac_init_help=recursive ;;
947 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948 ac_init_help=short ;;
950 -host | --host | --hos | --ho)
951 ac_prev=host_alias ;;
952 -host=* | --host=* | --hos=* | --ho=*)
953 host_alias=$ac_optarg ;;
955 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959 htmldir=$ac_optarg ;;
961 -includedir | --includedir | --includedi | --included | --include \
962 | --includ | --inclu | --incl | --inc)
963 ac_prev=includedir ;;
964 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965 | --includ=* | --inclu=* | --incl=* | --inc=*)
966 includedir=$ac_optarg ;;
968 -infodir | --infodir | --infodi | --infod | --info | --inf)
970 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971 infodir=$ac_optarg ;;
973 -libdir | --libdir | --libdi | --libd)
975 -libdir=* | --libdir=* | --libdi=* | --libd=*)
978 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979 | --libexe | --libex | --libe)
980 ac_prev=libexecdir ;;
981 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982 | --libexe=* | --libex=* | --libe=*)
983 libexecdir=$ac_optarg ;;
985 -localedir | --localedir | --localedi | --localed | --locale)
987 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988 localedir=$ac_optarg ;;
990 -localstatedir | --localstatedir | --localstatedi | --localstated \
991 | --localstate | --localstat | --localsta | --localst | --locals)
992 ac_prev=localstatedir ;;
993 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995 localstatedir=$ac_optarg ;;
997 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 mandir=$ac_optarg ;;
1002 -nfp | --nfp | --nf)
1003 # Obsolete; use --without-fp.
1006 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007 | --no-cr | --no-c | -n)
1010 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016 | --oldin | --oldi | --old | --ol | --o)
1017 ac_prev=oldincludedir ;;
1018 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021 oldincludedir=$ac_optarg ;;
1023 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026 prefix=$ac_optarg ;;
1028 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1029 | --program-pre | --program-pr | --program-p)
1030 ac_prev=program_prefix ;;
1031 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1032 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033 program_prefix=$ac_optarg ;;
1035 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1036 | --program-suf | --program-su | --program-s)
1037 ac_prev=program_suffix ;;
1038 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1039 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040 program_suffix=$ac_optarg ;;
1042 -program-transform-name | --program-transform-name \
1043 | --program-transform-nam | --program-transform-na \
1044 | --program-transform-n | --program-transform- \
1045 | --program-transform | --program-transfor \
1046 | --program-transfo | --program-transf \
1047 | --program-trans | --program-tran \
1048 | --progr-tra | --program-tr | --program-t)
1049 ac_prev=program_transform_name ;;
1050 -program-transform-name=* | --program-transform-name=* \
1051 | --program-transform-nam=* | --program-transform-na=* \
1052 | --program-transform-n=* | --program-transform-=* \
1053 | --program-transform=* | --program-transfor=* \
1054 | --program-transfo=* | --program-transf=* \
1055 | --program-trans=* | --program-tran=* \
1056 | --progr-tra=* | --program-tr=* | --program-t=*)
1057 program_transform_name=$ac_optarg ;;
1059 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062 pdfdir=$ac_optarg ;;
1064 -psdir | --psdir | --psdi | --psd | --ps)
1066 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070 | -silent | --silent | --silen | --sile | --sil)
1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077 sbindir=$ac_optarg ;;
1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081 | --sharedst | --shareds | --shared | --share | --shar \
1083 ac_prev=sharedstatedir ;;
1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088 sharedstatedir=$ac_optarg ;;
1090 -site | --site | --sit)
1092 -site=* | --site=* | --sit=*)
1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098 srcdir=$ac_optarg ;;
1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101 | --syscon | --sysco | --sysc | --sys | --sy)
1102 ac_prev=sysconfdir ;;
1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105 sysconfdir=$ac_optarg ;;
1107 -target | --target | --targe | --targ | --tar | --ta | --t)
1108 ac_prev=target_alias ;;
1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110 target_alias=$ac_optarg ;;
1112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1115 -version | --version | --versio | --versi | --vers | -V)
1116 ac_init_version=: ;;
1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid package name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1132 eval with_$ac_useropt=\$ac_optarg ;;
1134 -without-* | --without-*)
1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138 as_fn_error $? "invalid package name: $ac_useropt"
1139 ac_useropt_orig=$ac_useropt
1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep=', ';;
1148 eval with_$ac_useropt=no ;;
1151 # Obsolete; use --with-x.
1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155 | --x-incl | --x-inc | --x-in | --x-i)
1156 ac_prev=x_includes ;;
1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159 x_includes=$ac_optarg ;;
1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163 ac_prev=x_libraries ;;
1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166 x_libraries=$ac_optarg ;;
1168 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1169 Try \`$0 --help' for more information"
1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' | [0-9]* | *[!_$as_cr_alnum]* )
1177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179 eval $ac_envvar=\$ac_optarg
1180 export $ac_envvar ;;
1183 # FIXME: should be removed in autoconf 3.0.
1184 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193 if test -n "$ac_prev"; then
1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $? "missing argument to $ac_option"
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1202 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206 # Check all directory arguments for consistency.
1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val=\$$ac_var
1213 # Remove trailing slashes.
1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\$ac_val;;
1219 # Be sure to have absolute directory names.
1221 [\\/$]* | ?:[\\/]* ) continue;;
1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227 # There might be people who depend on the old broken behavior: `$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1232 target=$target_alias
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x; then
1236 if test "x$build_alias" = x; then
1237 cross_compiling=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246 test "$silent" = yes && exec 6>/dev/null
1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di=`ls -di .` &&
1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $? "working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $? "pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var in $ac_precious_vars; do
1310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_${ac_var}_value=\$${ac_var}
1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures sod 0.2.0-86-g67d1 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/sod]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1386 --build=BUILD configure for building on BUILD [guessed]
1387 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive ) echo "Configuration of sod 0.2.0-86-g67d1:";;
1398 --disable-option-checking ignore unrecognized --enable/--with options
1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1401 --enable-silent-rules less verbose build output (undo: `make V=1')
1402 --disable-silent-rules verbose build output (undo: `make V=0')
1403 --disable-dependency-tracking speeds up one-time build
1404 --enable-dependency-tracking do not reject slow dependency extractors
1405 --enable-shared[=PKGS] build shared libraries [default=yes]
1406 --enable-static[=PKGS] build static libraries [default=yes]
1407 --enable-fast-install[=PKGS]
1408 optimize for fast installation [default=yes]
1409 --disable-libtool-lock avoid locking (might break parallel builds)
1412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1414 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1416 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1417 --with-sysroot=DIR Search for dependent libraries within DIR
1418 (or the compiler's sysroot if not specified).
1419 --with-lisp-system=SYSTEMS
1420 preference order of cl-launch Lisp systems
1421 --with-lisp-source-dir=DIR
1422 where to install Common Lisp source files
1423 --with-lisp-system-dir=DIR
1424 where to install ASDF system links
1426 Some influential environment variables:
1427 CC C compiler command
1428 CFLAGS C compiler flags
1429 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1430 nonstandard directory <lib dir>
1431 LIBS libraries to pass to the linker, e.g. -l<library>
1432 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433 you have headers in a nonstandard directory <include dir>
1436 Use these variables to override the choices made by `configure' or to help
1437 it to find libraries and programs with nonstandard names/locations.
1439 Report bugs to <mdw@distorted.org.uk>.
1444 if test "$ac_init_help" = "recursive"; then
1445 # If there are subdirs, report their specific --help.
1446 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447 test -d "$ac_dir" ||
1448 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1456 # A ".." for each directory in $ac_dir_suffix.
1457 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1458 case $ac_top_builddir_sub in
1459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1463 ac_abs_top_builddir=$ac_pwd
1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1465 # for backward compatibility:
1466 ac_top_builddir=$ac_top_build_prefix
1469 .) # We are building in place.
1471 ac_top_srcdir=$ac_top_builddir_sub
1472 ac_abs_top_srcdir=$ac_pwd ;;
1473 [\\/]* | ?:[\\/]* ) # Absolute name.
1474 ac_srcdir=$srcdir$ac_dir_suffix;
1475 ac_top_srcdir=$srcdir
1476 ac_abs_top_srcdir=$srcdir ;;
1478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479 ac_top_srcdir=$ac_top_build_prefix$srcdir
1480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1484 cd "$ac_dir" || { ac_status=$?; continue; }
1485 # Check for guested configure.
1486 if test -f "$ac_srcdir/configure.gnu"; then
1488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489 elif test -f "$ac_srcdir/configure"; then
1491 $SHELL "$ac_srcdir/configure" --help=recursive
1493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1495 cd "$ac_pwd" || { ac_status=$?; break; }
1499 test -n "$ac_init_help" && exit $ac_status
1500 if $ac_init_version; then
1502 sod configure 0.2.0-86-g67d1
1503 generated by GNU Autoconf 2.69
1505 Copyright (C) 2012 Free Software Foundation, Inc.
1506 This configure script is free software; the Free Software Foundation
1507 gives unlimited permission to copy, distribute and modify it.
1512 ## ------------------------ ##
1513 ## Autoconf initialization. ##
1514 ## ------------------------ ##
1516 # ac_fn_c_try_compile LINENO
1517 # --------------------------
1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_c_try_compile ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 rm -f conftest.$ac_objext
1523 if { { ac_try="$ac_compile"
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_compile") 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_objext; then :
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550 as_fn_set_status $ac_retval
1552 } # ac_fn_c_try_compile
1554 # ac_fn_c_try_link LINENO
1555 # -----------------------
1556 # Try to link conftest.$ac_ext, and return whether this succeeded.
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 rm -f conftest.$ac_objext conftest$ac_exeext
1561 if { { ac_try="$ac_link"
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_link") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } && {
1577 test -z "$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1579 } && test -s conftest$ac_exeext && {
1580 test "$cross_compiling" = yes ||
1581 test -x conftest$ac_exeext
1585 $as_echo "$as_me: failed program was:" >&5
1586 sed 's/^/| /' conftest.$ac_ext >&5
1590 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1591 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1592 # interfere with the next link command; also delete a directory that is
1593 # left behind by Apple's compiler. We do this before executing the actions.
1594 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596 as_fn_set_status $ac_retval
1598 } # ac_fn_c_try_link
1600 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601 # -------------------------------------------------------
1602 # Tests whether HEADER exists and can be compiled using the include files in
1603 # INCLUDES, setting the cache variable VAR accordingly.
1604 ac_fn_c_check_header_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 $as_echo_n "checking for $2... " >&6; }
1609 if eval \${$3+:} false; then :
1610 $as_echo_n "(cached) " >&6
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1617 if ac_fn_c_try_compile "$LINENO"; then :
1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626 $as_echo "$ac_res" >&6; }
1627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 } # ac_fn_c_check_header_compile
1631 # ac_fn_c_try_cpp LINENO
1632 # ----------------------
1633 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 if { { ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.err
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } > conftest.i && {
1653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1668 # ac_fn_c_try_run LINENO
1669 # ----------------------
1670 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1671 # that executables *can* be run.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_link"
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_link") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1686 { { case "(($ac_try" in
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_try") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; }; }; then :
1698 $as_echo "$as_me: program exited with status $ac_status" >&5
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1702 ac_retval=$ac_status
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1710 # ac_fn_c_check_func LINENO FUNC VAR
1711 # ----------------------------------
1712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1713 ac_fn_c_check_func ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval \${$3+:} false; then :
1719 $as_echo_n "(cached) " >&6
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1725 #define $2 innocuous_$2
1727 /* System header to define __stub macros and hopefully few prototypes,
1728 which can conflict with char $2 (); below.
1729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730 <limits.h> exists even on freestanding compilers. */
1733 # include <limits.h>
1735 # include <assert.h>
1740 /* Override any GCC internal prototype to avoid an error.
1741 Use char because int might match the return type of a GCC
1742 builtin and then its argument prototype would still apply. */
1747 /* The GNU C library defines this for functions which it implements
1748 to always fail with ENOSYS. Some functions are actually named
1749 something starting with __ and the normal name is an alias. */
1750 #if defined __stub_$2 || defined __stub___$2
1762 if ac_fn_c_try_link "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext \
1768 conftest$ac_exeext conftest.$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775 } # ac_fn_c_check_func
1776 cat >config.log <<_ACEOF
1777 This file contains any messages produced by compilers while
1778 running configure, to aid debugging if configure makes a mistake.
1780 It was created by sod $as_me 0.2.0-86-g67d1, which was
1781 generated by GNU Autoconf 2.69. Invocation command line was
1793 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1794 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1795 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1796 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1797 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1799 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1800 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1802 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1803 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1804 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1805 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1806 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1807 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1808 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 test -z "$as_dir" && as_dir=.
1817 $as_echo "PATH: $as_dir"
1833 # Keep a trace of the command line.
1834 # Strip out --no-create and --no-recursion so they do not pile up.
1835 # Strip out --silent because we don't want to record it for future runs.
1836 # Also quote any args containing shell meta-characters.
1837 # Make two passes to allow for proper duplicate-argument suppression.
1841 ac_must_keep_next=false
1847 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1848 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1849 | -silent | --silent | --silen | --sile | --sil)
1852 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1855 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1857 as_fn_append ac_configure_args1 " '$ac_arg'"
1858 if test $ac_must_keep_next = true; then
1859 ac_must_keep_next=false # Got value, back to normal.
1862 *=* | --config-cache | -C | -disable-* | --disable-* \
1863 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1864 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1865 | -with-* | --with-* | -without-* | --without-* | --x)
1866 case "$ac_configure_args0 " in
1867 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1870 -* ) ac_must_keep_next=true ;;
1873 as_fn_append ac_configure_args " '$ac_arg'"
1878 { ac_configure_args0=; unset ac_configure_args0;}
1879 { ac_configure_args1=; unset ac_configure_args1;}
1881 # When interrupted or exit'd, cleanup temporary files, and complete
1882 # config.log. We remove comments because anyway the quotes in there
1883 # would cause problems or look ugly.
1884 # WARNING: Use '\'' to represent an apostrophe within the trap.
1885 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1886 trap 'exit_status=$?
1887 # Save into config.log some information that might help in debugging.
1891 $as_echo "## ---------------- ##
1892 ## Cache variables. ##
1893 ## ---------------- ##"
1895 # The following way of writing the cache mishandles newlines in values,
1897 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1898 eval ac_val=\$$ac_var
1902 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1903 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1906 _ | IFS | as_nl) ;; #(
1907 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1908 *) { eval $ac_var=; unset $ac_var;} ;;
1913 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1914 *${as_nl}ac_space=\ *)
1916 "s/'\''/'\''\\\\'\'''\''/g;
1917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1927 $as_echo "## ----------------- ##
1928 ## Output variables. ##
1929 ## ----------------- ##"
1931 for ac_var in $ac_subst_vars
1933 eval ac_val=\$$ac_var
1935 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1937 $as_echo "$ac_var='\''$ac_val'\''"
1941 if test -n "$ac_subst_files"; then
1942 $as_echo "## ------------------- ##
1943 ## File substitutions. ##
1944 ## ------------------- ##"
1946 for ac_var in $ac_subst_files
1948 eval ac_val=\$$ac_var
1950 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1952 $as_echo "$ac_var='\''$ac_val'\''"
1957 if test -s confdefs.h; then
1958 $as_echo "## ----------- ##
1965 test "$ac_signal" != 0 &&
1966 $as_echo "$as_me: caught signal $ac_signal"
1967 $as_echo "$as_me: exit $exit_status"
1969 rm -f core *.core core.conftest.* &&
1970 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1973 for ac_signal in 1 2 13 15; do
1974 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1978 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1979 rm -f -r conftest* confdefs.h
1981 $as_echo "/* confdefs.h */" > confdefs.h
1983 # Predefined preprocessor variables.
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_NAME "$PACKAGE_NAME"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_STRING "$PACKAGE_STRING"
2001 cat >>confdefs.h <<_ACEOF
2002 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2005 cat >>confdefs.h <<_ACEOF
2006 #define PACKAGE_URL "$PACKAGE_URL"
2010 # Let the site file select an alternate cache file if it wants to.
2011 # Prefer an explicitly selected file to automatically selected ones.
2014 if test -n "$CONFIG_SITE"; then
2015 # We do not want a PATH search for config.site.
2016 case $CONFIG_SITE in #((
2017 -*) ac_site_file1=./$CONFIG_SITE;;
2018 */*) ac_site_file1=$CONFIG_SITE;;
2019 *) ac_site_file1=./$CONFIG_SITE;;
2021 elif test "x$prefix" != xNONE; then
2022 ac_site_file1=$prefix/share/config.site
2023 ac_site_file2=$prefix/etc/config.site
2025 ac_site_file1=$ac_default_prefix/share/config.site
2026 ac_site_file2=$ac_default_prefix/etc/config.site
2028 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2030 test "x$ac_site_file" = xNONE && continue
2031 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2033 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2034 sed 's/^/| /' "$ac_site_file" >&5
2036 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2038 as_fn_error $? "failed to load site script $ac_site_file
2039 See \`config.log' for more details" "$LINENO" 5; }
2043 if test -r "$cache_file"; then
2044 # Some versions of bash will fail to source /dev/null (special files
2045 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2046 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2048 $as_echo "$as_me: loading cache $cache_file" >&6;}
2050 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2051 *) . "./$cache_file";;
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2056 $as_echo "$as_me: creating cache $cache_file" >&6;}
2060 # Check that the precious variables saved in the cache have kept the same
2062 ac_cache_corrupted=false
2063 for ac_var in $ac_precious_vars; do
2064 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2065 eval ac_new_set=\$ac_env_${ac_var}_set
2066 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2067 eval ac_new_val=\$ac_env_${ac_var}_value
2068 case $ac_old_set,$ac_new_set in
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2071 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2072 ac_cache_corrupted=: ;;
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2075 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2076 ac_cache_corrupted=: ;;
2079 if test "x$ac_old_val" != "x$ac_new_val"; then
2080 # differences in whitespace do not lead to failure.
2081 ac_old_val_w=`echo x $ac_old_val`
2082 ac_new_val_w=`echo x $ac_new_val`
2083 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2085 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2086 ac_cache_corrupted=:
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2089 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2090 eval $ac_var=\$ac_old_val
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2093 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2095 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2098 # Pass precious variables to config.status.
2099 if test "$ac_new_set" = set; then
2101 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2102 *) ac_arg=$ac_var=$ac_new_val ;;
2104 case " $ac_configure_args " in
2105 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2106 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2110 if $ac_cache_corrupted; then
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2114 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2115 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2117 ## -------------------- ##
2118 ## Main body of script. ##
2119 ## -------------------- ##
2122 ac_cpp='$CPP $CPPFLAGS'
2123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2130 for ac_dir in config "$srcdir"/config; do
2131 if test -f "$ac_dir/install-sh"; then
2133 ac_install_sh="$ac_aux_dir/install-sh -c"
2135 elif test -f "$ac_dir/install.sh"; then
2137 ac_install_sh="$ac_aux_dir/install.sh -c"
2139 elif test -f "$ac_dir/shtool"; then
2141 ac_install_sh="$ac_aux_dir/shtool install -c"
2145 if test -z "$ac_aux_dir"; then
2146 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2149 # These three variables are undocumented and unsupported,
2150 # and are intended to be withdrawn in a future Autoconf release.
2151 # They can cause serious problems if a builder's source tree is in a directory
2152 # whose full name contains unusual characters.
2153 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2154 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2155 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2158 am__api_version='1.11'
2160 # Find a good install program. We prefer a C program (faster),
2161 # so one script is as good as another. But avoid the broken or
2162 # incompatible versions:
2163 # SysV /etc/install, /usr/sbin/install
2164 # SunOS /usr/etc/install
2165 # IRIX /sbin/install
2167 # AmigaOS /C/install, which installs bootblocks on floppy discs
2168 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2169 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2170 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2171 # OS/2's system install, which has a completely different semantic
2172 # ./install, which can be erroneously created by make from ./install.sh.
2173 # Reject install programs that cannot install multiple files.
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2175 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2176 if test -z "$INSTALL"; then
2177 if ${ac_cv_path_install+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 # Account for people who put trailing slashes in PATH elements.
2186 case $as_dir/ in #((
2187 ./ | .// | /[cC]/* | \
2188 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2189 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2192 # OSF1 and SCO ODT 3.0 have their own names for install.
2193 # Don't use installbsd from OSF since it installs stuff as root
2195 for ac_prog in ginstall scoinst install; do
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2198 if test $ac_prog = install &&
2199 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2200 # AIX install. It has an incompatible calling convention.
2202 elif test $ac_prog = install &&
2203 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2204 # program-specific install script used by HP pwplus--don't use.
2207 rm -rf conftest.one conftest.two conftest.dir
2208 echo one > conftest.one
2209 echo two > conftest.two
2211 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2212 test -s conftest.one && test -s conftest.two &&
2213 test -s conftest.dir/conftest.one &&
2214 test -s conftest.dir/conftest.two
2216 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2229 rm -rf conftest.one conftest.two conftest.dir
2232 if test "${ac_cv_path_install+set}" = set; then
2233 INSTALL=$ac_cv_path_install
2235 # As a last resort, use the slow shell script. Don't cache a
2236 # value for INSTALL within a source directory, because that will
2237 # break other packages using the cache if that directory is
2238 # removed, or if the value is a relative name.
2239 INSTALL=$ac_install_sh
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2243 $as_echo "$INSTALL" >&6; }
2245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2246 # It thinks the first close brace ends the variable substitution.
2247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2251 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2254 $as_echo_n "checking whether build environment is sane... " >&6; }
2257 echo timestamp > conftest.file
2258 # Reject unsafe characters in $srcdir or the absolute working directory
2259 # name. Accept space and tab only in the latter.
2263 *[\\\"\#\$\&\'\`$am_lf]*)
2264 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2267 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2268 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2271 # Do `set' in a subshell so we don't clobber the current shell's
2272 # arguments. Must try -L first in case configure is actually a
2273 # symlink; some systems play weird games with the mod time of symlinks
2274 # (eg FreeBSD returns the mod time of the symlink's containing
2277 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2278 if test "$*" = "X"; then
2280 set X `ls -t "$srcdir/configure" conftest.file`
2283 if test "$*" != "X $srcdir/configure conftest.file" \
2284 && test "$*" != "X conftest.file $srcdir/configure"; then
2286 # If neither matched, then we have a broken ls. This can happen
2287 # if, for instance, CONFIG_SHELL is bash and it inherits a
2288 # broken ls alias from the environment. This has actually
2289 # happened. Such a system could not be considered "sane".
2290 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2291 alias in your environment" "$LINENO" 5
2294 test "$2" = conftest.file
2300 as_fn_error $? "newly created file is older than distributed files!
2301 Check your system clock" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2304 $as_echo "yes" >&6; }
2305 test "$program_prefix" != NONE &&
2306 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2307 # Use a double $ so make ignores it.
2308 test "$program_suffix" != NONE &&
2309 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2310 # Double any \ or $.
2311 # By default was `s,x,x', remove it if useless.
2312 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2313 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2315 # expand $ac_aux_dir to an absolute path
2316 am_aux_dir=`cd $ac_aux_dir && pwd`
2318 if test x"${MISSING+set}" != xset; then
2321 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2323 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2326 # Use eval to expand $SHELL
2327 if eval "$MISSING --run true"; then
2328 am_missing_run="$MISSING --run "
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2332 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2335 if test x"${install_sh}" != xset; then
2338 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2340 install_sh="\${SHELL} $am_aux_dir/install-sh"
2344 # Installed binaries are usually stripped using `strip' when the user
2345 # run `make install-strip'. However `strip' might not be the right
2346 # tool to use in cross-compilation environments, therefore Automake
2347 # will honor the `STRIP' environment variable to overrule this program.
2348 if test "$cross_compiling" != no; then
2349 if test -n "$ac_tool_prefix"; then
2350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2351 set dummy ${ac_tool_prefix}strip; ac_word=$2
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353 $as_echo_n "checking for $ac_word... " >&6; }
2354 if ${ac_cv_prog_STRIP+:} false; then :
2355 $as_echo_n "(cached) " >&6
2357 if test -n "$STRIP"; then
2358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir=.
2365 for ac_exec_ext in '' $ac_executable_extensions; do
2366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 STRIP=$ac_cv_prog_STRIP
2378 if test -n "$STRIP"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2380 $as_echo "$STRIP" >&6; }
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383 $as_echo "no" >&6; }
2388 if test -z "$ac_cv_prog_STRIP"; then
2390 # Extract the first word of "strip", so it can be a program name with args.
2391 set dummy strip; ac_word=$2
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393 $as_echo_n "checking for $ac_word... " >&6; }
2394 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2395 $as_echo_n "(cached) " >&6
2397 if test -n "$ac_ct_STRIP"; then
2398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_ac_ct_STRIP="strip"
2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2418 if test -n "$ac_ct_STRIP"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2420 $as_echo "$ac_ct_STRIP" >&6; }
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2423 $as_echo "no" >&6; }
2426 if test "x$ac_ct_STRIP" = x; then
2429 case $cross_compiling:$ac_tool_warned in
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2433 ac_tool_warned=yes ;;
2438 STRIP="$ac_cv_prog_STRIP"
2442 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2445 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2446 if test -z "$MKDIR_P"; then
2447 if ${ac_cv_path_mkdir+:} false; then :
2448 $as_echo_n "(cached) " >&6
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2454 test -z "$as_dir" && as_dir=.
2455 for ac_prog in mkdir gmkdir; do
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2458 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2459 'mkdir (GNU coreutils) '* | \
2460 'mkdir (coreutils) '* | \
2461 'mkdir (fileutils) '4.1*)
2462 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2472 test -d ./--version && rmdir ./--version
2473 if test "${ac_cv_path_mkdir+set}" = set; then
2474 MKDIR_P="$ac_cv_path_mkdir -p"
2476 # As a last resort, use the slow shell script. Don't cache a
2477 # value for MKDIR_P within a source directory, because that will
2478 # break other packages using the cache if that directory is
2479 # removed, or if the value is a relative name.
2480 MKDIR_P="$ac_install_sh -d"
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2484 $as_echo "$MKDIR_P" >&6; }
2488 [\\/$]* | ?:[\\/]*) ;;
2489 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2492 for ac_prog in gawk mawk nawk awk
2494 # Extract the first word of "$ac_prog", so it can be a program name with args.
2495 set dummy $ac_prog; ac_word=$2
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2497 $as_echo_n "checking for $ac_word... " >&6; }
2498 if ${ac_cv_prog_AWK+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 if test -n "$AWK"; then
2502 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 test -z "$as_dir" && as_dir=.
2509 for ac_exec_ext in '' $ac_executable_extensions; do
2510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2511 ac_cv_prog_AWK="$ac_prog"
2512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 if test -n "$AWK"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2524 $as_echo "$AWK" >&6; }
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2527 $as_echo "no" >&6; }
2531 test -n "$AWK" && break
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2535 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2537 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2538 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2539 $as_echo_n "(cached) " >&6
2541 cat >conftest.make <<\_ACEOF
2544 @echo '@@@%%%=$(MAKE)=@@@%%%'
2546 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2547 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2549 eval ac_cv_prog_make_${ac_make}_set=yes;;
2551 eval ac_cv_prog_make_${ac_make}_set=no;;
2555 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557 $as_echo "yes" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2561 $as_echo "no" >&6; }
2562 SET_MAKE="MAKE=${MAKE-make}"
2565 rm -rf .tst 2>/dev/null
2566 mkdir .tst 2>/dev/null
2567 if test -d .tst; then
2572 rmdir .tst 2>/dev/null
2574 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2575 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2576 # is not polluted with repeated "-I."
2577 am__isrc=' -I$(srcdir)'
2578 # test to see if srcdir already configured
2579 if test -f $srcdir/config.status; then
2580 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2584 # test whether we have cygpath
2585 if test -z "$CYGPATH_W"; then
2586 if (cygpath --version) >/dev/null 2>/dev/null; then
2587 CYGPATH_W='cygpath -w'
2594 # Define the identity of the package.
2596 VERSION='0.2.0-86-g67d1'
2599 cat >>confdefs.h <<_ACEOF
2600 #define PACKAGE "$PACKAGE"
2604 cat >>confdefs.h <<_ACEOF
2605 #define VERSION "$VERSION"
2608 # Some tools Automake needs.
2610 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2613 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2616 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2619 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2622 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2624 # We need awk for the "check" target. The system "awk" is bad on
2626 # Always define AMTAR for backward compatibility. Yes, it's still used
2627 # in the wild :-( We should find a proper way to deprecate it ...
2630 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2638 # Check whether --enable-silent-rules was given.
2639 if test "${enable_silent_rules+set}" = set; then :
2640 enableval=$enable_silent_rules;
2643 case $enable_silent_rules in
2644 yes) AM_DEFAULT_VERBOSITY=0;;
2645 no) AM_DEFAULT_VERBOSITY=1;;
2646 *) AM_DEFAULT_VERBOSITY=0;;
2648 am_make=${MAKE-make}
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2650 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2651 if ${am_cv_make_support_nested_variables+:} false; then :
2652 $as_echo_n "(cached) " >&6
2654 if $as_echo 'TRUE=$(BAR$(V))
2660 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2661 am_cv_make_support_nested_variables=yes
2663 am_cv_make_support_nested_variables=no
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2667 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2668 if test $am_cv_make_support_nested_variables = yes; then
2670 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2672 AM_V=$AM_DEFAULT_VERBOSITY
2673 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2681 ac_cpp='$CPP $CPPFLAGS'
2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2687 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_CC+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$CC"; then
2694 ac_cv_prog_CC="$CC" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716 $as_echo "$CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_CC"; then
2726 # Extract the first word of "gcc", so it can be a program name with args.
2727 set dummy gcc; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_CC"; then
2734 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_ac_ct_CC="gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2754 if test -n "$ac_ct_CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2756 $as_echo "$ac_ct_CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_CC" = x; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned=yes ;;
2777 if test -z "$CC"; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2780 set dummy ${ac_tool_prefix}cc; ac_word=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if ${ac_cv_prog_CC+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC="$CC" # Let the user override the test.
2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir=.
2794 for ac_exec_ext in '' $ac_executable_extensions; do
2795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2796 ac_cv_prog_CC="${ac_tool_prefix}cc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2818 if test -z "$CC"; then
2819 # Extract the first word of "cc", so it can be a program name with args.
2820 set dummy cc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_CC+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2837 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2838 ac_prog_rejected=yes
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test $ac_prog_rejected = yes; then
2850 # We found a bogon in the path, so make sure we never use it.
2851 set dummy $ac_cv_prog_CC
2853 if test $# != 0; then
2854 # We chose a different compiler from the bogus one.
2855 # However, it has the same basename, so the bogon will be chosen
2856 # first if we set CC to just the basename; use the full file name.
2858 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 for ac_prog in cl.exe
2878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if ${ac_cv_prog_CC+:} false; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC="$CC" # Let the user override the test.
2888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir=.
2893 for ac_exec_ext in '' $ac_executable_extensions; do
2894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$CC" && break
2918 if test -z "$CC"; then
2920 for ac_prog in cl.exe
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy $ac_prog; ac_word=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$ac_ct_CC"; then
2930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir=.
2937 for ac_exec_ext in '' $ac_executable_extensions; do
2938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2939 ac_cv_prog_ac_ct_CC="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2950 if test -n "$ac_ct_CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2952 $as_echo "$ac_ct_CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$ac_ct_CC" && break
2962 if test "x$ac_ct_CC" = x; then
2965 case $cross_compiling:$ac_tool_warned in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2969 ac_tool_warned=yes ;;
2978 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error $? "no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details" "$LINENO" 5; }
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2987 for ac_option in --version -v -V -qversion; do
2988 { { ac_try="$ac_compiler $ac_option >&5"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 ac_clean_files_save=$ac_clean_files
3020 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3021 # Try to create an executable without -o first, disregard a.out.
3022 # It will help us diagnose broken compilers, and finding out an intuition
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3025 $as_echo_n "checking whether the C compiler works... " >&6; }
3026 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3028 # The possible output files:
3029 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3032 for ac_file in $ac_files
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3036 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3041 if { { ac_try="$ac_link_default"
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link_default") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3052 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3053 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3054 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3055 # so that the user can short-circuit this test for compilers unknown to
3057 for ac_file in $ac_files ''
3059 test -f "$ac_file" || continue
3061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3064 # We found the default executable, but exeext='' is most
3068 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3070 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 # We set ac_cv_exeext here because the later test for it is not
3073 # safe: cross compilers may not add the suffix if given an `-o'
3074 # argument, so we may need to know it at that point already.
3075 # Even if this section looks crufty: it has the advantage of
3082 test "$ac_cv_exeext" = no && ac_cv_exeext=
3087 if test -z "$ac_file"; then :
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.$ac_ext >&5
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 as_fn_error 77 "C compiler cannot create executables
3096 See \`config.log' for more details" "$LINENO" 5; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3099 $as_echo "yes" >&6; }
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3102 $as_echo_n "checking for C compiler default output file name... " >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3104 $as_echo "$ac_file" >&6; }
3105 ac_exeext=$ac_cv_exeext
3107 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3108 ac_clean_files=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3110 $as_echo_n "checking for suffix of executables... " >&6; }
3111 if { { ac_try="$ac_link"
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_link") 2>&5
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; }; then :
3122 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3123 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3124 # work properly (i.e., refer to `conftest.exe'), while it won't with
3126 for ac_file in conftest.exe conftest conftest.*; do
3127 test -f "$ac_file" || continue
3129 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3130 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3139 See \`config.log' for more details" "$LINENO" 5; }
3141 rm -f conftest conftest$ac_cv_exeext
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3143 $as_echo "$ac_cv_exeext" >&6; }
3145 rm -f conftest.$ac_ext
3146 EXEEXT=$ac_cv_exeext
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3154 FILE *f = fopen ("conftest.out", "w");
3155 return ferror (f) || fclose (f) != 0;
3161 ac_clean_files="$ac_clean_files conftest.out"
3162 # Check that the compiler produces executables we can run. If not, either
3163 # the compiler is broken, or we cross compile.
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3165 $as_echo_n "checking whether we are cross compiling... " >&6; }
3166 if test "$cross_compiling" != yes; then
3167 { { ac_try="$ac_link"
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3173 $as_echo "$ac_try_echo"; } >&5
3174 (eval "$ac_link") 2>&5
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }
3178 if { ac_try='./conftest$ac_cv_exeext'
3179 { { case "(($ac_try" in
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_try") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; }; then
3191 if test "$cross_compiling" = maybe; then
3194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error $? "cannot run C compiled programs.
3197 If you meant to cross compile, use \`--host'.
3198 See \`config.log' for more details" "$LINENO" 5; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3203 $as_echo "$cross_compiling" >&6; }
3205 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3206 ac_clean_files=$ac_clean_files_save
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3208 $as_echo_n "checking for suffix of object files... " >&6; }
3209 if ${ac_cv_objext+:} false; then :
3210 $as_echo_n "(cached) " >&6
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3223 rm -f conftest.o conftest.obj
3224 if { { ac_try="$ac_compile"
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_compile") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 for ac_file in conftest.o conftest.obj conftest.*; do
3236 test -f "$ac_file" || continue;
3238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3244 $as_echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $? "cannot compute suffix of object files: cannot compile
3250 See \`config.log' for more details" "$LINENO" 5; }
3252 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3255 $as_echo "$ac_cv_objext" >&6; }
3256 OBJEXT=$ac_cv_objext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3259 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3260 if ${ac_cv_c_compiler_gnu+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3264 /* end confdefs.h. */
3277 if ac_fn_c_try_compile "$LINENO"; then :
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3287 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3288 if test $ac_compiler_gnu = yes; then
3293 ac_test_CFLAGS=${CFLAGS+set}
3294 ac_save_CFLAGS=$CFLAGS
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3296 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3297 if ${ac_cv_prog_cc_g+:} false; then :
3298 $as_echo_n "(cached) " >&6
3300 ac_save_c_werror_flag=$ac_c_werror_flag
3301 ac_c_werror_flag=yes
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 if ac_fn_c_try_compile "$LINENO"; then :
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 ac_c_werror_flag=$ac_save_c_werror_flag
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3357 $as_echo "$ac_cv_prog_cc_g" >&6; }
3358 if test "$ac_test_CFLAGS" = set; then
3359 CFLAGS=$ac_save_CFLAGS
3360 elif test $ac_cv_prog_cc_g = yes; then
3361 if test "$GCC" = yes; then
3367 if test "$GCC" = yes; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3374 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3375 if ${ac_cv_prog_cc_c89+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_cv_prog_cc_c89=no
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3385 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3386 struct buf { int x; };
3387 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3388 static char *e (p, i)
3394 static char *f (char * (*g) (char **, int), char **p, ...)
3399 s = g (p, va_arg (v,int));
3404 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3405 function prototypes and stuff, but not '\xHH' hex character constants.
3406 These don't provoke an error unfortunately, instead are silently treated
3407 as 'x'. The following induces an error, until -std is added to get
3408 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3409 array size at least. It's necessary to write '\x00'==0 to get something
3410 that's true only with -std. */
3411 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3413 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3414 inside strings and character constants. */
3416 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3418 int test (int i, double x);
3419 struct s1 {int (*f) (int a);};
3420 struct s2 {int (*f) (double a);};
3421 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3427 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3432 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3433 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3435 CC="$ac_save_CC $ac_arg"
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 ac_cv_prog_cc_c89=$ac_arg
3439 rm -f core conftest.err conftest.$ac_objext
3440 test "x$ac_cv_prog_cc_c89" != "xno" && break
3442 rm -f conftest.$ac_ext
3447 case "x$ac_cv_prog_cc_c89" in
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3450 $as_echo "none needed" >&6; } ;;
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3453 $as_echo "unsupported" >&6; } ;;
3455 CC="$CC $ac_cv_prog_cc_c89"
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3457 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3459 if test "x$ac_cv_prog_cc_c89" != xno; then :
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3468 DEPDIR="${am__leading_dot}deps"
3470 ac_config_commands="$ac_config_commands depfiles"
3473 am_make=${MAKE-make}
3474 cat > confinc << 'END'
3476 @echo this is the am__doit target
3479 # If we don't find an include directive, just comment out the code.
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3481 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3485 # First try GNU make style include.
3486 echo "include confinc" > confmf
3487 # Ignore all kinds of additional output from `make'.
3488 case `$am_make -s -f confmf 2> /dev/null` in #(
3489 *the\ am__doit\ target*)
3495 # Now try BSD make style include.
3496 if test "$am__include" = "#"; then
3497 echo '.include "confinc"' > confmf
3498 case `$am_make -s -f confmf 2> /dev/null` in #(
3499 *the\ am__doit\ target*)
3500 am__include=.include
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3509 $as_echo "$_am_result" >&6; }
3510 rm -f confinc confmf
3512 # Check whether --enable-dependency-tracking was given.
3513 if test "${enable_dependency_tracking+set}" = set; then :
3514 enableval=$enable_dependency_tracking;
3517 if test "x$enable_dependency_tracking" != xno; then
3518 am_depcomp="$ac_aux_dir/depcomp"
3522 if test "x$enable_dependency_tracking" != xno; then
3532 depcc="$CC" am_compiler_list=
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3535 $as_echo_n "checking dependency style of $depcc... " >&6; }
3536 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3537 $as_echo_n "(cached) " >&6
3539 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3540 # We make a subdir and do the tests there. Otherwise we can end up
3541 # making bogus files that we don't know about and never remove. For
3542 # instance it was reported that on HP-UX the gcc test will end up
3543 # making a dummy file named `D' -- because `-MD' means `put the output
3547 # Copy depcomp to subdir because otherwise we won't find it if we're
3548 # using a relative directory.
3549 cp "$am_depcomp" conftest.dir
3551 # We will build objects and dependencies in a subdirectory because
3552 # it helps to detect inapplicable dependency modes. For instance
3553 # both Tru64's cc and ICC support -MD to output dependencies as a
3554 # side effect of compilation, but ICC will put the dependencies in
3555 # the current directory while Tru64 will put them in the object
3559 am_cv_CC_dependencies_compiler_type=none
3560 if test "$am_compiler_list" = ""; then
3561 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3564 case " $depcc " in #(
3565 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3568 for depmode in $am_compiler_list; do
3569 # Setup a source with many dependencies, because some compilers
3570 # like to wrap large dependency lists on column 80 (with \), and
3571 # we should not choose a depcomp mode which is confused by this.
3573 # We need to recreate these files for each test, as the compiler may
3574 # overwrite some of them when testing with obscure command lines.
3575 # This happens at least with the AIX C compiler.
3577 for i in 1 2 3 4 5 6; do
3578 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3579 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3580 # Solaris 8's {/usr,}/bin/sh.
3581 touch sub/conftst$i.h
3583 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3585 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3586 # mode. It turns out that the SunPro C++ compiler does not properly
3587 # handle `-M -o', and we need to detect this. Also, some Intel
3588 # versions had trouble with output in subdirs
3589 am__obj=sub/conftest.${OBJEXT-o}
3590 am__minus_obj="-o $am__obj"
3593 # This depmode causes a compiler race in universal mode.
3594 test "$am__universal" = false || continue
3597 # after this tag, mechanisms are not by side-effect, so they'll
3598 # only be used when explicitly requested
3599 if test "x$enable_dependency_tracking" = xyes; then
3605 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3606 # This compiler won't grok `-c -o', but also, the minuso test has
3607 # not run yet. These depmodes are late enough in the game, and
3608 # so weak that their functioning should not be impacted.
3609 am__obj=conftest.${OBJEXT-o}
3614 if depmode=$depmode \
3615 source=sub/conftest.c object=$am__obj \
3616 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3617 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3618 >/dev/null 2>conftest.err &&
3619 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3620 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3621 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3622 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3623 # icc doesn't choke on unknown options, it will just issue warnings
3624 # or remarks (even with -Werror). So we grep stderr for any message
3625 # that says an option was ignored or not supported.
3626 # When given -MP, icc 7.0 and 7.1 complain thusly:
3627 # icc: Command line warning: ignoring option '-M'; no argument required
3628 # The diagnosis changed in icc 8.0:
3629 # icc: Command line remark: option '-MP' not supported
3630 if (grep 'ignoring option' conftest.err ||
3631 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3632 am_cv_CC_dependencies_compiler_type=$depmode
3641 am_cv_CC_dependencies_compiler_type=none
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3646 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3647 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3650 test "x$enable_dependency_tracking" != xno \
3651 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3653 am__fastdepCC_FALSE='#'
3655 am__fastdepCC_TRUE='#'
3656 am__fastdepCC_FALSE=
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3663 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3668 macro_version='2.4.2'
3669 macro_revision='1.3337'
3683 ltmain="$ac_aux_dir/ltmain.sh"
3685 # Make sure we can run config.sub.
3686 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3687 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3690 $as_echo_n "checking build system type... " >&6; }
3691 if ${ac_cv_build+:} false; then :
3692 $as_echo_n "(cached) " >&6
3694 ac_build_alias=$build_alias
3695 test "x$ac_build_alias" = x &&
3696 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3697 test "x$ac_build_alias" = x &&
3698 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3699 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3700 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3704 $as_echo "$ac_cv_build" >&6; }
3705 case $ac_cv_build in
3707 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3710 ac_save_IFS=$IFS; IFS='-'
3716 # Remember, the first character of IFS is used to create $*,
3717 # except with old shells:
3720 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3724 $as_echo_n "checking host system type... " >&6; }
3725 if ${ac_cv_host+:} false; then :
3726 $as_echo_n "(cached) " >&6
3728 if test "x$host_alias" = x; then
3729 ac_cv_host=$ac_cv_build
3731 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3732 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3737 $as_echo "$ac_cv_host" >&6; }
3740 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3743 ac_save_IFS=$IFS; IFS='-'
3749 # Remember, the first character of IFS is used to create $*,
3750 # except with old shells:
3753 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3756 # Backslashify metacharacters that are still active within
3757 # double-quoted strings.
3758 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3760 # Same as above, but do not quote variable references.
3761 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3763 # Sed substitution to delay expansion of an escaped shell variable in a
3764 # double_quote_subst'ed string.
3765 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3767 # Sed substitution to delay expansion of an escaped single quote.
3768 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3770 # Sed substitution to avoid accidental globbing in evaled expressions
3771 no_glob_subst='s/\*/\\\*/g'
3773 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3774 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3775 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3778 $as_echo_n "checking how to print strings... " >&6; }
3779 # Test print first, because it will be a builtin if present.
3780 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3781 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3783 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3786 # Use this function as a fallback that always works.
3787 func_fallback_echo ()
3789 eval 'cat <<_LTECHO_EOF
3793 ECHO='func_fallback_echo'
3796 # func_echo_all arg...
3797 # Invoke $ECHO with all args, space-separated.
3804 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3805 $as_echo "printf" >&6; } ;;
3806 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3807 $as_echo "print -r" >&6; } ;;
3808 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3809 $as_echo "cat" >&6; } ;;
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3826 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3827 if ${ac_cv_path_SED+:} false; then :
3828 $as_echo_n "(cached) " >&6
3830 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3831 for ac_i in 1 2 3 4 5 6 7; do
3832 ac_script="$ac_script$as_nl$ac_script"
3834 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3835 { ac_script=; unset ac_script;}
3836 if test -z "$SED"; then
3837 ac_path_SED_found=false
3838 # Loop through the user's path and test for each of PROGNAME-LIST
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir=.
3844 for ac_prog in sed gsed; do
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3847 as_fn_executable_p "$ac_path_SED" || continue
3848 # Check for GNU ac_path_SED and select it if it is found.
3849 # Check for GNU $ac_path_SED
3850 case `"$ac_path_SED" --version 2>&1` in
3852 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3855 $as_echo_n 0123456789 >"conftest.in"
3858 cat "conftest.in" "conftest.in" >"conftest.tmp"
3859 mv "conftest.tmp" "conftest.in"
3860 cp "conftest.in" "conftest.nl"
3861 $as_echo '' >> "conftest.nl"
3862 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3864 as_fn_arith $ac_count + 1 && ac_count=$as_val
3865 if test $ac_count -gt ${ac_path_SED_max-0}; then
3866 # Best one so far, save it but keep looking for a better one
3867 ac_cv_path_SED="$ac_path_SED"
3868 ac_path_SED_max=$ac_count
3870 # 10*(2^10) chars as input seems more than enough
3871 test $ac_count -gt 10 && break
3873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3876 $ac_path_SED_found && break 3
3881 if test -z "$ac_cv_path_SED"; then
3882 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3890 $as_echo "$ac_cv_path_SED" >&6; }
3891 SED="$ac_cv_path_SED"
3894 test -z "$SED" && SED=sed
3895 Xsed="$SED -e 1s/^X//"
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3908 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3909 if ${ac_cv_path_GREP+:} false; then :
3910 $as_echo_n "(cached) " >&6
3912 if test -z "$GREP"; then
3913 ac_path_GREP_found=false
3914 # Loop through the user's path and test for each of PROGNAME-LIST
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3919 test -z "$as_dir" && as_dir=.
3920 for ac_prog in grep ggrep; do
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3923 as_fn_executable_p "$ac_path_GREP" || continue
3924 # Check for GNU ac_path_GREP and select it if it is found.
3925 # Check for GNU $ac_path_GREP
3926 case `"$ac_path_GREP" --version 2>&1` in
3928 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3931 $as_echo_n 0123456789 >"conftest.in"
3934 cat "conftest.in" "conftest.in" >"conftest.tmp"
3935 mv "conftest.tmp" "conftest.in"
3936 cp "conftest.in" "conftest.nl"
3937 $as_echo 'GREP' >> "conftest.nl"
3938 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3939 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3940 as_fn_arith $ac_count + 1 && ac_count=$as_val
3941 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3942 # Best one so far, save it but keep looking for a better one
3943 ac_cv_path_GREP="$ac_path_GREP"
3944 ac_path_GREP_max=$ac_count
3946 # 10*(2^10) chars as input seems more than enough
3947 test $ac_count -gt 10 && break
3949 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3952 $ac_path_GREP_found && break 3
3957 if test -z "$ac_cv_path_GREP"; then
3958 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3961 ac_cv_path_GREP=$GREP
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3966 $as_echo "$ac_cv_path_GREP" >&6; }
3967 GREP="$ac_cv_path_GREP"
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3971 $as_echo_n "checking for egrep... " >&6; }
3972 if ${ac_cv_path_EGREP+:} false; then :
3973 $as_echo_n "(cached) " >&6
3975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3976 then ac_cv_path_EGREP="$GREP -E"
3978 if test -z "$EGREP"; then
3979 ac_path_EGREP_found=false
3980 # Loop through the user's path and test for each of PROGNAME-LIST
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3985 test -z "$as_dir" && as_dir=.
3986 for ac_prog in egrep; do
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3989 as_fn_executable_p "$ac_path_EGREP" || continue
3990 # Check for GNU ac_path_EGREP and select it if it is found.
3991 # Check for GNU $ac_path_EGREP
3992 case `"$ac_path_EGREP" --version 2>&1` in
3994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3997 $as_echo_n 0123456789 >"conftest.in"
4000 cat "conftest.in" "conftest.in" >"conftest.tmp"
4001 mv "conftest.tmp" "conftest.in"
4002 cp "conftest.in" "conftest.nl"
4003 $as_echo 'EGREP' >> "conftest.nl"
4004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4006 as_fn_arith $ac_count + 1 && ac_count=$as_val
4007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4008 # Best one so far, save it but keep looking for a better one
4009 ac_cv_path_EGREP="$ac_path_EGREP"
4010 ac_path_EGREP_max=$ac_count
4012 # 10*(2^10) chars as input seems more than enough
4013 test $ac_count -gt 10 && break
4015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4018 $ac_path_EGREP_found && break 3
4023 if test -z "$ac_cv_path_EGREP"; then
4024 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4027 ac_cv_path_EGREP=$EGREP
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4033 $as_echo "$ac_cv_path_EGREP" >&6; }
4034 EGREP="$ac_cv_path_EGREP"
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4038 $as_echo_n "checking for fgrep... " >&6; }
4039 if ${ac_cv_path_FGREP+:} false; then :
4040 $as_echo_n "(cached) " >&6
4042 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4043 then ac_cv_path_FGREP="$GREP -F"
4045 if test -z "$FGREP"; then
4046 ac_path_FGREP_found=false
4047 # Loop through the user's path and test for each of PROGNAME-LIST
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4052 test -z "$as_dir" && as_dir=.
4053 for ac_prog in fgrep; do
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4056 as_fn_executable_p "$ac_path_FGREP" || continue
4057 # Check for GNU ac_path_FGREP and select it if it is found.
4058 # Check for GNU $ac_path_FGREP
4059 case `"$ac_path_FGREP" --version 2>&1` in
4061 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4064 $as_echo_n 0123456789 >"conftest.in"
4067 cat "conftest.in" "conftest.in" >"conftest.tmp"
4068 mv "conftest.tmp" "conftest.in"
4069 cp "conftest.in" "conftest.nl"
4070 $as_echo 'FGREP' >> "conftest.nl"
4071 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4073 as_fn_arith $ac_count + 1 && ac_count=$as_val
4074 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4075 # Best one so far, save it but keep looking for a better one
4076 ac_cv_path_FGREP="$ac_path_FGREP"
4077 ac_path_FGREP_max=$ac_count
4079 # 10*(2^10) chars as input seems more than enough
4080 test $ac_count -gt 10 && break
4082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4085 $ac_path_FGREP_found && break 3
4090 if test -z "$ac_cv_path_FGREP"; then
4091 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4094 ac_cv_path_FGREP=$FGREP
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4100 $as_echo "$ac_cv_path_FGREP" >&6; }
4101 FGREP="$ac_cv_path_FGREP"
4104 test -z "$GREP" && GREP=grep
4124 # Check whether --with-gnu-ld was given.
4125 if test "${with_gnu_ld+set}" = set; then :
4126 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4132 if test "$GCC" = yes; then
4133 # Check if gcc -print-prog-name=ld gives a path.
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4135 $as_echo_n "checking for ld used by $CC... " >&6; }
4138 # gcc leaves a trailing carriage return which upsets mingw
4139 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4141 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4144 # Accept absolute paths.
4146 re_direlt='/[^/][^/]*/\.\./'
4147 # Canonicalize the pathname of ld
4148 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4149 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4150 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4152 test -z "$LD" && LD="$ac_prog"
4155 # If it fails, then pretend we aren't using GCC.
4159 # If it is relative, then search for the first ld in PATH.
4163 elif test "$with_gnu_ld" = yes; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4165 $as_echo_n "checking for GNU ld... " >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4168 $as_echo_n "checking for non-GNU ld... " >&6; }
4170 if ${lt_cv_path_LD+:} false; then :
4171 $as_echo_n "(cached) " >&6
4173 if test -z "$LD"; then
4174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4175 for ac_dir in $PATH; do
4177 test -z "$ac_dir" && ac_dir=.
4178 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4179 lt_cv_path_LD="$ac_dir/$ac_prog"
4180 # Check to see if the program is GNU ld. I'd rather use --version,
4181 # but apparently some variants of GNU ld only accept -v.
4182 # Break only if it was the GNU/non-GNU ld that we prefer.
4183 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4184 *GNU* | *'with BFD'*)
4185 test "$with_gnu_ld" != no && break
4188 test "$with_gnu_ld" != yes && break
4195 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4200 if test -n "$LD"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4202 $as_echo "$LD" >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }
4207 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4209 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4210 if ${lt_cv_prog_gnu_ld+:} false; then :
4211 $as_echo_n "(cached) " >&6
4213 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4214 case `$LD -v 2>&1 </dev/null` in
4215 *GNU* | *'with BFD'*)
4216 lt_cv_prog_gnu_ld=yes
4219 lt_cv_prog_gnu_ld=no
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4224 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4225 with_gnu_ld=$lt_cv_prog_gnu_ld
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4236 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4237 if ${lt_cv_path_NM+:} false; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -n "$NM"; then
4241 # Let the user override the test.
4244 lt_nm_to_check="${ac_tool_prefix}nm"
4245 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4246 lt_nm_to_check="$lt_nm_to_check nm"
4248 for lt_tmp_nm in $lt_nm_to_check; do
4249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4250 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4252 test -z "$ac_dir" && ac_dir=.
4253 tmp_nm="$ac_dir/$lt_tmp_nm"
4254 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4255 # Check to see if the nm accepts a BSD-compat flag.
4256 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4257 # nm: unknown option "B" ignored
4258 # Tru64's nm complains that /dev/null is an invalid object file
4259 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4260 */dev/null* | *'Invalid file or object type'*)
4261 lt_cv_path_NM="$tmp_nm -B"
4265 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4267 lt_cv_path_NM="$tmp_nm -p"
4271 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4272 continue # so that we can try to find one that supports BSD flags
4281 : ${lt_cv_path_NM=no}
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4285 $as_echo "$lt_cv_path_NM" >&6; }
4286 if test "$lt_cv_path_NM" != "no"; then
4289 # Didn't find any BSD compatible name lister, look for dumpbin.
4290 if test -n "$DUMPBIN"; then :
4291 # Let the user override the test.
4293 if test -n "$ac_tool_prefix"; then
4294 for ac_prog in dumpbin "link -dump"
4296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_prog_DUMPBIN+:} false; then :
4301 $as_echo_n "(cached) " >&6
4303 if test -n "$DUMPBIN"; then
4304 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir=.
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 DUMPBIN=$ac_cv_prog_DUMPBIN
4324 if test -n "$DUMPBIN"; then
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4326 $as_echo "$DUMPBIN" >&6; }
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4329 $as_echo "no" >&6; }
4333 test -n "$DUMPBIN" && break
4336 if test -z "$DUMPBIN"; then
4337 ac_ct_DUMPBIN=$DUMPBIN
4338 for ac_prog in dumpbin "link -dump"
4340 # Extract the first word of "$ac_prog", so it can be a program name with args.
4341 set dummy $ac_prog; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -n "$ac_ct_DUMPBIN"; then
4348 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4357 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4368 if test -n "$ac_ct_DUMPBIN"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4370 $as_echo "$ac_ct_DUMPBIN" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 test -n "$ac_ct_DUMPBIN" && break
4380 if test "x$ac_ct_DUMPBIN" = x; then
4383 case $cross_compiling:$ac_tool_warned in
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4387 ac_tool_warned=yes ;;
4389 DUMPBIN=$ac_ct_DUMPBIN
4393 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4395 DUMPBIN="$DUMPBIN -symbols"
4403 if test "$DUMPBIN" != ":"; then
4407 test -z "$NM" && NM=nm
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4415 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4416 if ${lt_cv_nm_interface+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 lt_cv_nm_interface="BSD nm"
4420 echo "int some_variable = 0;" > conftest.$ac_ext
4421 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4422 (eval "$ac_compile" 2>conftest.err)
4423 cat conftest.err >&5
4424 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4425 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4426 cat conftest.err >&5
4427 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4428 cat conftest.out >&5
4429 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4430 lt_cv_nm_interface="MS dumpbin"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4435 $as_echo "$lt_cv_nm_interface" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4438 $as_echo_n "checking whether ln -s works... " >&6; }
4440 if test "$LN_S" = "ln -s"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4442 $as_echo "yes" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4445 $as_echo "no, using $LN_S" >&6; }
4448 # find the maximum length of command line arguments
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4450 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4451 if ${lt_cv_sys_max_cmd_len+:} false; then :
4452 $as_echo_n "(cached) " >&6
4459 # On DJGPP, this test can blow up pretty badly due to problems in libc
4460 # (any single argument exceeding 2000 bytes causes a buffer overrun
4461 # during glob expansion). Even if it were fixed, the result of this
4462 # check would be larger than it should be.
4463 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4467 # Under GNU Hurd, this test is not required because there is
4468 # no limit to the length of command line arguments.
4469 # Libtool will interpret -1 as no limit whatsoever
4470 lt_cv_sys_max_cmd_len=-1;
4473 cygwin* | mingw* | cegcc*)
4474 # On Win9x/ME, this test blows up -- it succeeds, but takes
4475 # about 5 minutes as the teststring grows exponentially.
4476 # Worse, since 9x/ME are not pre-emptively multitasking,
4477 # you end up with a "frozen" computer, even though with patience
4478 # the test eventually succeeds (with a max line length of 256k).
4479 # Instead, let's just punt: use the minimum linelength reported by
4480 # all of the supported platforms: 8192 (on NT/2K/XP).
4481 lt_cv_sys_max_cmd_len=8192;
4485 # On MiNT this can take a long time and run out of memory.
4486 lt_cv_sys_max_cmd_len=8192;
4490 # On AmigaOS with pdksh, this test takes hours, literally.
4491 # So we just punt and use a minimum line length of 8192.
4492 lt_cv_sys_max_cmd_len=8192;
4495 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4496 # This has been around since 386BSD, at least. Likely further.
4497 if test -x /sbin/sysctl; then
4498 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4499 elif test -x /usr/sbin/sysctl; then
4500 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4502 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4504 # And add a safety zone
4505 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4506 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4510 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4511 lt_cv_sys_max_cmd_len=196608
4515 # The test takes a long time on OS/2.
4516 lt_cv_sys_max_cmd_len=8192
4520 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4521 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4522 # nice to cause kernel panics so lets avoid the loop below.
4523 # First set a reasonable default.
4524 lt_cv_sys_max_cmd_len=16384
4526 if test -x /sbin/sysconfig; then
4527 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4528 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4533 lt_cv_sys_max_cmd_len=102400
4535 sysv5* | sco5v6* | sysv4.2uw2*)
4536 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4537 if test -n "$kargmax"; then
4538 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4540 lt_cv_sys_max_cmd_len=32768
4544 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4545 if test -n "$lt_cv_sys_max_cmd_len"; then
4546 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4547 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4549 # Make teststring a little bigger before we do anything with it.
4550 # a 1K string should be a reasonable start.
4551 for i in 1 2 3 4 5 6 7 8 ; do
4552 teststring=$teststring$teststring
4554 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4555 # If test is not a shell built-in, we'll probably end up computing a
4556 # maximum length that is only half of the actual maximum length, but
4558 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4559 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4560 test $i != 17 # 1/2 MB should be enough
4563 teststring=$teststring$teststring
4565 # Only check the string length outside the loop.
4566 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4568 # Add a significant safety factor because C++ compilers can tack on
4569 # massive amounts of additional arguments before passing them to the
4570 # linker. It appears as though 1/2 is a usable value.
4571 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4578 if test -n $lt_cv_sys_max_cmd_len ; then
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4580 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4583 $as_echo "none" >&6; }
4585 max_cmd_len=$lt_cv_sys_max_cmd_len
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4597 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4598 # Try some XSI features
4601 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4603 && eval 'test $(( 1 + 1 )) -eq 2 \
4604 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4607 $as_echo "$xsi_shell" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4611 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4613 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4615 && lt_shell_append=yes
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4617 $as_echo "$lt_shell_append" >&6; }
4620 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4630 # test EBCDIC or ASCII
4631 case `echo X|tr X '\101'` in
4632 A) # ASCII based system
4633 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4634 lt_SP2NL='tr \040 \012'
4635 lt_NL2SP='tr \015\012 \040\040'
4637 *) # EBCDIC based system
4638 lt_SP2NL='tr \100 \n'
4639 lt_NL2SP='tr \r\n \100\100'
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4652 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4653 if ${lt_cv_to_host_file_cmd+:} false; then :
4654 $as_echo_n "(cached) " >&6
4659 *-*-mingw* ) # actually msys
4660 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4663 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4665 * ) # otherwise, assume *nix
4666 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4672 *-*-mingw* ) # actually msys
4673 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4676 lt_cv_to_host_file_cmd=func_convert_file_noop
4678 * ) # otherwise, assume *nix
4679 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4683 * ) # unhandled hosts (and "normal" native builds)
4684 lt_cv_to_host_file_cmd=func_convert_file_noop
4690 to_host_file_cmd=$lt_cv_to_host_file_cmd
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4692 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4699 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4700 if ${lt_cv_to_tool_file_cmd+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 #assume ordinary cross tools, or native build.
4704 lt_cv_to_tool_file_cmd=func_convert_file_noop
4708 *-*-mingw* ) # actually msys
4709 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4717 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4719 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4726 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4727 if ${lt_cv_ld_reload_flag+:} false; then :
4728 $as_echo_n "(cached) " >&6
4730 lt_cv_ld_reload_flag='-r'
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4733 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4734 reload_flag=$lt_cv_ld_reload_flag
4735 case $reload_flag in
4737 *) reload_flag=" $reload_flag" ;;
4739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4741 cygwin* | mingw* | pw32* | cegcc*)
4742 if test "$GCC" != yes; then
4747 if test "$GCC" = yes; then
4748 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4750 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4763 if test -n "$ac_tool_prefix"; then
4764 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4765 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_prog_OBJDUMP+:} false; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -n "$OBJDUMP"; then
4772 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 test -z "$as_dir" && as_dir=.
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4781 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 OBJDUMP=$ac_cv_prog_OBJDUMP
4792 if test -n "$OBJDUMP"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4794 $as_echo "$OBJDUMP" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4802 if test -z "$ac_cv_prog_OBJDUMP"; then
4803 ac_ct_OBJDUMP=$OBJDUMP
4804 # Extract the first word of "objdump", so it can be a program name with args.
4805 set dummy objdump; ac_word=$2
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 $as_echo_n "checking for $ac_word... " >&6; }
4808 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4809 $as_echo_n "(cached) " >&6
4811 if test -n "$ac_ct_OBJDUMP"; then
4812 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir=.
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4832 if test -n "$ac_ct_OBJDUMP"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4834 $as_echo "$ac_ct_OBJDUMP" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4840 if test "x$ac_ct_OBJDUMP" = x; then
4843 case $cross_compiling:$ac_tool_warned in
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4847 ac_tool_warned=yes ;;
4849 OBJDUMP=$ac_ct_OBJDUMP
4852 OBJDUMP="$ac_cv_prog_OBJDUMP"
4855 test -z "$OBJDUMP" && OBJDUMP=objdump
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4866 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4867 if ${lt_cv_deplibs_check_method+:} false; then :
4868 $as_echo_n "(cached) " >&6
4870 lt_cv_file_magic_cmd='$MAGIC_CMD'
4871 lt_cv_file_magic_test_file=
4872 lt_cv_deplibs_check_method='unknown'
4873 # Need to set the preceding variable on all platforms that support
4874 # interlibrary dependencies.
4875 # 'none' -- dependencies not supported.
4876 # `unknown' -- same as none, but documents that we really don't know.
4877 # 'pass_all' -- all dependencies passed with no checks.
4878 # 'test_compile' -- check by making test program.
4879 # 'file_magic [[regex]]' -- check by looking for files in library path
4880 # which responds to the $file_magic_cmd with a given extended regex.
4881 # If you have `file' or equivalent on your system and you're not sure
4882 # whether `pass_all' will *always* work, you probably want this one.
4886 lt_cv_deplibs_check_method=pass_all
4890 lt_cv_deplibs_check_method=pass_all
4894 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4895 lt_cv_file_magic_cmd='/usr/bin/file -L'
4896 lt_cv_file_magic_test_file=/shlib/libc.so
4900 # func_win32_libid is a shell function defined in ltmain.sh
4901 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4902 lt_cv_file_magic_cmd='func_win32_libid'
4906 # Base MSYS/MinGW do not provide the 'file' command needed by
4907 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4908 # unless we find 'file', for example because we are cross-compiling.
4909 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4910 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4911 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4912 lt_cv_file_magic_cmd='func_win32_libid'
4914 # Keep this pattern in sync with the one in func_win32_libid.
4915 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4916 lt_cv_file_magic_cmd='$OBJDUMP -f'
4921 # use the weaker test based on 'objdump'. See mingw*.
4922 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4923 lt_cv_file_magic_cmd='$OBJDUMP -f'
4926 darwin* | rhapsody*)
4927 lt_cv_deplibs_check_method=pass_all
4930 freebsd* | dragonfly*)
4931 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4934 # Not sure whether the presence of OpenBSD here was a mistake.
4935 # Let's accept both of them until this is cleared up.
4936 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4937 lt_cv_file_magic_cmd=/usr/bin/file
4938 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4942 lt_cv_deplibs_check_method=pass_all
4947 lt_cv_deplibs_check_method=pass_all
4950 hpux10.20* | hpux11*)
4951 lt_cv_file_magic_cmd=/usr/bin/file
4954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4958 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]'
4959 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4962 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4963 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4969 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4970 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4973 irix5* | irix6* | nonstopux*)
4975 *-32|*"-32 ") libmagic=32-bit;;
4976 *-n32|*"-n32 ") libmagic=N32;;
4977 *-64|*"-64 ") libmagic=64-bit;;
4978 *) libmagic=never-match;;
4980 lt_cv_deplibs_check_method=pass_all
4983 # This must be glibc/ELF.
4984 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4985 lt_cv_deplibs_check_method=pass_all
4988 netbsd* | netbsdelf*-gnu)
4989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4992 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4997 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4998 lt_cv_file_magic_cmd=/usr/bin/file
4999 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5003 lt_cv_deplibs_check_method=pass_all
5007 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5008 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5014 osf3* | osf4* | osf5*)
5015 lt_cv_deplibs_check_method=pass_all
5019 lt_cv_deplibs_check_method=pass_all
5023 lt_cv_deplibs_check_method=pass_all
5026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5027 lt_cv_deplibs_check_method=pass_all
5031 case $host_vendor in
5033 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]'
5034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5037 lt_cv_deplibs_check_method=pass_all
5040 lt_cv_file_magic_cmd='/bin/file'
5041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5044 lt_cv_file_magic_cmd='/bin/file'
5045 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5046 lt_cv_file_magic_test_file=/lib/libc.so
5049 lt_cv_deplibs_check_method=pass_all
5052 lt_cv_deplibs_check_method=pass_all
5058 lt_cv_deplibs_check_method=pass_all
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5068 if test "$build" = "$host"; then
5071 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5074 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_DLLTOOL+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$DLLTOOL"; then
5114 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 DLLTOOL=$ac_cv_prog_DLLTOOL
5134 if test -n "$DLLTOOL"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5136 $as_echo "$DLLTOOL" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_DLLTOOL"; then
5145 ac_ct_DLLTOOL=$DLLTOOL
5146 # Extract the first word of "dlltool", so it can be a program name with args.
5147 set dummy dlltool; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 if test -n "$ac_ct_DLLTOOL"; then
5154 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5174 if test -n "$ac_ct_DLLTOOL"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5176 $as_echo "$ac_ct_DLLTOOL" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_DLLTOOL" = x; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5191 DLLTOOL=$ac_ct_DLLTOOL
5194 DLLTOOL="$ac_cv_prog_DLLTOOL"
5197 test -z "$DLLTOOL" && DLLTOOL=dlltool
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5209 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5210 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 lt_cv_sharedlib_from_linklib_cmd='unknown'
5216 cygwin* | mingw* | pw32* | cegcc*)
5217 # two different shell functions defined in ltmain.sh
5218 # decide which to use based on capabilities of $DLLTOOL
5219 case `$DLLTOOL --help 2>&1` in
5220 *--identify-strict*)
5221 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5224 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5229 # fallback: assume linklib IS sharedlib
5230 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5236 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5237 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5238 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5247 if test -n "$ac_tool_prefix"; then
5250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if ${ac_cv_prog_AR+:} false; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$AR"; then
5258 ac_cv_prog_AR="$AR" # Let the user override the test.
5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir=.
5265 for ac_exec_ext in '' $ac_executable_extensions; do
5266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5267 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 if test -n "$AR"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5280 $as_echo "$AR" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5287 test -n "$AR" && break
5290 if test -z "$AR"; then
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5299 $as_echo_n "(cached) " >&6
5301 if test -n "$ac_ct_AR"; then
5302 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5311 ac_cv_prog_ac_ct_AR="$ac_prog"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5322 if test -n "$ac_ct_AR"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5324 $as_echo "$ac_ct_AR" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5331 test -n "$ac_ct_AR" && break
5334 if test "x$ac_ct_AR" = x; then
5337 case $cross_compiling:$ac_tool_warned in
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5361 $as_echo_n "checking for archiver @FILE support... " >&6; }
5362 if ${lt_cv_ar_at_file+:} false; then :
5363 $as_echo_n "(cached) " >&6
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"; then :
5378 echo conftest.$ac_objext > conftest.lst
5379 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5380 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5381 (eval $lt_ar_try) 2>&5
5383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5384 test $ac_status = 0; }
5385 if test "$ac_status" -eq 0; then
5386 # Ensure the archiver fails upon bogus file names.
5387 rm -f conftest.$ac_objext libconftest.a
5388 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5389 (eval $lt_ar_try) 2>&5
5391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5392 test $ac_status = 0; }
5393 if test "$ac_status" -ne 0; then
5397 rm -f conftest.* libconftest.a
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5404 $as_echo "$lt_cv_ar_at_file" >&6; }
5406 if test "x$lt_cv_ar_at_file" = xno; then
5409 archiver_list_spec=$lt_cv_ar_at_file
5418 if test -n "$ac_tool_prefix"; then
5419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5420 set dummy ${ac_tool_prefix}strip; ac_word=$2
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422 $as_echo_n "checking for $ac_word... " >&6; }
5423 if ${ac_cv_prog_STRIP+:} false; then :
5424 $as_echo_n "(cached) " >&6
5426 if test -n "$STRIP"; then
5427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5436 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 STRIP=$ac_cv_prog_STRIP
5447 if test -n "$STRIP"; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5449 $as_echo "$STRIP" >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5457 if test -z "$ac_cv_prog_STRIP"; then
5459 # Extract the first word of "strip", so it can be a program name with args.
5460 set dummy strip; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5464 $as_echo_n "(cached) " >&6
5466 if test -n "$ac_ct_STRIP"; then
5467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_ac_ct_STRIP="strip"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5487 if test -n "$ac_ct_STRIP"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5489 $as_echo "$ac_ct_STRIP" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5495 if test "x$ac_ct_STRIP" = x; then
5498 case $cross_compiling:$ac_tool_warned in
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5507 STRIP="$ac_cv_prog_STRIP"
5510 test -z "$STRIP" && STRIP=:
5517 if test -n "$ac_tool_prefix"; then
5518 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_RANLIB+:} false; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$RANLIB"; then
5526 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 RANLIB=$ac_cv_prog_RANLIB
5546 if test -n "$RANLIB"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5548 $as_echo "$RANLIB" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5556 if test -z "$ac_cv_prog_RANLIB"; then
5557 ac_ct_RANLIB=$RANLIB
5558 # Extract the first word of "ranlib", so it can be a program name with args.
5559 set dummy ranlib; ac_word=$2
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5561 $as_echo_n "checking for $ac_word... " >&6; }
5562 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5563 $as_echo_n "(cached) " >&6
5565 if test -n "$ac_ct_RANLIB"; then
5566 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir=.
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_ac_ct_RANLIB="ranlib"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5586 if test -n "$ac_ct_RANLIB"; then
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5588 $as_echo "$ac_ct_RANLIB" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5591 $as_echo "no" >&6; }
5594 if test "x$ac_ct_RANLIB" = x; then
5597 case $cross_compiling:$ac_tool_warned in
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5601 ac_tool_warned=yes ;;
5603 RANLIB=$ac_ct_RANLIB
5606 RANLIB="$ac_cv_prog_RANLIB"
5609 test -z "$RANLIB" && RANLIB=:
5616 # Determine commands to create old-style static archives.
5617 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5618 old_postinstall_cmds='chmod 644 $oldlib'
5619 old_postuninstall_cmds=
5621 if test -n "$RANLIB"; then
5624 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5627 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5630 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5635 lock_old_archive_extraction=yes ;;
5637 lock_old_archive_extraction=no ;;
5678 # If no C compiler was specified, use CC.
5681 # If no C compiler flags were specified, use CFLAGS.
5682 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5684 # Allow CC to be a program name with arguments.
5688 # Check for command to grab the raw symbol name followed by C symbol from nm.
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5690 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5691 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5692 $as_echo_n "(cached) " >&6
5695 # These are sane defaults that work on at least a few old systems.
5696 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5698 # Character class describing NM global symbol codes.
5699 symcode='[BCDEGRST]'
5701 # Regexp to match symbols that can be accessed directly from C.
5702 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5704 # Define system-specific variables.
5709 cygwin* | mingw* | pw32* | cegcc*)
5710 symcode='[ABCDGISTW]'
5713 if test "$host_cpu" = ia64; then
5714 symcode='[ABCDEGRST]'
5718 symcode='[BCDEGRST]'
5721 symcode='[BCDEGQRST]'
5732 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5740 # If we're using GNU nm, then use its standard symbol codes.
5741 case `$NM -V 2>&1` in
5742 *GNU* | *'with BFD'*)
5743 symcode='[ABCDGIRSTW]' ;;
5746 # Transform an extracted symbol line into a proper C declaration.
5747 # Some systems (esp. on ia64) link data and code symbols differently,
5748 # so use this general approach.
5749 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5751 # Transform an extracted symbol line into symbol name and symbol address
5752 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5753 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'"
5755 # Handle CRLF in mingw tool chain
5759 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5763 # Try without a prefix underscore, then with it.
5764 for ac_symprfx in "" "_"; do
5766 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5767 symxfrm="\\1 $ac_symprfx\\2 \\2"
5769 # Write the raw and C identifiers.
5770 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5771 # Fake it for dumpbin and say T for any non-static function
5772 # and D for any global variable.
5773 # Also find C++ and __fastcall symbols from MSVC++,
5774 # which start with @ or ?.
5775 lt_cv_sys_global_symbol_pipe="$AWK '"\
5776 " {last_section=section; section=\$ 3};"\
5777 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5778 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5779 " \$ 0!~/External *\|/{next};"\
5780 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5781 " {if(hide[section]) next};"\
5782 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5783 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5784 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5785 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5786 " ' prfx=^$ac_symprfx"
5788 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5790 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5792 # Check to see that the pipe works correctly.
5796 cat > conftest.$ac_ext <<_LT_EOF
5801 void nm_test_func(void);
5802 void nm_test_func(void){}
5806 int main(){nm_test_var='a';nm_test_func();return(0);}
5809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5810 (eval $ac_compile) 2>&5
5812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5813 test $ac_status = 0; }; then
5814 # Now try to grab the symbols.
5816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5817 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5820 test $ac_status = 0; } && test -s "$nlist"; then
5821 # Try sorting and uniquifying the output.
5822 if sort "$nlist" | uniq > "$nlist"T; then
5823 mv -f "$nlist"T "$nlist"
5828 # Make sure that we snagged all the symbols we need.
5829 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5830 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5831 cat <<_LT_EOF > conftest.$ac_ext
5832 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5833 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5834 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5835 relocations are performed -- see ld's documentation on pseudo-relocs. */
5836 # define LT_DLSYM_CONST
5837 #elif defined(__osf__)
5838 /* This system does not cope well with relocations in const data. */
5839 # define LT_DLSYM_CONST
5841 # define LT_DLSYM_CONST const
5849 # Now generate the symbol file.
5850 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5852 cat <<_LT_EOF >> conftest.$ac_ext
5854 /* The mapping between symbol names and symbols. */
5855 LT_DLSYM_CONST struct {
5859 lt__PROGRAM__LTX_preloaded_symbols[] =
5861 { "@PROGRAM@", (void *) 0 },
5863 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5864 cat <<\_LT_EOF >> conftest.$ac_ext
5868 /* This works around a problem in FreeBSD linker */
5869 #ifdef FREEBSD_WORKAROUND
5870 static const void *lt_preloaded_setup() {
5871 return lt__PROGRAM__LTX_preloaded_symbols;
5879 # Now try linking the two files.
5880 mv conftest.$ac_objext conftstm.$ac_objext
5881 lt_globsym_save_LIBS=$LIBS
5882 lt_globsym_save_CFLAGS=$CFLAGS
5883 LIBS="conftstm.$ac_objext"
5884 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5886 (eval $ac_link) 2>&5
5888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5892 LIBS=$lt_globsym_save_LIBS
5893 CFLAGS=$lt_globsym_save_CFLAGS
5895 echo "cannot find nm_test_func in $nlist" >&5
5898 echo "cannot find nm_test_var in $nlist" >&5
5901 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5904 echo "$progname: failed program was:" >&5
5905 cat conftest.$ac_ext >&5
5907 rm -rf conftest* conftst*
5909 # Do not use the global_symbol_pipe unless it works.
5910 if test "$pipe_works" = yes; then
5913 lt_cv_sys_global_symbol_pipe=
5919 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5920 lt_cv_sys_global_symbol_to_cdecl=
5922 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5924 $as_echo "failed" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5927 $as_echo "ok" >&6; }
5930 # Response file support.
5931 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5932 nm_file_list_spec='@'
5933 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5934 nm_file_list_spec='@'
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5964 $as_echo_n "checking for sysroot... " >&6; }
5966 # Check whether --with-sysroot was given.
5967 if test "${with_sysroot+set}" = set; then :
5968 withval=$with_sysroot;
5975 case ${with_sysroot} in #(
5977 if test "$GCC" = yes; then
5978 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5982 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5988 $as_echo "${with_sysroot}" >&6; }
5989 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5994 $as_echo "${lt_sysroot:-no}" >&6; }
6000 # Check whether --enable-libtool-lock was given.
6001 if test "${enable_libtool_lock+set}" = set; then :
6002 enableval=$enable_libtool_lock;
6005 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6007 # Some flags need to be propagated to the compiler or linker for good
6011 # Find out which ABI we are using.
6012 echo 'int i;' > conftest.$ac_ext
6013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6014 (eval $ac_compile) 2>&5
6016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6017 test $ac_status = 0; }; then
6018 case `/usr/bin/file conftest.$ac_objext` in
6030 # Find out which ABI we are using.
6031 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6033 (eval $ac_compile) 2>&5
6035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6036 test $ac_status = 0; }; then
6037 if test "$lt_cv_prog_gnu_ld" = yes; then
6038 case `/usr/bin/file conftest.$ac_objext` in
6040 LD="${LD-ld} -melf32bsmip"
6043 LD="${LD-ld} -melf32bmipn32"
6046 LD="${LD-ld} -melf64bmip"
6050 case `/usr/bin/file conftest.$ac_objext` in
6066 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6067 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6068 # Find out which ABI we are using.
6069 echo 'int i;' > conftest.$ac_ext
6070 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6071 (eval $ac_compile) 2>&5
6073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6074 test $ac_status = 0; }; then
6075 case `/usr/bin/file conftest.o` in
6078 x86_64-*kfreebsd*-gnu)
6079 LD="${LD-ld} -m elf_i386_fbsd"
6082 LD="${LD-ld} -m elf_i386"
6084 ppc64-*linux*|powerpc64-*linux*)
6085 LD="${LD-ld} -m elf32ppclinux"
6088 LD="${LD-ld} -m elf_s390"
6091 LD="${LD-ld} -m elf32_sparc"
6097 x86_64-*kfreebsd*-gnu)
6098 LD="${LD-ld} -m elf_x86_64_fbsd"
6101 LD="${LD-ld} -m elf_x86_64"
6103 ppc*-*linux*|powerpc*-*linux*)
6104 LD="${LD-ld} -m elf64ppc"
6106 s390*-*linux*|s390*-*tpf*)
6107 LD="${LD-ld} -m elf64_s390"
6110 LD="${LD-ld} -m elf64_sparc"
6120 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6121 SAVE_CFLAGS="$CFLAGS"
6122 CFLAGS="$CFLAGS -belf"
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6124 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6125 if ${lt_cv_cc_needs_belf+:} false; then :
6126 $as_echo_n "(cached) " >&6
6129 ac_cpp='$CPP $CPPFLAGS'
6130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6145 if ac_fn_c_try_link "$LINENO"; then :
6146 lt_cv_cc_needs_belf=yes
6148 lt_cv_cc_needs_belf=no
6150 rm -f core conftest.err conftest.$ac_objext \
6151 conftest$ac_exeext conftest.$ac_ext
6153 ac_cpp='$CPP $CPPFLAGS'
6154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6160 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6161 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6162 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6163 CFLAGS="$SAVE_CFLAGS"
6167 # Find out which ABI we are using.
6168 echo 'int i;' > conftest.$ac_ext
6169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6170 (eval $ac_compile) 2>&5
6172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6173 test $ac_status = 0; }; then
6174 case `/usr/bin/file conftest.o` in
6176 case $lt_cv_prog_gnu_ld in
6180 LD="${LD-ld} -m elf_x86_64"
6183 LD="${LD-ld} -m elf64_sparc"
6186 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6187 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6192 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6204 need_locks="$enable_libtool_lock"
6206 if test -n "$ac_tool_prefix"; then
6207 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6208 set dummy ${ac_tool_prefix}mt; ac_word=$2
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6210 $as_echo_n "checking for $ac_word... " >&6; }
6211 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6212 $as_echo_n "(cached) " >&6
6214 if test -n "$MANIFEST_TOOL"; then
6215 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 test -z "$as_dir" && as_dir=.
6222 for ac_exec_ext in '' $ac_executable_extensions; do
6223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6224 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6234 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6235 if test -n "$MANIFEST_TOOL"; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6237 $as_echo "$MANIFEST_TOOL" >&6; }
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6240 $as_echo "no" >&6; }
6245 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6246 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6247 # Extract the first word of "mt", so it can be a program name with args.
6248 set dummy mt; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250 $as_echo_n "checking for $ac_word... " >&6; }
6251 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6252 $as_echo_n "(cached) " >&6
6254 if test -n "$ac_ct_MANIFEST_TOOL"; then
6255 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6264 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6275 if test -n "$ac_ct_MANIFEST_TOOL"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6277 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280 $as_echo "no" >&6; }
6283 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6286 case $cross_compiling:$ac_tool_warned in
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6290 ac_tool_warned=yes ;;
6292 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6295 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6298 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6300 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6301 if ${lt_cv_path_mainfest_tool+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 lt_cv_path_mainfest_tool=no
6305 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6306 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6307 cat conftest.err >&5
6308 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6309 lt_cv_path_mainfest_tool=yes
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6314 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6315 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6325 rhapsody* | darwin*)
6326 if test -n "$ac_tool_prefix"; then
6327 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$DSYMUTIL"; then
6335 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6355 if test -n "$DSYMUTIL"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6357 $as_echo "$DSYMUTIL" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6365 if test -z "$ac_cv_prog_DSYMUTIL"; then
6366 ac_ct_DSYMUTIL=$DSYMUTIL
6367 # Extract the first word of "dsymutil", so it can be a program name with args.
6368 set dummy dsymutil; ac_word=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 $as_echo_n "checking for $ac_word... " >&6; }
6371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6372 $as_echo_n "(cached) " >&6
6374 if test -n "$ac_ct_DSYMUTIL"; then
6375 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6384 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6395 if test -n "$ac_ct_DSYMUTIL"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6403 if test "x$ac_ct_DSYMUTIL" = x; then
6406 case $cross_compiling:$ac_tool_warned in
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6410 ac_tool_warned=yes ;;
6412 DSYMUTIL=$ac_ct_DSYMUTIL
6415 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6418 if test -n "$ac_tool_prefix"; then
6419 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_NMEDIT+:} false; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$NMEDIT"; then
6427 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 NMEDIT=$ac_cv_prog_NMEDIT
6447 if test -n "$NMEDIT"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6449 $as_echo "$NMEDIT" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6457 if test -z "$ac_cv_prog_NMEDIT"; then
6458 ac_ct_NMEDIT=$NMEDIT
6459 # Extract the first word of "nmedit", so it can be a program name with args.
6460 set dummy nmedit; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$ac_ct_NMEDIT"; then
6467 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6487 if test -n "$ac_ct_NMEDIT"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6489 $as_echo "$ac_ct_NMEDIT" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6495 if test "x$ac_ct_NMEDIT" = x; then
6498 case $cross_compiling:$ac_tool_warned in
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6504 NMEDIT=$ac_ct_NMEDIT
6507 NMEDIT="$ac_cv_prog_NMEDIT"
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_LIPO+:} false; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$LIPO"; then
6519 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 LIPO=$ac_cv_prog_LIPO
6539 if test -n "$LIPO"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6541 $as_echo "$LIPO" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_LIPO"; then
6551 # Extract the first word of "lipo", so it can be a program name with args.
6552 set dummy lipo; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6556 $as_echo_n "(cached) " >&6
6558 if test -n "$ac_ct_LIPO"; then
6559 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6568 ac_cv_prog_ac_ct_LIPO="lipo"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6579 if test -n "$ac_ct_LIPO"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6581 $as_echo "$ac_ct_LIPO" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_LIPO" = x; then
6590 case $cross_compiling:$ac_tool_warned in
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6599 LIPO="$ac_cv_prog_LIPO"
6602 if test -n "$ac_tool_prefix"; then
6603 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}otool; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_OTOOL+:} false; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$OTOOL"; then
6611 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 OTOOL=$ac_cv_prog_OTOOL
6631 if test -n "$OTOOL"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6633 $as_echo "$OTOOL" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6641 if test -z "$ac_cv_prog_OTOOL"; then
6643 # Extract the first word of "otool", so it can be a program name with args.
6644 set dummy otool; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$ac_ct_OTOOL"; then
6651 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_ac_ct_OTOOL="otool"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6671 if test -n "$ac_ct_OTOOL"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6673 $as_echo "$ac_ct_OTOOL" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6679 if test "x$ac_ct_OTOOL" = x; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6691 OTOOL="$ac_cv_prog_OTOOL"
6694 if test -n "$ac_tool_prefix"; then
6695 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_OTOOL64+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$OTOOL64"; then
6703 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 OTOOL64=$ac_cv_prog_OTOOL64
6723 if test -n "$OTOOL64"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6725 $as_echo "$OTOOL64" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6733 if test -z "$ac_cv_prog_OTOOL64"; then
6734 ac_ct_OTOOL64=$OTOOL64
6735 # Extract the first word of "otool64", so it can be a program name with args.
6736 set dummy otool64; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6740 $as_echo_n "(cached) " >&6
6742 if test -n "$ac_ct_OTOOL64"; then
6743 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_ac_ct_OTOOL64="otool64"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6763 if test -n "$ac_ct_OTOOL64"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6765 $as_echo "$ac_ct_OTOOL64" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6771 if test "x$ac_ct_OTOOL64" = x; then
6774 case $cross_compiling:$ac_tool_warned in
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6778 ac_tool_warned=yes ;;
6780 OTOOL64=$ac_ct_OTOOL64
6783 OTOOL64="$ac_cv_prog_OTOOL64"
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6813 $as_echo_n "checking for -single_module linker flag... " >&6; }
6814 if ${lt_cv_apple_cc_single_mod+:} false; then :
6815 $as_echo_n "(cached) " >&6
6817 lt_cv_apple_cc_single_mod=no
6818 if test -z "${LT_MULTI_MODULE}"; then
6819 # By default we will add the -single_module flag. You can override
6820 # by either setting the environment variable LT_MULTI_MODULE
6821 # non-empty at configure time, or by adding -multi_module to the
6823 rm -rf libconftest.dylib*
6824 echo "int foo(void){return 1;}" > conftest.c
6825 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6826 -dynamiclib -Wl,-single_module conftest.c" >&5
6827 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6828 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6830 # If there is a non-empty error log, and "single_module"
6831 # appears in it, assume the flag caused a linker warning
6832 if test -s conftest.err && $GREP single_module conftest.err; then
6833 cat conftest.err >&5
6834 # Otherwise, if the output was created with a 0 exit code from
6835 # the compiler, it worked.
6836 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6837 lt_cv_apple_cc_single_mod=yes
6839 cat conftest.err >&5
6841 rm -rf libconftest.dylib*
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6846 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6849 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6850 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6851 $as_echo_n "(cached) " >&6
6853 lt_cv_ld_exported_symbols_list=no
6854 save_LDFLAGS=$LDFLAGS
6855 echo "_main" > conftest.sym
6856 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6868 if ac_fn_c_try_link "$LINENO"; then :
6869 lt_cv_ld_exported_symbols_list=yes
6871 lt_cv_ld_exported_symbols_list=no
6873 rm -f core conftest.err conftest.$ac_objext \
6874 conftest$ac_exeext conftest.$ac_ext
6875 LDFLAGS="$save_LDFLAGS"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6879 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6882 $as_echo_n "checking for -force_load linker flag... " >&6; }
6883 if ${lt_cv_ld_force_load+:} false; then :
6884 $as_echo_n "(cached) " >&6
6886 lt_cv_ld_force_load=no
6887 cat > conftest.c << _LT_EOF
6888 int forced_loaded() { return 2;}
6890 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6891 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6892 echo "$AR cru libconftest.a conftest.o" >&5
6893 $AR cru libconftest.a conftest.o 2>&5
6894 echo "$RANLIB libconftest.a" >&5
6895 $RANLIB libconftest.a 2>&5
6896 cat > conftest.c << _LT_EOF
6897 int main() { return 0;}
6899 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6900 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6902 if test -s conftest.err && $GREP force_load conftest.err; then
6903 cat conftest.err >&5
6904 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6905 lt_cv_ld_force_load=yes
6907 cat conftest.err >&5
6909 rm -f conftest.err libconftest.a conftest conftest.c
6910 rm -rf conftest.dSYM
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6914 $as_echo "$lt_cv_ld_force_load" >&6; }
6916 rhapsody* | darwin1.[012])
6917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6920 darwin*) # darwin 5.x on
6921 # if running on 10.5 or later, the deployment target defaults
6922 # to the OS version, if on x86, and 10.4, the deployment
6923 # target defaults to 10.4. Don't you love it?
6924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6935 _lt_dar_single_mod='$single_module'
6937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6943 _lt_dsymutil='~$DSYMUTIL $lib || :'
6951 ac_cpp='$CPP $CPPFLAGS'
6952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6956 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6957 # On Suns, sometimes $CPP names a directory.
6958 if test -n "$CPP" && test -d "$CPP"; then
6961 if test -z "$CPP"; then
6962 if ${ac_cv_prog_CPP+:} false; then :
6963 $as_echo_n "(cached) " >&6
6965 # Double quotes because CPP needs to be expanded
6966 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6969 for ac_c_preproc_warn_flag in '' yes
6971 # Use a header file that comes with gcc, so configuring glibc
6972 # with a fresh cross-compiler works.
6973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974 # <limits.h> exists even on freestanding compilers.
6975 # On the NeXT, cc -E runs the code through the compiler's parser,
6976 # not just through cpp. "Syntax error" is here to catch this case.
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6980 # include <limits.h>
6982 # include <assert.h>
6986 if ac_fn_c_try_cpp "$LINENO"; then :
6989 # Broken: fails on valid input.
6992 rm -f conftest.err conftest.i conftest.$ac_ext
6994 # OK, works on sane cases. Now check whether nonexistent headers
6995 # can be detected and how.
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h. */
6998 #include <ac_nonexistent.h>
7000 if ac_fn_c_try_cpp "$LINENO"; then :
7001 # Broken: success on invalid input.
7004 # Passes both tests.
7008 rm -f conftest.err conftest.i conftest.$ac_ext
7011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7012 rm -f conftest.i conftest.err conftest.$ac_ext
7013 if $ac_preproc_ok; then :
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7026 $as_echo "$CPP" >&6; }
7028 for ac_c_preproc_warn_flag in '' yes
7030 # Use a header file that comes with gcc, so configuring glibc
7031 # with a fresh cross-compiler works.
7032 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7033 # <limits.h> exists even on freestanding compilers.
7034 # On the NeXT, cc -E runs the code through the compiler's parser,
7035 # not just through cpp. "Syntax error" is here to catch this case.
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7039 # include <limits.h>
7041 # include <assert.h>
7045 if ac_fn_c_try_cpp "$LINENO"; then :
7048 # Broken: fails on valid input.
7051 rm -f conftest.err conftest.i conftest.$ac_ext
7053 # OK, works on sane cases. Now check whether nonexistent headers
7054 # can be detected and how.
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 #include <ac_nonexistent.h>
7059 if ac_fn_c_try_cpp "$LINENO"; then :
7060 # Broken: success on invalid input.
7063 # Passes both tests.
7067 rm -f conftest.err conftest.i conftest.$ac_ext
7070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7071 rm -f conftest.i conftest.err conftest.$ac_ext
7072 if $ac_preproc_ok; then :
7075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7077 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7078 See \`config.log' for more details" "$LINENO" 5; }
7082 ac_cpp='$CPP $CPPFLAGS'
7083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7089 $as_echo_n "checking for ANSI C header files... " >&6; }
7090 if ${ac_cv_header_stdc+:} false; then :
7091 $as_echo_n "(cached) " >&6
7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7108 if ac_fn_c_try_compile "$LINENO"; then :
7109 ac_cv_header_stdc=yes
7111 ac_cv_header_stdc=no
7113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7115 if test $ac_cv_header_stdc = yes; then
7116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7123 $EGREP "memchr" >/dev/null 2>&1; then :
7126 ac_cv_header_stdc=no
7132 if test $ac_cv_header_stdc = yes; then
7133 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7140 $EGREP "free" >/dev/null 2>&1; then :
7143 ac_cv_header_stdc=no
7149 if test $ac_cv_header_stdc = yes; then
7150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7151 if test "$cross_compiling" = yes; then :
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7158 #if ((' ' & 0x0FF) == 0x020)
7159 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7160 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7162 # define ISLOWER(c) \
7163 (('a' <= (c) && (c) <= 'i') \
7164 || ('j' <= (c) && (c) <= 'r') \
7165 || ('s' <= (c) && (c) <= 'z'))
7166 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7174 for (i = 0; i < 256; i++)
7175 if (XOR (islower (i), ISLOWER (i))
7176 || toupper (i) != TOUPPER (i))
7181 if ac_fn_c_try_run "$LINENO"; then :
7184 ac_cv_header_stdc=no
7186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7187 conftest.$ac_objext conftest.beam conftest.$ac_ext
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7193 $as_echo "$ac_cv_header_stdc" >&6; }
7194 if test $ac_cv_header_stdc = yes; then
7196 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7200 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7201 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7202 inttypes.h stdint.h unistd.h
7204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7205 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7217 for ac_header in dlfcn.h
7219 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7221 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_DLFCN_H 1
7244 # Check whether --enable-shared was given.
7245 if test "${enable_shared+set}" = set; then :
7246 enableval=$enable_shared; p=${PACKAGE-default}
7248 yes) enable_shared=yes ;;
7249 no) enable_shared=no ;;
7252 # Look at the argument we got. We use all the common list separators.
7253 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7254 for pkg in $enableval; do
7256 if test "X$pkg" = "X$p"; then
7275 # Check whether --enable-static was given.
7276 if test "${enable_static+set}" = set; then :
7277 enableval=$enable_static; p=${PACKAGE-default}
7279 yes) enable_static=yes ;;
7280 no) enable_static=no ;;
7283 # Look at the argument we got. We use all the common list separators.
7284 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7285 for pkg in $enableval; do
7287 if test "X$pkg" = "X$p"; then
7307 # Check whether --with-pic was given.
7308 if test "${with_pic+set}" = set; then :
7309 withval=$with_pic; lt_p=${PACKAGE-default}
7311 yes|no) pic_mode=$withval ;;
7314 # Look at the argument we got. We use all the common list separators.
7315 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7316 for lt_pkg in $withval; do
7318 if test "X$lt_pkg" = "X$lt_p"; then
7330 test -z "$pic_mode" && pic_mode=default
7338 # Check whether --enable-fast-install was given.
7339 if test "${enable_fast_install+set}" = set; then :
7340 enableval=$enable_fast_install; p=${PACKAGE-default}
7342 yes) enable_fast_install=yes ;;
7343 no) enable_fast_install=no ;;
7345 enable_fast_install=no
7346 # Look at the argument we got. We use all the common list separators.
7347 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7348 for pkg in $enableval; do
7350 if test "X$pkg" = "X$p"; then
7351 enable_fast_install=yes
7358 enable_fast_install=yes
7371 # This can be used to rebuild libtool when needed
7372 LIBTOOL_DEPS="$ltmain"
7374 # Always use our own libtool.
7375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7406 test -z "$LN_S" && LN_S="ln -s"
7421 if test -n "${ZSH_VERSION+set}" ; then
7422 setopt NO_GLOB_SUBST
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7426 $as_echo_n "checking for objdir... " >&6; }
7427 if ${lt_cv_objdir+:} false; then :
7428 $as_echo_n "(cached) " >&6
7430 rm -f .libs 2>/dev/null
7431 mkdir .libs 2>/dev/null
7432 if test -d .libs; then
7435 # MS-DOS does not allow filenames that begin with a dot.
7438 rmdir .libs 2>/dev/null
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7441 $as_echo "$lt_cv_objdir" >&6; }
7442 objdir=$lt_cv_objdir
7448 cat >>confdefs.h <<_ACEOF
7449 #define LT_OBJDIR "$lt_cv_objdir/"
7457 # AIX sometimes has problems with the GCC collect2 program. For some
7458 # reason, if we set the COLLECT_NAMES environment variable, the problems
7459 # vanish in a puff of smoke.
7460 if test "X${COLLECT_NAMES+set}" != Xset; then
7462 export COLLECT_NAMES
7469 can_build_shared=yes
7471 # All known linkers require a `.a' archive for static linking (except MSVC,
7472 # which needs '.lib').
7475 with_gnu_ld="$lt_cv_prog_gnu_ld"
7478 old_CFLAGS="$CFLAGS"
7480 # Set sane defaults for various variables
7481 test -z "$CC" && CC=cc
7482 test -z "$LTCC" && LTCC=$CC
7483 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7484 test -z "$LD" && LD=ld
7485 test -z "$ac_objext" && ac_objext=o
7487 for cc_temp in $compiler""; do
7489 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7490 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7495 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7498 # Only perform the check for file, if the check method requires it
7499 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7500 case $deplibs_check_method in
7502 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7504 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7505 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7506 $as_echo_n "(cached) " >&6
7510 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7513 lt_save_MAGIC_CMD="$MAGIC_CMD"
7514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7515 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7516 for ac_dir in $ac_dummy; do
7518 test -z "$ac_dir" && ac_dir=.
7519 if test -f $ac_dir/${ac_tool_prefix}file; then
7520 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7521 if test -n "$file_magic_test_file"; then
7522 case $deplibs_check_method in
7524 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7525 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7526 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7527 $EGREP "$file_magic_regex" > /dev/null; then
7532 *** Warning: the command libtool uses to detect shared libraries,
7533 *** $file_magic_cmd, produces output that libtool cannot recognize.
7534 *** The result is that libtool may fail to recognize shared libraries
7535 *** as such. This will affect the creation of libtool libraries that
7536 *** depend on shared libraries, but programs linked with such libtool
7537 *** libraries will work regardless of this problem. Nevertheless, you
7538 *** may want to report the problem to your system manager and/or to
7539 *** bug-libtool@gnu.org
7549 MAGIC_CMD="$lt_save_MAGIC_CMD"
7554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7555 if test -n "$MAGIC_CMD"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7557 $as_echo "$MAGIC_CMD" >&6; }
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7567 if test -z "$lt_cv_path_MAGIC_CMD"; then
7568 if test -n "$ac_tool_prefix"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7570 $as_echo_n "checking for file... " >&6; }
7571 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7572 $as_echo_n "(cached) " >&6
7576 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7579 lt_save_MAGIC_CMD="$MAGIC_CMD"
7580 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7581 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7582 for ac_dir in $ac_dummy; do
7584 test -z "$ac_dir" && ac_dir=.
7585 if test -f $ac_dir/file; then
7586 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7587 if test -n "$file_magic_test_file"; then
7588 case $deplibs_check_method in
7590 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7591 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7592 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7593 $EGREP "$file_magic_regex" > /dev/null; then
7598 *** Warning: the command libtool uses to detect shared libraries,
7599 *** $file_magic_cmd, produces output that libtool cannot recognize.
7600 *** The result is that libtool may fail to recognize shared libraries
7601 *** as such. This will affect the creation of libtool libraries that
7602 *** depend on shared libraries, but programs linked with such libtool
7603 *** libraries will work regardless of this problem. Nevertheless, you
7604 *** may want to report the problem to your system manager and/or to
7605 *** bug-libtool@gnu.org
7615 MAGIC_CMD="$lt_save_MAGIC_CMD"
7620 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7621 if test -n "$MAGIC_CMD"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7623 $as_echo "$MAGIC_CMD" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7639 # Use C for the default configuration in the libtool script
7643 ac_cpp='$CPP $CPPFLAGS'
7644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7649 # Source file extension for C test sources.
7652 # Object file extension for compiled C test sources.
7656 # Code to be used in simple compile tests
7657 lt_simple_compile_test_code="int some_variable = 0;"
7659 # Code to be used in simple link tests
7660 lt_simple_link_test_code='int main(){return(0);}'
7668 # If no C compiler was specified, use CC.
7671 # If no C compiler flags were specified, use CFLAGS.
7672 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7674 # Allow CC to be a program name with arguments.
7677 # Save the default compiler, since it gets overwritten when the other
7678 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7679 compiler_DEFAULT=$CC
7681 # save warnings/boilerplate of simple test code
7682 ac_outfile=conftest.$ac_objext
7683 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7684 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7685 _lt_compiler_boilerplate=`cat conftest.err`
7688 ac_outfile=conftest.$ac_objext
7689 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7690 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7691 _lt_linker_boilerplate=`cat conftest.err`
7695 if test -n "$compiler"; then
7697 lt_prog_compiler_no_builtin_flag=
7699 if test "$GCC" = yes; then
7700 case $cc_basename in
7702 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7704 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7710 $as_echo_n "(cached) " >&6
7712 lt_cv_prog_compiler_rtti_exceptions=no
7713 ac_outfile=conftest.$ac_objext
7714 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7715 lt_compiler_flag="-fno-rtti -fno-exceptions"
7716 # Insert the option either (1) after the last *FLAGS variable, or
7717 # (2) before a word containing "conftest.", or (3) at the end.
7718 # Note that $ac_compile itself does not contain backslashes and begins
7719 # with a dollar sign (not a hyphen), so the echo should work correctly.
7720 # The option is referenced via a variable to avoid confusing sed.
7721 lt_compile=`echo "$ac_compile" | $SED \
7722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7724 -e 's:$: $lt_compiler_flag:'`
7725 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7726 (eval "$lt_compile" 2>conftest.err)
7728 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 if (exit $ac_status) && test -s "$ac_outfile"; then
7731 # The compiler can only warn and ignore the option if not recognized
7732 # So say no if there are warnings other than the usual output.
7733 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7734 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7735 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7736 lt_cv_prog_compiler_rtti_exceptions=yes
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7745 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7746 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7758 lt_prog_compiler_wl=
7759 lt_prog_compiler_pic=
7760 lt_prog_compiler_static=
7763 if test "$GCC" = yes; then
7764 lt_prog_compiler_wl='-Wl,'
7765 lt_prog_compiler_static='-static'
7769 # All AIX code is PIC.
7770 if test "$host_cpu" = ia64; then
7771 # AIX 5 now supports IA64 processor
7772 lt_prog_compiler_static='-Bstatic'
7779 # see comment about AmigaOS4 .so support
7780 lt_prog_compiler_pic='-fPIC'
7783 # FIXME: we need at least 68020 code to build shared libraries, but
7784 # adding the `-m68020' flag to GCC prevents building anything better,
7786 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7791 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7792 # PIC is the default for these OSes.
7795 mingw* | cygwin* | pw32* | os2* | cegcc*)
7796 # This hack is so that the source file can tell whether it is being
7797 # built for inclusion in a dll (and should export symbols for example).
7798 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7799 # (--disable-auto-import) libraries
7800 lt_prog_compiler_pic='-DDLL_EXPORT'
7803 darwin* | rhapsody*)
7804 # PIC is the default on this platform
7805 # Common symbols not allowed in MH_DYLIB files
7806 lt_prog_compiler_pic='-fno-common'
7810 # PIC is the default for Haiku.
7811 # The "-static" flag exists, but is broken.
7812 lt_prog_compiler_static=
7816 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7817 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7818 # sets the default TLS model and affects inlining.
7824 lt_prog_compiler_pic='-fPIC'
7830 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7831 # Instead, we relocate shared libraries at runtime.
7835 # Just because we use GCC doesn't mean we suddenly get shared libraries
7836 # on systems that don't support them.
7837 lt_prog_compiler_can_build_shared=no
7842 # QNX uses GNU C++, but need to define -shared option too, otherwise
7844 lt_prog_compiler_pic='-fPIC -shared'
7848 if test -d /usr/nec; then
7849 lt_prog_compiler_pic=-Kconform_pic
7854 lt_prog_compiler_pic='-fPIC'
7858 case $cc_basename in
7859 nvcc*) # Cuda Compiler Driver 2.2
7860 lt_prog_compiler_wl='-Xlinker '
7861 if test -n "$lt_prog_compiler_pic"; then
7862 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7867 # PORTME Check for flag to pass linker flags through the system compiler.
7870 lt_prog_compiler_wl='-Wl,'
7871 if test "$host_cpu" = ia64; then
7872 # AIX 5 now supports IA64 processor
7873 lt_prog_compiler_static='-Bstatic'
7875 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7879 mingw* | cygwin* | pw32* | os2* | cegcc*)
7880 # This hack is so that the source file can tell whether it is being
7881 # built for inclusion in a dll (and should export symbols for example).
7882 lt_prog_compiler_pic='-DDLL_EXPORT'
7885 hpux9* | hpux10* | hpux11*)
7886 lt_prog_compiler_wl='-Wl,'
7887 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7894 lt_prog_compiler_pic='+Z'
7897 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7898 lt_prog_compiler_static='${wl}-a ${wl}archive'
7901 irix5* | irix6* | nonstopux*)
7902 lt_prog_compiler_wl='-Wl,'
7903 # PIC (with -KPIC) is the default.
7904 lt_prog_compiler_static='-non_shared'
7907 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7908 case $cc_basename in
7909 # old Intel for x86_64 which still supported -KPIC.
7911 lt_prog_compiler_wl='-Wl,'
7912 lt_prog_compiler_pic='-KPIC'
7913 lt_prog_compiler_static='-static'
7915 # icc used to be incompatible with GCC.
7916 # ICC 10 doesn't accept -KPIC any more.
7918 lt_prog_compiler_wl='-Wl,'
7919 lt_prog_compiler_pic='-fPIC'
7920 lt_prog_compiler_static='-static'
7922 # Lahey Fortran 8.1.
7924 lt_prog_compiler_wl='-Wl,'
7925 lt_prog_compiler_pic='--shared'
7926 lt_prog_compiler_static='--static'
7929 # NAG Fortran compiler
7930 lt_prog_compiler_wl='-Wl,-Wl,,'
7931 lt_prog_compiler_pic='-PIC'
7932 lt_prog_compiler_static='-Bstatic'
7934 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7935 # Portland Group compilers (*not* the Pentium gcc compiler,
7936 # which looks to be a dead project)
7937 lt_prog_compiler_wl='-Wl,'
7938 lt_prog_compiler_pic='-fpic'
7939 lt_prog_compiler_static='-Bstatic'
7942 lt_prog_compiler_wl='-Wl,'
7943 # All Alpha code is PIC.
7944 lt_prog_compiler_static='-non_shared'
7946 xl* | bgxl* | bgf* | mpixl*)
7947 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7948 lt_prog_compiler_wl='-Wl,'
7949 lt_prog_compiler_pic='-qpic'
7950 lt_prog_compiler_static='-qstaticlink'
7953 case `$CC -V 2>&1 | sed 5q` in
7954 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7955 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7956 lt_prog_compiler_pic='-KPIC'
7957 lt_prog_compiler_static='-Bstatic'
7958 lt_prog_compiler_wl=''
7960 *Sun\ F* | *Sun*Fortran*)
7961 lt_prog_compiler_pic='-KPIC'
7962 lt_prog_compiler_static='-Bstatic'
7963 lt_prog_compiler_wl='-Qoption ld '
7967 lt_prog_compiler_pic='-KPIC'
7968 lt_prog_compiler_static='-Bstatic'
7969 lt_prog_compiler_wl='-Wl,'
7971 *Intel*\ [CF]*Compiler*)
7972 lt_prog_compiler_wl='-Wl,'
7973 lt_prog_compiler_pic='-fPIC'
7974 lt_prog_compiler_static='-static'
7977 lt_prog_compiler_wl='-Wl,'
7978 lt_prog_compiler_pic='-fpic'
7979 lt_prog_compiler_static='-Bstatic'
7987 lt_prog_compiler_pic='-KPIC'
7988 lt_prog_compiler_static='-Bstatic'
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7994 lt_prog_compiler_pic='-fPIC -shared'
7997 osf3* | osf4* | osf5*)
7998 lt_prog_compiler_wl='-Wl,'
7999 # All OSF/1 code is PIC.
8000 lt_prog_compiler_static='-non_shared'
8004 lt_prog_compiler_static='-non_shared'
8008 lt_prog_compiler_pic='-KPIC'
8009 lt_prog_compiler_static='-Bstatic'
8010 case $cc_basename in
8011 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8012 lt_prog_compiler_wl='-Qoption ld ';;
8014 lt_prog_compiler_wl='-Wl,';;
8019 lt_prog_compiler_wl='-Qoption ld '
8020 lt_prog_compiler_pic='-PIC'
8021 lt_prog_compiler_static='-Bstatic'
8024 sysv4 | sysv4.2uw2* | sysv4.3*)
8025 lt_prog_compiler_wl='-Wl,'
8026 lt_prog_compiler_pic='-KPIC'
8027 lt_prog_compiler_static='-Bstatic'
8031 if test -d /usr/nec ;then
8032 lt_prog_compiler_pic='-Kconform_pic'
8033 lt_prog_compiler_static='-Bstatic'
8037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8038 lt_prog_compiler_wl='-Wl,'
8039 lt_prog_compiler_pic='-KPIC'
8040 lt_prog_compiler_static='-Bstatic'
8044 lt_prog_compiler_wl='-Wl,'
8045 lt_prog_compiler_can_build_shared=no
8049 lt_prog_compiler_pic='-pic'
8050 lt_prog_compiler_static='-Bstatic'
8054 lt_prog_compiler_can_build_shared=no
8060 # For platforms which do not support PIC, -DPIC is meaningless:
8062 lt_prog_compiler_pic=
8065 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8070 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8071 if ${lt_cv_prog_compiler_pic+:} false; then :
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8077 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8078 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8081 # Check to make sure the PIC flag actually works.
8083 if test -n "$lt_prog_compiler_pic"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8086 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8087 $as_echo_n "(cached) " >&6
8089 lt_cv_prog_compiler_pic_works=no
8090 ac_outfile=conftest.$ac_objext
8091 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8092 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8093 # Insert the option either (1) after the last *FLAGS variable, or
8094 # (2) before a word containing "conftest.", or (3) at the end.
8095 # Note that $ac_compile itself does not contain backslashes and begins
8096 # with a dollar sign (not a hyphen), so the echo should work correctly.
8097 # The option is referenced via a variable to avoid confusing sed.
8098 lt_compile=`echo "$ac_compile" | $SED \
8099 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8100 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8101 -e 's:$: $lt_compiler_flag:'`
8102 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8103 (eval "$lt_compile" 2>conftest.err)
8105 cat conftest.err >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 if (exit $ac_status) && test -s "$ac_outfile"; then
8108 # The compiler can only warn and ignore the option if not recognized
8109 # So say no if there are warnings other than the usual output.
8110 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8111 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8112 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8113 lt_cv_prog_compiler_pic_works=yes
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8120 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8122 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8123 case $lt_prog_compiler_pic in
8125 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8128 lt_prog_compiler_pic=
8129 lt_prog_compiler_can_build_shared=no
8145 # Check to make sure the static flag actually works.
8147 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8149 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8150 if ${lt_cv_prog_compiler_static_works+:} false; then :
8151 $as_echo_n "(cached) " >&6
8153 lt_cv_prog_compiler_static_works=no
8154 save_LDFLAGS="$LDFLAGS"
8155 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8156 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8157 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8158 # The linker can only warn and ignore the option if not recognized
8159 # So say no if there are warnings
8160 if test -s conftest.err; then
8161 # Append any errors to the config.log.
8162 cat conftest.err 1>&5
8163 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8164 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8165 if diff conftest.exp conftest.er2 >/dev/null; then
8166 lt_cv_prog_compiler_static_works=yes
8169 lt_cv_prog_compiler_static_works=yes
8173 LDFLAGS="$save_LDFLAGS"
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8177 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8179 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8182 lt_prog_compiler_static=
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8192 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8193 if ${lt_cv_prog_compiler_c_o+:} false; then :
8194 $as_echo_n "(cached) " >&6
8196 lt_cv_prog_compiler_c_o=no
8197 $RM -r conftest 2>/dev/null
8201 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8203 lt_compiler_flag="-o out/conftest2.$ac_objext"
8204 # Insert the option either (1) after the last *FLAGS variable, or
8205 # (2) before a word containing "conftest.", or (3) at the end.
8206 # Note that $ac_compile itself does not contain backslashes and begins
8207 # with a dollar sign (not a hyphen), so the echo should work correctly.
8208 lt_compile=`echo "$ac_compile" | $SED \
8209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8211 -e 's:$: $lt_compiler_flag:'`
8212 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8213 (eval "$lt_compile" 2>out/conftest.err)
8215 cat out/conftest.err >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8219 # The compiler can only warn and ignore the option if not recognized
8220 # So say no if there are warnings
8221 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8222 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8223 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8224 lt_cv_prog_compiler_c_o=yes
8229 # SGI C++ compiler will create directory out/ii_files/ for
8230 # template instantiation
8231 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8232 $RM out/* && rmdir out
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8239 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8247 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8248 if ${lt_cv_prog_compiler_c_o+:} false; then :
8249 $as_echo_n "(cached) " >&6
8251 lt_cv_prog_compiler_c_o=no
8252 $RM -r conftest 2>/dev/null
8256 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8258 lt_compiler_flag="-o out/conftest2.$ac_objext"
8259 # Insert the option either (1) after the last *FLAGS variable, or
8260 # (2) before a word containing "conftest.", or (3) at the end.
8261 # Note that $ac_compile itself does not contain backslashes and begins
8262 # with a dollar sign (not a hyphen), so the echo should work correctly.
8263 lt_compile=`echo "$ac_compile" | $SED \
8264 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8266 -e 's:$: $lt_compiler_flag:'`
8267 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8268 (eval "$lt_compile" 2>out/conftest.err)
8270 cat out/conftest.err >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8274 # The compiler can only warn and ignore the option if not recognized
8275 # So say no if there are warnings
8276 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8277 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8278 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8279 lt_cv_prog_compiler_c_o=yes
8284 # SGI C++ compiler will create directory out/ii_files/ for
8285 # template instantiation
8286 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8287 $RM out/* && rmdir out
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8294 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8299 hard_links="nottested"
8300 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8301 # do not overwrite the value of need_locks provided by the user
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8303 $as_echo_n "checking if we can lock with hard links... " >&6; }
8306 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8308 ln conftest.a conftest.b 2>&5 || hard_links=no
8309 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8311 $as_echo "$hard_links" >&6; }
8312 if test "$hard_links" = no; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8314 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8327 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8330 allow_undefined_flag=
8331 always_export_symbols=no
8333 archive_expsym_cmds=
8334 compiler_needs_object=no
8335 enable_shared_with_static_runtimes=no
8336 export_dynamic_flag_spec=
8337 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8338 hardcode_automatic=no
8340 hardcode_direct_absolute=no
8341 hardcode_libdir_flag_spec=
8342 hardcode_libdir_separator=
8344 hardcode_shlibpath_var=unsupported
8346 link_all_deplibs=unknown
8349 old_archive_from_new_cmds=
8350 old_archive_from_expsyms_cmds=
8351 thread_safe_flag_spec=
8352 whole_archive_flag_spec=
8353 # include_expsyms should be a list of space-separated symbols to be *always*
8354 # included in the symbol list
8356 # exclude_expsyms can be an extended regexp of symbols to exclude
8357 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8358 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8359 # as well as any symbol that contains `d'.
8360 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8361 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8362 # platforms (ab)use it in PIC code, but their linkers get confused if
8363 # the symbol is explicitly referenced. Since portable code cannot
8364 # rely on this symbol name, it's probably fine to never include it in
8365 # preloaded symbol tables.
8366 # Exclude shared library initialization/finalization symbols.
8367 extract_expsyms_cmds=
8370 cygwin* | mingw* | pw32* | cegcc*)
8371 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8372 # When not using gcc, we currently assume that we are using
8373 # Microsoft Visual C++.
8374 if test "$GCC" != yes; then
8379 # we just hope/assume this is gcc and not c89 (= MSVC++)
8385 linux* | k*bsd*-gnu | gnu*)
8392 # On some targets, GNU ld is compatible enough with the native linker
8393 # that we're better off using the native interface for both.
8394 lt_use_gnu_ld_interface=no
8395 if test "$with_gnu_ld" = yes; then
8398 # The AIX port of GNU ld has always aspired to compatibility
8399 # with the native linker. However, as the warning in the GNU ld
8400 # block says, versions before 2.19.5* couldn't really create working
8401 # shared libraries, regardless of the interface used.
8402 case `$LD -v 2>&1` in
8403 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8404 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8405 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8407 lt_use_gnu_ld_interface=yes
8412 lt_use_gnu_ld_interface=yes
8417 if test "$lt_use_gnu_ld_interface" = yes; then
8418 # If archive_cmds runs LD, not CC, wlarc should be empty
8421 # Set some defaults for GNU ld with shared library support. These
8422 # are reset later if shared libraries are not supported. Putting them
8423 # here allows them to be overridden if necessary.
8424 runpath_var=LD_RUN_PATH
8425 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8426 export_dynamic_flag_spec='${wl}--export-dynamic'
8427 # ancient GNU ld didn't support --whole-archive et. al.
8428 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8429 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8431 whole_archive_flag_spec=
8433 supports_anon_versioning=no
8434 case `$LD -v 2>&1` in
8435 *GNU\ gold*) supports_anon_versioning=yes ;;
8436 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8437 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8438 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8439 *\ 2.11.*) ;; # other 2.11 versions
8440 *) supports_anon_versioning=yes ;;
8443 # See if GNU ld supports shared libraries.
8446 # On AIX/PPC, the GNU linker is very broken
8447 if test "$host_cpu" != ia64; then
8451 *** Warning: the GNU linker, at least up to release 2.19, is reported
8452 *** to be unable to reliably create shared libraries on AIX.
8453 *** Therefore, libtool is disabling shared libraries support. If you
8454 *** really care for shared libraries, you may want to install binutils
8455 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8456 *** You will then need to restart the configuration process.
8465 # see comment about AmigaOS4 .so support
8466 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8467 archive_expsym_cmds=''
8470 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)'
8471 hardcode_libdir_flag_spec='-L$libdir'
8472 hardcode_minus_L=yes
8478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8479 allow_undefined_flag=unsupported
8480 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8481 # support --undefined. This deserves some investigation. FIXME
8482 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8488 cygwin* | mingw* | pw32* | cegcc*)
8489 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8490 # as there is no search path for DLLs.
8491 hardcode_libdir_flag_spec='-L$libdir'
8492 export_dynamic_flag_spec='${wl}--export-all-symbols'
8493 allow_undefined_flag=unsupported
8494 always_export_symbols=no
8495 enable_shared_with_static_runtimes=yes
8496 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'
8497 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8500 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8501 # If the export-symbols file already is a .def file (1st line
8502 # is EXPORTS), use it as is; otherwise, prepend...
8503 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8504 cp $export_symbols $output_objdir/$soname.def;
8506 echo EXPORTS > $output_objdir/$soname.def;
8507 cat $export_symbols >> $output_objdir/$soname.def;
8509 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8516 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8517 link_all_deplibs=yes
8522 hardcode_shlibpath_var=no
8523 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8524 export_dynamic_flag_spec='${wl}-E'
8525 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8526 # Instead, shared libraries are loaded at an image base (0x10000000 by
8527 # default) and relocated if they conflict, which is a slow very memory
8528 # consuming and fragmenting process. To avoid this, we pick a random,
8529 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8530 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8531 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8532 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'
8535 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8537 if test "$host_os" = linux-dietlibc; then
8538 case $cc_basename in
8539 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8542 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8543 && test "$tmp_diet" = no
8545 tmp_addflag=' $pic_flag'
8546 tmp_sharedflag='-shared'
8547 case $cc_basename,$host_cpu in
8548 pgcc*) # Portland Group C compiler
8549 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'
8550 tmp_addflag=' $pic_flag'
8552 pgf77* | pgf90* | pgf95* | pgfortran*)
8553 # Portland Group f77 and f90 compilers
8554 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'
8555 tmp_addflag=' $pic_flag -Mnomain' ;;
8556 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8557 tmp_addflag=' -i_dynamic' ;;
8558 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8559 tmp_addflag=' -i_dynamic -nofor_main' ;;
8560 ifc* | ifort*) # Intel Fortran compiler
8561 tmp_addflag=' -nofor_main' ;;
8562 lf95*) # Lahey Fortran 8.1
8563 whole_archive_flag_spec=
8564 tmp_sharedflag='--shared' ;;
8565 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8566 tmp_sharedflag='-qmkshrobj'
8568 nvcc*) # Cuda Compiler Driver 2.2
8569 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'
8570 compiler_needs_object=yes
8573 case `$CC -V 2>&1 | sed 5q` in
8574 *Sun\ C*) # Sun C 5.9
8575 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'
8576 compiler_needs_object=yes
8577 tmp_sharedflag='-G' ;;
8578 *Sun\ F*) # Sun Fortran 8.3
8579 tmp_sharedflag='-G' ;;
8581 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8583 if test "x$supports_anon_versioning" = xyes; then
8584 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8586 echo "local: *; };" >> $output_objdir/$libname.ver~
8587 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8590 case $cc_basename in
8591 xlf* | bgf* | bgxlf* | mpixlf*)
8592 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8593 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8596 if test "x$supports_anon_versioning" = xyes; then
8597 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8598 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8599 echo "local: *; };" >> $output_objdir/$libname.ver~
8600 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8609 netbsd* | netbsdelf*-gnu)
8610 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8611 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8614 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8615 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8620 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8624 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8625 *** create shared libraries on Solaris systems. Therefore, libtool
8626 *** is disabling shared libraries support. We urge you to upgrade GNU
8627 *** binutils to release 2.9.1 or newer. Another option is to modify
8628 *** your PATH or compiler configuration so that the native linker is
8629 *** used, and then restart.
8632 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8633 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8634 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8640 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8641 case `$LD -v 2>&1` in
8642 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8646 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8647 *** reliably create shared libraries on SCO systems. Therefore, libtool
8648 *** is disabling shared libraries support. We urge you to upgrade GNU
8649 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8650 *** your PATH or compiler configuration so that the native linker is
8651 *** used, and then restart.
8656 # For security reasons, it is highly recommended that you always
8657 # use absolute paths for naming shared libraries, and exclude the
8658 # DT_RUNPATH tag from executables and libraries. But doing so
8659 # requires that you compile everything twice, which is a pain.
8660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8661 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8662 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8663 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8672 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8675 hardcode_shlibpath_var=no
8679 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8680 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8681 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8688 if test "$ld_shlibs" = no; then
8690 hardcode_libdir_flag_spec=
8691 export_dynamic_flag_spec=
8692 whole_archive_flag_spec=
8695 # PORTME fill in a description of your system's linker (not GNU ld)
8698 allow_undefined_flag=unsupported
8699 always_export_symbols=yes
8700 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'
8701 # Note: this linker hardcodes the directories in LIBPATH if there
8702 # are no directories specified by -L.
8703 hardcode_minus_L=yes
8704 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8705 # Neither direct hardcoding nor static linking is supported with a
8707 hardcode_direct=unsupported
8712 if test "$host_cpu" = ia64; then
8713 # On IA64, the linker does run time linking by default, so we don't
8714 # have to do anything special.
8715 aix_use_runtimelinking=no
8716 exp_sym_flag='-Bexport'
8719 # If we're using GNU nm, then we don't want the "-C" option.
8720 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8721 # Also, AIX nm treats weak defined symbols like other global
8722 # defined symbols, whereas GNU nm marks them as "W".
8723 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8724 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'
8726 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'
8728 aix_use_runtimelinking=no
8730 # Test if we are trying to use run time linking or normal
8731 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8732 # need to do runtime linking.
8733 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8734 for ld_flag in $LDFLAGS; do
8735 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8736 aix_use_runtimelinking=yes
8743 exp_sym_flag='-bexport'
8744 no_entry_flag='-bnoentry'
8747 # When large executables or shared objects are built, AIX ld can
8748 # have problems creating the table of contents. If linking a library
8749 # or program results in "error TOC overflow" add -mminimal-toc to
8750 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8751 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8755 hardcode_direct_absolute=yes
8756 hardcode_libdir_separator=':'
8757 link_all_deplibs=yes
8758 file_list_spec='${wl}-f,'
8760 if test "$GCC" = yes; then
8761 case $host_os in aix4.[012]|aix4.[012].*)
8762 # We only want to do this on AIX 4.2 and lower, the check
8763 # below for broken collect2 doesn't work under 4.3+
8764 collect2name=`${CC} -print-prog-name=collect2`
8765 if test -f "$collect2name" &&
8766 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8768 # We have reworked collect2
8771 # We have old collect2
8772 hardcode_direct=unsupported
8773 # It fails to find uninstalled libraries when the uninstalled
8774 # path is not listed in the libpath. Setting hardcode_minus_L
8775 # to unsupported forces relinking
8776 hardcode_minus_L=yes
8777 hardcode_libdir_flag_spec='-L$libdir'
8778 hardcode_libdir_separator=
8782 shared_flag='-shared'
8783 if test "$aix_use_runtimelinking" = yes; then
8784 shared_flag="$shared_flag "'${wl}-G'
8789 if test "$host_cpu" = ia64; then
8790 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8791 # chokes on -Wl,-G. The following line is correct:
8794 if test "$aix_use_runtimelinking" = yes; then
8795 shared_flag='${wl}-G'
8797 shared_flag='${wl}-bM:SRE'
8802 export_dynamic_flag_spec='${wl}-bexpall'
8803 # It seems that -bexpall does not export symbols beginning with
8804 # underscore (_), so it is better to generate a list of symbols to export.
8805 always_export_symbols=yes
8806 if test "$aix_use_runtimelinking" = yes; then
8807 # Warning - without using the other runtime loading flags (-brtl),
8808 # -berok will link without error, but may produce a broken library.
8809 allow_undefined_flag='-berok'
8810 # Determine the default libpath from the value encoded in an
8812 if test "${lt_cv_aix_libpath+set}" = set; then
8813 aix_libpath=$lt_cv_aix_libpath
8815 if ${lt_cv_aix_libpath_+:} false; then :
8816 $as_echo_n "(cached) " >&6
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8829 if ac_fn_c_try_link "$LINENO"; then :
8831 lt_aix_libpath_sed='
8832 /Import File Strings/,/^$/ {
8834 s/^0 *\([^ ]*\) *$/\1/
8838 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8839 # Check for a 64-bit object if we didn't find anything.
8840 if test -z "$lt_cv_aix_libpath_"; then
8841 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8844 rm -f core conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 if test -z "$lt_cv_aix_libpath_"; then
8847 lt_cv_aix_libpath_="/usr/lib:/lib"
8852 aix_libpath=$lt_cv_aix_libpath_
8855 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8856 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"
8858 if test "$host_cpu" = ia64; then
8859 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8860 allow_undefined_flag="-z nodefs"
8861 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"
8863 # Determine the default libpath from the value encoded in an
8865 if test "${lt_cv_aix_libpath+set}" = set; then
8866 aix_libpath=$lt_cv_aix_libpath
8868 if ${lt_cv_aix_libpath_+:} false; then :
8869 $as_echo_n "(cached) " >&6
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8882 if ac_fn_c_try_link "$LINENO"; then :
8884 lt_aix_libpath_sed='
8885 /Import File Strings/,/^$/ {
8887 s/^0 *\([^ ]*\) *$/\1/
8891 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8892 # Check for a 64-bit object if we didn't find anything.
8893 if test -z "$lt_cv_aix_libpath_"; then
8894 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 if test -z "$lt_cv_aix_libpath_"; then
8900 lt_cv_aix_libpath_="/usr/lib:/lib"
8905 aix_libpath=$lt_cv_aix_libpath_
8908 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8909 # Warning - without using the other run time loading flags,
8910 # -berok will link without error, but may produce a broken library.
8911 no_undefined_flag=' ${wl}-bernotok'
8912 allow_undefined_flag=' ${wl}-berok'
8913 if test "$with_gnu_ld" = yes; then
8914 # We only use this code for GNU lds that support --whole-archive.
8915 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8917 # Exported symbols can be pulled into shared objects from archives
8918 whole_archive_flag_spec='$convenience'
8920 archive_cmds_need_lc=yes
8921 # This is similar to how AIX traditionally builds its shared libraries.
8922 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'
8930 # see comment about AmigaOS4 .so support
8931 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8932 archive_expsym_cmds=''
8935 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)'
8936 hardcode_libdir_flag_spec='-L$libdir'
8937 hardcode_minus_L=yes
8943 export_dynamic_flag_spec=-rdynamic
8946 cygwin* | mingw* | pw32* | cegcc*)
8947 # When not using gcc, we currently assume that we are using
8948 # Microsoft Visual C++.
8949 # hardcode_libdir_flag_spec is actually meaningless, as there is
8950 # no search path for DLLs.
8951 case $cc_basename in
8954 hardcode_libdir_flag_spec=' '
8955 allow_undefined_flag=unsupported
8956 always_export_symbols=yes
8958 # Tell ltmain to make .lib files, not .a files.
8960 # Tell ltmain to make .dll files, not .so files.
8962 # FIXME: Setting linknames here is a bad hack.
8963 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8964 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8965 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8967 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8969 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8971 # The linker will not automatically build a static lib if we build a DLL.
8972 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8973 enable_shared_with_static_runtimes=yes
8974 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8975 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8977 old_postinstall_cmds='chmod 644 $oldlib'
8978 postlink_cmds='lt_outputfile="@OUTPUT@"~
8979 lt_tool_outputfile="@TOOL_OUTPUT@"~
8980 case $lt_outputfile in
8983 lt_outputfile="$lt_outputfile.exe"
8984 lt_tool_outputfile="$lt_tool_outputfile.exe"
8987 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8988 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8989 $RM "$lt_outputfile.manifest";
8993 # Assume MSVC wrapper
8994 hardcode_libdir_flag_spec=' '
8995 allow_undefined_flag=unsupported
8996 # Tell ltmain to make .lib files, not .a files.
8998 # Tell ltmain to make .dll files, not .so files.
9000 # FIXME: Setting linknames here is a bad hack.
9001 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9002 # The linker will automatically build a .lib file if we build a DLL.
9003 old_archive_from_new_cmds='true'
9004 # FIXME: Should let the user specify the lib program.
9005 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9006 enable_shared_with_static_runtimes=yes
9011 darwin* | rhapsody*)
9014 archive_cmds_need_lc=no
9016 hardcode_automatic=yes
9017 hardcode_shlibpath_var=unsupported
9018 if test "$lt_cv_ld_force_load" = "yes"; then
9019 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\"`'
9022 whole_archive_flag_spec=''
9024 link_all_deplibs=yes
9025 allow_undefined_flag="$_lt_dar_allow_undefined"
9026 case $cc_basename in
9027 ifort*) _lt_dar_can_shared=yes ;;
9028 *) _lt_dar_can_shared=$GCC ;;
9030 if test "$_lt_dar_can_shared" = "yes"; then
9031 output_verbose_link_cmd=func_echo_all
9032 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9033 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9034 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}"
9035 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}"
9044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9045 hardcode_libdir_flag_spec='-L$libdir'
9046 hardcode_shlibpath_var=no
9049 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9050 # support. Future versions do this automatically, but an explicit c++rt0.o
9051 # does not break anything, and helps significantly (at the cost of a little
9054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9055 hardcode_libdir_flag_spec='-R$libdir'
9057 hardcode_shlibpath_var=no
9060 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9062 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9064 hardcode_minus_L=yes
9065 hardcode_shlibpath_var=no
9068 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9069 freebsd* | dragonfly*)
9070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9071 hardcode_libdir_flag_spec='-R$libdir'
9073 hardcode_shlibpath_var=no
9077 if test "$GCC" = yes; then
9078 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'
9080 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'
9082 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9083 hardcode_libdir_separator=:
9086 # hardcode_minus_L: Not really in the search PATH,
9087 # but as the default location of the library.
9088 hardcode_minus_L=yes
9089 export_dynamic_flag_spec='${wl}-E'
9093 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9094 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9096 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9098 if test "$with_gnu_ld" = no; then
9099 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9100 hardcode_libdir_separator=:
9102 hardcode_direct_absolute=yes
9103 export_dynamic_flag_spec='${wl}-E'
9104 # hardcode_minus_L: Not really in the search PATH,
9105 # but as the default location of the library.
9106 hardcode_minus_L=yes
9111 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9114 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9117 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9120 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9126 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9129 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9133 # Older versions of the 11.00 compiler do not understand -b yet
9134 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9136 $as_echo_n "checking if $CC understands -b... " >&6; }
9137 if ${lt_cv_prog_compiler__b+:} false; then :
9138 $as_echo_n "(cached) " >&6
9140 lt_cv_prog_compiler__b=no
9141 save_LDFLAGS="$LDFLAGS"
9142 LDFLAGS="$LDFLAGS -b"
9143 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9144 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9145 # The linker can only warn and ignore the option if not recognized
9146 # So say no if there are warnings
9147 if test -s conftest.err; then
9148 # Append any errors to the config.log.
9149 cat conftest.err 1>&5
9150 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9151 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9152 if diff conftest.exp conftest.er2 >/dev/null; then
9153 lt_cv_prog_compiler__b=yes
9156 lt_cv_prog_compiler__b=yes
9160 LDFLAGS="$save_LDFLAGS"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9164 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9166 if test x"$lt_cv_prog_compiler__b" = xyes; then
9167 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9169 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9175 if test "$with_gnu_ld" = no; then
9176 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9177 hardcode_libdir_separator=:
9182 hardcode_shlibpath_var=no
9186 hardcode_direct_absolute=yes
9187 export_dynamic_flag_spec='${wl}-E'
9189 # hardcode_minus_L: Not really in the search PATH,
9190 # but as the default location of the library.
9191 hardcode_minus_L=yes
9197 irix5* | irix6* | nonstopux*)
9198 if test "$GCC" = yes; then
9199 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'
9200 # Try to use the -exported_symbol ld option, if it does not
9201 # work, assume that -exports_file does not work either and
9202 # implicitly export all symbols.
9203 # This should be the same for all languages, so no per-tag cache variable.
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9205 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9206 if ${lt_cv_irix_exported_symbol+:} false; then :
9207 $as_echo_n "(cached) " >&6
9209 save_LDFLAGS="$LDFLAGS"
9210 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9213 int foo (void) { return 0; }
9215 if ac_fn_c_try_link "$LINENO"; then :
9216 lt_cv_irix_exported_symbol=yes
9218 lt_cv_irix_exported_symbol=no
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LDFLAGS="$save_LDFLAGS"
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9225 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9226 if test "$lt_cv_irix_exported_symbol" = yes; then
9227 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'
9230 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'
9231 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'
9233 archive_cmds_need_lc='no'
9234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9235 hardcode_libdir_separator=:
9237 link_all_deplibs=yes
9240 netbsd* | netbsdelf*-gnu)
9241 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9242 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9244 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9246 hardcode_libdir_flag_spec='-R$libdir'
9248 hardcode_shlibpath_var=no
9252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9255 hardcode_libdir_separator=:
9256 hardcode_shlibpath_var=no
9263 if test -f /usr/libexec/ld.so; then
9265 hardcode_shlibpath_var=no
9266 hardcode_direct_absolute=yes
9267 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9268 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9269 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9274 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9275 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9276 hardcode_libdir_flag_spec='-R$libdir'
9279 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9280 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9292 allow_undefined_flag=unsupported
9293 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'
9294 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9298 if test "$GCC" = yes; then
9299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9300 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'
9302 allow_undefined_flag=' -expect_unresolved \*'
9303 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'
9305 archive_cmds_need_lc='no'
9306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9307 hardcode_libdir_separator=:
9310 osf4* | osf5*) # as osf3* with the addition of -msym flag
9311 if test "$GCC" = yes; then
9312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9313 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'
9314 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9316 allow_undefined_flag=' -expect_unresolved \*'
9317 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'
9318 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~
9319 $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'
9321 # Both c and cxx compiler support -rpath directly
9322 hardcode_libdir_flag_spec='-rpath $libdir'
9324 archive_cmds_need_lc='no'
9325 hardcode_libdir_separator=:
9329 no_undefined_flag=' -z defs'
9330 if test "$GCC" = yes; then
9332 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9334 $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'
9336 case `$CC -V 2>&1` in
9339 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9340 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9341 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9345 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9346 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9347 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9351 hardcode_libdir_flag_spec='-R$libdir'
9352 hardcode_shlibpath_var=no
9354 solaris2.[0-5] | solaris2.[0-5].*) ;;
9356 # The compiler driver will combine and reorder linker options,
9357 # but understands `-z linker_flag'. GCC discards it without `$wl',
9358 # but is careful enough not to reorder.
9359 # Supported since Solaris 2.6 (maybe 2.5.1?)
9360 if test "$GCC" = yes; then
9361 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9363 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9367 link_all_deplibs=yes
9371 if test "x$host_vendor" = xsequent; then
9372 # Use $CC to link under sequent, because it throws in some extra .o
9373 # files that make .init and .fini sections work.
9374 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9378 hardcode_libdir_flag_spec='-L$libdir'
9380 hardcode_minus_L=yes
9381 hardcode_shlibpath_var=no
9385 case $host_vendor in
9387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9388 hardcode_direct=yes # is this really true???
9391 ## LD is ld it makes a PLAMLIB
9392 ## CC just makes a GrossModule.
9393 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9394 reload_cmds='$CC -r -o $output$reload_objs'
9398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9399 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9402 runpath_var='LD_RUN_PATH'
9403 hardcode_shlibpath_var=no
9407 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9408 hardcode_shlibpath_var=no
9409 export_dynamic_flag_spec='-Bexport'
9413 if test -d /usr/nec; then
9414 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_shlibpath_var=no
9416 runpath_var=LD_RUN_PATH
9417 hardcode_runpath_var=yes
9422 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9423 no_undefined_flag='${wl}-z,text'
9424 archive_cmds_need_lc=no
9425 hardcode_shlibpath_var=no
9426 runpath_var='LD_RUN_PATH'
9428 if test "$GCC" = yes; then
9429 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9432 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9433 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9437 sysv5* | sco3.2v5* | sco5v6*)
9438 # Note: We can NOT use -z defs as we might desire, because we do not
9439 # link with -lc, and that would cause any symbols used from libc to
9440 # always be unresolved, which means just about no library would
9441 # ever link correctly. If we're not using GNU ld we use -z text
9442 # though, which does catch some bad symbols but isn't as heavy-handed
9444 no_undefined_flag='${wl}-z,text'
9445 allow_undefined_flag='${wl}-z,nodefs'
9446 archive_cmds_need_lc=no
9447 hardcode_shlibpath_var=no
9448 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9449 hardcode_libdir_separator=':'
9450 link_all_deplibs=yes
9451 export_dynamic_flag_spec='${wl}-Bexport'
9452 runpath_var='LD_RUN_PATH'
9454 if test "$GCC" = yes; then
9455 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9456 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9458 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9459 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_libdir_flag_spec='-L$libdir'
9466 hardcode_shlibpath_var=no
9474 if test x$host_vendor = xsni; then
9476 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9477 export_dynamic_flag_spec='${wl}-Blargedynsym'
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9484 $as_echo "$ld_shlibs" >&6; }
9485 test "$ld_shlibs" = no && can_build_shared=no
9487 with_gnu_ld=$with_gnu_ld
9504 # Do we need to explicitly link libc?
9506 case "x$archive_cmds_need_lc" in
9508 # Assume -lc should be added
9509 archive_cmds_need_lc=yes
9511 if test "$enable_shared" = yes && test "$GCC" = yes; then
9512 case $archive_cmds in
9514 # FIXME: we may have to deal with multi-command sequences.
9517 # Test whether the compiler implicitly links with -lc since on some
9518 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9519 # to ld, don't add -lc before -lgcc.
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9522 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9523 $as_echo_n "(cached) " >&6
9526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9529 (eval $ac_compile) 2>&5
9531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9532 test $ac_status = 0; } 2>conftest.err; then
9535 libobjs=conftest.$ac_objext
9537 wl=$lt_prog_compiler_wl
9538 pic_flag=$lt_prog_compiler_pic
9544 lt_save_allow_undefined_flag=$allow_undefined_flag
9545 allow_undefined_flag=
9546 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9547 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9550 test $ac_status = 0; }
9552 lt_cv_archive_cmds_need_lc=no
9554 lt_cv_archive_cmds_need_lc=yes
9556 allow_undefined_flag=$lt_save_allow_undefined_flag
9558 cat conftest.err 1>&5
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9564 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9565 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9726 if test "$GCC" = yes; then
9728 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9729 *) lt_awk_arg="/^libraries:/" ;;
9732 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9733 *) lt_sed_strip_eq="s,=/,/,g" ;;
9735 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9736 case $lt_search_path_spec in
9738 # if the path contains ";" then we assume it to be the separator
9739 # otherwise default to the standard path separator (i.e. ":") - it is
9740 # assumed that no part of a normal pathname contains ";" but that should
9741 # okay in the real world where ";" in dirpaths is itself problematic.
9742 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9745 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9748 # Ok, now we have the path, separated by spaces, we can step through it
9749 # and add multilib dir if necessary.
9750 lt_tmp_lt_search_path_spec=
9751 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9752 for lt_sys_path in $lt_search_path_spec; do
9753 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9754 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9756 test -d "$lt_sys_path" && \
9757 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9760 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9761 BEGIN {RS=" "; FS="/|\n";} {
9764 for (lt_i = NF; lt_i > 0; lt_i--) {
9765 if ($lt_i != "" && $lt_i != ".") {
9766 if ($lt_i == "..") {
9769 if (lt_count == 0) {
9770 lt_foo="/" $lt_i lt_foo;
9777 if (lt_foo != "") { lt_freq[lt_foo]++; }
9778 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9780 # AWK program above erroneously prepends '/' to C:/dos/paths
9783 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9784 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9786 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9788 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9791 libname_spec='lib$name'
9799 shlibpath_overrides_runpath=unknown
9801 dynamic_linker="$host_os ld.so"
9802 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9803 need_lib_prefix=unknown
9804 hardcode_into_libs=no
9806 # when you set need_version to no, make sure it does not cause -set_version
9807 # flags to be left without arguments
9808 need_version=unknown
9812 version_type=linux # correct to gnu/linux during the next big refactor
9813 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9814 shlibpath_var=LIBPATH
9816 # AIX 3 has no versioning support, so we append a major version to the name.
9817 soname_spec='${libname}${release}${shared_ext}$major'
9821 version_type=linux # correct to gnu/linux during the next big refactor
9824 hardcode_into_libs=yes
9825 if test "$host_cpu" = ia64; then
9826 # AIX 5 supports IA64
9827 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9828 shlibpath_var=LD_LIBRARY_PATH
9830 # With GCC up to 2.95.x, collect2 would create an import file
9831 # for dependence libraries. The import file would start with
9832 # the line `#! .'. This would cause the generated library to
9833 # depend on `.', always an invalid library. This was fixed in
9834 # development snapshots of GCC prior to 3.0.
9836 aix4 | aix4.[01] | aix4.[01].*)
9837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9839 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9847 # soname into executable. Probably we can add versioning support to
9848 # collect2, so additional links can be useful in future.
9849 if test "$aix_use_runtimelinking" = yes; then
9850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9851 # instead of lib<name>.a to let people know that these are not
9852 # typical AIX shared libraries.
9853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9855 # We preserve .a as extension for shared libraries through AIX4.2
9856 # and later when we are not doing run time linking.
9857 library_names_spec='${libname}${release}.a $libname.a'
9858 soname_spec='${libname}${release}${shared_ext}$major'
9860 shlibpath_var=LIBPATH
9867 # Since July 2007 AmigaOS4 officially supports .so libraries.
9868 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9872 library_names_spec='$libname.ixlibrary $libname.a'
9873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9874 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'
9880 library_names_spec='${libname}${shared_ext}'
9881 dynamic_linker="$host_os ld.so"
9882 shlibpath_var=LIBRARY_PATH
9886 version_type=linux # correct to gnu/linux during the next big refactor
9888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9889 soname_spec='${libname}${release}${shared_ext}$major'
9890 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9891 shlibpath_var=LD_LIBRARY_PATH
9892 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9893 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9894 # the default ld.so.conf also contains /usr/contrib/lib and
9895 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9896 # libtool to hard-code these into programs
9899 cygwin* | mingw* | pw32* | cegcc*)
9900 version_type=windows
9905 case $GCC,$cc_basename in
9908 library_names_spec='$libname.dll.a'
9909 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9910 postinstall_cmds='base_file=`basename \${file}`~
9911 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9912 dldir=$destdir/`dirname \$dlpath`~
9913 test -d \$dldir || mkdir -p \$dldir~
9914 $install_prog $dir/$dlname \$dldir/$dlname~
9915 chmod a+x \$dldir/$dlname~
9916 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9917 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9919 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9920 dlpath=$dir/\$dldll~
9922 shlibpath_overrides_runpath=yes
9926 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9927 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9929 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9932 # MinGW DLLs use traditional 'lib' prefix
9933 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9936 # pw32 DLLs use 'pw' prefix rather than 'lib'
9937 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9940 dynamic_linker='Win32 ld.exe'
9945 libname_spec='$name'
9946 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9947 library_names_spec='${libname}.dll.lib'
9951 sys_lib_search_path_spec=
9957 # Let DOS variable expansion print the short 8.3 style file name.
9958 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9959 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9962 # Convert to MSYS style.
9963 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9966 # Convert to unix form, then to dos form, then back to unix form
9967 # but this time dos style (no spaces!) so that the unix form looks
9968 # like /cygdrive/c/PROGRA~1:/cygdr...
9969 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9970 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9971 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9974 sys_lib_search_path_spec="$LIB"
9975 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9976 # It is most probably a Windows format PATH.
9977 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9979 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9981 # FIXME: find the short name or the path components, as spaces are
9982 # common. (e.g. "Program Files" -> "PROGRA~1")
9986 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9987 postinstall_cmds='base_file=`basename \${file}`~
9988 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9989 dldir=$destdir/`dirname \$dlpath`~
9990 test -d \$dldir || mkdir -p \$dldir~
9991 $install_prog $dir/$dlname \$dldir/$dlname'
9992 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9993 dlpath=$dir/\$dldll~
9995 shlibpath_overrides_runpath=yes
9996 dynamic_linker='Win32 link.exe'
10000 # Assume MSVC wrapper
10001 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10002 dynamic_linker='Win32 ld.exe'
10005 # FIXME: first we should search . and the directory the executable is in
10009 darwin* | rhapsody*)
10010 dynamic_linker="$host_os dyld"
10011 version_type=darwin
10014 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10015 soname_spec='${libname}${release}${major}$shared_ext'
10016 shlibpath_overrides_runpath=yes
10017 shlibpath_var=DYLD_LIBRARY_PATH
10018 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10020 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10021 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10025 version_type=linux # correct to gnu/linux during the next big refactor
10028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10029 soname_spec='${libname}${release}${shared_ext}$major'
10030 shlibpath_var=LD_LIBRARY_PATH
10033 freebsd* | dragonfly*)
10034 # DragonFly does not have aout. When/if they implement a new
10035 # versioning mechanism, adjust this.
10036 if test -x /usr/bin/objformat; then
10037 objformat=`/usr/bin/objformat`
10040 freebsd[23].*) objformat=aout ;;
10041 *) objformat=elf ;;
10044 version_type=freebsd-$objformat
10045 case $version_type in
10047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10052 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10056 shlibpath_var=LD_LIBRARY_PATH
10059 shlibpath_overrides_runpath=yes
10061 freebsd3.[01]* | freebsdelf3.[01]*)
10062 shlibpath_overrides_runpath=yes
10063 hardcode_into_libs=yes
10065 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10066 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10067 shlibpath_overrides_runpath=no
10068 hardcode_into_libs=yes
10070 *) # from 4.6 on, and DragonFly
10071 shlibpath_overrides_runpath=yes
10072 hardcode_into_libs=yes
10078 version_type=linux # correct to gnu/linux during the next big refactor
10081 dynamic_linker="$host_os runtime_loader"
10082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10083 soname_spec='${libname}${release}${shared_ext}$major'
10084 shlibpath_var=LIBRARY_PATH
10085 shlibpath_overrides_runpath=yes
10086 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10087 hardcode_into_libs=yes
10090 hpux9* | hpux10* | hpux11*)
10091 # Give a soname corresponding to the major version so that dld.sl refuses to
10092 # link against other versions.
10099 hardcode_into_libs=yes
10100 dynamic_linker="$host_os dld.so"
10101 shlibpath_var=LD_LIBRARY_PATH
10102 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10104 soname_spec='${libname}${release}${shared_ext}$major'
10105 if test "X$HPUX_IA64_MODE" = X32; then
10106 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10108 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10110 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10114 hardcode_into_libs=yes
10115 dynamic_linker="$host_os dld.sl"
10116 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10117 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 soname_spec='${libname}${release}${shared_ext}$major'
10120 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10121 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10125 dynamic_linker="$host_os dld.sl"
10126 shlibpath_var=SHLIB_PATH
10127 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129 soname_spec='${libname}${release}${shared_ext}$major'
10132 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10133 postinstall_cmds='chmod 555 $lib'
10134 # or fails outright, so override atomically:
10135 install_override_mode=555
10139 version_type=linux # correct to gnu/linux during the next big refactor
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10143 soname_spec='${libname}${release}${shared_ext}$major'
10144 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10145 shlibpath_var=LD_LIBRARY_PATH
10146 shlibpath_overrides_runpath=no
10147 hardcode_into_libs=yes
10150 irix5* | irix6* | nonstopux*)
10152 nonstopux*) version_type=nonstopux ;;
10154 if test "$lt_cv_prog_gnu_ld" = yes; then
10155 version_type=linux # correct to gnu/linux during the next big refactor
10162 soname_spec='${libname}${release}${shared_ext}$major'
10163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10165 irix5* | nonstopux*)
10166 libsuff= shlibsuff=
10169 case $LD in # libtool.m4 will add one of these switches to LD
10170 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10171 libsuff= shlibsuff= libmagic=32-bit;;
10172 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10173 libsuff=32 shlibsuff=N32 libmagic=N32;;
10174 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10175 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10176 *) libsuff= shlibsuff= libmagic=never-match;;
10180 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10181 shlibpath_overrides_runpath=no
10182 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10183 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10184 hardcode_into_libs=yes
10187 # No shared lib support for Linux oldld, aout, or coff.
10188 linux*oldld* | linux*aout* | linux*coff*)
10192 # This must be glibc/ELF.
10193 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10194 version_type=linux # correct to gnu/linux during the next big refactor
10197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10198 soname_spec='${libname}${release}${shared_ext}$major'
10199 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10200 shlibpath_var=LD_LIBRARY_PATH
10201 shlibpath_overrides_runpath=no
10203 # Some binutils ld are patched to set DT_RUNPATH
10204 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10205 $as_echo_n "(cached) " >&6
10207 lt_cv_shlibpath_overrides_runpath=no
10208 save_LDFLAGS=$LDFLAGS
10209 save_libdir=$libdir
10210 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10211 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10225 lt_cv_shlibpath_overrides_runpath=yes
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 LDFLAGS=$save_LDFLAGS
10231 libdir=$save_libdir
10235 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10237 # This implies no fast_install, which is unacceptable.
10238 # Some rework will be needed to allow for fast_install
10239 # before this can be enabled.
10240 hardcode_into_libs=yes
10242 # Append ld.so.conf contents to the search path
10243 if test -f /etc/ld.so.conf; then
10244 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' ' '`
10245 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10248 # We used to test for /lib/ld.so.1 and disable shared libraries on
10249 # powerpc, because MkLinux only supported shared libraries with the
10250 # GNU dynamic linker. Since this was broken with cross compilers,
10251 # most powerpc-linux boxes support dynamic linking these days and
10252 # people can always --disable-shared, the test was removed, and we
10253 # assume the GNU/Linux dynamic linker is in use.
10254 dynamic_linker='GNU/Linux ld.so'
10261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10262 soname_spec='${libname}${release}${shared_ext}$major'
10263 shlibpath_var=LD_LIBRARY_PATH
10264 shlibpath_overrides_runpath=no
10265 hardcode_into_libs=yes
10266 dynamic_linker='NetBSD ld.elf_so'
10273 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10275 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10276 dynamic_linker='NetBSD (a.out) ld.so'
10278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10279 soname_spec='${libname}${release}${shared_ext}$major'
10280 dynamic_linker='NetBSD ld.elf_so'
10282 shlibpath_var=LD_LIBRARY_PATH
10283 shlibpath_overrides_runpath=yes
10284 hardcode_into_libs=yes
10288 version_type=linux # correct to gnu/linux during the next big refactor
10289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290 shlibpath_var=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath=yes
10298 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299 soname_spec='${libname}${release}${shared_ext}$major'
10300 shlibpath_var=LD_LIBRARY_PATH
10301 shlibpath_overrides_runpath=no
10302 hardcode_into_libs=yes
10303 dynamic_linker='ldqnx.so'
10308 sys_lib_dlsearch_path_spec="/usr/lib"
10310 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10312 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10313 *) need_version=no ;;
10315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10316 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10317 shlibpath_var=LD_LIBRARY_PATH
10318 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10320 openbsd2.[89] | openbsd2.[89].*)
10321 shlibpath_overrides_runpath=no
10324 shlibpath_overrides_runpath=yes
10328 shlibpath_overrides_runpath=yes
10333 libname_spec='$name'
10336 library_names_spec='$libname${shared_ext} $libname.a'
10337 dynamic_linker='OS/2 ld.exe'
10338 shlibpath_var=LIBPATH
10341 osf3* | osf4* | osf5*)
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 shlibpath_var=LD_LIBRARY_PATH
10348 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10349 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10357 version_type=linux # correct to gnu/linux during the next big refactor
10360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361 soname_spec='${libname}${release}${shared_ext}$major'
10362 shlibpath_var=LD_LIBRARY_PATH
10363 shlibpath_overrides_runpath=yes
10364 hardcode_into_libs=yes
10365 # ldd complains unless libraries are executable
10366 postinstall_cmds='chmod +x $lib'
10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10372 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10373 shlibpath_var=LD_LIBRARY_PATH
10374 shlibpath_overrides_runpath=yes
10375 if test "$with_gnu_ld" = yes; then
10382 version_type=linux # correct to gnu/linux during the next big refactor
10383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10384 soname_spec='${libname}${release}${shared_ext}$major'
10385 shlibpath_var=LD_LIBRARY_PATH
10386 case $host_vendor in
10388 shlibpath_overrides_runpath=no
10390 runpath_var=LD_RUN_PATH
10398 shlibpath_overrides_runpath=no
10399 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10405 if test -d /usr/nec ;then
10406 version_type=linux # correct to gnu/linux during the next big refactor
10407 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10408 soname_spec='$libname${shared_ext}.$major'
10409 shlibpath_var=LD_LIBRARY_PATH
10413 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10414 version_type=freebsd-elf
10417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10418 soname_spec='${libname}${release}${shared_ext}$major'
10419 shlibpath_var=LD_LIBRARY_PATH
10420 shlibpath_overrides_runpath=yes
10421 hardcode_into_libs=yes
10422 if test "$with_gnu_ld" = yes; then
10423 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10425 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10428 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10432 sys_lib_dlsearch_path_spec='/usr/lib'
10436 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10437 version_type=linux # correct to gnu/linux during the next big refactor
10440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441 shlibpath_var=LD_LIBRARY_PATH
10442 shlibpath_overrides_runpath=no
10443 hardcode_into_libs=yes
10447 version_type=linux # correct to gnu/linux during the next big refactor
10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449 soname_spec='${libname}${release}${shared_ext}$major'
10450 shlibpath_var=LD_LIBRARY_PATH
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10458 $as_echo "$dynamic_linker" >&6; }
10459 test "$dynamic_linker" = no && can_build_shared=no
10461 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10462 if test "$GCC" = yes; then
10463 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10466 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10467 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10469 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10470 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10565 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10567 if test -n "$hardcode_libdir_flag_spec" ||
10568 test -n "$runpath_var" ||
10569 test "X$hardcode_automatic" = "Xyes" ; then
10571 # We can hardcode non-existent directories.
10572 if test "$hardcode_direct" != no &&
10573 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10574 # have to relink, otherwise we might link with an installed library
10575 # when we should be linking with a yet-to-be-installed one
10576 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10577 test "$hardcode_minus_L" != no; then
10578 # Linking always hardcodes the temporary library directory.
10579 hardcode_action=relink
10581 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10582 hardcode_action=immediate
10585 # We cannot hardcode anything, or else we can only hardcode existing
10587 hardcode_action=unsupported
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10590 $as_echo "$hardcode_action" >&6; }
10592 if test "$hardcode_action" = relink ||
10593 test "$inherit_rpath" = yes; then
10594 # Fast installation is not supported
10595 enable_fast_install=no
10596 elif test "$shlibpath_overrides_runpath" = yes ||
10597 test "$enable_shared" = no; then
10598 # Fast installation is not necessary
10599 enable_fast_install=needless
10607 if test "x$enable_dlopen" != xyes; then
10608 enable_dlopen=unknown
10609 enable_dlopen_self=unknown
10610 enable_dlopen_self_static=unknown
10617 lt_cv_dlopen="load_add_on"
10619 lt_cv_dlopen_self=yes
10622 mingw* | pw32* | cegcc*)
10623 lt_cv_dlopen="LoadLibrary"
10628 lt_cv_dlopen="dlopen"
10633 # if libdl is installed we need to link against it
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10635 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10636 if ${ac_cv_lib_dl_dlopen+:} false; then :
10637 $as_echo_n "(cached) " >&6
10639 ac_check_lib_save_LIBS=$LIBS
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10659 if ac_fn_c_try_link "$LINENO"; then :
10660 ac_cv_lib_dl_dlopen=yes
10662 ac_cv_lib_dl_dlopen=no
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_lib_save_LIBS
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10669 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10670 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10671 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10674 lt_cv_dlopen="dyld"
10676 lt_cv_dlopen_self=yes
10683 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10684 if test "x$ac_cv_func_shl_load" = xyes; then :
10685 lt_cv_dlopen="shl_load"
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10688 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10689 if ${ac_cv_lib_dld_shl_load+:} false; then :
10690 $as_echo_n "(cached) " >&6
10692 ac_check_lib_save_LIBS=$LIBS
10694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10695 /* end confdefs.h. */
10697 /* Override any GCC internal prototype to avoid an error.
10698 Use char because int might match the return type of a GCC
10699 builtin and then its argument prototype would still apply. */
10707 return shl_load ();
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 ac_cv_lib_dld_shl_load=yes
10715 ac_cv_lib_dld_shl_load=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LIBS=$ac_check_lib_save_LIBS
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10722 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10723 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10724 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10726 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10727 if test "x$ac_cv_func_dlopen" = xyes; then :
10728 lt_cv_dlopen="dlopen"
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10731 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10732 if ${ac_cv_lib_dl_dlopen+:} false; then :
10733 $as_echo_n "(cached) " >&6
10735 ac_check_lib_save_LIBS=$LIBS
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10755 if ac_fn_c_try_link "$LINENO"; then :
10756 ac_cv_lib_dl_dlopen=yes
10758 ac_cv_lib_dl_dlopen=no
10760 rm -f core conftest.err conftest.$ac_objext \
10761 conftest$ac_exeext conftest.$ac_ext
10762 LIBS=$ac_check_lib_save_LIBS
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10765 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10766 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10767 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10770 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10771 if ${ac_cv_lib_svld_dlopen+:} false; then :
10772 $as_echo_n "(cached) " >&6
10774 ac_check_lib_save_LIBS=$LIBS
10775 LIBS="-lsvld $LIBS"
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10779 /* Override any GCC internal prototype to avoid an error.
10780 Use char because int might match the return type of a GCC
10781 builtin and then its argument prototype would still apply. */
10794 if ac_fn_c_try_link "$LINENO"; then :
10795 ac_cv_lib_svld_dlopen=yes
10797 ac_cv_lib_svld_dlopen=no
10799 rm -f core conftest.err conftest.$ac_objext \
10800 conftest$ac_exeext conftest.$ac_ext
10801 LIBS=$ac_check_lib_save_LIBS
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10804 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10805 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10806 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10809 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10810 if ${ac_cv_lib_dld_dld_link+:} false; then :
10811 $as_echo_n "(cached) " >&6
10813 ac_check_lib_save_LIBS=$LIBS
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10828 return dld_link ();
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 ac_cv_lib_dld_dld_link=yes
10836 ac_cv_lib_dld_dld_link=no
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10843 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10844 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10845 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10866 if test "x$lt_cv_dlopen" != xno; then
10872 case $lt_cv_dlopen in
10874 save_CPPFLAGS="$CPPFLAGS"
10875 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10877 save_LDFLAGS="$LDFLAGS"
10878 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10881 LIBS="$lt_cv_dlopen_libs $LIBS"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10884 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10885 if ${lt_cv_dlopen_self+:} false; then :
10886 $as_echo_n "(cached) " >&6
10888 if test "$cross_compiling" = yes; then :
10889 lt_cv_dlopen_self=cross
10891 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10892 lt_status=$lt_dlunknown
10893 cat > conftest.$ac_ext <<_LT_EOF
10894 #line $LINENO "configure"
10895 #include "confdefs.h"
10904 # define LT_DLGLOBAL RTLD_GLOBAL
10907 # define LT_DLGLOBAL DL_GLOBAL
10909 # define LT_DLGLOBAL 0
10913 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10914 find out it does not work in some platform. */
10915 #ifndef LT_DLLAZY_OR_NOW
10917 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10920 # define LT_DLLAZY_OR_NOW DL_LAZY
10923 # define LT_DLLAZY_OR_NOW RTLD_NOW
10926 # define LT_DLLAZY_OR_NOW DL_NOW
10928 # define LT_DLLAZY_OR_NOW 0
10935 /* When -fvisbility=hidden is used, assume the code has been annotated
10936 correspondingly for the symbols needed. */
10937 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10938 int fnord () __attribute__((visibility("default")));
10941 int fnord () { return 42; }
10944 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10945 int status = $lt_dlunknown;
10949 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10952 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10953 else puts (dlerror ());
10955 /* dlclose (self); */
10963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10964 (eval $ac_link) 2>&5
10966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10967 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10968 (./conftest; exit; ) >&5 2>/dev/null
10970 case x$lt_status in
10971 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10972 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10973 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10976 # compilation failed
10977 lt_cv_dlopen_self=no
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10985 $as_echo "$lt_cv_dlopen_self" >&6; }
10987 if test "x$lt_cv_dlopen_self" = xyes; then
10988 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10990 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10991 if ${lt_cv_dlopen_self_static+:} false; then :
10992 $as_echo_n "(cached) " >&6
10994 if test "$cross_compiling" = yes; then :
10995 lt_cv_dlopen_self_static=cross
10997 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10998 lt_status=$lt_dlunknown
10999 cat > conftest.$ac_ext <<_LT_EOF
11000 #line $LINENO "configure"
11001 #include "confdefs.h"
11010 # define LT_DLGLOBAL RTLD_GLOBAL
11013 # define LT_DLGLOBAL DL_GLOBAL
11015 # define LT_DLGLOBAL 0
11019 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11020 find out it does not work in some platform. */
11021 #ifndef LT_DLLAZY_OR_NOW
11023 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11026 # define LT_DLLAZY_OR_NOW DL_LAZY
11029 # define LT_DLLAZY_OR_NOW RTLD_NOW
11032 # define LT_DLLAZY_OR_NOW DL_NOW
11034 # define LT_DLLAZY_OR_NOW 0
11041 /* When -fvisbility=hidden is used, assume the code has been annotated
11042 correspondingly for the symbols needed. */
11043 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11044 int fnord () __attribute__((visibility("default")));
11047 int fnord () { return 42; }
11050 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11051 int status = $lt_dlunknown;
11055 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11058 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11059 else puts (dlerror ());
11061 /* dlclose (self); */
11069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11070 (eval $ac_link) 2>&5
11072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11073 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11074 (./conftest; exit; ) >&5 2>/dev/null
11076 case x$lt_status in
11077 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11078 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11079 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11082 # compilation failed
11083 lt_cv_dlopen_self_static=no
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11091 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11094 CPPFLAGS="$save_CPPFLAGS"
11095 LDFLAGS="$save_LDFLAGS"
11100 case $lt_cv_dlopen_self in
11101 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11102 *) enable_dlopen_self=unknown ;;
11105 case $lt_cv_dlopen_self_static in
11106 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11107 *) enable_dlopen_self_static=unknown ;;
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11130 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11131 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11132 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11133 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11135 $as_echo "yes" >&6; }
11137 # FIXME - insert some real tests, host_os isn't really good enough
11140 if test -n "$STRIP" ; then
11141 striplib="$STRIP -x"
11142 old_striplib="$STRIP -S"
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11144 $as_echo "yes" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11147 $as_echo "no" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11152 $as_echo "no" >&6; }
11168 # Report which library types will actually be built
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11170 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11172 $as_echo "$can_build_shared" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11175 $as_echo_n "checking whether to build shared libraries... " >&6; }
11176 test "$can_build_shared" = "no" && enable_shared=no
11178 # On AIX, shared libraries and static libraries use the same namespace, and
11179 # are all built from PIC.
11182 test "$enable_shared" = yes && enable_static=no
11183 if test -n "$RANLIB"; then
11184 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11185 postinstall_cmds='$RANLIB $lib'
11190 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11191 test "$enable_shared" = yes && enable_static=no
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11196 $as_echo "$enable_shared" >&6; }
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11199 $as_echo_n "checking whether to build static libraries... " >&6; }
11200 # Make sure either enable_shared or enable_static is yes.
11201 test "$enable_shared" = yes || enable_static=yes
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11203 $as_echo "$enable_static" >&6; }
11210 ac_cpp='$CPP $CPPFLAGS'
11211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11231 ac_config_commands="$ac_config_commands libtool"
11236 # Only expand once:
11240 ac_cpp='$CPP $CPPFLAGS'
11241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5
11246 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; }
11247 if ${ac_cv_cflags_warn_all+:} false; then :
11248 $as_echo_n "(cached) " >&6
11250 ac_cv_cflags_warn_all="no, unknown"
11251 ac_save_CFLAGS="$CFLAGS"
11252 for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
11253 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11265 if ac_fn_c_try_compile "$LINENO"; then :
11266 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
11268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11270 CFLAGS="$ac_save_CFLAGS"
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5
11274 $as_echo "$ac_cv_cflags_warn_all" >&6; }
11275 case ".$ac_cv_cflags_warn_all" in
11278 *) if ${CFLAGS+:} false; then :
11279 case " $CFLAGS " in
11280 *" $ac_cv_cflags_warn_all "*)
11281 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5
11282 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5
11284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11285 test $ac_status = 0; }
11288 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\""; } >&5
11289 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
11291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11292 test $ac_status = 0; }
11293 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
11297 CFLAGS="$ac_cv_cflags_warn_all"
11303 ac_cpp='$CPP $CPPFLAGS'
11304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11310 set -- $(echo $PACKAGE_VERSION |
11311 sed 's:^\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$:\1 \2 \3:'
11313 LIBTOOL_VERSION_INFO="$(expr $1 + $2):$3:$2"
11318 ## This is surprisingly awful. The convention for official version numbers
11319 ## is that they look like MAJOR.MINOR.PATCH[.BPB][-N-gHEX[+]]. ASDF
11320 ## insists on simple numeric things separated by dots. If there's no Git
11321 ## thing on the end, then the main version number will do fine. If there
11322 ## is, then we insert /two/ `0's in, followed by N and the HEX converted to
11323 ## decimal. Why two? Because if there's no brown-paper-bag number, we
11324 ## want to make sure that the first BPB release is higher than any of the
11325 ## preceding Git revisions.
11329 base=${ver%%-*} tail=${ver#*-}
11330 n=${tail%%-*} tail=${tail#*-g}
11331 case $tail in *+) grubby=.1 tail=${tail%+} ;; *) grubby= ;; esac
11333 ASDF_VERSION=$base.0.0.$n.$rev$grubby
11343 # Check whether --with-lisp-system was given.
11344 if test "${with_lisp_system+set}" = set; then :
11345 withval=$with_lisp_system;
11347 with_lisp_system="sbcl clisp"
11351 for ac_prog in cl-launch
11353 # Extract the first word of "$ac_prog", so it can be a program name with args.
11354 set dummy $ac_prog; ac_word=$2
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11356 $as_echo_n "checking for $ac_word... " >&6; }
11357 if ${ac_cv_prog_CL_LAUNCH+:} false; then :
11358 $as_echo_n "(cached) " >&6
11360 if test -n "$CL_LAUNCH"; then
11361 ac_cv_prog_CL_LAUNCH="$CL_LAUNCH" # Let the user override the test.
11363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11364 for as_dir in $PATH
11367 test -z "$as_dir" && as_dir=.
11368 for ac_exec_ext in '' $ac_executable_extensions; do
11369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11370 ac_cv_prog_CL_LAUNCH="$ac_prog"
11371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11380 CL_LAUNCH=$ac_cv_prog_CL_LAUNCH
11381 if test -n "$CL_LAUNCH"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CL_LAUNCH" >&5
11383 $as_echo "$CL_LAUNCH" >&6; }
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11386 $as_echo "no" >&6; }
11390 test -n "$CL_LAUNCH" && break
11392 test -n "$CL_LAUNCH" || CL_LAUNCH="not-found"
11394 case "$CL_LAUNCH" in
11395 not-found) as_fn_error $? "\`cl-launch' not found" "$LINENO" 5 ;;
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for best choice of Lisp system" >&5
11399 $as_echo_n "checking for best choice of Lisp system... " >&6; }
11400 if ! LISPSYS=$($CL_LAUNCH -l "$with_lisp_system" \
11401 -ip '(string-downcase (lisp-implementation-type))'); then
11402 as_fn_error $? "cl-launch didn't like any Lisp system" "$LINENO" 5
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LISPSYS" >&5
11406 $as_echo "$LISPSYS" >&6; }
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking FASL file extension" >&5
11409 $as_echo_n "checking FASL file extension... " >&6; }
11410 fasl=$($CL_LAUNCH -l $LISPSYS -ip \
11411 '(pathname-type (compile-file-pathname "foo.lisp"))')
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$fasl" >&5
11414 $as_echo ".$fasl" >&6; }
11417 # Check whether --with-lisp-source-dir was given.
11418 if test "${with_lisp_source_dir+set}" = set; then :
11419 withval=$with_lisp_source_dir;
11421 with_lisp_source_dir='${datadir}/common-lisp/source'
11425 # Check whether --with-lisp-system-dir was given.
11426 if test "${with_lisp_system_dir+set}" = set; then :
11427 withval=$with_lisp_system_dir;
11429 with_lisp_system_dir='${datadir}/common-lisp/systems'
11432 lispsrcdir=$with_lisp_source_dir
11434 lispsysdir=$with_lisp_system_dir
11438 ac_config_files="$ac_config_files Makefile src/Makefile lib/Makefile doc/Makefile test/Makefile"
11440 cat >confcache <<\_ACEOF
11441 # This file is a shell script that caches the results of configure
11442 # tests run on this system so they can be shared between configure
11443 # scripts and configure runs, see configure's option --config-cache.
11444 # It is not useful on other systems. If it contains results you don't
11445 # want to keep, you may remove or edit it.
11447 # config.status only pays attention to the cache file if you give it
11448 # the --recheck option to rerun configure.
11450 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11451 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11452 # following values.
11456 # The following way of writing the cache mishandles newlines in values,
11457 # but we know of no workaround that is simple, portable, and efficient.
11458 # So, we kill variables containing newlines.
11459 # Ultrix sh set writes to stderr and can't be redirected directly,
11460 # and sets the high bit in the cache file unless we assign to the vars.
11462 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11463 eval ac_val=\$$ac_var
11467 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11468 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11471 _ | IFS | as_nl) ;; #(
11472 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11473 *) { eval $ac_var=; unset $ac_var;} ;;
11479 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11480 *${as_nl}ac_space=\ *)
11481 # `set' does not quote correctly, so add quotes: double-quote
11482 # substitution turns \\\\ into \\, and sed turns \\ into \.
11485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11488 # `set' quotes correctly as required by POSIX, so do not add quotes.
11489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11498 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11500 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11502 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11503 if test -w "$cache_file"; then
11504 if test "x$cache_file" != "x/dev/null"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11506 $as_echo "$as_me: updating cache $cache_file" >&6;}
11507 if test ! -f "$cache_file" || test -h "$cache_file"; then
11508 cat confcache >"$cache_file"
11510 case $cache_file in #(
11512 mv -f confcache "$cache_file"$$ &&
11513 mv -f "$cache_file"$$ "$cache_file" ;; #(
11515 mv -f confcache "$cache_file" ;;
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11521 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11526 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11527 # Let make expand exec_prefix.
11528 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11530 # Transform confdefs.h into DEFS.
11531 # Protect against shell expansion while executing Makefile rules.
11532 # Protect against Makefile macro expansion.
11534 # If the first sed substitution is executed (which looks for macros that
11535 # take arguments), then branch to the quote section. Otherwise,
11536 # look for a macro that doesn't take arguments.
11546 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11548 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11552 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11565 DEFS=`sed -n "$ac_script" confdefs.h`
11571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11572 # 1. Remove the extension, and $U if already installed.
11573 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11574 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11575 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11576 # will be set to the directory where LIBOBJS objects are built.
11577 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11578 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11580 LIBOBJS=$ac_libobjs
11582 LTLIBOBJS=$ac_ltlibobjs
11585 if test -n "$EXEEXT"; then
11587 am__EXEEXT_FALSE='#'
11589 am__EXEEXT_TRUE='#'
11593 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11594 as_fn_error $? "conditional \"AMDEP\" was never defined.
11595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11598 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
11599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
11602 : "${CONFIG_STATUS=./config.status}"
11604 ac_clean_files_save=$ac_clean_files
11605 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11607 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11609 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11611 # Generated by $as_me.
11612 # Run this file to recreate the current configuration.
11613 # Compiler output produced by configure, useful for debugging
11614 # configure, is in config.log if it exists.
11617 ac_cs_recheck=false
11620 SHELL=\${CONFIG_SHELL-$SHELL}
11623 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
11624 ## -------------------- ##
11625 ## M4sh Initialization. ##
11626 ## -------------------- ##
11628 # Be more Bourne compatible
11629 DUALCASE=1; export DUALCASE # for MKS sh
11630 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11634 # is contrary to our usage. Disable this feature.
11635 alias -g '${1+"$@"}'='"$@"'
11636 setopt NO_GLOB_SUBST
11638 case `(set -o) 2>/dev/null` in #(
11650 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11651 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11654 # Prefer a ksh shell builtin over an external printf program on Solaris,
11655 # but without wasting forks for bash or zsh.
11656 if test -z "$BASH_VERSION$ZSH_VERSION" \
11657 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11658 as_echo='print -r --'
11659 as_echo_n='print -rn --'
11660 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11661 as_echo='printf %s\n'
11662 as_echo_n='printf %s'
11664 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11665 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11666 as_echo_n='/usr/ucb/echo -n'
11668 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11669 as_echo_n_body='eval
11673 expr "X$arg" : "X\\(.*\\)$as_nl";
11674 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11676 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11678 export as_echo_n_body
11679 as_echo_n='sh -c $as_echo_n_body as_echo'
11681 export as_echo_body
11682 as_echo='sh -c $as_echo_body as_echo'
11685 # The user is always right.
11686 if test "${PATH_SEPARATOR+set}" != set; then
11688 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11689 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11696 # We need space, tab and new line, in precisely that order. Quoting is
11697 # there to prevent editors from complaining about space-tab.
11698 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11699 # splitting by setting IFS to empty value.)
11702 # Find who we are. Look in the path if we contain no directory separator.
11705 *[\\/]* ) as_myself=$0 ;;
11706 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11707 for as_dir in $PATH
11710 test -z "$as_dir" && as_dir=.
11711 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11717 # We did not find ourselves, most probably we were run as `sh COMMAND'
11718 # in which case we are not to be found in the path.
11719 if test "x$as_myself" = x; then
11722 if test ! -f "$as_myself"; then
11723 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11727 # Unset variables that we do not need and which cause bugs (e.g. in
11728 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11729 # suppresses any "Segmentation fault" message there. '((' could
11730 # trigger a bug in pdksh 5.2.14.
11731 for as_var in BASH_ENV ENV MAIL MAILPATH
11732 do eval test x\${$as_var+set} = xset \
11733 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11746 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11749 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11750 # ----------------------------------------
11751 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11752 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11753 # script with STATUS, using 1 if that was 0.
11756 as_status=$1; test $as_status -eq 0 && as_status=1
11758 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11759 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11761 $as_echo "$as_me: error: $2" >&2
11762 as_fn_exit $as_status
11766 # as_fn_set_status STATUS
11767 # -----------------------
11768 # Set $? to STATUS, without forking.
11769 as_fn_set_status ()
11772 } # as_fn_set_status
11774 # as_fn_exit STATUS
11775 # -----------------
11776 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11780 as_fn_set_status $1
11786 # Portably unset VAR.
11789 { eval $1=; unset $1;}
11791 as_unset=as_fn_unset
11792 # as_fn_append VAR VALUE
11793 # ----------------------
11794 # Append the text in VALUE to the end of the definition contained in VAR. Take
11795 # advantage of any shell optimizations that allow amortized linear growth over
11796 # repeated appends, instead of the typical quadratic growth present in naive
11798 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11799 eval 'as_fn_append ()
11810 # as_fn_arith ARG...
11811 # ------------------
11812 # Perform arithmetic evaluation on the ARGs, and store the result in the
11813 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11814 # must be portable across $(()) and expr.
11815 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11816 eval 'as_fn_arith ()
11823 as_val=`expr "$@" || test $? -eq 1`
11828 if expr a : '\(a\)' >/dev/null 2>&1 &&
11829 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11836 as_basename=basename
11841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11847 as_me=`$as_basename -- "$0" ||
11848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11849 X"$0" : 'X\(//\)$' \| \
11850 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11852 sed '/^.*\/\([^/][^/]*\)\/*$/{
11866 # Avoid depending upon Character Ranges.
11867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11870 as_cr_digits='0123456789'
11871 as_cr_alnum=$as_cr_Letters$as_cr_digits
11873 ECHO_C= ECHO_N= ECHO_T=
11874 case `echo -n x` in #(((((
11876 case `echo 'xy\c'` in
11877 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11879 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
11886 rm -f conf$$ conf$$.exe conf$$.file
11887 if test -d conf$$.dir; then
11888 rm -f conf$$.dir/conf$$.file
11891 mkdir conf$$.dir 2>/dev/null
11893 if (echo >conf$$.file) 2>/dev/null; then
11894 if ln -s conf$$.file conf$$ 2>/dev/null; then
11896 # ... but there are two gotchas:
11897 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11898 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11899 # In both cases, we have to default to `cp -pR'.
11900 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11902 elif ln conf$$.file conf$$ 2>/dev/null; then
11910 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11911 rmdir conf$$.dir 2>/dev/null
11916 # Create "$as_dir" as a directory, including parents if necessary.
11921 -*) as_dir=./$as_dir;;
11923 test -d "$as_dir" || eval $as_mkdir_p || {
11927 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11928 *) as_qdir=$as_dir;;
11930 as_dirs="'$as_qdir' $as_dirs"
11931 as_dir=`$as_dirname -- "$as_dir" ||
11932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11933 X"$as_dir" : 'X\(//\)[^/]' \| \
11934 X"$as_dir" : 'X\(//\)$' \| \
11935 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11936 $as_echo X"$as_dir" |
11937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11941 /^X\(\/\/\)[^/].*/{
11954 test -d "$as_dir" && break
11956 test -z "$as_dirs" || eval "mkdir $as_dirs"
11957 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11961 if mkdir -p . 2>/dev/null; then
11962 as_mkdir_p='mkdir -p "$as_dir"'
11964 test -d ./-p && rmdir ./-p
11969 # as_fn_executable_p FILE
11970 # -----------------------
11971 # Test if FILE is an executable regular file.
11972 as_fn_executable_p ()
11974 test -f "$1" && test -x "$1"
11975 } # as_fn_executable_p
11976 as_test_x='test -x'
11977 as_executable_p=as_fn_executable_p
11979 # Sed expression to map a string onto a valid CPP name.
11980 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11982 # Sed expression to map a string onto a valid variable name.
11983 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11987 ## ----------------------------------- ##
11988 ## Main body of $CONFIG_STATUS script. ##
11989 ## ----------------------------------- ##
11991 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
11993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11994 # Save the log message, to keep $0 and so on meaningful, and to
11995 # report actual input values of CONFIG_FILES etc. instead of their
11996 # values after options handling.
11998 This file was extended by sod $as_me 0.2.0-86-g67d1, which was
11999 generated by GNU Autoconf 2.69. Invocation command line was
12001 CONFIG_FILES = $CONFIG_FILES
12002 CONFIG_HEADERS = $CONFIG_HEADERS
12003 CONFIG_LINKS = $CONFIG_LINKS
12004 CONFIG_COMMANDS = $CONFIG_COMMANDS
12007 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12012 case $ac_config_files in *"
12013 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12019 # Files that config.status was made for.
12020 config_files="$ac_config_files"
12021 config_commands="$ac_config_commands"
12025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12027 \`$as_me' instantiates files and other configuration actions
12028 from templates according to the current configuration. Unless the files
12029 and actions are specified as TAGs, all are instantiated by default.
12031 Usage: $0 [OPTION]... [TAG]...
12033 -h, --help print this help, then exit
12034 -V, --version print version number and configuration settings, then exit
12035 --config print configuration, then exit
12036 -q, --quiet, --silent
12037 do not print progress messages
12038 -d, --debug don't remove temporary files
12039 --recheck update $as_me by reconfiguring in the same conditions
12040 --file=FILE[:TEMPLATE]
12041 instantiate the configuration file FILE
12043 Configuration files:
12046 Configuration commands:
12049 Report bugs to <mdw@distorted.org.uk>."
12052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12055 sod config.status 0.2.0-86-g67d1
12056 configured by $0, generated by GNU Autoconf 2.69,
12057 with options \\"\$ac_cs_config\\"
12059 Copyright (C) 2012 Free Software Foundation, Inc.
12060 This config.status script is free software; the Free Software Foundation
12061 gives unlimited permission to copy, distribute and modify it."
12068 test -n "\$AWK" || AWK=awk
12071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12072 # The default lists apply if the user does not specify any file.
12078 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12079 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12083 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12095 # Handling of the options.
12096 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12098 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12099 $as_echo "$ac_cs_version"; exit ;;
12100 --config | --confi | --conf | --con | --co | --c )
12101 $as_echo "$ac_cs_config"; exit ;;
12102 --debug | --debu | --deb | --de | --d | -d )
12104 --file | --fil | --fi | --f )
12107 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12108 '') as_fn_error $? "missing file argument" ;;
12110 as_fn_append CONFIG_FILES " '$ac_optarg'"
12111 ac_need_defaults=false;;
12112 --he | --h | --help | --hel | -h )
12113 $as_echo "$ac_cs_usage"; exit ;;
12114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12115 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12118 # This is an error.
12119 -*) as_fn_error $? "unrecognized option: \`$1'
12120 Try \`$0 --help' for more information." ;;
12122 *) as_fn_append ac_config_targets " $1"
12123 ac_need_defaults=false ;;
12129 ac_configure_extra_args=
12131 if $ac_cs_silent; then
12133 ac_configure_extra_args="$ac_configure_extra_args --silent"
12137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12138 if \$ac_cs_recheck; then
12139 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12142 CONFIG_SHELL='$SHELL'
12143 export CONFIG_SHELL
12148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12153 ## Running $as_me. ##
12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12163 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12166 # The HP-UX ksh and POSIX shell print the target directory to stdout
12167 # if CDPATH is set.
12168 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12170 sed_quote_subst='$sed_quote_subst'
12171 double_quote_subst='$double_quote_subst'
12172 delay_variable_subst='$delay_variable_subst'
12173 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12174 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12175 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12176 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12177 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12178 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12179 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12180 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12181 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12182 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12183 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12184 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12185 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12186 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12187 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12188 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12189 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12190 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12191 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12192 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12193 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12194 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12195 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12196 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12197 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12198 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12199 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12200 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12201 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12202 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12203 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12204 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12205 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12206 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12207 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12208 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12209 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12210 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12211 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12212 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12213 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12214 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12215 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12216 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12217 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12218 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12219 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12220 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12221 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12222 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12223 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12224 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12225 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12226 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12228 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12229 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"`'
12230 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12231 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12232 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12233 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12234 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12235 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12236 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12237 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12238 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12239 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12240 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12241 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12242 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12243 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12244 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12245 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12246 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12247 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12248 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12249 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12250 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12251 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12252 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12253 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12254 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12255 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12256 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12257 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12258 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12259 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12260 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12261 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12262 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12263 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12264 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12265 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12266 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12267 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12268 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12269 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12270 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12271 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12272 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12273 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12274 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12275 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12276 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12277 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12278 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12279 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12280 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12281 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12282 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12283 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12284 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12285 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12286 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12287 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12288 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12289 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12290 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12291 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12292 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12293 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12294 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12295 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12296 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12297 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12298 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12299 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12300 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12301 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12302 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12305 LTCFLAGS='$LTCFLAGS'
12306 compiler='$compiler_DEFAULT'
12308 # A function that is used when there is no print builtin or printf.
12309 func_fallback_echo ()
12311 eval 'cat <<_LTECHO_EOF
12316 # Quote evaled strings.
12331 deplibs_check_method \
12336 sharedlib_from_linklib_cmd \
12339 archiver_list_spec \
12345 lt_cv_sys_global_symbol_pipe \
12346 lt_cv_sys_global_symbol_to_cdecl \
12347 lt_cv_sys_global_symbol_to_c_name_address \
12348 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12349 nm_file_list_spec \
12350 lt_prog_compiler_no_builtin_flag \
12351 lt_prog_compiler_pic \
12352 lt_prog_compiler_wl \
12353 lt_prog_compiler_static \
12354 lt_cv_prog_compiler_c_o \
12363 export_dynamic_flag_spec \
12364 whole_archive_flag_spec \
12365 compiler_needs_object \
12367 allow_undefined_flag \
12368 no_undefined_flag \
12369 hardcode_libdir_flag_spec \
12370 hardcode_libdir_separator \
12374 variables_saved_for_relink \
12376 library_names_spec \
12378 install_override_mode \
12382 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12383 *[\\\\\\\`\\"\\\$]*)
12384 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12387 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12392 # Double-quote double-evaled strings.
12393 for var in reload_cmds \
12394 old_postinstall_cmds \
12395 old_postuninstall_cmds \
12397 extract_expsyms_cmds \
12398 old_archive_from_new_cmds \
12399 old_archive_from_expsyms_cmds \
12401 archive_expsym_cmds \
12403 module_expsym_cmds \
12404 export_symbols_cmds \
12408 postuninstall_cmds \
12410 sys_lib_search_path_spec \
12411 sys_lib_dlsearch_path_spec; do
12412 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12413 *[\\\\\\\`\\"\\\$]*)
12414 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12417 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12422 ac_aux_dir='$ac_aux_dir'
12423 xsi_shell='$xsi_shell'
12424 lt_shell_append='$lt_shell_append'
12426 # See if we are running on zsh, and set the options which allow our
12427 # commands through without removal of \ escapes INIT.
12428 if test -n "\${ZSH_VERSION+set}" ; then
12429 setopt NO_GLOB_SUBST
12435 TIMESTAMP='$TIMESTAMP'
12444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12446 # Handling of arguments.
12447 for ac_config_target in $ac_config_targets
12449 case $ac_config_target in
12450 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12451 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12452 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12453 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12454 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
12455 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12456 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12458 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12463 # If the user did not use the arguments to specify the items to instantiate,
12464 # then the envvar interface is used. Set only those that are not.
12465 # We use the long form for the default assignment because of an extremely
12466 # bizarre bug on SunOS 4.1.3.
12467 if $ac_need_defaults; then
12468 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12469 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12472 # Have a temporary directory for convenience. Make it in the build tree
12473 # simply because there is no reason against having it here, and in addition,
12474 # creating and moving files from /tmp can sometimes cause problems.
12475 # Hook for its removal unless debugging.
12476 # Note that there is a small window in which the directory will not be cleaned:
12477 # after its creation but before its name has been assigned to `$tmp'.
12481 trap 'exit_status=$?
12482 : "${ac_tmp:=$tmp}"
12483 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12485 trap 'as_fn_exit 1' 1 2 13 15
12487 # Create a (secure) tmp directory for tmp files.
12490 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12494 tmp=./conf$$-$RANDOM
12495 (umask 077 && mkdir "$tmp")
12496 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
12499 # Set up the scripts for CONFIG_FILES section.
12500 # No need to generate them if there are no CONFIG_FILES.
12501 # This happens for instance with `./config.status config.h'.
12502 if test -n "$CONFIG_FILES"; then
12505 ac_cr=`echo X | tr X '\015'`
12506 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12507 # But we know of no other shell where ac_cr would be empty at this
12508 # point, so we can use a bashism as a fallback.
12509 if test "x$ac_cr" = x; then
12510 eval ac_cr=\$\'\\r\'
12512 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12513 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12516 ac_cs_awk_cr=$ac_cr
12519 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12524 echo "cat >conf$$subs.awk <<_ACEOF" &&
12525 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12527 } >conf$$subs.sh ||
12528 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12529 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12531 for ac_last_try in false false false false false :; do
12532 . ./conf$$subs.sh ||
12533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12535 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12536 if test $ac_delim_n = $ac_delim_num; then
12538 elif $ac_last_try; then
12539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12544 rm -f conf$$subs.sh
12546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12547 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12551 s/^/S["/; s/!.*/"]=/
12561 s/\(.\{148\}\)..*/\1/
12563 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12575 s/\(.\{148\}\)..*/\1/
12577 s/["\\]/\\&/g; s/^/"/; s/$/"/
12581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12586 ' <conf$$subs.awk | sed '
12591 ' >>$CONFIG_STATUS || ac_write_fail=1
12592 rm -f conf$$subs.awk
12593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12595 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12596 for (key in S) S_is_set[key] = 1
12602 nfields = split(line, field, "@")
12604 len = length(field[1])
12605 for (i = 2; i < nfields; i++) {
12607 keylen = length(key)
12608 if (S_is_set[key]) {
12610 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12611 len += length(value) + length(field[++i])
12622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12623 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12624 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12627 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
12628 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12631 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12632 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12633 # trailing colons and then remove the whole line if VPATH becomes empty
12634 # (actually we leave an empty line to preserve line numbers).
12635 if test "x$srcdir" = x.; then
12636 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12655 fi # test -n "$CONFIG_FILES"
12658 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
12663 :[FHLC]) ac_mode=$ac_tag; continue;;
12665 case $ac_mode$ac_tag in
12667 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12668 :[FH]-) ac_tag=-:-;;
12669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12686 -) ac_f="$ac_tmp/stdin";;
12687 *) # Look for the file first in the build tree, then in the source tree
12688 # (if the path is not absolute). The absolute path cannot be DOS-style,
12689 # because $ac_f cannot contain `:'.
12693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12695 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12698 as_fn_append ac_file_inputs " '$ac_f'"
12701 # Let's still pretend it is `configure' which instantiates (i.e., don't
12702 # use $as_me), people would be surprised to read:
12703 # /* config.h. Generated by config.status. */
12704 configure_input='Generated from '`
12705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12707 if test x"$ac_file" != x-; then
12708 configure_input="$ac_file. $configure_input"
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12710 $as_echo "$as_me: creating $ac_file" >&6;}
12712 # Neutralize special characters interpreted by sed in replacement strings.
12713 case $configure_input in #(
12714 *\&* | *\|* | *\\* )
12715 ac_sed_conf_input=`$as_echo "$configure_input" |
12716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12717 *) ac_sed_conf_input=$configure_input;;
12721 *:-:* | *:-) cat >"$ac_tmp/stdin" \
12722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
12727 ac_dir=`$as_dirname -- "$ac_file" ||
12728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12729 X"$ac_file" : 'X\(//\)[^/]' \| \
12730 X"$ac_file" : 'X\(//\)$' \| \
12731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12732 $as_echo X"$ac_file" |
12733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12737 /^X\(\/\/\)[^/].*/{
12750 as_dir="$ac_dir"; as_fn_mkdir_p
12754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12757 # A ".." for each directory in $ac_dir_suffix.
12758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12759 case $ac_top_builddir_sub in
12760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12764 ac_abs_top_builddir=$ac_pwd
12765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
12766 # for backward compatibility:
12767 ac_top_builddir=$ac_top_build_prefix
12770 .) # We are building in place.
12772 ac_top_srcdir=$ac_top_builddir_sub
12773 ac_abs_top_srcdir=$ac_pwd ;;
12774 [\\/]* | ?:[\\/]* ) # Absolute name.
12775 ac_srcdir=$srcdir$ac_dir_suffix;
12776 ac_top_srcdir=$srcdir
12777 ac_abs_top_srcdir=$srcdir ;;
12778 *) # Relative name.
12779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12780 ac_top_srcdir=$ac_top_build_prefix$srcdir
12781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12794 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12796 ac_MKDIR_P=$MKDIR_P
12798 [\\/$]* | ?:[\\/]* ) ;;
12799 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12804 # If the template does not know about datarootdir, expand it.
12805 # FIXME: This hack should be removed a few years after 2.60.
12806 ac_datarootdir_hack=; ac_datarootdir_seen=
12817 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12818 *datarootdir*) ac_datarootdir_seen=yes;;
12819 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12821 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12824 ac_datarootdir_hack='
12825 s&@datadir@&$datadir&g
12826 s&@docdir@&$docdir&g
12827 s&@infodir@&$infodir&g
12828 s&@localedir@&$localedir&g
12829 s&@mandir@&$mandir&g
12830 s&\\\${datarootdir}&$datarootdir&g' ;;
12834 # Neutralize VPATH when `$srcdir' = `.'.
12835 # Shell code in configure.ac might set extrasub.
12836 # FIXME: do we really want to maintain this feature?
12837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12838 ac_sed_extra="$ac_vpsub
12841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12844 s|@configure_input@|$ac_sed_conf_input|;t t
12845 s&@top_builddir@&$ac_top_builddir_sub&;t t
12846 s&@top_build_prefix@&$ac_top_build_prefix&;t t
12847 s&@srcdir@&$ac_srcdir&;t t
12848 s&@abs_srcdir@&$ac_abs_srcdir&;t t
12849 s&@top_srcdir@&$ac_top_srcdir&;t t
12850 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12851 s&@builddir@&$ac_builddir&;t t
12852 s&@abs_builddir@&$ac_abs_builddir&;t t
12853 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12854 s&@INSTALL@&$ac_INSTALL&;t t
12855 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12856 $ac_datarootdir_hack
12858 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
12859 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12861 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12862 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
12863 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12864 "$ac_tmp/out"`; test -z "$ac_out"; } &&
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12866 which seems to be undefined. Please make sure it is defined" >&5
12867 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12868 which seems to be undefined. Please make sure it is defined" >&2;}
12870 rm -f "$ac_tmp/stdin"
12872 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12873 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12879 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12880 $as_echo "$as_me: executing $ac_file commands" >&6;}
12885 case $ac_file$ac_mode in
12886 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12887 # Autoconf 2.62 quotes --file arguments for eval, but not when files
12888 # are listed without --file. Let's play safe and only enable the eval
12889 # if we detect the quoting.
12890 case $CONFIG_FILES in
12891 *\'*) eval set x "$CONFIG_FILES" ;;
12892 *) set x $CONFIG_FILES ;;
12897 # Strip MF so we end up with the name of the file.
12898 mf=`echo "$mf" | sed -e 's/:.*$//'`
12899 # Check whether this is an Automake generated Makefile or not.
12900 # We used to match only the files named `Makefile.in', but
12901 # some people rename them; so instead we look at the file content.
12902 # Grep'ing the first line is not enough: some people post-process
12903 # each Makefile.in and add a new line on top of each file to say so.
12904 # Grep'ing the whole file is not good either: AIX grep has a line
12905 # limit of 2048, but all sed's we know have understand at least 4000.
12906 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12907 dirpart=`$as_dirname -- "$mf" ||
12908 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12909 X"$mf" : 'X\(//\)[^/]' \| \
12910 X"$mf" : 'X\(//\)$' \| \
12911 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12917 /^X\(\/\/\)[^/].*/{
12933 # Extract the definition of DEPDIR, am__include, and am__quote
12934 # from the Makefile without running `make'.
12935 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12936 test -z "$DEPDIR" && continue
12937 am__include=`sed -n 's/^am__include = //p' < "$mf"`
12938 test -z "am__include" && continue
12939 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12940 # When using ansi2knr, U may be empty or an underscore; expand it
12941 U=`sed -n 's/^U = //p' < "$mf"`
12942 # Find all dependency output files, they are included files with
12943 # $(DEPDIR) in their names. We invoke sed twice because it is the
12944 # simplest approach to changing $(DEPDIR) to its actual value in the
12946 for file in `sed -n "
12947 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12948 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12949 # Make sure the directory exists.
12950 test -f "$dirpart/$file" && continue
12951 fdir=`$as_dirname -- "$file" ||
12952 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12953 X"$file" : 'X\(//\)[^/]' \| \
12954 X"$file" : 'X\(//\)$' \| \
12955 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12956 $as_echo X"$file" |
12957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12961 /^X\(\/\/\)[^/].*/{
12974 as_dir=$dirpart/$fdir; as_fn_mkdir_p
12975 # echo "creating $dirpart/$file"
12976 echo '# dummy' > "$dirpart/$file"
12983 # See if we are running on zsh, and set the options which allow our
12984 # commands through without removal of \ escapes.
12985 if test -n "${ZSH_VERSION+set}" ; then
12986 setopt NO_GLOB_SUBST
12989 cfgfile="${ofile}T"
12990 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12993 cat <<_LT_EOF >> "$cfgfile"
12996 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12997 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12998 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12999 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13001 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13002 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13004 # Written by Gordon Matzigkeit, 1996
13006 # This file is part of GNU Libtool.
13008 # GNU Libtool is free software; you can redistribute it and/or
13009 # modify it under the terms of the GNU General Public License as
13010 # published by the Free Software Foundation; either version 2 of
13011 # the License, or (at your option) any later version.
13013 # As a special exception to the GNU General Public License,
13014 # if you distribute this file as part of a program or library that
13015 # is built using GNU Libtool, you may include this file under the
13016 # same distribution terms that you use for the rest of that program.
13018 # GNU Libtool is distributed in the hope that it will be useful,
13019 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13020 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13021 # GNU General Public License for more details.
13023 # You should have received a copy of the GNU General Public License
13024 # along with GNU Libtool; see the file COPYING. If not, a copy
13025 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13026 # obtained by writing to the Free Software Foundation, Inc.,
13027 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13030 # The names of the tagged configurations supported by this script.
13033 # ### BEGIN LIBTOOL CONFIG
13035 # Which release of libtool.m4 was used?
13036 macro_version=$macro_version
13037 macro_revision=$macro_revision
13039 # Whether or not to build shared libraries.
13040 build_libtool_libs=$enable_shared
13042 # Whether or not to build static libraries.
13043 build_old_libs=$enable_static
13045 # What type of objects to build.
13048 # Whether or not to optimize for fast installation.
13049 fast_install=$enable_fast_install
13051 # Shell to use when invoking shell scripts.
13054 # An echo program that protects backslashes.
13057 # The PATH separator for the build system.
13058 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13061 host_alias=$host_alias
13065 # The build system.
13066 build_alias=$build_alias
13070 # A sed program that does not truncate output.
13073 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13074 Xsed="\$SED -e 1s/^X//"
13076 # A grep program that handles long lines.
13082 # A literal string matcher.
13085 # A BSD- or MS-compatible name lister.
13088 # Whether we need soft or hard links.
13091 # What is the maximum length of a command?
13092 max_cmd_len=$max_cmd_len
13094 # Object file suffix (normally "o").
13097 # Executable file suffix (normally "").
13100 # whether the shell understands "unset".
13103 # turn spaces into newlines.
13106 # turn newlines into spaces.
13109 # convert \$build file names to \$host format.
13110 to_host_file_cmd=$lt_cv_to_host_file_cmd
13112 # convert \$build files to toolchain format.
13113 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13115 # An object symbol dumper.
13116 OBJDUMP=$lt_OBJDUMP
13118 # Method to check whether dependent libraries are shared objects.
13119 deplibs_check_method=$lt_deplibs_check_method
13121 # Command to use when deplibs_check_method = "file_magic".
13122 file_magic_cmd=$lt_file_magic_cmd
13124 # How to find potential files when deplibs_check_method = "file_magic".
13125 file_magic_glob=$lt_file_magic_glob
13127 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13128 want_nocaseglob=$lt_want_nocaseglob
13130 # DLL creation program.
13131 DLLTOOL=$lt_DLLTOOL
13133 # Command to associate shared and link libraries.
13134 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13139 # Flags to create an archive.
13140 AR_FLAGS=$lt_AR_FLAGS
13142 # How to feed a file listing to the archiver.
13143 archiver_list_spec=$lt_archiver_list_spec
13145 # A symbol stripping program.
13148 # Commands used to install an old-style archive.
13150 old_postinstall_cmds=$lt_old_postinstall_cmds
13151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13153 # Whether to use a lock for old archive extraction.
13154 lock_old_archive_extraction=$lock_old_archive_extraction
13159 # LTCC compiler flags.
13160 LTCFLAGS=$lt_CFLAGS
13162 # Take the output of nm and produce a listing of raw symbols and C names.
13163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13165 # Transform the output of nm in a proper C declaration.
13166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13168 # Transform the output of nm in a C name address pair.
13169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13171 # Transform the output of nm in a C name address pair when lib prefix is needed.
13172 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13174 # Specify filename containing input files for \$NM.
13175 nm_file_list_spec=$lt_nm_file_list_spec
13177 # The root where to search for dependent libraries,and in which our libraries should be installed.
13178 lt_sysroot=$lt_sysroot
13180 # The name of the directory that contains temporary libtool files.
13183 # Used to examine libraries when file_magic_cmd begins with "file".
13184 MAGIC_CMD=$MAGIC_CMD
13186 # Must we lock files when doing compilation?
13187 need_locks=$lt_need_locks
13190 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13192 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13193 DSYMUTIL=$lt_DSYMUTIL
13195 # Tool to change global to local symbols on Mac OS X.
13198 # Tool to manipulate fat objects and archives on Mac OS X.
13201 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13204 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13205 OTOOL64=$lt_OTOOL64
13207 # Old archive suffix (normally "a").
13210 # Shared library suffix (normally ".so").
13211 shrext_cmds=$lt_shrext_cmds
13213 # The commands to extract the exported symbol list from a shared archive.
13214 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13216 # Variables whose values should be saved in libtool wrapper scripts and
13217 # restored at link time.
13218 variables_saved_for_relink=$lt_variables_saved_for_relink
13220 # Do we need the "lib" prefix for modules?
13221 need_lib_prefix=$need_lib_prefix
13223 # Do we need a version for libraries?
13224 need_version=$need_version
13226 # Library versioning type.
13227 version_type=$version_type
13229 # Shared library runtime path variable.
13230 runpath_var=$runpath_var
13232 # Shared library path variable.
13233 shlibpath_var=$shlibpath_var
13235 # Is shlibpath searched before the hard-coded library search path?
13236 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13238 # Format of library name prefix.
13239 libname_spec=$lt_libname_spec
13241 # List of archive names. First name is the real one, the rest are links.
13242 # The last name is the one that the linker finds with -lNAME
13243 library_names_spec=$lt_library_names_spec
13245 # The coded name of the library, if different from the real name.
13246 soname_spec=$lt_soname_spec
13248 # Permission mode override for installation of shared libraries.
13249 install_override_mode=$lt_install_override_mode
13251 # Command to use after installation of a shared archive.
13252 postinstall_cmds=$lt_postinstall_cmds
13254 # Command to use after uninstallation of a shared archive.
13255 postuninstall_cmds=$lt_postuninstall_cmds
13257 # Commands used to finish a libtool library installation in a directory.
13258 finish_cmds=$lt_finish_cmds
13260 # As "finish_cmds", except a single script fragment to be evaled but
13262 finish_eval=$lt_finish_eval
13264 # Whether we should hardcode library paths into libraries.
13265 hardcode_into_libs=$hardcode_into_libs
13267 # Compile-time system search path for libraries.
13268 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13270 # Run-time system search path for libraries.
13271 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13273 # Whether dlopen is supported.
13274 dlopen_support=$enable_dlopen
13276 # Whether dlopen of programs is supported.
13277 dlopen_self=$enable_dlopen_self
13279 # Whether dlopen of statically linked programs is supported.
13280 dlopen_self_static=$enable_dlopen_self_static
13282 # Commands to strip libraries.
13283 old_striplib=$lt_old_striplib
13284 striplib=$lt_striplib
13287 # The linker used to build libraries.
13290 # How to create reloadable object files.
13291 reload_flag=$lt_reload_flag
13292 reload_cmds=$lt_reload_cmds
13294 # Commands used to build an old-style archive.
13295 old_archive_cmds=$lt_old_archive_cmds
13297 # A language specific compiler.
13300 # Is the compiler the GNU compiler?
13303 # Compiler flag to turn off builtin functions.
13304 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13306 # Additional compiler flags for building library objects.
13307 pic_flag=$lt_lt_prog_compiler_pic
13309 # How to pass a linker flag through the compiler.
13310 wl=$lt_lt_prog_compiler_wl
13312 # Compiler flag to prevent dynamic linking.
13313 link_static_flag=$lt_lt_prog_compiler_static
13315 # Does compiler simultaneously support -c and -o options?
13316 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13318 # Whether or not to add -lc for building shared libraries.
13319 build_libtool_need_lc=$archive_cmds_need_lc
13321 # Whether or not to disallow shared libs when runtime libs are static.
13322 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13324 # Compiler flag to allow reflexive dlopens.
13325 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13327 # Compiler flag to generate shared objects directly from archives.
13328 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13330 # Whether the compiler copes with passing no objects directly.
13331 compiler_needs_object=$lt_compiler_needs_object
13333 # Create an old-style archive from a shared archive.
13334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13336 # Create a temporary old-style archive to link instead of a shared archive.
13337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13339 # Commands used to build a shared archive.
13340 archive_cmds=$lt_archive_cmds
13341 archive_expsym_cmds=$lt_archive_expsym_cmds
13343 # Commands used to build a loadable module if different from building
13344 # a shared archive.
13345 module_cmds=$lt_module_cmds
13346 module_expsym_cmds=$lt_module_expsym_cmds
13348 # Whether we are building with GNU ld or not.
13349 with_gnu_ld=$lt_with_gnu_ld
13351 # Flag that allows shared libraries with undefined symbols to be built.
13352 allow_undefined_flag=$lt_allow_undefined_flag
13354 # Flag that enforces no undefined symbols.
13355 no_undefined_flag=$lt_no_undefined_flag
13357 # Flag to hardcode \$libdir into a binary during linking.
13358 # This must work even if \$libdir does not exist
13359 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13361 # Whether we need a single "-rpath" flag with a separated argument.
13362 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13365 # DIR into the resulting binary.
13366 hardcode_direct=$hardcode_direct
13368 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13369 # DIR into the resulting binary and the resulting library dependency is
13370 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13371 # library is relocated.
13372 hardcode_direct_absolute=$hardcode_direct_absolute
13374 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13375 # into the resulting binary.
13376 hardcode_minus_L=$hardcode_minus_L
13378 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13379 # into the resulting binary.
13380 hardcode_shlibpath_var=$hardcode_shlibpath_var
13382 # Set to "yes" if building a shared library automatically hardcodes DIR
13383 # into the library and all subsequent libraries and executables linked
13385 hardcode_automatic=$hardcode_automatic
13387 # Set to yes if linker adds runtime paths of dependent libraries
13388 # to runtime path list.
13389 inherit_rpath=$inherit_rpath
13391 # Whether libtool must link a program against all its dependency libraries.
13392 link_all_deplibs=$link_all_deplibs
13394 # Set to "yes" if exported symbols are required.
13395 always_export_symbols=$always_export_symbols
13397 # The commands to list exported symbols.
13398 export_symbols_cmds=$lt_export_symbols_cmds
13400 # Symbols that should not be listed in the preloaded symbols.
13401 exclude_expsyms=$lt_exclude_expsyms
13403 # Symbols that must always be exported.
13404 include_expsyms=$lt_include_expsyms
13406 # Commands necessary for linking programs (against libraries) with templates.
13407 prelink_cmds=$lt_prelink_cmds
13409 # Commands necessary for finishing linking programs.
13410 postlink_cmds=$lt_postlink_cmds
13412 # Specify filename containing input files.
13413 file_list_spec=$lt_file_list_spec
13415 # How to hardcode a shared library path into an executable.
13416 hardcode_action=$hardcode_action
13418 # ### END LIBTOOL CONFIG
13424 cat <<\_LT_EOF >> "$cfgfile"
13425 # AIX sometimes has problems with the GCC collect2 program. For some
13426 # reason, if we set the COLLECT_NAMES environment variable, the problems
13427 # vanish in a puff of smoke.
13428 if test "X${COLLECT_NAMES+set}" != Xset; then
13430 export COLLECT_NAMES
13437 ltmain="$ac_aux_dir/ltmain.sh"
13440 # We use sed instead of cat because bash on DJGPP gets confused if
13441 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13442 # text mode, it properly converts lines to CR/LF. This bash problem
13443 # is reportedly fixed, but why not run on old versions too?
13444 sed '$q' "$ltmain" >> "$cfgfile" \
13445 || (rm -f "$cfgfile"; exit 1)
13447 if test x"$xsi_shell" = xyes; then
13448 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13452 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13453 \ * ) func_dirname_result="${3}" ;;\
13455 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13456 && mv -f "$cfgfile.tmp" "$cfgfile" \
13457 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13458 test 0 -eq $? || _lt_function_replace_fail=:
13461 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13464 \ func_basename_result="${1##*/}"\
13465 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13466 && mv -f "$cfgfile.tmp" "$cfgfile" \
13467 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13468 test 0 -eq $? || _lt_function_replace_fail=:
13471 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13472 func_dirname_and_basename ()\
13475 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13476 \ * ) func_dirname_result="${3}" ;;\
13478 \ func_basename_result="${1##*/}"\
13479 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13480 && mv -f "$cfgfile.tmp" "$cfgfile" \
13481 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13482 test 0 -eq $? || _lt_function_replace_fail=:
13485 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
13488 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
13489 \ # positional parameters, so assign one to ordinary parameter first.\
13490 \ func_stripname_result=${3}\
13491 \ func_stripname_result=${func_stripname_result#"${1}"}\
13492 \ func_stripname_result=${func_stripname_result%"${2}"}\
13493 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
13494 && mv -f "$cfgfile.tmp" "$cfgfile" \
13495 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13496 test 0 -eq $? || _lt_function_replace_fail=:
13499 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
13500 func_split_long_opt ()\
13502 \ func_split_long_opt_name=${1%%=*}\
13503 \ func_split_long_opt_arg=${1#*=}\
13504 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
13505 && mv -f "$cfgfile.tmp" "$cfgfile" \
13506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13507 test 0 -eq $? || _lt_function_replace_fail=:
13510 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
13511 func_split_short_opt ()\
13513 \ func_split_short_opt_arg=${1#??}\
13514 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
13515 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
13516 && mv -f "$cfgfile.tmp" "$cfgfile" \
13517 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13518 test 0 -eq $? || _lt_function_replace_fail=:
13521 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
13525 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
13526 \ *) func_lo2o_result=${1} ;;\
13528 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
13529 && mv -f "$cfgfile.tmp" "$cfgfile" \
13530 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13531 test 0 -eq $? || _lt_function_replace_fail=:
13534 sed -e '/^func_xform ()$/,/^} # func_xform /c\
13537 func_xform_result=${1%.*}.lo\
13538 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
13539 && mv -f "$cfgfile.tmp" "$cfgfile" \
13540 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13541 test 0 -eq $? || _lt_function_replace_fail=:
13544 sed -e '/^func_arith ()$/,/^} # func_arith /c\
13547 func_arith_result=$(( $* ))\
13548 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
13549 && mv -f "$cfgfile.tmp" "$cfgfile" \
13550 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13551 test 0 -eq $? || _lt_function_replace_fail=:
13554 sed -e '/^func_len ()$/,/^} # func_len /c\
13557 func_len_result=${#1}\
13558 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
13559 && mv -f "$cfgfile.tmp" "$cfgfile" \
13560 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13561 test 0 -eq $? || _lt_function_replace_fail=:
13565 if test x"$lt_shell_append" = xyes; then
13566 sed -e '/^func_append ()$/,/^} # func_append /c\
13569 eval "${1}+=\\${2}"\
13570 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
13571 && mv -f "$cfgfile.tmp" "$cfgfile" \
13572 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13573 test 0 -eq $? || _lt_function_replace_fail=:
13576 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
13577 func_append_quoted ()\
13579 \ func_quote_for_eval "${2}"\
13580 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
13581 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
13582 && mv -f "$cfgfile.tmp" "$cfgfile" \
13583 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13584 test 0 -eq $? || _lt_function_replace_fail=:
13587 # Save a `func_append' function call where possible by direct use of '+='
13588 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
13589 && mv -f "$cfgfile.tmp" "$cfgfile" \
13590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13591 test 0 -eq $? || _lt_function_replace_fail=:
13593 # Save a `func_append' function call even when '+=' is not available
13594 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
13595 && mv -f "$cfgfile.tmp" "$cfgfile" \
13596 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13597 test 0 -eq $? || _lt_function_replace_fail=:
13600 if test x"$_lt_function_replace_fail" = x":"; then
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
13602 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
13606 mv -f "$cfgfile" "$ofile" ||
13607 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13618 ac_clean_files=$ac_clean_files_save
13620 test $ac_write_fail = 0 ||
13621 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13624 # configure is writing to config.log, and then calls config.status.
13625 # config.status does its own redirection, appending to config.log.
13626 # Unfortunately, on DOS this fails, as config.log is still kept open
13627 # by configure, so config.status won't be able to write to it; its
13628 # output is simply discarded. So we exec the FD to /dev/null,
13629 # effectively closing config.log, so it can be properly (re)opened and
13630 # appended to by config.status. When coming back to configure, we
13631 # need to make the FD available again.
13632 if test "$no_create" != yes; then
13634 ac_config_status_args=
13635 test "$silent" = yes &&
13636 ac_config_status_args="$ac_config_status_args --quiet"
13638 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13640 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13641 # would make configure fail if this is the last instruction.
13642 $ac_cs_success || as_fn_exit 1
13644 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13646 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}