2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for giflib 5.1.2.
5 # Report bugs to <esr@thyrsus.com>.
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 esr@thyrsus.com
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
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.
591 PACKAGE_NAME='giflib'
592 PACKAGE_TARNAME='giflib'
593 PACKAGE_VERSION='5.1.2'
594 PACKAGE_STRING='giflib 5.1.2'
595 PACKAGE_BUGREPORT='esr@thyrsus.com'
598 ac_unique_file="lib/dgif_lib.c"
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
702 INSTALL_STRIP_PROGRAM
744 program_transform_name
757 enable_option_checking
759 enable_dependency_tracking
768 ac_precious_vars='build_alias
779 # Initialize some variables set by options.
781 ac_init_version=false
782 ac_unrecognized_opts=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name=s,x,x,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
839 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir | --bindir | --bindi | --bind | --bin | --bi)
852 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
855 -build | --build | --buil | --bui | --bu)
856 ac_prev=build_alias ;;
857 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858 build_alias=$ac_optarg ;;
860 -cache-file | --cache-file | --cache-fil | --cache-fi \
861 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862 ac_prev=cache_file ;;
863 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865 cache_file=$ac_optarg ;;
868 cache_file=config.cache ;;
870 -datadir | --datadir | --datadi | --datad)
872 -datadir=* | --datadir=* | --datadi=* | --datad=*)
873 datadir=$ac_optarg ;;
875 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876 | --dataroo | --dataro | --datar)
877 ac_prev=datarootdir ;;
878 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880 datarootdir=$ac_optarg ;;
882 -disable-* | --disable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: $ac_useropt"
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
896 eval enable_$ac_useropt=no ;;
898 -docdir | --docdir | --docdi | --doc | --do)
900 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
905 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 -enable-* | --enable-*)
909 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912 as_fn_error $? "invalid feature name: $ac_useropt"
913 ac_useropt_orig=$ac_useropt
914 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep=', ';;
922 eval enable_$ac_useropt=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
937 -help | --help | --hel | --he | -h)
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997 # Obsolete; use --without-fp.
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1086 -site=* | --site=* | --sit=*)
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1113 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid package name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1126 eval with_$ac_useropt=\$ac_optarg ;;
1128 -without-* | --without-*)
1129 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132 as_fn_error $? "invalid package name: $ac_useropt"
1133 ac_useropt_orig=$ac_useropt
1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep=', ';;
1142 eval with_$ac_useropt=no ;;
1145 # Obsolete; use --with-x.
1148 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149 | --x-incl | --x-inc | --x-in | --x-i)
1150 ac_prev=x_includes ;;
1151 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153 x_includes=$ac_optarg ;;
1155 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157 ac_prev=x_libraries ;;
1158 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160 x_libraries=$ac_optarg ;;
1162 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information"
1167 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' | [0-9]* | *[!_$as_cr_alnum]* )
1171 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1187 if test -n "$ac_prev"; then
1188 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error $? "missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val=\$$ac_var
1207 # Remove trailing slashes.
1210 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$]* | ?:[\\/]* ) continue;;
1216 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1218 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x; then
1230 if test "x$build_alias" = x; then
1231 cross_compiling=maybe
1232 elif test "x$build_alias" != "x$host_alias"; then
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240 test "$silent" = yes && exec 6>/dev/null
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246 as_fn_error $? "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248 as_fn_error $? "pwd does not report name of working directory"
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253 ac_srcdir_defaulted=yes
1254 # Try the directory containing this script, then the parent directory.
1255 ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257 X"$as_myself" : 'X\(//\)[^/]' \| \
1258 X"$as_myself" : 'X\(//\)$' \| \
1259 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1283 ac_srcdir_defaulted=no
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var in $ac_precious_vars; do
1304 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_${ac_var}_value=\$${ac_var}
1306 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures giflib 5.1.2 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking ...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/giflib]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1380 --build=BUILD configure for building on BUILD [guessed]
1381 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1385 if test -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive ) echo "Configuration of giflib 5.1.2:";;
1392 --disable-option-checking ignore unrecognized --enable/--with options
1393 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1394 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1395 --enable-silent-rules less verbose build output (undo: "make V=1")
1396 --disable-silent-rules verbose build output (undo: "make V=0")
1397 --enable-dependency-tracking
1398 do not reject slow dependency extractors
1399 --disable-dependency-tracking
1400 speeds up one-time build
1401 --enable-shared[=PKGS] build shared libraries [default=yes]
1402 --enable-static[=PKGS] build static libraries [default=yes]
1403 --enable-fast-install[=PKGS]
1404 optimize for fast installation [default=yes]
1405 --disable-libtool-lock avoid locking (might break parallel builds)
1408 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1409 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1410 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1412 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1413 --with-sysroot=DIR Search for dependent libraries within DIR
1414 (or the compiler's sysroot if not specified).
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to <esr@thyrsus.com>.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1492 giflib configure 5.1.2
1493 generated by GNU Autoconf 2.69
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1542 } # ac_fn_c_try_compile
1544 # ac_fn_c_try_link LINENO
1545 # -----------------------
1546 # Try to link conftest.$ac_ext, and return whether this succeeded.
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext conftest$ac_exeext
1551 if { { ac_try="$ac_link"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_link") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest$ac_exeext && {
1570 test "$cross_compiling" = yes ||
1571 test -x conftest$ac_exeext
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.$ac_ext >&5
1580 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1581 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1582 # interfere with the next link command; also delete a directory that is
1583 # left behind by Apple's compiler. We do this before executing the actions.
1584 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1588 } # ac_fn_c_try_link
1590 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists and can be compiled using the include files in
1593 # INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 $as_echo_n "checking for $2... " >&6; }
1599 if eval \${$3+:} false; then :
1600 $as_echo_n "(cached) " >&6
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_c_try_compile "$LINENO"; then :
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616 $as_echo "$ac_res" >&6; }
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1619 } # ac_fn_c_check_header_compile
1621 # ac_fn_c_try_cpp LINENO
1622 # ----------------------
1623 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_cpp conftest.$ac_ext"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636 if test -s conftest.err; then
1637 grep -v '^ *+' conftest.err >conftest.er1
1638 cat conftest.er1 >&5
1639 mv -f conftest.er1 conftest.err
1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642 test $ac_status = 0; } > conftest.i && {
1643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1644 test ! -s conftest.err
1648 $as_echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 as_fn_set_status $ac_retval
1658 # ac_fn_c_try_run LINENO
1659 # ----------------------
1660 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1661 # that executables *can* be run.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_link"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_link") 2>&5
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1676 { { case "(($ac_try" in
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_try") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; }; }; then :
1688 $as_echo "$as_me: program exited with status $ac_status" >&5
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1692 ac_retval=$ac_status
1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1696 as_fn_set_status $ac_retval
1700 # ac_fn_c_check_func LINENO FUNC VAR
1701 # ----------------------------------
1702 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1703 ac_fn_c_check_func ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below.
1719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1720 <limits.h> exists even on freestanding compilers. */
1723 # include <limits.h>
1725 # include <assert.h>
1730 /* Override any GCC internal prototype to avoid an error.
1731 Use char because int might match the return type of a GCC
1732 builtin and then its argument prototype would still apply. */
1737 /* The GNU C library defines this for functions which it implements
1738 to always fail with ENOSYS. Some functions are actually named
1739 something starting with __ and the normal name is an alias. */
1740 #if defined __stub_$2 || defined __stub___$2
1752 if ac_fn_c_try_link "$LINENO"; then :
1757 rm -f core conftest.err conftest.$ac_objext \
1758 conftest$ac_exeext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_func
1767 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1768 # -------------------------------------------------------
1769 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1770 # the include files in INCLUDES and setting the cache variable VAR
1772 ac_fn_c_check_header_mongrel ()
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if eval \${$3+:} false; then :
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 $as_echo_n "checking for $2... " >&6; }
1778 if eval \${$3+:} false; then :
1779 $as_echo_n "(cached) " >&6
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783 $as_echo "$ac_res" >&6; }
1785 # Is the header compilable?
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1787 $as_echo_n "checking $2 usability... " >&6; }
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1793 if ac_fn_c_try_compile "$LINENO"; then :
1794 ac_header_compiler=yes
1796 ac_header_compiler=no
1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1800 $as_echo "$ac_header_compiler" >&6; }
1802 # Is the header present?
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1804 $as_echo_n "checking $2 presence... " >&6; }
1805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1809 if ac_fn_c_try_cpp "$LINENO"; then :
1810 ac_header_preproc=yes
1812 ac_header_preproc=no
1814 rm -f conftest.err conftest.i conftest.$ac_ext
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1816 $as_echo "$ac_header_preproc" >&6; }
1818 # So? What about this header?
1819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1822 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1824 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1828 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1830 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1832 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1834 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1836 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1837 ( $as_echo "## ------------------------------ ##
1838 ## Report this to esr@thyrsus.com ##
1839 ## ------------------------------ ##"
1840 ) | sed "s/^/$as_me: WARNING: /" >&2
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \${$3+:} false; then :
1846 $as_echo_n "(cached) " >&6
1848 eval "$3=\$ac_header_compiler"
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 } # ac_fn_c_check_header_mongrel
1857 cat >config.log <<_ACEOF
1858 This file contains any messages produced by compilers while
1859 running configure, to aid debugging if configure makes a mistake.
1861 It was created by giflib $as_me 5.1.2, which was
1862 generated by GNU Autoconf 2.69. Invocation command line was
1874 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1875 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1876 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1877 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1878 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1880 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1881 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1883 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1884 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1885 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1886 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1887 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1888 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1889 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 $as_echo "PATH: $as_dir"
1914 # Keep a trace of the command line.
1915 # Strip out --no-create and --no-recursion so they do not pile up.
1916 # Strip out --silent because we don't want to record it for future runs.
1917 # Also quote any args containing shell meta-characters.
1918 # Make two passes to allow for proper duplicate-argument suppression.
1922 ac_must_keep_next=false
1928 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1930 | -silent | --silent | --silen | --sile | --sil)
1933 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1936 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1938 as_fn_append ac_configure_args1 " '$ac_arg'"
1939 if test $ac_must_keep_next = true; then
1940 ac_must_keep_next=false # Got value, back to normal.
1943 *=* | --config-cache | -C | -disable-* | --disable-* \
1944 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1945 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1946 | -with-* | --with-* | -without-* | --without-* | --x)
1947 case "$ac_configure_args0 " in
1948 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1951 -* ) ac_must_keep_next=true ;;
1954 as_fn_append ac_configure_args " '$ac_arg'"
1959 { ac_configure_args0=; unset ac_configure_args0;}
1960 { ac_configure_args1=; unset ac_configure_args1;}
1962 # When interrupted or exit'd, cleanup temporary files, and complete
1963 # config.log. We remove comments because anyway the quotes in there
1964 # would cause problems or look ugly.
1965 # WARNING: Use '\'' to represent an apostrophe within the trap.
1966 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1967 trap 'exit_status=$?
1968 # Save into config.log some information that might help in debugging.
1972 $as_echo "## ---------------- ##
1973 ## Cache variables. ##
1974 ## ---------------- ##"
1976 # The following way of writing the cache mishandles newlines in values,
1978 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1979 eval ac_val=\$$ac_var
1983 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1987 _ | IFS | as_nl) ;; #(
1988 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1989 *) { eval $ac_var=; unset $ac_var;} ;;
1994 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1995 *${as_nl}ac_space=\ *)
1997 "s/'\''/'\''\\\\'\'''\''/g;
1998 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2001 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2008 $as_echo "## ----------------- ##
2009 ## Output variables. ##
2010 ## ----------------- ##"
2012 for ac_var in $ac_subst_vars
2014 eval ac_val=\$$ac_var
2016 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018 $as_echo "$ac_var='\''$ac_val'\''"
2022 if test -n "$ac_subst_files"; then
2023 $as_echo "## ------------------- ##
2024 ## File substitutions. ##
2025 ## ------------------- ##"
2027 for ac_var in $ac_subst_files
2029 eval ac_val=\$$ac_var
2031 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033 $as_echo "$ac_var='\''$ac_val'\''"
2038 if test -s confdefs.h; then
2039 $as_echo "## ----------- ##
2046 test "$ac_signal" != 0 &&
2047 $as_echo "$as_me: caught signal $ac_signal"
2048 $as_echo "$as_me: exit $exit_status"
2050 rm -f core *.core core.conftest.* &&
2051 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2054 for ac_signal in 1 2 13 15; do
2055 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2059 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2060 rm -f -r conftest* confdefs.h
2062 $as_echo "/* confdefs.h */" > confdefs.h
2064 # Predefined preprocessor variables.
2066 cat >>confdefs.h <<_ACEOF
2067 #define PACKAGE_NAME "$PACKAGE_NAME"
2070 cat >>confdefs.h <<_ACEOF
2071 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_STRING "$PACKAGE_STRING"
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_URL "$PACKAGE_URL"
2091 # Let the site file select an alternate cache file if it wants to.
2092 # Prefer an explicitly selected file to automatically selected ones.
2095 if test -n "$CONFIG_SITE"; then
2096 # We do not want a PATH search for config.site.
2097 case $CONFIG_SITE in #((
2098 -*) ac_site_file1=./$CONFIG_SITE;;
2099 */*) ac_site_file1=$CONFIG_SITE;;
2100 *) ac_site_file1=./$CONFIG_SITE;;
2102 elif test "x$prefix" != xNONE; then
2103 ac_site_file1=$prefix/share/config.site
2104 ac_site_file2=$prefix/etc/config.site
2106 ac_site_file1=$ac_default_prefix/share/config.site
2107 ac_site_file2=$ac_default_prefix/etc/config.site
2109 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2111 test "x$ac_site_file" = xNONE && continue
2112 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2114 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2115 sed 's/^/| /' "$ac_site_file" >&5
2117 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2119 as_fn_error $? "failed to load site script $ac_site_file
2120 See \`config.log' for more details" "$LINENO" 5; }
2124 if test -r "$cache_file"; then
2125 # Some versions of bash will fail to source /dev/null (special files
2126 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2127 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2129 $as_echo "$as_me: loading cache $cache_file" >&6;}
2131 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2132 *) . "./$cache_file";;
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2137 $as_echo "$as_me: creating cache $cache_file" >&6;}
2141 # Check that the precious variables saved in the cache have kept the same
2143 ac_cache_corrupted=false
2144 for ac_var in $ac_precious_vars; do
2145 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2146 eval ac_new_set=\$ac_env_${ac_var}_set
2147 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2148 eval ac_new_val=\$ac_env_${ac_var}_value
2149 case $ac_old_set,$ac_new_set in
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2152 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2153 ac_cache_corrupted=: ;;
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2157 ac_cache_corrupted=: ;;
2160 if test "x$ac_old_val" != "x$ac_new_val"; then
2161 # differences in whitespace do not lead to failure.
2162 ac_old_val_w=`echo x $ac_old_val`
2163 ac_new_val_w=`echo x $ac_new_val`
2164 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2166 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2167 ac_cache_corrupted=:
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2170 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2171 eval $ac_var=\$ac_old_val
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2174 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2176 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2179 # Pass precious variables to config.status.
2180 if test "$ac_new_set" = set; then
2182 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 *) ac_arg=$ac_var=$ac_new_val ;;
2185 case " $ac_configure_args " in
2186 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2187 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2191 if $ac_cache_corrupted; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2195 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2196 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2198 ## -------------------- ##
2199 ## Main body of script. ##
2200 ## -------------------- ##
2203 ac_cpp='$CPP $CPPFLAGS'
2204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211 am__api_version='1.15'
2214 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2215 if test -f "$ac_dir/install-sh"; then
2217 ac_install_sh="$ac_aux_dir/install-sh -c"
2219 elif test -f "$ac_dir/install.sh"; then
2221 ac_install_sh="$ac_aux_dir/install.sh -c"
2223 elif test -f "$ac_dir/shtool"; then
2225 ac_install_sh="$ac_aux_dir/shtool install -c"
2229 if test -z "$ac_aux_dir"; then
2230 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2233 # These three variables are undocumented and unsupported,
2234 # and are intended to be withdrawn in a future Autoconf release.
2235 # They can cause serious problems if a builder's source tree is in a directory
2236 # whose full name contains unusual characters.
2237 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2238 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2239 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2242 # Find a good install program. We prefer a C program (faster),
2243 # so one script is as good as another. But avoid the broken or
2244 # incompatible versions:
2245 # SysV /etc/install, /usr/sbin/install
2246 # SunOS /usr/etc/install
2247 # IRIX /sbin/install
2249 # AmigaOS /C/install, which installs bootblocks on floppy discs
2250 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2251 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2252 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2253 # OS/2's system install, which has a completely different semantic
2254 # ./install, which can be erroneously created by make from ./install.sh.
2255 # Reject install programs that cannot install multiple files.
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2257 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2258 if test -z "$INSTALL"; then
2259 if ${ac_cv_path_install+:} false; then :
2260 $as_echo_n "(cached) " >&6
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 # Account for people who put trailing slashes in PATH elements.
2268 case $as_dir/ in #((
2269 ./ | .// | /[cC]/* | \
2270 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2271 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2274 # OSF1 and SCO ODT 3.0 have their own names for install.
2275 # Don't use installbsd from OSF since it installs stuff as root
2277 for ac_prog in ginstall scoinst install; do
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2280 if test $ac_prog = install &&
2281 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2282 # AIX install. It has an incompatible calling convention.
2284 elif test $ac_prog = install &&
2285 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2286 # program-specific install script used by HP pwplus--don't use.
2289 rm -rf conftest.one conftest.two conftest.dir
2290 echo one > conftest.one
2291 echo two > conftest.two
2293 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2294 test -s conftest.one && test -s conftest.two &&
2295 test -s conftest.dir/conftest.one &&
2296 test -s conftest.dir/conftest.two
2298 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2311 rm -rf conftest.one conftest.two conftest.dir
2314 if test "${ac_cv_path_install+set}" = set; then
2315 INSTALL=$ac_cv_path_install
2317 # As a last resort, use the slow shell script. Don't cache a
2318 # value for INSTALL within a source directory, because that will
2319 # break other packages using the cache if that directory is
2320 # removed, or if the value is a relative name.
2321 INSTALL=$ac_install_sh
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2325 $as_echo "$INSTALL" >&6; }
2327 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2328 # It thinks the first close brace ends the variable substitution.
2329 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2331 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2333 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2336 $as_echo_n "checking whether build environment is sane... " >&6; }
2337 # Reject unsafe characters in $srcdir or the absolute working directory
2338 # name. Accept space and tab only in the latter.
2342 *[\\\"\#\$\&\'\`$am_lf]*)
2343 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2346 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2347 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2350 # Do 'set' in a subshell so we don't clobber the current shell's
2351 # arguments. Must try -L first in case configure is actually a
2352 # symlink; some systems play weird games with the mod time of symlinks
2353 # (eg FreeBSD returns the mod time of the symlink's containing
2357 for am_try in 1 2; do
2358 echo "timestamp, slept: $am_has_slept" > conftest.file
2359 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2360 if test "$*" = "X"; then
2362 set X `ls -t "$srcdir/configure" conftest.file`
2364 if test "$*" != "X $srcdir/configure conftest.file" \
2365 && test "$*" != "X conftest.file $srcdir/configure"; then
2367 # If neither matched, then we have a broken ls. This can happen
2368 # if, for instance, CONFIG_SHELL is bash and it inherits a
2369 # broken ls alias from the environment. This has actually
2370 # happened. Such a system could not be considered "sane".
2371 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2372 alias in your environment" "$LINENO" 5
2374 if test "$2" = conftest.file || test $am_try -eq 2; then
2381 test "$2" = conftest.file
2387 as_fn_error $? "newly created file is older than distributed files!
2388 Check your system clock" "$LINENO" 5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2391 $as_echo "yes" >&6; }
2392 # If we didn't sleep, we still need to ensure time stamps of config.status and
2393 # generated files are strictly newer.
2395 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2402 test "$program_prefix" != NONE &&
2403 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2404 # Use a double $ so make ignores it.
2405 test "$program_suffix" != NONE &&
2406 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2407 # Double any \ or $.
2408 # By default was `s,x,x', remove it if useless.
2409 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2410 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2412 # Expand $ac_aux_dir to an absolute path.
2413 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2415 if test x"${MISSING+set}" != xset; then
2418 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2420 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2423 # Use eval to expand $SHELL
2424 if eval "$MISSING --is-lightweight"; then
2425 am_missing_run="$MISSING "
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2429 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2432 if test x"${install_sh+set}" != xset; then
2435 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2437 install_sh="\${SHELL} $am_aux_dir/install-sh"
2441 # Installed binaries are usually stripped using 'strip' when the user
2442 # run "make install-strip". However 'strip' might not be the right
2443 # tool to use in cross-compilation environments, therefore Automake
2444 # will honor the 'STRIP' environment variable to overrule this program.
2445 if test "$cross_compiling" != no; then
2446 if test -n "$ac_tool_prefix"; then
2447 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2448 set dummy ${ac_tool_prefix}strip; ac_word=$2
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2450 $as_echo_n "checking for $ac_word... " >&6; }
2451 if ${ac_cv_prog_STRIP+:} false; then :
2452 $as_echo_n "(cached) " >&6
2454 if test -n "$STRIP"; then
2455 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2464 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2474 STRIP=$ac_cv_prog_STRIP
2475 if test -n "$STRIP"; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2477 $as_echo "$STRIP" >&6; }
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2480 $as_echo "no" >&6; }
2485 if test -z "$ac_cv_prog_STRIP"; then
2487 # Extract the first word of "strip", so it can be a program name with args.
2488 set dummy strip; ac_word=$2
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2492 $as_echo_n "(cached) " >&6
2494 if test -n "$ac_ct_STRIP"; then
2495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2504 ac_cv_prog_ac_ct_STRIP="strip"
2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2515 if test -n "$ac_ct_STRIP"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2517 $as_echo "$ac_ct_STRIP" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2523 if test "x$ac_ct_STRIP" = x; then
2526 case $cross_compiling:$ac_tool_warned in
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned=yes ;;
2535 STRIP="$ac_cv_prog_STRIP"
2539 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2542 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2543 if test -z "$MKDIR_P"; then
2544 if ${ac_cv_path_mkdir+:} false; then :
2545 $as_echo_n "(cached) " >&6
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2551 test -z "$as_dir" && as_dir=.
2552 for ac_prog in mkdir gmkdir; do
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2555 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2556 'mkdir (GNU coreutils) '* | \
2557 'mkdir (coreutils) '* | \
2558 'mkdir (fileutils) '4.1*)
2559 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2569 test -d ./--version && rmdir ./--version
2570 if test "${ac_cv_path_mkdir+set}" = set; then
2571 MKDIR_P="$ac_cv_path_mkdir -p"
2573 # As a last resort, use the slow shell script. Don't cache a
2574 # value for MKDIR_P within a source directory, because that will
2575 # break other packages using the cache if that directory is
2576 # removed, or if the value is a relative name.
2577 MKDIR_P="$ac_install_sh -d"
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2581 $as_echo "$MKDIR_P" >&6; }
2583 for ac_prog in gawk mawk nawk awk
2585 # Extract the first word of "$ac_prog", so it can be a program name with args.
2586 set dummy $ac_prog; ac_word=$2
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588 $as_echo_n "checking for $ac_word... " >&6; }
2589 if ${ac_cv_prog_AWK+:} false; then :
2590 $as_echo_n "(cached) " >&6
2592 if test -n "$AWK"; then
2593 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602 ac_cv_prog_AWK="$ac_prog"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 if test -n "$AWK"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2615 $as_echo "$AWK" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2622 test -n "$AWK" && break
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2626 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2628 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2629 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 cat >conftest.make <<\_ACEOF
2635 @echo '@@@%%%=$(MAKE)=@@@%%%'
2637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2638 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2640 eval ac_cv_prog_make_${ac_make}_set=yes;;
2642 eval ac_cv_prog_make_${ac_make}_set=no;;
2646 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2648 $as_echo "yes" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2652 $as_echo "no" >&6; }
2653 SET_MAKE="MAKE=${MAKE-make}"
2656 rm -rf .tst 2>/dev/null
2657 mkdir .tst 2>/dev/null
2658 if test -d .tst; then
2663 rmdir .tst 2>/dev/null
2665 # Check whether --enable-silent-rules was given.
2666 if test "${enable_silent_rules+set}" = set; then :
2667 enableval=$enable_silent_rules;
2670 case $enable_silent_rules in # (((
2671 yes) AM_DEFAULT_VERBOSITY=0;;
2672 no) AM_DEFAULT_VERBOSITY=1;;
2673 *) AM_DEFAULT_VERBOSITY=1;;
2675 am_make=${MAKE-make}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2677 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2678 if ${am_cv_make_support_nested_variables+:} false; then :
2679 $as_echo_n "(cached) " >&6
2681 if $as_echo 'TRUE=$(BAR$(V))
2687 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2688 am_cv_make_support_nested_variables=yes
2690 am_cv_make_support_nested_variables=no
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2694 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2695 if test $am_cv_make_support_nested_variables = yes; then
2697 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2699 AM_V=$AM_DEFAULT_VERBOSITY
2700 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2704 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2705 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2706 # is not polluted with repeated "-I."
2707 am__isrc=' -I$(srcdir)'
2708 # test to see if srcdir already configured
2709 if test -f $srcdir/config.status; then
2710 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2714 # test whether we have cygpath
2715 if test -z "$CYGPATH_W"; then
2716 if (cygpath --version) >/dev/null 2>/dev/null; then
2717 CYGPATH_W='cygpath -w'
2724 # Define the identity of the package.
2729 cat >>confdefs.h <<_ACEOF
2730 #define PACKAGE "$PACKAGE"
2734 cat >>confdefs.h <<_ACEOF
2735 #define VERSION "$VERSION"
2738 # Some tools Automake needs.
2740 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2743 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2746 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2749 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2752 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2754 # For better backward compatibility. To be removed once Automake 1.9.x
2755 # dies out for good. For more background, see:
2756 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2757 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2758 mkdir_p='$(MKDIR_P)'
2760 # We need awk for the "check" target (and possibly the TAP driver). The
2761 # system "awk" is bad on some platforms.
2762 # Always define AMTAR for backward compatibility. Yes, it's still used
2763 # in the wild :-( We should find a proper way to deprecate it ...
2767 # We'll loop over all known methods to create a tar archive until one works.
2768 _am_tools='gnutar pax cpio none'
2770 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2777 # POSIX will say in a future version that running "rm -f" with no argument
2778 # is OK; and we want to be able to make that assumption in our Makefile
2779 # recipes. So use an aggressive probe to check that the usage we want is
2780 # actually supported "in the wild" to an acceptable degree.
2781 # See automake bug#10828.
2782 # To make any issue more visible, cause the running configure to be aborted
2783 # by default if the 'rm' program in use doesn't match our expectations; the
2784 # user can still override this though.
2785 if rm -f && rm -fr && rm -rf; then : OK; else
2789 Your 'rm' program seems unable to run without file operands specified
2790 on the command line, even when the '-f' option is present. This is contrary
2791 to the behaviour of most rm programs out there, and not conforming with
2792 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2794 Please tell bug-automake@gnu.org about your system, including the value
2795 of your $PATH and any error possibly output before this message. This
2796 can help us improve future automake versions.
2799 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2800 echo 'Configuration will proceed anyway, since you have set the' >&2
2801 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2805 Aborting the configuration process, to ensure you take notice of the issue.
2807 You can download and install GNU coreutils to get an 'rm' implementation
2808 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2810 If you want to complete the configuration process using your problematic
2811 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2812 to "yes", and re-run configure.
2815 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2819 # Check whether --enable-silent-rules was given.
2820 if test "${enable_silent_rules+set}" = set; then :
2821 enableval=$enable_silent_rules;
2824 case $enable_silent_rules in # (((
2825 yes) AM_DEFAULT_VERBOSITY=0;;
2826 no) AM_DEFAULT_VERBOSITY=1;;
2827 *) AM_DEFAULT_VERBOSITY=0;;
2829 am_make=${MAKE-make}
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2831 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2832 if ${am_cv_make_support_nested_variables+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if $as_echo 'TRUE=$(BAR$(V))
2841 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2842 am_cv_make_support_nested_variables=yes
2844 am_cv_make_support_nested_variables=no
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2848 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2849 if test $am_cv_make_support_nested_variables = yes; then
2851 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2853 AM_V=$AM_DEFAULT_VERBOSITY
2854 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2859 ac_config_headers="$ac_config_headers config.h"
2862 DEPDIR="${am__leading_dot}deps"
2864 ac_config_commands="$ac_config_commands depfiles"
2867 am_make=${MAKE-make}
2868 cat > confinc << 'END'
2870 @echo this is the am__doit target
2873 # If we don't find an include directive, just comment out the code.
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2875 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2879 # First try GNU make style include.
2880 echo "include confinc" > confmf
2881 # Ignore all kinds of additional output from 'make'.
2882 case `$am_make -s -f confmf 2> /dev/null` in #(
2883 *the\ am__doit\ target*)
2889 # Now try BSD make style include.
2890 if test "$am__include" = "#"; then
2891 echo '.include "confinc"' > confmf
2892 case `$am_make -s -f confmf 2> /dev/null` in #(
2893 *the\ am__doit\ target*)
2894 am__include=.include
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2903 $as_echo "$_am_result" >&6; }
2904 rm -f confinc confmf
2906 # Check whether --enable-dependency-tracking was given.
2907 if test "${enable_dependency_tracking+set}" = set; then :
2908 enableval=$enable_dependency_tracking;
2911 if test "x$enable_dependency_tracking" != xno; then
2912 am_depcomp="$ac_aux_dir/depcomp"
2916 if test "x$enable_dependency_tracking" != xno; then
2926 ac_cpp='$CPP $CPPFLAGS'
2927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2932 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_CC+:} false; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC="$CC" # Let the user override the test.
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$ac_cv_prog_CC"; then
2971 # Extract the first word of "gcc", so it can be a program name with args.
2972 set dummy gcc; ac_word=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$ac_ct_CC"; then
2979 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir=.
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_CC="gcc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2999 if test -n "$ac_ct_CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3001 $as_echo "$ac_ct_CC" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3007 if test "x$ac_ct_CC" = x; then
3010 case $cross_compiling:$ac_tool_warned in
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned=yes ;;
3022 if test -z "$CC"; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3025 set dummy ${ac_tool_prefix}cc; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_CC+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC="$CC" # Let the user override the test.
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir=.
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_CC="${ac_tool_prefix}cc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3063 if test -z "$CC"; then
3064 # Extract the first word of "cc", so it can be a program name with args.
3065 set dummy cc; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC="$CC" # Let the user override the test.
3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir=.
3080 for ac_exec_ext in '' $ac_executable_extensions; do
3081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3083 ac_prog_rejected=yes
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test $ac_prog_rejected = yes; then
3095 # We found a bogon in the path, so make sure we never use it.
3096 set dummy $ac_cv_prog_CC
3098 if test $# != 0; then
3099 # We chose a different compiler from the bogus one.
3100 # However, it has the same basename, so the bogon will be chosen
3101 # first if we set CC to just the basename; use the full file name.
3103 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 for ac_prog in cl.exe
3123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3124 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if ${ac_cv_prog_CC+:} false; then :
3128 $as_echo_n "(cached) " >&6
3130 if test -n "$CC"; then
3131 ac_cv_prog_CC="$CC" # Let the user override the test.
3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 test -z "$as_dir" && as_dir=.
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3140 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test -n "$CC"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3153 $as_echo "$CC" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3160 test -n "$CC" && break
3163 if test -z "$CC"; then
3165 for ac_prog in cl.exe
3167 # Extract the first word of "$ac_prog", so it can be a program name with args.
3168 set dummy $ac_prog; ac_word=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir=.
3182 for ac_exec_ext in '' $ac_executable_extensions; do
3183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184 ac_cv_prog_ac_ct_CC="$ac_prog"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3195 if test -n "$ac_ct_CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3197 $as_echo "$ac_ct_CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3204 test -n "$ac_ct_CC" && break
3207 if test "x$ac_ct_CC" = x; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned=yes ;;
3223 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $? "no acceptable C compiler found in \$PATH
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 # Provide some information about the compiler.
3229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3232 for ac_option in --version -v -V -qversion; do
3233 { { ac_try="$ac_compiler $ac_option >&5"
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242 if test -s conftest.err; then
3244 ... rest of stderr output deleted ...
3245 10q' conftest.err >conftest.er1
3246 cat conftest.er1 >&5
3248 rm -f conftest.er1 conftest.err
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 ac_clean_files_save=$ac_clean_files
3265 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3266 # Try to create an executable without -o first, disregard a.out.
3267 # It will help us diagnose broken compilers, and finding out an intuition
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3270 $as_echo_n "checking whether the C compiler works... " >&6; }
3271 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3273 # The possible output files:
3274 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3277 for ac_file in $ac_files
3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3281 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3286 if { { ac_try="$ac_link_default"
3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 *) ac_try_echo=$ac_try;;
3291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3292 $as_echo "$ac_try_echo"; } >&5
3293 (eval "$ac_link_default") 2>&5
3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296 test $ac_status = 0; }; then :
3297 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3298 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3299 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3300 # so that the user can short-circuit this test for compilers unknown to
3302 for ac_file in $ac_files ''
3304 test -f "$ac_file" || continue
3306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3309 # We found the default executable, but exeext='' is most
3313 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3315 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317 # We set ac_cv_exeext here because the later test for it is not
3318 # safe: cross compilers may not add the suffix if given an `-o'
3319 # argument, so we may need to know it at that point already.
3320 # Even if this section looks crufty: it has the advantage of
3327 test "$ac_cv_exeext" = no && ac_cv_exeext=
3332 if test -z "$ac_file"; then :
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 $as_echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3340 as_fn_error 77 "C compiler cannot create executables
3341 See \`config.log' for more details" "$LINENO" 5; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3344 $as_echo "yes" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3347 $as_echo_n "checking for C compiler default output file name... " >&6; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3349 $as_echo "$ac_file" >&6; }
3350 ac_exeext=$ac_cv_exeext
3352 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3353 ac_clean_files=$ac_clean_files_save
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3355 $as_echo_n "checking for suffix of executables... " >&6; }
3356 if { { ac_try="$ac_link"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363 (eval "$ac_link") 2>&5
3365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366 test $ac_status = 0; }; then :
3367 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3368 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3369 # work properly (i.e., refer to `conftest.exe'), while it won't with
3371 for ac_file in conftest.exe conftest conftest.*; do
3372 test -f "$ac_file" || continue
3374 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3375 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3383 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3384 See \`config.log' for more details" "$LINENO" 5; }
3386 rm -f conftest conftest$ac_cv_exeext
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3388 $as_echo "$ac_cv_exeext" >&6; }
3390 rm -f conftest.$ac_ext
3391 EXEEXT=$ac_cv_exeext
3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3399 FILE *f = fopen ("conftest.out", "w");
3400 return ferror (f) || fclose (f) != 0;
3406 ac_clean_files="$ac_clean_files conftest.out"
3407 # Check that the compiler produces executables we can run. If not, either
3408 # the compiler is broken, or we cross compile.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3410 $as_echo_n "checking whether we are cross compiling... " >&6; }
3411 if test "$cross_compiling" != yes; then
3412 { { ac_try="$ac_link"
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }
3423 if { ac_try='./conftest$ac_cv_exeext'
3424 { { case "(($ac_try" in
3425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_try") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; }; then
3436 if test "$cross_compiling" = maybe; then
3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error $? "cannot run C compiled programs.
3442 If you meant to cross compile, use \`--host'.
3443 See \`config.log' for more details" "$LINENO" 5; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3448 $as_echo "$cross_compiling" >&6; }
3450 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3451 ac_clean_files=$ac_clean_files_save
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3453 $as_echo_n "checking for suffix of object files... " >&6; }
3454 if ${ac_cv_objext+:} false; then :
3455 $as_echo_n "(cached) " >&6
3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 rm -f conftest.o conftest.obj
3469 if { { ac_try="$ac_compile"
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476 (eval "$ac_compile") 2>&5
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }; then :
3480 for ac_file in conftest.o conftest.obj conftest.*; do
3481 test -f "$ac_file" || continue;
3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3489 $as_echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494 as_fn_error $? "cannot compute suffix of object files: cannot compile
3495 See \`config.log' for more details" "$LINENO" 5; }
3497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3500 $as_echo "$ac_cv_objext" >&6; }
3501 OBJEXT=$ac_cv_objext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3505 if ${ac_cv_c_compiler_gnu+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3532 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3533 if test $ac_compiler_gnu = yes; then
3538 ac_test_CFLAGS=${CFLAGS+set}
3539 ac_save_CFLAGS=$CFLAGS
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3542 if ${ac_cv_prog_cc_g+:} false; then :
3543 $as_echo_n "(cached) " >&6
3545 ac_save_c_werror_flag=$ac_c_werror_flag
3546 ac_c_werror_flag=yes
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3575 if ac_fn_c_try_compile "$LINENO"; then :
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 if ac_fn_c_try_compile "$LINENO"; then :
3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 ac_c_werror_flag=$ac_save_c_werror_flag
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3602 $as_echo "$ac_cv_prog_cc_g" >&6; }
3603 if test "$ac_test_CFLAGS" = set; then
3604 CFLAGS=$ac_save_CFLAGS
3605 elif test $ac_cv_prog_cc_g = yes; then
3606 if test "$GCC" = yes; then
3612 if test "$GCC" = yes; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3620 if ${ac_cv_prog_cc_c89+:} false; then :
3621 $as_echo_n "(cached) " >&6
3623 ac_cv_prog_cc_c89=no
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3631 struct buf { int x; };
3632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3633 static char *e (p, i)
3639 static char *f (char * (*g) (char **, int), char **p, ...)
3644 s = g (p, va_arg (v,int));
3649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3650 function prototypes and stuff, but not '\xHH' hex character constants.
3651 These don't provoke an error unfortunately, instead are silently treated
3652 as 'x'. The following induces an error, until -std is added to get
3653 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3654 array size at least. It's necessary to write '\x00'==0 to get something
3655 that's true only with -std. */
3656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3659 inside strings and character constants. */
3661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3663 int test (int i, double x);
3664 struct s1 {int (*f) (int a);};
3665 struct s2 {int (*f) (double a);};
3666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3672 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3678 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3680 CC="$ac_save_CC $ac_arg"
3681 if ac_fn_c_try_compile "$LINENO"; then :
3682 ac_cv_prog_cc_c89=$ac_arg
3684 rm -f core conftest.err conftest.$ac_objext
3685 test "x$ac_cv_prog_cc_c89" != "xno" && break
3687 rm -f conftest.$ac_ext
3692 case "x$ac_cv_prog_cc_c89" in
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3695 $as_echo "none needed" >&6; } ;;
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3698 $as_echo "unsupported" >&6; } ;;
3700 CC="$CC $ac_cv_prog_cc_c89"
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3704 if test "x$ac_cv_prog_cc_c89" != xno; then :
3709 ac_cpp='$CPP $CPPFLAGS'
3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3720 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3721 if ${am_cv_prog_cc_c_o+:} false; then :
3722 $as_echo_n "(cached) " >&6
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 # Make sure it works both with $CC and with simple cc.
3736 # Following AC_PROG_CC_C_O, we do the test twice because some
3737 # compilers refuse to overwrite an existing .o file with -o,
3738 # though they will create one.
3739 am_cv_prog_cc_c_o=yes
3741 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3742 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } \
3746 && test -f conftest2.$ac_objext; then
3749 am_cv_prog_cc_c_o=no
3753 rm -f core conftest*
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3757 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3758 if test "$am_cv_prog_cc_c_o" != yes; then
3759 # Losing compiler, so override with the script.
3760 # FIXME: It is wrong to rewrite CC.
3761 # But if we don't then we get into trouble of one sort or another.
3762 # A longer-term fix would be to have automake use am__CC in this case,
3763 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3764 CC="$am_aux_dir/compile $CC"
3767 ac_cpp='$CPP $CPPFLAGS'
3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3773 depcc="$CC" am_compiler_list=
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3776 $as_echo_n "checking dependency style of $depcc... " >&6; }
3777 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3781 # We make a subdir and do the tests there. Otherwise we can end up
3782 # making bogus files that we don't know about and never remove. For
3783 # instance it was reported that on HP-UX the gcc test will end up
3784 # making a dummy file named 'D' -- because '-MD' means "put the output
3788 # Copy depcomp to subdir because otherwise we won't find it if we're
3789 # using a relative directory.
3790 cp "$am_depcomp" conftest.dir
3792 # We will build objects and dependencies in a subdirectory because
3793 # it helps to detect inapplicable dependency modes. For instance
3794 # both Tru64's cc and ICC support -MD to output dependencies as a
3795 # side effect of compilation, but ICC will put the dependencies in
3796 # the current directory while Tru64 will put them in the object
3800 am_cv_CC_dependencies_compiler_type=none
3801 if test "$am_compiler_list" = ""; then
3802 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3805 case " $depcc " in #(
3806 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3809 for depmode in $am_compiler_list; do
3810 # Setup a source with many dependencies, because some compilers
3811 # like to wrap large dependency lists on column 80 (with \), and
3812 # we should not choose a depcomp mode which is confused by this.
3814 # We need to recreate these files for each test, as the compiler may
3815 # overwrite some of them when testing with obscure command lines.
3816 # This happens at least with the AIX C compiler.
3818 for i in 1 2 3 4 5 6; do
3819 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3820 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3821 # Solaris 10 /bin/sh.
3822 echo '/* dummy */' > sub/conftst$i.h
3824 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3826 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3827 # mode. It turns out that the SunPro C++ compiler does not properly
3828 # handle '-M -o', and we need to detect this. Also, some Intel
3829 # versions had trouble with output in subdirs.
3830 am__obj=sub/conftest.${OBJEXT-o}
3831 am__minus_obj="-o $am__obj"
3834 # This depmode causes a compiler race in universal mode.
3835 test "$am__universal" = false || continue
3838 # After this tag, mechanisms are not by side-effect, so they'll
3839 # only be used when explicitly requested.
3840 if test "x$enable_dependency_tracking" = xyes; then
3846 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3847 # This compiler won't grok '-c -o', but also, the minuso test has
3848 # not run yet. These depmodes are late enough in the game, and
3849 # so weak that their functioning should not be impacted.
3850 am__obj=conftest.${OBJEXT-o}
3855 if depmode=$depmode \
3856 source=sub/conftest.c object=$am__obj \
3857 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3858 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3859 >/dev/null 2>conftest.err &&
3860 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3861 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3862 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3863 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3864 # icc doesn't choke on unknown options, it will just issue warnings
3865 # or remarks (even with -Werror). So we grep stderr for any message
3866 # that says an option was ignored or not supported.
3867 # When given -MP, icc 7.0 and 7.1 complain thusly:
3868 # icc: Command line warning: ignoring option '-M'; no argument required
3869 # The diagnosis changed in icc 8.0:
3870 # icc: Command line remark: option '-MP' not supported
3871 if (grep 'ignoring option' conftest.err ||
3872 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3873 am_cv_CC_dependencies_compiler_type=$depmode
3882 am_cv_CC_dependencies_compiler_type=none
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3887 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3888 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3891 test "x$enable_dependency_tracking" != xno \
3892 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3894 am__fastdepCC_FALSE='#'
3896 am__fastdepCC_TRUE='#'
3897 am__fastdepCC_FALSE=
3902 if test -n "$ac_tool_prefix"; then
3903 for ac_prog in ar lib "link -lib"
3905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 $as_echo_n "checking for $ac_word... " >&6; }
3909 if ${ac_cv_prog_AR+:} false; then :
3910 $as_echo_n "(cached) " >&6
3912 if test -n "$AR"; then
3913 ac_cv_prog_AR="$AR" # Let the user override the test.
3915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3919 test -z "$as_dir" && as_dir=.
3920 for ac_exec_ext in '' $ac_executable_extensions; do
3921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3922 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 if test -n "$AR"; then
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3935 $as_echo "$AR" >&6; }
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3942 test -n "$AR" && break
3945 if test -z "$AR"; then
3947 for ac_prog in ar lib "link -lib"
3949 # Extract the first word of "$ac_prog", so it can be a program name with args.
3950 set dummy $ac_prog; ac_word=$2
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952 $as_echo_n "checking for $ac_word... " >&6; }
3953 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3954 $as_echo_n "(cached) " >&6
3956 if test -n "$ac_ct_AR"; then
3957 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_prog_ac_ct_AR="$ac_prog"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3977 if test -n "$ac_ct_AR"; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3979 $as_echo "$ac_ct_AR" >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3986 test -n "$ac_ct_AR" && break
3989 if test "x$ac_ct_AR" = x; then
3992 case $cross_compiling:$ac_tool_warned in
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3996 ac_tool_warned=yes ;;
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4005 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4006 if ${am_cv_ar_interface+:} false; then :
4007 $as_echo_n "(cached) " >&6
4010 ac_cpp='$CPP $CPPFLAGS'
4011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015 am_cv_ar_interface=ar
4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h. */
4018 int some_variable = 0;
4020 if ac_fn_c_try_compile "$LINENO"; then :
4021 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4022 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4023 (eval $am_ar_try) 2>&5
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }
4027 if test "$ac_status" -eq 0; then
4028 am_cv_ar_interface=ar
4030 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4031 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4032 (eval $am_ar_try) 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }
4036 if test "$ac_status" -eq 0; then
4037 am_cv_ar_interface=lib
4039 am_cv_ar_interface=unknown
4042 rm -f conftest.lib libconftest.a
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 ac_cpp='$CPP $CPPFLAGS'
4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4054 $as_echo "$am_cv_ar_interface" >&6; }
4056 case $am_cv_ar_interface in
4060 # Microsoft lib, so override with the ar-lib wrapper script.
4061 # FIXME: It is wrong to rewrite AR.
4062 # But if we don't then we get into trouble of one sort or another.
4063 # A longer-term fix would be to have automake use am__AR in this case,
4064 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4066 AR="$am_aux_dir/ar-lib $AR"
4069 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4076 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4081 macro_version='2.4.2'
4082 macro_revision='1.3337'
4096 ltmain="$ac_aux_dir/ltmain.sh"
4098 # Make sure we can run config.sub.
4099 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4100 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4103 $as_echo_n "checking build system type... " >&6; }
4104 if ${ac_cv_build+:} false; then :
4105 $as_echo_n "(cached) " >&6
4107 ac_build_alias=$build_alias
4108 test "x$ac_build_alias" = x &&
4109 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4110 test "x$ac_build_alias" = x &&
4111 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4112 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4113 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4117 $as_echo "$ac_cv_build" >&6; }
4118 case $ac_cv_build in
4120 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4123 ac_save_IFS=$IFS; IFS='-'
4129 # Remember, the first character of IFS is used to create $*,
4130 # except with old shells:
4133 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4137 $as_echo_n "checking host system type... " >&6; }
4138 if ${ac_cv_host+:} false; then :
4139 $as_echo_n "(cached) " >&6
4141 if test "x$host_alias" = x; then
4142 ac_cv_host=$ac_cv_build
4144 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4145 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4150 $as_echo "$ac_cv_host" >&6; }
4153 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4156 ac_save_IFS=$IFS; IFS='-'
4162 # Remember, the first character of IFS is used to create $*,
4163 # except with old shells:
4166 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4169 # Backslashify metacharacters that are still active within
4170 # double-quoted strings.
4171 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4173 # Same as above, but do not quote variable references.
4174 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4176 # Sed substitution to delay expansion of an escaped shell variable in a
4177 # double_quote_subst'ed string.
4178 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4180 # Sed substitution to delay expansion of an escaped single quote.
4181 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4183 # Sed substitution to avoid accidental globbing in evaled expressions
4184 no_glob_subst='s/\*/\\\*/g'
4186 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4187 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4188 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4191 $as_echo_n "checking how to print strings... " >&6; }
4192 # Test print first, because it will be a builtin if present.
4193 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4194 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4196 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4199 # Use this function as a fallback that always works.
4200 func_fallback_echo ()
4202 eval 'cat <<_LTECHO_EOF
4206 ECHO='func_fallback_echo'
4209 # func_echo_all arg...
4210 # Invoke $ECHO with all args, space-separated.
4217 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4218 $as_echo "printf" >&6; } ;;
4219 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4220 $as_echo "print -r" >&6; } ;;
4221 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4222 $as_echo "cat" >&6; } ;;
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4239 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4240 if ${ac_cv_path_SED+:} false; then :
4241 $as_echo_n "(cached) " >&6
4243 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4244 for ac_i in 1 2 3 4 5 6 7; do
4245 ac_script="$ac_script$as_nl$ac_script"
4247 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4248 { ac_script=; unset ac_script;}
4249 if test -z "$SED"; then
4250 ac_path_SED_found=false
4251 # Loop through the user's path and test for each of PROGNAME-LIST
4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir=.
4257 for ac_prog in sed gsed; do
4258 for ac_exec_ext in '' $ac_executable_extensions; do
4259 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4260 as_fn_executable_p "$ac_path_SED" || continue
4261 # Check for GNU ac_path_SED and select it if it is found.
4262 # Check for GNU $ac_path_SED
4263 case `"$ac_path_SED" --version 2>&1` in
4265 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4268 $as_echo_n 0123456789 >"conftest.in"
4271 cat "conftest.in" "conftest.in" >"conftest.tmp"
4272 mv "conftest.tmp" "conftest.in"
4273 cp "conftest.in" "conftest.nl"
4274 $as_echo '' >> "conftest.nl"
4275 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4277 as_fn_arith $ac_count + 1 && ac_count=$as_val
4278 if test $ac_count -gt ${ac_path_SED_max-0}; then
4279 # Best one so far, save it but keep looking for a better one
4280 ac_cv_path_SED="$ac_path_SED"
4281 ac_path_SED_max=$ac_count
4283 # 10*(2^10) chars as input seems more than enough
4284 test $ac_count -gt 10 && break
4286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4289 $ac_path_SED_found && break 3
4294 if test -z "$ac_cv_path_SED"; then
4295 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4303 $as_echo "$ac_cv_path_SED" >&6; }
4304 SED="$ac_cv_path_SED"
4307 test -z "$SED" && SED=sed
4308 Xsed="$SED -e 1s/^X//"
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4321 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4322 if ${ac_cv_path_GREP+:} false; then :
4323 $as_echo_n "(cached) " >&6
4325 if test -z "$GREP"; then
4326 ac_path_GREP_found=false
4327 # Loop through the user's path and test for each of PROGNAME-LIST
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4332 test -z "$as_dir" && as_dir=.
4333 for ac_prog in grep ggrep; do
4334 for ac_exec_ext in '' $ac_executable_extensions; do
4335 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4336 as_fn_executable_p "$ac_path_GREP" || continue
4337 # Check for GNU ac_path_GREP and select it if it is found.
4338 # Check for GNU $ac_path_GREP
4339 case `"$ac_path_GREP" --version 2>&1` in
4341 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4344 $as_echo_n 0123456789 >"conftest.in"
4347 cat "conftest.in" "conftest.in" >"conftest.tmp"
4348 mv "conftest.tmp" "conftest.in"
4349 cp "conftest.in" "conftest.nl"
4350 $as_echo 'GREP' >> "conftest.nl"
4351 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4352 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4353 as_fn_arith $ac_count + 1 && ac_count=$as_val
4354 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4355 # Best one so far, save it but keep looking for a better one
4356 ac_cv_path_GREP="$ac_path_GREP"
4357 ac_path_GREP_max=$ac_count
4359 # 10*(2^10) chars as input seems more than enough
4360 test $ac_count -gt 10 && break
4362 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4365 $ac_path_GREP_found && break 3
4370 if test -z "$ac_cv_path_GREP"; then
4371 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4374 ac_cv_path_GREP=$GREP
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4379 $as_echo "$ac_cv_path_GREP" >&6; }
4380 GREP="$ac_cv_path_GREP"
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4384 $as_echo_n "checking for egrep... " >&6; }
4385 if ${ac_cv_path_EGREP+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4389 then ac_cv_path_EGREP="$GREP -E"
4391 if test -z "$EGREP"; then
4392 ac_path_EGREP_found=false
4393 # Loop through the user's path and test for each of PROGNAME-LIST
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4398 test -z "$as_dir" && as_dir=.
4399 for ac_prog in egrep; do
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4402 as_fn_executable_p "$ac_path_EGREP" || continue
4403 # Check for GNU ac_path_EGREP and select it if it is found.
4404 # Check for GNU $ac_path_EGREP
4405 case `"$ac_path_EGREP" --version 2>&1` in
4407 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4410 $as_echo_n 0123456789 >"conftest.in"
4413 cat "conftest.in" "conftest.in" >"conftest.tmp"
4414 mv "conftest.tmp" "conftest.in"
4415 cp "conftest.in" "conftest.nl"
4416 $as_echo 'EGREP' >> "conftest.nl"
4417 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4418 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4419 as_fn_arith $ac_count + 1 && ac_count=$as_val
4420 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4421 # Best one so far, save it but keep looking for a better one
4422 ac_cv_path_EGREP="$ac_path_EGREP"
4423 ac_path_EGREP_max=$ac_count
4425 # 10*(2^10) chars as input seems more than enough
4426 test $ac_count -gt 10 && break
4428 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4431 $ac_path_EGREP_found && break 3
4436 if test -z "$ac_cv_path_EGREP"; then
4437 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4440 ac_cv_path_EGREP=$EGREP
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4446 $as_echo "$ac_cv_path_EGREP" >&6; }
4447 EGREP="$ac_cv_path_EGREP"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4451 $as_echo_n "checking for fgrep... " >&6; }
4452 if ${ac_cv_path_FGREP+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4456 then ac_cv_path_FGREP="$GREP -F"
4458 if test -z "$FGREP"; then
4459 ac_path_FGREP_found=false
4460 # Loop through the user's path and test for each of PROGNAME-LIST
4461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465 test -z "$as_dir" && as_dir=.
4466 for ac_prog in fgrep; do
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4469 as_fn_executable_p "$ac_path_FGREP" || continue
4470 # Check for GNU ac_path_FGREP and select it if it is found.
4471 # Check for GNU $ac_path_FGREP
4472 case `"$ac_path_FGREP" --version 2>&1` in
4474 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4477 $as_echo_n 0123456789 >"conftest.in"
4480 cat "conftest.in" "conftest.in" >"conftest.tmp"
4481 mv "conftest.tmp" "conftest.in"
4482 cp "conftest.in" "conftest.nl"
4483 $as_echo 'FGREP' >> "conftest.nl"
4484 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4486 as_fn_arith $ac_count + 1 && ac_count=$as_val
4487 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4488 # Best one so far, save it but keep looking for a better one
4489 ac_cv_path_FGREP="$ac_path_FGREP"
4490 ac_path_FGREP_max=$ac_count
4492 # 10*(2^10) chars as input seems more than enough
4493 test $ac_count -gt 10 && break
4495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 $ac_path_FGREP_found && break 3
4503 if test -z "$ac_cv_path_FGREP"; then
4504 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507 ac_cv_path_FGREP=$FGREP
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4513 $as_echo "$ac_cv_path_FGREP" >&6; }
4514 FGREP="$ac_cv_path_FGREP"
4517 test -z "$GREP" && GREP=grep
4537 # Check whether --with-gnu-ld was given.
4538 if test "${with_gnu_ld+set}" = set; then :
4539 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4545 if test "$GCC" = yes; then
4546 # Check if gcc -print-prog-name=ld gives a path.
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4548 $as_echo_n "checking for ld used by $CC... " >&6; }
4551 # gcc leaves a trailing carriage return which upsets mingw
4552 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4554 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4557 # Accept absolute paths.
4559 re_direlt='/[^/][^/]*/\.\./'
4560 # Canonicalize the pathname of ld
4561 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4562 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4563 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4565 test -z "$LD" && LD="$ac_prog"
4568 # If it fails, then pretend we aren't using GCC.
4572 # If it is relative, then search for the first ld in PATH.
4576 elif test "$with_gnu_ld" = yes; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4578 $as_echo_n "checking for GNU ld... " >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4581 $as_echo_n "checking for non-GNU ld... " >&6; }
4583 if ${lt_cv_path_LD+:} false; then :
4584 $as_echo_n "(cached) " >&6
4586 if test -z "$LD"; then
4587 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4588 for ac_dir in $PATH; do
4590 test -z "$ac_dir" && ac_dir=.
4591 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4592 lt_cv_path_LD="$ac_dir/$ac_prog"
4593 # Check to see if the program is GNU ld. I'd rather use --version,
4594 # but apparently some variants of GNU ld only accept -v.
4595 # Break only if it was the GNU/non-GNU ld that we prefer.
4596 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4597 *GNU* | *'with BFD'*)
4598 test "$with_gnu_ld" != no && break
4601 test "$with_gnu_ld" != yes && break
4608 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4613 if test -n "$LD"; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4615 $as_echo "$LD" >&6; }
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4620 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4622 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4623 if ${lt_cv_prog_gnu_ld+:} false; then :
4624 $as_echo_n "(cached) " >&6
4626 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4627 case `$LD -v 2>&1 </dev/null` in
4628 *GNU* | *'with BFD'*)
4629 lt_cv_prog_gnu_ld=yes
4632 lt_cv_prog_gnu_ld=no
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4638 with_gnu_ld=$lt_cv_prog_gnu_ld
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4649 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4650 if ${lt_cv_path_NM+:} false; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$NM"; then
4654 # Let the user override the test.
4657 lt_nm_to_check="${ac_tool_prefix}nm"
4658 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4659 lt_nm_to_check="$lt_nm_to_check nm"
4661 for lt_tmp_nm in $lt_nm_to_check; do
4662 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4663 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4665 test -z "$ac_dir" && ac_dir=.
4666 tmp_nm="$ac_dir/$lt_tmp_nm"
4667 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4668 # Check to see if the nm accepts a BSD-compat flag.
4669 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4670 # nm: unknown option "B" ignored
4671 # Tru64's nm complains that /dev/null is an invalid object file
4672 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4673 */dev/null* | *'Invalid file or object type'*)
4674 lt_cv_path_NM="$tmp_nm -B"
4678 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4680 lt_cv_path_NM="$tmp_nm -p"
4684 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4685 continue # so that we can try to find one that supports BSD flags
4694 : ${lt_cv_path_NM=no}
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4698 $as_echo "$lt_cv_path_NM" >&6; }
4699 if test "$lt_cv_path_NM" != "no"; then
4702 # Didn't find any BSD compatible name lister, look for dumpbin.
4703 if test -n "$DUMPBIN"; then :
4704 # Let the user override the test.
4706 if test -n "$ac_tool_prefix"; then
4707 for ac_prog in dumpbin "link -dump"
4709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_DUMPBIN+:} false; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -n "$DUMPBIN"; then
4717 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736 DUMPBIN=$ac_cv_prog_DUMPBIN
4737 if test -n "$DUMPBIN"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4739 $as_echo "$DUMPBIN" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$DUMPBIN" && break
4749 if test -z "$DUMPBIN"; then
4750 ac_ct_DUMPBIN=$DUMPBIN
4751 for ac_prog in dumpbin "link -dump"
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$ac_ct_DUMPBIN"; then
4761 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir=.
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4781 if test -n "$ac_ct_DUMPBIN"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4783 $as_echo "$ac_ct_DUMPBIN" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$ac_ct_DUMPBIN" && break
4793 if test "x$ac_ct_DUMPBIN" = x; then
4796 case $cross_compiling:$ac_tool_warned in
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned=yes ;;
4802 DUMPBIN=$ac_ct_DUMPBIN
4806 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4808 DUMPBIN="$DUMPBIN -symbols"
4816 if test "$DUMPBIN" != ":"; then
4820 test -z "$NM" && NM=nm
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4828 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4829 if ${lt_cv_nm_interface+:} false; then :
4830 $as_echo_n "(cached) " >&6
4832 lt_cv_nm_interface="BSD nm"
4833 echo "int some_variable = 0;" > conftest.$ac_ext
4834 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4835 (eval "$ac_compile" 2>conftest.err)
4836 cat conftest.err >&5
4837 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4838 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4839 cat conftest.err >&5
4840 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4841 cat conftest.out >&5
4842 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4843 lt_cv_nm_interface="MS dumpbin"
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4848 $as_echo "$lt_cv_nm_interface" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4851 $as_echo_n "checking whether ln -s works... " >&6; }
4853 if test "$LN_S" = "ln -s"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4855 $as_echo "yes" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4858 $as_echo "no, using $LN_S" >&6; }
4861 # find the maximum length of command line arguments
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4863 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4864 if ${lt_cv_sys_max_cmd_len+:} false; then :
4865 $as_echo_n "(cached) " >&6
4872 # On DJGPP, this test can blow up pretty badly due to problems in libc
4873 # (any single argument exceeding 2000 bytes causes a buffer overrun
4874 # during glob expansion). Even if it were fixed, the result of this
4875 # check would be larger than it should be.
4876 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4880 # Under GNU Hurd, this test is not required because there is
4881 # no limit to the length of command line arguments.
4882 # Libtool will interpret -1 as no limit whatsoever
4883 lt_cv_sys_max_cmd_len=-1;
4886 cygwin* | mingw* | cegcc*)
4887 # On Win9x/ME, this test blows up -- it succeeds, but takes
4888 # about 5 minutes as the teststring grows exponentially.
4889 # Worse, since 9x/ME are not pre-emptively multitasking,
4890 # you end up with a "frozen" computer, even though with patience
4891 # the test eventually succeeds (with a max line length of 256k).
4892 # Instead, let's just punt: use the minimum linelength reported by
4893 # all of the supported platforms: 8192 (on NT/2K/XP).
4894 lt_cv_sys_max_cmd_len=8192;
4898 # On MiNT this can take a long time and run out of memory.
4899 lt_cv_sys_max_cmd_len=8192;
4903 # On AmigaOS with pdksh, this test takes hours, literally.
4904 # So we just punt and use a minimum line length of 8192.
4905 lt_cv_sys_max_cmd_len=8192;
4908 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4909 # This has been around since 386BSD, at least. Likely further.
4910 if test -x /sbin/sysctl; then
4911 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4912 elif test -x /usr/sbin/sysctl; then
4913 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4915 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4917 # And add a safety zone
4918 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4919 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4923 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4924 lt_cv_sys_max_cmd_len=196608
4928 # The test takes a long time on OS/2.
4929 lt_cv_sys_max_cmd_len=8192
4933 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4934 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4935 # nice to cause kernel panics so lets avoid the loop below.
4936 # First set a reasonable default.
4937 lt_cv_sys_max_cmd_len=16384
4939 if test -x /sbin/sysconfig; then
4940 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4941 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4946 lt_cv_sys_max_cmd_len=102400
4948 sysv5* | sco5v6* | sysv4.2uw2*)
4949 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4950 if test -n "$kargmax"; then
4951 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4953 lt_cv_sys_max_cmd_len=32768
4957 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4958 if test -n "$lt_cv_sys_max_cmd_len" && \
4959 test undefined != "$lt_cv_sys_max_cmd_len"; then
4960 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4963 # Make teststring a little bigger before we do anything with it.
4964 # a 1K string should be a reasonable start.
4965 for i in 1 2 3 4 5 6 7 8 ; do
4966 teststring=$teststring$teststring
4968 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4969 # If test is not a shell built-in, we'll probably end up computing a
4970 # maximum length that is only half of the actual maximum length, but
4972 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4973 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4974 test $i != 17 # 1/2 MB should be enough
4977 teststring=$teststring$teststring
4979 # Only check the string length outside the loop.
4980 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4982 # Add a significant safety factor because C++ compilers can tack on
4983 # massive amounts of additional arguments before passing them to the
4984 # linker. It appears as though 1/2 is a usable value.
4985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4992 if test -n $lt_cv_sys_max_cmd_len ; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4994 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4997 $as_echo "none" >&6; }
4999 max_cmd_len=$lt_cv_sys_max_cmd_len
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5011 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5012 # Try some XSI features
5015 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5017 && eval 'test $(( 1 + 1 )) -eq 2 \
5018 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5021 $as_echo "$xsi_shell" >&6; }
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5025 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5027 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5029 && lt_shell_append=yes
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5031 $as_echo "$lt_shell_append" >&6; }
5034 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5044 # test EBCDIC or ASCII
5045 case `echo X|tr X '\101'` in
5046 A) # ASCII based system
5047 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5048 lt_SP2NL='tr \040 \012'
5049 lt_NL2SP='tr \015\012 \040\040'
5051 *) # EBCDIC based system
5052 lt_SP2NL='tr \100 \n'
5053 lt_NL2SP='tr \r\n \100\100'
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5066 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5067 if ${lt_cv_to_host_file_cmd+:} false; then :
5068 $as_echo_n "(cached) " >&6
5073 *-*-mingw* ) # actually msys
5074 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5077 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5079 * ) # otherwise, assume *nix
5080 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5086 *-*-mingw* ) # actually msys
5087 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5090 lt_cv_to_host_file_cmd=func_convert_file_noop
5092 * ) # otherwise, assume *nix
5093 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5097 * ) # unhandled hosts (and "normal" native builds)
5098 lt_cv_to_host_file_cmd=func_convert_file_noop
5104 to_host_file_cmd=$lt_cv_to_host_file_cmd
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5106 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5113 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5114 if ${lt_cv_to_tool_file_cmd+:} false; then :
5115 $as_echo_n "(cached) " >&6
5117 #assume ordinary cross tools, or native build.
5118 lt_cv_to_tool_file_cmd=func_convert_file_noop
5122 *-*-mingw* ) # actually msys
5123 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5131 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5133 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5140 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5141 if ${lt_cv_ld_reload_flag+:} false; then :
5142 $as_echo_n "(cached) " >&6
5144 lt_cv_ld_reload_flag='-r'
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5147 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5148 reload_flag=$lt_cv_ld_reload_flag
5149 case $reload_flag in
5151 *) reload_flag=" $reload_flag" ;;
5153 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5155 cygwin* | mingw* | pw32* | cegcc*)
5156 if test "$GCC" != yes; then
5161 if test "$GCC" = yes; then
5162 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5164 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5177 if test -n "$ac_tool_prefix"; then
5178 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5179 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if ${ac_cv_prog_OBJDUMP+:} false; then :
5183 $as_echo_n "(cached) " >&6
5185 if test -n "$OBJDUMP"; then
5186 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 OBJDUMP=$ac_cv_prog_OBJDUMP
5206 if test -n "$OBJDUMP"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5208 $as_echo "$OBJDUMP" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5216 if test -z "$ac_cv_prog_OBJDUMP"; then
5217 ac_ct_OBJDUMP=$OBJDUMP
5218 # Extract the first word of "objdump", so it can be a program name with args.
5219 set dummy objdump; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$ac_ct_OBJDUMP"; then
5226 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5246 if test -n "$ac_ct_OBJDUMP"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5248 $as_echo "$ac_ct_OBJDUMP" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5254 if test "x$ac_ct_OBJDUMP" = x; then
5257 case $cross_compiling:$ac_tool_warned in
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261 ac_tool_warned=yes ;;
5263 OBJDUMP=$ac_ct_OBJDUMP
5266 OBJDUMP="$ac_cv_prog_OBJDUMP"
5269 test -z "$OBJDUMP" && OBJDUMP=objdump
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5280 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5281 if ${lt_cv_deplibs_check_method+:} false; then :
5282 $as_echo_n "(cached) " >&6
5284 lt_cv_file_magic_cmd='$MAGIC_CMD'
5285 lt_cv_file_magic_test_file=
5286 lt_cv_deplibs_check_method='unknown'
5287 # Need to set the preceding variable on all platforms that support
5288 # interlibrary dependencies.
5289 # 'none' -- dependencies not supported.
5290 # `unknown' -- same as none, but documents that we really don't know.
5291 # 'pass_all' -- all dependencies passed with no checks.
5292 # 'test_compile' -- check by making test program.
5293 # 'file_magic [[regex]]' -- check by looking for files in library path
5294 # which responds to the $file_magic_cmd with a given extended regex.
5295 # If you have `file' or equivalent on your system and you're not sure
5296 # whether `pass_all' will *always* work, you probably want this one.
5300 lt_cv_deplibs_check_method=pass_all
5304 lt_cv_deplibs_check_method=pass_all
5308 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5309 lt_cv_file_magic_cmd='/usr/bin/file -L'
5310 lt_cv_file_magic_test_file=/shlib/libc.so
5314 # func_win32_libid is a shell function defined in ltmain.sh
5315 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5316 lt_cv_file_magic_cmd='func_win32_libid'
5320 # Base MSYS/MinGW do not provide the 'file' command needed by
5321 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5322 # unless we find 'file', for example because we are cross-compiling.
5323 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5324 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5325 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5326 lt_cv_file_magic_cmd='func_win32_libid'
5328 # Keep this pattern in sync with the one in func_win32_libid.
5329 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5330 lt_cv_file_magic_cmd='$OBJDUMP -f'
5335 # use the weaker test based on 'objdump'. See mingw*.
5336 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5337 lt_cv_file_magic_cmd='$OBJDUMP -f'
5340 darwin* | rhapsody*)
5341 lt_cv_deplibs_check_method=pass_all
5344 freebsd* | dragonfly*)
5345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5348 # Not sure whether the presence of OpenBSD here was a mistake.
5349 # Let's accept both of them until this is cleared up.
5350 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5351 lt_cv_file_magic_cmd=/usr/bin/file
5352 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5356 lt_cv_deplibs_check_method=pass_all
5361 lt_cv_deplibs_check_method=pass_all
5364 hpux10.20* | hpux11*)
5365 lt_cv_file_magic_cmd=/usr/bin/file
5368 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5369 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5372 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]'
5373 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5377 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5383 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5384 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5387 irix5* | irix6* | nonstopux*)
5389 *-32|*"-32 ") libmagic=32-bit;;
5390 *-n32|*"-n32 ") libmagic=N32;;
5391 *-64|*"-64 ") libmagic=64-bit;;
5392 *) libmagic=never-match;;
5394 lt_cv_deplibs_check_method=pass_all
5397 # This must be glibc/ELF.
5398 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5399 lt_cv_deplibs_check_method=pass_all
5402 netbsd* | netbsdelf*-gnu)
5403 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5406 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5411 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5412 lt_cv_file_magic_cmd=/usr/bin/file
5413 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5417 lt_cv_deplibs_check_method=pass_all
5421 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5428 osf3* | osf4* | osf5*)
5429 lt_cv_deplibs_check_method=pass_all
5433 lt_cv_deplibs_check_method=pass_all
5437 lt_cv_deplibs_check_method=pass_all
5440 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5441 lt_cv_deplibs_check_method=pass_all
5445 case $host_vendor in
5447 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]'
5448 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5451 lt_cv_deplibs_check_method=pass_all
5454 lt_cv_file_magic_cmd='/bin/file'
5455 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5458 lt_cv_file_magic_cmd='/bin/file'
5459 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5460 lt_cv_file_magic_test_file=/lib/libc.so
5463 lt_cv_deplibs_check_method=pass_all
5466 lt_cv_deplibs_check_method=pass_all
5472 lt_cv_deplibs_check_method=pass_all
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5478 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5482 if test "$build" = "$host"; then
5485 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5488 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5494 file_magic_cmd=$lt_cv_file_magic_cmd
5495 deplibs_check_method=$lt_cv_deplibs_check_method
5496 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_DLLTOOL+:} false; then :
5525 $as_echo_n "(cached) " >&6
5527 if test -n "$DLLTOOL"; then
5528 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 DLLTOOL=$ac_cv_prog_DLLTOOL
5548 if test -n "$DLLTOOL"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5550 $as_echo "$DLLTOOL" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if test -z "$ac_cv_prog_DLLTOOL"; then
5559 ac_ct_DLLTOOL=$DLLTOOL
5560 # Extract the first word of "dlltool", so it can be a program name with args.
5561 set dummy dlltool; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5565 $as_echo_n "(cached) " >&6
5567 if test -n "$ac_ct_DLLTOOL"; then
5568 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5588 if test -n "$ac_ct_DLLTOOL"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5590 $as_echo "$ac_ct_DLLTOOL" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5596 if test "x$ac_ct_DLLTOOL" = x; then
5599 case $cross_compiling:$ac_tool_warned in
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned=yes ;;
5605 DLLTOOL=$ac_ct_DLLTOOL
5608 DLLTOOL="$ac_cv_prog_DLLTOOL"
5611 test -z "$DLLTOOL" && DLLTOOL=dlltool
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5623 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5624 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5625 $as_echo_n "(cached) " >&6
5627 lt_cv_sharedlib_from_linklib_cmd='unknown'
5630 cygwin* | mingw* | pw32* | cegcc*)
5631 # two different shell functions defined in ltmain.sh
5632 # decide which to use based on capabilities of $DLLTOOL
5633 case `$DLLTOOL --help 2>&1` in
5634 *--identify-strict*)
5635 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5638 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5643 # fallback: assume linklib IS sharedlib
5644 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5650 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5651 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5652 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5660 if test -n "$ac_tool_prefix"; then
5663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_AR+:} false; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$AR"; then
5671 ac_cv_prog_AR="$AR" # Let the user override the test.
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir=.
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5680 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5691 if test -n "$AR"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5693 $as_echo "$AR" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5700 test -n "$AR" && break
5703 if test -z "$AR"; then
5707 # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5712 $as_echo_n "(cached) " >&6
5714 if test -n "$ac_ct_AR"; then
5715 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5721 test -z "$as_dir" && as_dir=.
5722 for ac_exec_ext in '' $ac_executable_extensions; do
5723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5724 ac_cv_prog_ac_ct_AR="$ac_prog"
5725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5735 if test -n "$ac_ct_AR"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5737 $as_echo "$ac_ct_AR" >&6; }
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5740 $as_echo "no" >&6; }
5744 test -n "$ac_ct_AR" && break
5747 if test "x$ac_ct_AR" = x; then
5750 case $cross_compiling:$ac_tool_warned in
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5754 ac_tool_warned=yes ;;
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5774 $as_echo_n "checking for archiver @FILE support... " >&6; }
5775 if ${lt_cv_ar_at_file+:} false; then :
5776 $as_echo_n "(cached) " >&6
5779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5780 /* end confdefs.h. */
5790 if ac_fn_c_try_compile "$LINENO"; then :
5791 echo conftest.$ac_objext > conftest.lst
5792 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5793 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5794 (eval $lt_ar_try) 2>&5
5796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5797 test $ac_status = 0; }
5798 if test "$ac_status" -eq 0; then
5799 # Ensure the archiver fails upon bogus file names.
5800 rm -f conftest.$ac_objext libconftest.a
5801 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5802 (eval $lt_ar_try) 2>&5
5804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5805 test $ac_status = 0; }
5806 if test "$ac_status" -ne 0; then
5810 rm -f conftest.* libconftest.a
5813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5817 $as_echo "$lt_cv_ar_at_file" >&6; }
5819 if test "x$lt_cv_ar_at_file" = xno; then
5822 archiver_list_spec=$lt_cv_ar_at_file
5831 if test -n "$ac_tool_prefix"; then
5832 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5833 set dummy ${ac_tool_prefix}strip; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_STRIP+:} false; then :
5837 $as_echo_n "(cached) " >&6
5839 if test -n "$STRIP"; then
5840 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 STRIP=$ac_cv_prog_STRIP
5860 if test -n "$STRIP"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5862 $as_echo "$STRIP" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5870 if test -z "$ac_cv_prog_STRIP"; then
5872 # Extract the first word of "strip", so it can be a program name with args.
5873 set dummy strip; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5877 $as_echo_n "(cached) " >&6
5879 if test -n "$ac_ct_STRIP"; then
5880 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889 ac_cv_prog_ac_ct_STRIP="strip"
5890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5900 if test -n "$ac_ct_STRIP"; then
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5902 $as_echo "$ac_ct_STRIP" >&6; }
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905 $as_echo "no" >&6; }
5908 if test "x$ac_ct_STRIP" = x; then
5911 case $cross_compiling:$ac_tool_warned in
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5915 ac_tool_warned=yes ;;
5920 STRIP="$ac_cv_prog_STRIP"
5923 test -z "$STRIP" && STRIP=:
5930 if test -n "$ac_tool_prefix"; then
5931 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5932 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_RANLIB+:} false; then :
5936 $as_echo_n "(cached) " >&6
5938 if test -n "$RANLIB"; then
5939 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 test -z "$as_dir" && as_dir=.
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 RANLIB=$ac_cv_prog_RANLIB
5959 if test -n "$RANLIB"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5961 $as_echo "$RANLIB" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5969 if test -z "$ac_cv_prog_RANLIB"; then
5970 ac_ct_RANLIB=$RANLIB
5971 # Extract the first word of "ranlib", so it can be a program name with args.
5972 set dummy ranlib; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5976 $as_echo_n "(cached) " >&6
5978 if test -n "$ac_ct_RANLIB"; then
5979 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_RANLIB="ranlib"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5999 if test -n "$ac_ct_RANLIB"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6001 $as_echo "$ac_ct_RANLIB" >&6; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6007 if test "x$ac_ct_RANLIB" = x; then
6010 case $cross_compiling:$ac_tool_warned in
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6014 ac_tool_warned=yes ;;
6016 RANLIB=$ac_ct_RANLIB
6019 RANLIB="$ac_cv_prog_RANLIB"
6022 test -z "$RANLIB" && RANLIB=:
6029 # Determine commands to create old-style static archives.
6030 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6031 old_postinstall_cmds='chmod 644 $oldlib'
6032 old_postuninstall_cmds=
6034 if test -n "$RANLIB"; then
6037 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6040 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6043 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6048 lock_old_archive_extraction=yes ;;
6050 lock_old_archive_extraction=no ;;
6091 # If no C compiler was specified, use CC.
6094 # If no C compiler flags were specified, use CFLAGS.
6095 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6097 # Allow CC to be a program name with arguments.
6101 # Check for command to grab the raw symbol name followed by C symbol from nm.
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6103 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6104 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6105 $as_echo_n "(cached) " >&6
6108 # These are sane defaults that work on at least a few old systems.
6109 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6111 # Character class describing NM global symbol codes.
6112 symcode='[BCDEGRST]'
6114 # Regexp to match symbols that can be accessed directly from C.
6115 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6117 # Define system-specific variables.
6122 cygwin* | mingw* | pw32* | cegcc*)
6123 symcode='[ABCDGISTW]'
6126 if test "$host_cpu" = ia64; then
6127 symcode='[ABCDEGRST]'
6131 symcode='[BCDEGRST]'
6134 symcode='[BCDEGQRST]'
6145 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6153 # If we're using GNU nm, then use its standard symbol codes.
6154 case `$NM -V 2>&1` in
6155 *GNU* | *'with BFD'*)
6156 symcode='[ABCDGIRSTW]' ;;
6159 # Transform an extracted symbol line into a proper C declaration.
6160 # Some systems (esp. on ia64) link data and code symbols differently,
6161 # so use this general approach.
6162 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6164 # Transform an extracted symbol line into symbol name and symbol address
6165 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6166 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'"
6168 # Handle CRLF in mingw tool chain
6172 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6176 # Try without a prefix underscore, then with it.
6177 for ac_symprfx in "" "_"; do
6179 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6180 symxfrm="\\1 $ac_symprfx\\2 \\2"
6182 # Write the raw and C identifiers.
6183 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6184 # Fake it for dumpbin and say T for any non-static function
6185 # and D for any global variable.
6186 # Also find C++ and __fastcall symbols from MSVC++,
6187 # which start with @ or ?.
6188 lt_cv_sys_global_symbol_pipe="$AWK '"\
6189 " {last_section=section; section=\$ 3};"\
6190 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6191 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6192 " \$ 0!~/External *\|/{next};"\
6193 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6194 " {if(hide[section]) next};"\
6195 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6196 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6197 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6198 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6199 " ' prfx=^$ac_symprfx"
6201 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6203 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6205 # Check to see that the pipe works correctly.
6209 cat > conftest.$ac_ext <<_LT_EOF
6214 void nm_test_func(void);
6215 void nm_test_func(void){}
6219 int main(){nm_test_var='a';nm_test_func();return(0);}
6222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6223 (eval $ac_compile) 2>&5
6225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6226 test $ac_status = 0; }; then
6227 # Now try to grab the symbols.
6229 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6230 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233 test $ac_status = 0; } && test -s "$nlist"; then
6234 # Try sorting and uniquifying the output.
6235 if sort "$nlist" | uniq > "$nlist"T; then
6236 mv -f "$nlist"T "$nlist"
6241 # Make sure that we snagged all the symbols we need.
6242 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6243 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6244 cat <<_LT_EOF > conftest.$ac_ext
6245 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6246 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6247 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6248 relocations are performed -- see ld's documentation on pseudo-relocs. */
6249 # define LT_DLSYM_CONST
6250 #elif defined(__osf__)
6251 /* This system does not cope well with relocations in const data. */
6252 # define LT_DLSYM_CONST
6254 # define LT_DLSYM_CONST const
6262 # Now generate the symbol file.
6263 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6265 cat <<_LT_EOF >> conftest.$ac_ext
6267 /* The mapping between symbol names and symbols. */
6268 LT_DLSYM_CONST struct {
6272 lt__PROGRAM__LTX_preloaded_symbols[] =
6274 { "@PROGRAM@", (void *) 0 },
6276 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6277 cat <<\_LT_EOF >> conftest.$ac_ext
6281 /* This works around a problem in FreeBSD linker */
6282 #ifdef FREEBSD_WORKAROUND
6283 static const void *lt_preloaded_setup() {
6284 return lt__PROGRAM__LTX_preloaded_symbols;
6292 # Now try linking the two files.
6293 mv conftest.$ac_objext conftstm.$ac_objext
6294 lt_globsym_save_LIBS=$LIBS
6295 lt_globsym_save_CFLAGS=$CFLAGS
6296 LIBS="conftstm.$ac_objext"
6297 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6299 (eval $ac_link) 2>&5
6301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6302 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6305 LIBS=$lt_globsym_save_LIBS
6306 CFLAGS=$lt_globsym_save_CFLAGS
6308 echo "cannot find nm_test_func in $nlist" >&5
6311 echo "cannot find nm_test_var in $nlist" >&5
6314 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6317 echo "$progname: failed program was:" >&5
6318 cat conftest.$ac_ext >&5
6320 rm -rf conftest* conftst*
6322 # Do not use the global_symbol_pipe unless it works.
6323 if test "$pipe_works" = yes; then
6326 lt_cv_sys_global_symbol_pipe=
6332 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6333 lt_cv_sys_global_symbol_to_cdecl=
6335 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6337 $as_echo "failed" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6340 $as_echo "ok" >&6; }
6343 # Response file support.
6344 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6345 nm_file_list_spec='@'
6346 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6347 nm_file_list_spec='@'
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6377 $as_echo_n "checking for sysroot... " >&6; }
6379 # Check whether --with-sysroot was given.
6380 if test "${with_sysroot+set}" = set; then :
6381 withval=$with_sysroot;
6388 case ${with_sysroot} in #(
6390 if test "$GCC" = yes; then
6391 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6395 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6401 $as_echo "${with_sysroot}" >&6; }
6402 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6407 $as_echo "${lt_sysroot:-no}" >&6; }
6413 # Check whether --enable-libtool-lock was given.
6414 if test "${enable_libtool_lock+set}" = set; then :
6415 enableval=$enable_libtool_lock;
6418 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6420 # Some flags need to be propagated to the compiler or linker for good
6424 # Find out which ABI we are using.
6425 echo 'int i;' > conftest.$ac_ext
6426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6427 (eval $ac_compile) 2>&5
6429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6430 test $ac_status = 0; }; then
6431 case `/usr/bin/file conftest.$ac_objext` in
6443 # Find out which ABI we are using.
6444 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446 (eval $ac_compile) 2>&5
6448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449 test $ac_status = 0; }; then
6450 if test "$lt_cv_prog_gnu_ld" = yes; then
6451 case `/usr/bin/file conftest.$ac_objext` in
6453 LD="${LD-ld} -melf32bsmip"
6456 LD="${LD-ld} -melf32bmipn32"
6459 LD="${LD-ld} -melf64bmip"
6463 case `/usr/bin/file conftest.$ac_objext` in
6479 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6480 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6481 # Find out which ABI we are using.
6482 echo 'int i;' > conftest.$ac_ext
6483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6484 (eval $ac_compile) 2>&5
6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6487 test $ac_status = 0; }; then
6488 case `/usr/bin/file conftest.o` in
6491 x86_64-*kfreebsd*-gnu)
6492 LD="${LD-ld} -m elf_i386_fbsd"
6495 case `/usr/bin/file conftest.o` in
6497 LD="${LD-ld} -m elf32_x86_64"
6500 LD="${LD-ld} -m elf_i386"
6504 ppc64-*linux*|powerpc64-*linux*)
6505 LD="${LD-ld} -m elf32ppclinux"
6508 LD="${LD-ld} -m elf_s390"
6511 LD="${LD-ld} -m elf32_sparc"
6517 x86_64-*kfreebsd*-gnu)
6518 LD="${LD-ld} -m elf_x86_64_fbsd"
6521 LD="${LD-ld} -m elf_x86_64"
6523 ppc*-*linux*|powerpc*-*linux*)
6524 LD="${LD-ld} -m elf64ppc"
6526 s390*-*linux*|s390*-*tpf*)
6527 LD="${LD-ld} -m elf64_s390"
6530 LD="${LD-ld} -m elf64_sparc"
6540 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6541 SAVE_CFLAGS="$CFLAGS"
6542 CFLAGS="$CFLAGS -belf"
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6544 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6545 if ${lt_cv_cc_needs_belf+:} false; then :
6546 $as_echo_n "(cached) " >&6
6549 ac_cpp='$CPP $CPPFLAGS'
6550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6565 if ac_fn_c_try_link "$LINENO"; then :
6566 lt_cv_cc_needs_belf=yes
6568 lt_cv_cc_needs_belf=no
6570 rm -f core conftest.err conftest.$ac_objext \
6571 conftest$ac_exeext conftest.$ac_ext
6573 ac_cpp='$CPP $CPPFLAGS'
6574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6580 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6581 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6582 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6583 CFLAGS="$SAVE_CFLAGS"
6587 # Find out which ABI we are using.
6588 echo 'int i;' > conftest.$ac_ext
6589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6590 (eval $ac_compile) 2>&5
6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6593 test $ac_status = 0; }; then
6594 case `/usr/bin/file conftest.o` in
6596 case $lt_cv_prog_gnu_ld in
6600 LD="${LD-ld} -m elf_x86_64"
6603 LD="${LD-ld} -m elf64_sparc"
6606 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6607 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6612 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6624 need_locks="$enable_libtool_lock"
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}mt; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6632 $as_echo_n "(cached) " >&6
6634 if test -n "$MANIFEST_TOOL"; then
6635 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6655 if test -n "$MANIFEST_TOOL"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6657 $as_echo "$MANIFEST_TOOL" >&6; }
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6665 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6666 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6667 # Extract the first word of "mt", so it can be a program name with args.
6668 set dummy mt; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6672 $as_echo_n "(cached) " >&6
6674 if test -n "$ac_ct_MANIFEST_TOOL"; then
6675 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6695 if test -n "$ac_ct_MANIFEST_TOOL"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6697 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6703 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6706 case $cross_compiling:$ac_tool_warned in
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6712 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6715 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6718 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6720 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6721 if ${lt_cv_path_mainfest_tool+:} false; then :
6722 $as_echo_n "(cached) " >&6
6724 lt_cv_path_mainfest_tool=no
6725 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6726 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6727 cat conftest.err >&5
6728 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6729 lt_cv_path_mainfest_tool=yes
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6734 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6735 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6745 rhapsody* | darwin*)
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6752 $as_echo_n "(cached) " >&6
6754 if test -n "$DSYMUTIL"; then
6755 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6775 if test -n "$DSYMUTIL"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6777 $as_echo "$DSYMUTIL" >&6; }
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6785 if test -z "$ac_cv_prog_DSYMUTIL"; then
6786 ac_ct_DSYMUTIL=$DSYMUTIL
6787 # Extract the first word of "dsymutil", so it can be a program name with args.
6788 set dummy dsymutil; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6792 $as_echo_n "(cached) " >&6
6794 if test -n "$ac_ct_DSYMUTIL"; then
6795 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6815 if test -n "$ac_ct_DSYMUTIL"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6817 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6823 if test "x$ac_ct_DSYMUTIL" = x; then
6826 case $cross_compiling:$ac_tool_warned in
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6830 ac_tool_warned=yes ;;
6832 DSYMUTIL=$ac_ct_DSYMUTIL
6835 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6838 if test -n "$ac_tool_prefix"; then
6839 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6840 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6842 $as_echo_n "checking for $ac_word... " >&6; }
6843 if ${ac_cv_prog_NMEDIT+:} false; then :
6844 $as_echo_n "(cached) " >&6
6846 if test -n "$NMEDIT"; then
6847 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6856 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 NMEDIT=$ac_cv_prog_NMEDIT
6867 if test -n "$NMEDIT"; then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6869 $as_echo "$NMEDIT" >&6; }
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6872 $as_echo "no" >&6; }
6877 if test -z "$ac_cv_prog_NMEDIT"; then
6878 ac_ct_NMEDIT=$NMEDIT
6879 # Extract the first word of "nmedit", so it can be a program name with args.
6880 set dummy nmedit; ac_word=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 $as_echo_n "checking for $ac_word... " >&6; }
6883 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6884 $as_echo_n "(cached) " >&6
6886 if test -n "$ac_ct_NMEDIT"; then
6887 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6907 if test -n "$ac_ct_NMEDIT"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6909 $as_echo "$ac_ct_NMEDIT" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6912 $as_echo "no" >&6; }
6915 if test "x$ac_ct_NMEDIT" = x; then
6918 case $cross_compiling:$ac_tool_warned in
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6922 ac_tool_warned=yes ;;
6924 NMEDIT=$ac_ct_NMEDIT
6927 NMEDIT="$ac_cv_prog_NMEDIT"
6930 if test -n "$ac_tool_prefix"; then
6931 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6932 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6934 $as_echo_n "checking for $ac_word... " >&6; }
6935 if ${ac_cv_prog_LIPO+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 if test -n "$LIPO"; then
6939 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6958 LIPO=$ac_cv_prog_LIPO
6959 if test -n "$LIPO"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6961 $as_echo "$LIPO" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6969 if test -z "$ac_cv_prog_LIPO"; then
6971 # Extract the first word of "lipo", so it can be a program name with args.
6972 set dummy lipo; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6976 $as_echo_n "(cached) " >&6
6978 if test -n "$ac_ct_LIPO"; then
6979 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985 test -z "$as_dir" && as_dir=.
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6988 ac_cv_prog_ac_ct_LIPO="lipo"
6989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6998 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6999 if test -n "$ac_ct_LIPO"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7001 $as_echo "$ac_ct_LIPO" >&6; }
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7007 if test "x$ac_ct_LIPO" = x; then
7010 case $cross_compiling:$ac_tool_warned in
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014 ac_tool_warned=yes ;;
7019 LIPO="$ac_cv_prog_LIPO"
7022 if test -n "$ac_tool_prefix"; then
7023 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7024 set dummy ${ac_tool_prefix}otool; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7026 $as_echo_n "checking for $ac_word... " >&6; }
7027 if ${ac_cv_prog_OTOOL+:} false; then :
7028 $as_echo_n "(cached) " >&6
7030 if test -n "$OTOOL"; then
7031 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7040 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 OTOOL=$ac_cv_prog_OTOOL
7051 if test -n "$OTOOL"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7053 $as_echo "$OTOOL" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7056 $as_echo "no" >&6; }
7061 if test -z "$ac_cv_prog_OTOOL"; then
7063 # Extract the first word of "otool", so it can be a program name with args.
7064 set dummy otool; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_OTOOL"; then
7071 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7080 ac_cv_prog_ac_ct_OTOOL="otool"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7091 if test -n "$ac_ct_OTOOL"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7093 $as_echo "$ac_ct_OTOOL" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7099 if test "x$ac_ct_OTOOL" = x; then
7102 case $cross_compiling:$ac_tool_warned in
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106 ac_tool_warned=yes ;;
7111 OTOOL="$ac_cv_prog_OTOOL"
7114 if test -n "$ac_tool_prefix"; then
7115 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7116 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7118 $as_echo_n "checking for $ac_word... " >&6; }
7119 if ${ac_cv_prog_OTOOL64+:} false; then :
7120 $as_echo_n "(cached) " >&6
7122 if test -n "$OTOOL64"; then
7123 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 test -z "$as_dir" && as_dir=.
7130 for ac_exec_ext in '' $ac_executable_extensions; do
7131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7132 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 OTOOL64=$ac_cv_prog_OTOOL64
7143 if test -n "$OTOOL64"; then
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7145 $as_echo "$OTOOL64" >&6; }
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7148 $as_echo "no" >&6; }
7153 if test -z "$ac_cv_prog_OTOOL64"; then
7154 ac_ct_OTOOL64=$OTOOL64
7155 # Extract the first word of "otool64", so it can be a program name with args.
7156 set dummy otool64; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7160 $as_echo_n "(cached) " >&6
7162 if test -n "$ac_ct_OTOOL64"; then
7163 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir=.
7170 for ac_exec_ext in '' $ac_executable_extensions; do
7171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_ac_ct_OTOOL64="otool64"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7183 if test -n "$ac_ct_OTOOL64"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7185 $as_echo "$ac_ct_OTOOL64" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7191 if test "x$ac_ct_OTOOL64" = x; then
7194 case $cross_compiling:$ac_tool_warned in
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198 ac_tool_warned=yes ;;
7200 OTOOL64=$ac_ct_OTOOL64
7203 OTOOL64="$ac_cv_prog_OTOOL64"
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7233 $as_echo_n "checking for -single_module linker flag... " >&6; }
7234 if ${lt_cv_apple_cc_single_mod+:} false; then :
7235 $as_echo_n "(cached) " >&6
7237 lt_cv_apple_cc_single_mod=no
7238 if test -z "${LT_MULTI_MODULE}"; then
7239 # By default we will add the -single_module flag. You can override
7240 # by either setting the environment variable LT_MULTI_MODULE
7241 # non-empty at configure time, or by adding -multi_module to the
7243 rm -rf libconftest.dylib*
7244 echo "int foo(void){return 1;}" > conftest.c
7245 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7246 -dynamiclib -Wl,-single_module conftest.c" >&5
7247 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7248 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7250 # If there is a non-empty error log, and "single_module"
7251 # appears in it, assume the flag caused a linker warning
7252 if test -s conftest.err && $GREP single_module conftest.err; then
7253 cat conftest.err >&5
7254 # Otherwise, if the output was created with a 0 exit code from
7255 # the compiler, it worked.
7256 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7257 lt_cv_apple_cc_single_mod=yes
7259 cat conftest.err >&5
7261 rm -rf libconftest.dylib*
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7266 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7269 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7270 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7271 $as_echo_n "(cached) " >&6
7273 lt_cv_ld_exported_symbols_list=no
7274 save_LDFLAGS=$LDFLAGS
7275 echo "_main" > conftest.sym
7276 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7288 if ac_fn_c_try_link "$LINENO"; then :
7289 lt_cv_ld_exported_symbols_list=yes
7291 lt_cv_ld_exported_symbols_list=no
7293 rm -f core conftest.err conftest.$ac_objext \
7294 conftest$ac_exeext conftest.$ac_ext
7295 LDFLAGS="$save_LDFLAGS"
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7299 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7302 $as_echo_n "checking for -force_load linker flag... " >&6; }
7303 if ${lt_cv_ld_force_load+:} false; then :
7304 $as_echo_n "(cached) " >&6
7306 lt_cv_ld_force_load=no
7307 cat > conftest.c << _LT_EOF
7308 int forced_loaded() { return 2;}
7310 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7311 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7312 echo "$AR cru libconftest.a conftest.o" >&5
7313 $AR cru libconftest.a conftest.o 2>&5
7314 echo "$RANLIB libconftest.a" >&5
7315 $RANLIB libconftest.a 2>&5
7316 cat > conftest.c << _LT_EOF
7317 int main() { return 0;}
7319 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7320 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7322 if test -s conftest.err && $GREP force_load conftest.err; then
7323 cat conftest.err >&5
7324 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7325 lt_cv_ld_force_load=yes
7327 cat conftest.err >&5
7329 rm -f conftest.err libconftest.a conftest conftest.c
7330 rm -rf conftest.dSYM
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7334 $as_echo "$lt_cv_ld_force_load" >&6; }
7336 rhapsody* | darwin1.[012])
7337 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7339 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7340 darwin*) # darwin 5.x on
7341 # if running on 10.5 or later, the deployment target defaults
7342 # to the OS version, if on x86, and 10.4, the deployment
7343 # target defaults to 10.4. Don't you love it?
7344 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7345 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7346 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7348 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7350 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7354 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7355 _lt_dar_single_mod='$single_module'
7357 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7358 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7360 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7362 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7363 _lt_dsymutil='~$DSYMUTIL $lib || :'
7371 ac_cpp='$CPP $CPPFLAGS'
7372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7376 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7377 # On Suns, sometimes $CPP names a directory.
7378 if test -n "$CPP" && test -d "$CPP"; then
7381 if test -z "$CPP"; then
7382 if ${ac_cv_prog_CPP+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 # Double quotes because CPP needs to be expanded
7386 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7389 for ac_c_preproc_warn_flag in '' yes
7391 # Use a header file that comes with gcc, so configuring glibc
7392 # with a fresh cross-compiler works.
7393 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7394 # <limits.h> exists even on freestanding compilers.
7395 # On the NeXT, cc -E runs the code through the compiler's parser,
7396 # not just through cpp. "Syntax error" is here to catch this case.
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7398 /* end confdefs.h. */
7400 # include <limits.h>
7402 # include <assert.h>
7406 if ac_fn_c_try_cpp "$LINENO"; then :
7409 # Broken: fails on valid input.
7412 rm -f conftest.err conftest.i conftest.$ac_ext
7414 # OK, works on sane cases. Now check whether nonexistent headers
7415 # can be detected and how.
7416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7418 #include <ac_nonexistent.h>
7420 if ac_fn_c_try_cpp "$LINENO"; then :
7421 # Broken: success on invalid input.
7424 # Passes both tests.
7428 rm -f conftest.err conftest.i conftest.$ac_ext
7431 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7432 rm -f conftest.i conftest.err conftest.$ac_ext
7433 if $ac_preproc_ok; then :
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7446 $as_echo "$CPP" >&6; }
7448 for ac_c_preproc_warn_flag in '' yes
7450 # Use a header file that comes with gcc, so configuring glibc
7451 # with a fresh cross-compiler works.
7452 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7453 # <limits.h> exists even on freestanding compilers.
7454 # On the NeXT, cc -E runs the code through the compiler's parser,
7455 # not just through cpp. "Syntax error" is here to catch this case.
7456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7457 /* end confdefs.h. */
7459 # include <limits.h>
7461 # include <assert.h>
7465 if ac_fn_c_try_cpp "$LINENO"; then :
7468 # Broken: fails on valid input.
7471 rm -f conftest.err conftest.i conftest.$ac_ext
7473 # OK, works on sane cases. Now check whether nonexistent headers
7474 # can be detected and how.
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7477 #include <ac_nonexistent.h>
7479 if ac_fn_c_try_cpp "$LINENO"; then :
7480 # Broken: success on invalid input.
7483 # Passes both tests.
7487 rm -f conftest.err conftest.i conftest.$ac_ext
7490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7491 rm -f conftest.i conftest.err conftest.$ac_ext
7492 if $ac_preproc_ok; then :
7495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7497 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7498 See \`config.log' for more details" "$LINENO" 5; }
7502 ac_cpp='$CPP $CPPFLAGS'
7503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7509 $as_echo_n "checking for ANSI C header files... " >&6; }
7510 if ${ac_cv_header_stdc+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7528 if ac_fn_c_try_compile "$LINENO"; then :
7529 ac_cv_header_stdc=yes
7531 ac_cv_header_stdc=no
7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7535 if test $ac_cv_header_stdc = yes; then
7536 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7543 $EGREP "memchr" >/dev/null 2>&1; then :
7546 ac_cv_header_stdc=no
7552 if test $ac_cv_header_stdc = yes; then
7553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7560 $EGREP "free" >/dev/null 2>&1; then :
7563 ac_cv_header_stdc=no
7569 if test $ac_cv_header_stdc = yes; then
7570 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7571 if test "$cross_compiling" = yes; then :
7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h. */
7578 #if ((' ' & 0x0FF) == 0x020)
7579 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7580 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7582 # define ISLOWER(c) \
7583 (('a' <= (c) && (c) <= 'i') \
7584 || ('j' <= (c) && (c) <= 'r') \
7585 || ('s' <= (c) && (c) <= 'z'))
7586 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7589 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7594 for (i = 0; i < 256; i++)
7595 if (XOR (islower (i), ISLOWER (i))
7596 || toupper (i) != TOUPPER (i))
7601 if ac_fn_c_try_run "$LINENO"; then :
7604 ac_cv_header_stdc=no
7606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7607 conftest.$ac_objext conftest.beam conftest.$ac_ext
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7613 $as_echo "$ac_cv_header_stdc" >&6; }
7614 if test $ac_cv_header_stdc = yes; then
7616 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7620 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7621 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7622 inttypes.h stdint.h unistd.h
7624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7637 for ac_header in dlfcn.h
7639 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7641 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7642 cat >>confdefs.h <<_ACEOF
7643 #define HAVE_DLFCN_H 1
7664 # Check whether --enable-shared was given.
7665 if test "${enable_shared+set}" = set; then :
7666 enableval=$enable_shared; p=${PACKAGE-default}
7668 yes) enable_shared=yes ;;
7669 no) enable_shared=no ;;
7672 # Look at the argument we got. We use all the common list separators.
7673 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7674 for pkg in $enableval; do
7676 if test "X$pkg" = "X$p"; then
7695 # Check whether --enable-static was given.
7696 if test "${enable_static+set}" = set; then :
7697 enableval=$enable_static; p=${PACKAGE-default}
7699 yes) enable_static=yes ;;
7700 no) enable_static=no ;;
7703 # Look at the argument we got. We use all the common list separators.
7704 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7705 for pkg in $enableval; do
7707 if test "X$pkg" = "X$p"; then
7727 # Check whether --with-pic was given.
7728 if test "${with_pic+set}" = set; then :
7729 withval=$with_pic; lt_p=${PACKAGE-default}
7731 yes|no) pic_mode=$withval ;;
7734 # Look at the argument we got. We use all the common list separators.
7735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7736 for lt_pkg in $withval; do
7738 if test "X$lt_pkg" = "X$lt_p"; then
7750 test -z "$pic_mode" && pic_mode=default
7758 # Check whether --enable-fast-install was given.
7759 if test "${enable_fast_install+set}" = set; then :
7760 enableval=$enable_fast_install; p=${PACKAGE-default}
7762 yes) enable_fast_install=yes ;;
7763 no) enable_fast_install=no ;;
7765 enable_fast_install=no
7766 # Look at the argument we got. We use all the common list separators.
7767 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7768 for pkg in $enableval; do
7770 if test "X$pkg" = "X$p"; then
7771 enable_fast_install=yes
7778 enable_fast_install=yes
7791 # This can be used to rebuild libtool when needed
7792 LIBTOOL_DEPS="$ltmain"
7794 # Always use our own libtool.
7795 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7826 test -z "$LN_S" && LN_S="ln -s"
7841 if test -n "${ZSH_VERSION+set}" ; then
7842 setopt NO_GLOB_SUBST
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7846 $as_echo_n "checking for objdir... " >&6; }
7847 if ${lt_cv_objdir+:} false; then :
7848 $as_echo_n "(cached) " >&6
7850 rm -f .libs 2>/dev/null
7851 mkdir .libs 2>/dev/null
7852 if test -d .libs; then
7855 # MS-DOS does not allow filenames that begin with a dot.
7858 rmdir .libs 2>/dev/null
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7861 $as_echo "$lt_cv_objdir" >&6; }
7862 objdir=$lt_cv_objdir
7868 cat >>confdefs.h <<_ACEOF
7869 #define LT_OBJDIR "$lt_cv_objdir/"
7877 # AIX sometimes has problems with the GCC collect2 program. For some
7878 # reason, if we set the COLLECT_NAMES environment variable, the problems
7879 # vanish in a puff of smoke.
7880 if test "X${COLLECT_NAMES+set}" != Xset; then
7882 export COLLECT_NAMES
7889 can_build_shared=yes
7891 # All known linkers require a `.a' archive for static linking (except MSVC,
7892 # which needs '.lib').
7895 with_gnu_ld="$lt_cv_prog_gnu_ld"
7898 old_CFLAGS="$CFLAGS"
7900 # Set sane defaults for various variables
7901 test -z "$CC" && CC=cc
7902 test -z "$LTCC" && LTCC=$CC
7903 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7904 test -z "$LD" && LD=ld
7905 test -z "$ac_objext" && ac_objext=o
7907 for cc_temp in $compiler""; do
7909 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7910 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7915 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7918 # Only perform the check for file, if the check method requires it
7919 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7920 case $deplibs_check_method in
7922 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7924 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7925 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7926 $as_echo_n "(cached) " >&6
7930 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7933 lt_save_MAGIC_CMD="$MAGIC_CMD"
7934 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7935 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7936 for ac_dir in $ac_dummy; do
7938 test -z "$ac_dir" && ac_dir=.
7939 if test -f $ac_dir/${ac_tool_prefix}file; then
7940 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7941 if test -n "$file_magic_test_file"; then
7942 case $deplibs_check_method in
7944 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7945 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7946 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7947 $EGREP "$file_magic_regex" > /dev/null; then
7952 *** Warning: the command libtool uses to detect shared libraries,
7953 *** $file_magic_cmd, produces output that libtool cannot recognize.
7954 *** The result is that libtool may fail to recognize shared libraries
7955 *** as such. This will affect the creation of libtool libraries that
7956 *** depend on shared libraries, but programs linked with such libtool
7957 *** libraries will work regardless of this problem. Nevertheless, you
7958 *** may want to report the problem to your system manager and/or to
7959 *** bug-libtool@gnu.org
7969 MAGIC_CMD="$lt_save_MAGIC_CMD"
7974 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7975 if test -n "$MAGIC_CMD"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7977 $as_echo "$MAGIC_CMD" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7987 if test -z "$lt_cv_path_MAGIC_CMD"; then
7988 if test -n "$ac_tool_prefix"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7990 $as_echo_n "checking for file... " >&6; }
7991 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7992 $as_echo_n "(cached) " >&6
7996 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7999 lt_save_MAGIC_CMD="$MAGIC_CMD"
8000 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8001 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8002 for ac_dir in $ac_dummy; do
8004 test -z "$ac_dir" && ac_dir=.
8005 if test -f $ac_dir/file; then
8006 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8007 if test -n "$file_magic_test_file"; then
8008 case $deplibs_check_method in
8010 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8012 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8013 $EGREP "$file_magic_regex" > /dev/null; then
8018 *** Warning: the command libtool uses to detect shared libraries,
8019 *** $file_magic_cmd, produces output that libtool cannot recognize.
8020 *** The result is that libtool may fail to recognize shared libraries
8021 *** as such. This will affect the creation of libtool libraries that
8022 *** depend on shared libraries, but programs linked with such libtool
8023 *** libraries will work regardless of this problem. Nevertheless, you
8024 *** may want to report the problem to your system manager and/or to
8025 *** bug-libtool@gnu.org
8035 MAGIC_CMD="$lt_save_MAGIC_CMD"
8040 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8041 if test -n "$MAGIC_CMD"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8043 $as_echo "$MAGIC_CMD" >&6; }
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8059 # Use C for the default configuration in the libtool script
8063 ac_cpp='$CPP $CPPFLAGS'
8064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8069 # Source file extension for C test sources.
8072 # Object file extension for compiled C test sources.
8076 # Code to be used in simple compile tests
8077 lt_simple_compile_test_code="int some_variable = 0;"
8079 # Code to be used in simple link tests
8080 lt_simple_link_test_code='int main(){return(0);}'
8088 # If no C compiler was specified, use CC.
8091 # If no C compiler flags were specified, use CFLAGS.
8092 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8094 # Allow CC to be a program name with arguments.
8097 # Save the default compiler, since it gets overwritten when the other
8098 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8099 compiler_DEFAULT=$CC
8101 # save warnings/boilerplate of simple test code
8102 ac_outfile=conftest.$ac_objext
8103 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8104 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8105 _lt_compiler_boilerplate=`cat conftest.err`
8108 ac_outfile=conftest.$ac_objext
8109 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8110 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8111 _lt_linker_boilerplate=`cat conftest.err`
8116 ## There is no encapsulation within the following macros, do not change
8117 ## the running order or otherwise move them around unless you know exactly
8118 ## what you are doing...
8119 if test -n "$compiler"; then
8121 lt_prog_compiler_no_builtin_flag=
8123 if test "$GCC" = yes; then
8124 case $cc_basename in
8126 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8128 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8132 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8133 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8134 $as_echo_n "(cached) " >&6
8136 lt_cv_prog_compiler_rtti_exceptions=no
8137 ac_outfile=conftest.$ac_objext
8138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8139 lt_compiler_flag="-fno-rtti -fno-exceptions"
8140 # Insert the option either (1) after the last *FLAGS variable, or
8141 # (2) before a word containing "conftest.", or (3) at the end.
8142 # Note that $ac_compile itself does not contain backslashes and begins
8143 # with a dollar sign (not a hyphen), so the echo should work correctly.
8144 # The option is referenced via a variable to avoid confusing sed.
8145 lt_compile=`echo "$ac_compile" | $SED \
8146 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8148 -e 's:$: $lt_compiler_flag:'`
8149 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8150 (eval "$lt_compile" 2>conftest.err)
8152 cat conftest.err >&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 if (exit $ac_status) && test -s "$ac_outfile"; then
8155 # The compiler can only warn and ignore the option if not recognized
8156 # So say no if there are warnings other than the usual output.
8157 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8158 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8159 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8160 lt_cv_prog_compiler_rtti_exceptions=yes
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8167 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8169 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8170 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8182 lt_prog_compiler_wl=
8183 lt_prog_compiler_pic=
8184 lt_prog_compiler_static=
8187 if test "$GCC" = yes; then
8188 lt_prog_compiler_wl='-Wl,'
8189 lt_prog_compiler_static='-static'
8193 # All AIX code is PIC.
8194 if test "$host_cpu" = ia64; then
8195 # AIX 5 now supports IA64 processor
8196 lt_prog_compiler_static='-Bstatic'
8203 # see comment about AmigaOS4 .so support
8204 lt_prog_compiler_pic='-fPIC'
8207 # FIXME: we need at least 68020 code to build shared libraries, but
8208 # adding the `-m68020' flag to GCC prevents building anything better,
8210 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8215 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8216 # PIC is the default for these OSes.
8219 mingw* | cygwin* | pw32* | os2* | cegcc*)
8220 # This hack is so that the source file can tell whether it is being
8221 # built for inclusion in a dll (and should export symbols for example).
8222 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8223 # (--disable-auto-import) libraries
8224 lt_prog_compiler_pic='-DDLL_EXPORT'
8227 darwin* | rhapsody*)
8228 # PIC is the default on this platform
8229 # Common symbols not allowed in MH_DYLIB files
8230 lt_prog_compiler_pic='-fno-common'
8234 # PIC is the default for Haiku.
8235 # The "-static" flag exists, but is broken.
8236 lt_prog_compiler_static=
8240 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8241 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8242 # sets the default TLS model and affects inlining.
8248 lt_prog_compiler_pic='-fPIC'
8254 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8255 # Instead, we relocate shared libraries at runtime.
8259 # Just because we use GCC doesn't mean we suddenly get shared libraries
8260 # on systems that don't support them.
8261 lt_prog_compiler_can_build_shared=no
8266 # QNX uses GNU C++, but need to define -shared option too, otherwise
8268 lt_prog_compiler_pic='-fPIC -shared'
8272 if test -d /usr/nec; then
8273 lt_prog_compiler_pic=-Kconform_pic
8278 lt_prog_compiler_pic='-fPIC'
8282 case $cc_basename in
8283 nvcc*) # Cuda Compiler Driver 2.2
8284 lt_prog_compiler_wl='-Xlinker '
8285 if test -n "$lt_prog_compiler_pic"; then
8286 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8291 # PORTME Check for flag to pass linker flags through the system compiler.
8294 lt_prog_compiler_wl='-Wl,'
8295 if test "$host_cpu" = ia64; then
8296 # AIX 5 now supports IA64 processor
8297 lt_prog_compiler_static='-Bstatic'
8299 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8303 mingw* | cygwin* | pw32* | os2* | cegcc*)
8304 # This hack is so that the source file can tell whether it is being
8305 # built for inclusion in a dll (and should export symbols for example).
8306 lt_prog_compiler_pic='-DDLL_EXPORT'
8309 hpux9* | hpux10* | hpux11*)
8310 lt_prog_compiler_wl='-Wl,'
8311 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8318 lt_prog_compiler_pic='+Z'
8321 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8322 lt_prog_compiler_static='${wl}-a ${wl}archive'
8325 irix5* | irix6* | nonstopux*)
8326 lt_prog_compiler_wl='-Wl,'
8327 # PIC (with -KPIC) is the default.
8328 lt_prog_compiler_static='-non_shared'
8331 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8332 case $cc_basename in
8333 # old Intel for x86_64 which still supported -KPIC.
8335 lt_prog_compiler_wl='-Wl,'
8336 lt_prog_compiler_pic='-KPIC'
8337 lt_prog_compiler_static='-static'
8339 # icc used to be incompatible with GCC.
8340 # ICC 10 doesn't accept -KPIC any more.
8342 lt_prog_compiler_wl='-Wl,'
8343 lt_prog_compiler_pic='-fPIC'
8344 lt_prog_compiler_static='-static'
8346 # Lahey Fortran 8.1.
8348 lt_prog_compiler_wl='-Wl,'
8349 lt_prog_compiler_pic='--shared'
8350 lt_prog_compiler_static='--static'
8353 # NAG Fortran compiler
8354 lt_prog_compiler_wl='-Wl,-Wl,,'
8355 lt_prog_compiler_pic='-PIC'
8356 lt_prog_compiler_static='-Bstatic'
8358 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8359 # Portland Group compilers (*not* the Pentium gcc compiler,
8360 # which looks to be a dead project)
8361 lt_prog_compiler_wl='-Wl,'
8362 lt_prog_compiler_pic='-fpic'
8363 lt_prog_compiler_static='-Bstatic'
8366 lt_prog_compiler_wl='-Wl,'
8367 # All Alpha code is PIC.
8368 lt_prog_compiler_static='-non_shared'
8370 xl* | bgxl* | bgf* | mpixl*)
8371 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_pic='-qpic'
8374 lt_prog_compiler_static='-qstaticlink'
8377 case `$CC -V 2>&1 | sed 5q` in
8378 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8379 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8380 lt_prog_compiler_pic='-KPIC'
8381 lt_prog_compiler_static='-Bstatic'
8382 lt_prog_compiler_wl=''
8384 *Sun\ F* | *Sun*Fortran*)
8385 lt_prog_compiler_pic='-KPIC'
8386 lt_prog_compiler_static='-Bstatic'
8387 lt_prog_compiler_wl='-Qoption ld '
8391 lt_prog_compiler_pic='-KPIC'
8392 lt_prog_compiler_static='-Bstatic'
8393 lt_prog_compiler_wl='-Wl,'
8395 *Intel*\ [CF]*Compiler*)
8396 lt_prog_compiler_wl='-Wl,'
8397 lt_prog_compiler_pic='-fPIC'
8398 lt_prog_compiler_static='-static'
8401 lt_prog_compiler_wl='-Wl,'
8402 lt_prog_compiler_pic='-fpic'
8403 lt_prog_compiler_static='-Bstatic'
8411 lt_prog_compiler_pic='-KPIC'
8412 lt_prog_compiler_static='-Bstatic'
8416 # QNX uses GNU C++, but need to define -shared option too, otherwise
8418 lt_prog_compiler_pic='-fPIC -shared'
8421 osf3* | osf4* | osf5*)
8422 lt_prog_compiler_wl='-Wl,'
8423 # All OSF/1 code is PIC.
8424 lt_prog_compiler_static='-non_shared'
8428 lt_prog_compiler_static='-non_shared'
8432 lt_prog_compiler_pic='-KPIC'
8433 lt_prog_compiler_static='-Bstatic'
8434 case $cc_basename in
8435 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8436 lt_prog_compiler_wl='-Qoption ld ';;
8438 lt_prog_compiler_wl='-Wl,';;
8443 lt_prog_compiler_wl='-Qoption ld '
8444 lt_prog_compiler_pic='-PIC'
8445 lt_prog_compiler_static='-Bstatic'
8448 sysv4 | sysv4.2uw2* | sysv4.3*)
8449 lt_prog_compiler_wl='-Wl,'
8450 lt_prog_compiler_pic='-KPIC'
8451 lt_prog_compiler_static='-Bstatic'
8455 if test -d /usr/nec ;then
8456 lt_prog_compiler_pic='-Kconform_pic'
8457 lt_prog_compiler_static='-Bstatic'
8461 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8462 lt_prog_compiler_wl='-Wl,'
8463 lt_prog_compiler_pic='-KPIC'
8464 lt_prog_compiler_static='-Bstatic'
8468 lt_prog_compiler_wl='-Wl,'
8469 lt_prog_compiler_can_build_shared=no
8473 lt_prog_compiler_pic='-pic'
8474 lt_prog_compiler_static='-Bstatic'
8478 lt_prog_compiler_can_build_shared=no
8484 # For platforms which do not support PIC, -DPIC is meaningless:
8486 lt_prog_compiler_pic=
8489 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8495 if ${lt_cv_prog_compiler_pic+:} false; then :
8496 $as_echo_n "(cached) " >&6
8498 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8501 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8502 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8505 # Check to make sure the PIC flag actually works.
8507 if test -n "$lt_prog_compiler_pic"; then
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8509 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8510 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8511 $as_echo_n "(cached) " >&6
8513 lt_cv_prog_compiler_pic_works=no
8514 ac_outfile=conftest.$ac_objext
8515 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8516 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8517 # Insert the option either (1) after the last *FLAGS variable, or
8518 # (2) before a word containing "conftest.", or (3) at the end.
8519 # Note that $ac_compile itself does not contain backslashes and begins
8520 # with a dollar sign (not a hyphen), so the echo should work correctly.
8521 # The option is referenced via a variable to avoid confusing sed.
8522 lt_compile=`echo "$ac_compile" | $SED \
8523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8525 -e 's:$: $lt_compiler_flag:'`
8526 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8527 (eval "$lt_compile" 2>conftest.err)
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 if (exit $ac_status) && test -s "$ac_outfile"; then
8532 # The compiler can only warn and ignore the option if not recognized
8533 # So say no if there are warnings other than the usual output.
8534 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8535 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8536 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8537 lt_cv_prog_compiler_pic_works=yes
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8544 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8546 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8547 case $lt_prog_compiler_pic in
8549 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8552 lt_prog_compiler_pic=
8553 lt_prog_compiler_can_build_shared=no
8569 # Check to make sure the static flag actually works.
8571 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8573 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8574 if ${lt_cv_prog_compiler_static_works+:} false; then :
8575 $as_echo_n "(cached) " >&6
8577 lt_cv_prog_compiler_static_works=no
8578 save_LDFLAGS="$LDFLAGS"
8579 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8580 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8581 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8582 # The linker can only warn and ignore the option if not recognized
8583 # So say no if there are warnings
8584 if test -s conftest.err; then
8585 # Append any errors to the config.log.
8586 cat conftest.err 1>&5
8587 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8588 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8589 if diff conftest.exp conftest.er2 >/dev/null; then
8590 lt_cv_prog_compiler_static_works=yes
8593 lt_cv_prog_compiler_static_works=yes
8597 LDFLAGS="$save_LDFLAGS"
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8601 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8603 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8606 lt_prog_compiler_static=
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8616 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8617 if ${lt_cv_prog_compiler_c_o+:} false; then :
8618 $as_echo_n "(cached) " >&6
8620 lt_cv_prog_compiler_c_o=no
8621 $RM -r conftest 2>/dev/null
8625 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8627 lt_compiler_flag="-o out/conftest2.$ac_objext"
8628 # Insert the option either (1) after the last *FLAGS variable, or
8629 # (2) before a word containing "conftest.", or (3) at the end.
8630 # Note that $ac_compile itself does not contain backslashes and begins
8631 # with a dollar sign (not a hyphen), so the echo should work correctly.
8632 lt_compile=`echo "$ac_compile" | $SED \
8633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8635 -e 's:$: $lt_compiler_flag:'`
8636 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8637 (eval "$lt_compile" 2>out/conftest.err)
8639 cat out/conftest.err >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8643 # The compiler can only warn and ignore the option if not recognized
8644 # So say no if there are warnings
8645 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8646 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8647 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8648 lt_cv_prog_compiler_c_o=yes
8653 # SGI C++ compiler will create directory out/ii_files/ for
8654 # template instantiation
8655 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8656 $RM out/* && rmdir out
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8663 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8671 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8672 if ${lt_cv_prog_compiler_c_o+:} false; then :
8673 $as_echo_n "(cached) " >&6
8675 lt_cv_prog_compiler_c_o=no
8676 $RM -r conftest 2>/dev/null
8680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8682 lt_compiler_flag="-o out/conftest2.$ac_objext"
8683 # Insert the option either (1) after the last *FLAGS variable, or
8684 # (2) before a word containing "conftest.", or (3) at the end.
8685 # Note that $ac_compile itself does not contain backslashes and begins
8686 # with a dollar sign (not a hyphen), so the echo should work correctly.
8687 lt_compile=`echo "$ac_compile" | $SED \
8688 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8689 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8690 -e 's:$: $lt_compiler_flag:'`
8691 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8692 (eval "$lt_compile" 2>out/conftest.err)
8694 cat out/conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8698 # The compiler can only warn and ignore the option if not recognized
8699 # So say no if there are warnings
8700 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8701 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8702 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8703 lt_cv_prog_compiler_c_o=yes
8708 # SGI C++ compiler will create directory out/ii_files/ for
8709 # template instantiation
8710 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8711 $RM out/* && rmdir out
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8718 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8723 hard_links="nottested"
8724 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8725 # do not overwrite the value of need_locks provided by the user
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8727 $as_echo_n "checking if we can lock with hard links... " >&6; }
8730 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8732 ln conftest.a conftest.b 2>&5 || hard_links=no
8733 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8735 $as_echo "$hard_links" >&6; }
8736 if test "$hard_links" = no; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8738 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8751 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8754 allow_undefined_flag=
8755 always_export_symbols=no
8757 archive_expsym_cmds=
8758 compiler_needs_object=no
8759 enable_shared_with_static_runtimes=no
8760 export_dynamic_flag_spec=
8761 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8762 hardcode_automatic=no
8764 hardcode_direct_absolute=no
8765 hardcode_libdir_flag_spec=
8766 hardcode_libdir_separator=
8768 hardcode_shlibpath_var=unsupported
8770 link_all_deplibs=unknown
8773 old_archive_from_new_cmds=
8774 old_archive_from_expsyms_cmds=
8775 thread_safe_flag_spec=
8776 whole_archive_flag_spec=
8777 # include_expsyms should be a list of space-separated symbols to be *always*
8778 # included in the symbol list
8780 # exclude_expsyms can be an extended regexp of symbols to exclude
8781 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8782 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8783 # as well as any symbol that contains `d'.
8784 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8785 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8786 # platforms (ab)use it in PIC code, but their linkers get confused if
8787 # the symbol is explicitly referenced. Since portable code cannot
8788 # rely on this symbol name, it's probably fine to never include it in
8789 # preloaded symbol tables.
8790 # Exclude shared library initialization/finalization symbols.
8791 extract_expsyms_cmds=
8794 cygwin* | mingw* | pw32* | cegcc*)
8795 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8796 # When not using gcc, we currently assume that we are using
8797 # Microsoft Visual C++.
8798 if test "$GCC" != yes; then
8803 # we just hope/assume this is gcc and not c89 (= MSVC++)
8809 linux* | k*bsd*-gnu | gnu*)
8816 # On some targets, GNU ld is compatible enough with the native linker
8817 # that we're better off using the native interface for both.
8818 lt_use_gnu_ld_interface=no
8819 if test "$with_gnu_ld" = yes; then
8822 # The AIX port of GNU ld has always aspired to compatibility
8823 # with the native linker. However, as the warning in the GNU ld
8824 # block says, versions before 2.19.5* couldn't really create working
8825 # shared libraries, regardless of the interface used.
8826 case `$LD -v 2>&1` in
8827 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8828 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8829 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8831 lt_use_gnu_ld_interface=yes
8836 lt_use_gnu_ld_interface=yes
8841 if test "$lt_use_gnu_ld_interface" = yes; then
8842 # If archive_cmds runs LD, not CC, wlarc should be empty
8845 # Set some defaults for GNU ld with shared library support. These
8846 # are reset later if shared libraries are not supported. Putting them
8847 # here allows them to be overridden if necessary.
8848 runpath_var=LD_RUN_PATH
8849 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8850 export_dynamic_flag_spec='${wl}--export-dynamic'
8851 # ancient GNU ld didn't support --whole-archive et. al.
8852 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8853 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8855 whole_archive_flag_spec=
8857 supports_anon_versioning=no
8858 case `$LD -v 2>&1` in
8859 *GNU\ gold*) supports_anon_versioning=yes ;;
8860 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8861 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8862 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8863 *\ 2.11.*) ;; # other 2.11 versions
8864 *) supports_anon_versioning=yes ;;
8867 # See if GNU ld supports shared libraries.
8870 # On AIX/PPC, the GNU linker is very broken
8871 if test "$host_cpu" != ia64; then
8875 *** Warning: the GNU linker, at least up to release 2.19, is reported
8876 *** to be unable to reliably create shared libraries on AIX.
8877 *** Therefore, libtool is disabling shared libraries support. If you
8878 *** really care for shared libraries, you may want to install binutils
8879 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8880 *** You will then need to restart the configuration process.
8889 # see comment about AmigaOS4 .so support
8890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8891 archive_expsym_cmds=''
8894 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)'
8895 hardcode_libdir_flag_spec='-L$libdir'
8896 hardcode_minus_L=yes
8902 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8903 allow_undefined_flag=unsupported
8904 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8905 # support --undefined. This deserves some investigation. FIXME
8906 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8912 cygwin* | mingw* | pw32* | cegcc*)
8913 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8914 # as there is no search path for DLLs.
8915 hardcode_libdir_flag_spec='-L$libdir'
8916 export_dynamic_flag_spec='${wl}--export-all-symbols'
8917 allow_undefined_flag=unsupported
8918 always_export_symbols=no
8919 enable_shared_with_static_runtimes=yes
8920 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'
8921 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8923 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8924 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8925 # If the export-symbols file already is a .def file (1st line
8926 # is EXPORTS), use it as is; otherwise, prepend...
8927 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8928 cp $export_symbols $output_objdir/$soname.def;
8930 echo EXPORTS > $output_objdir/$soname.def;
8931 cat $export_symbols >> $output_objdir/$soname.def;
8933 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8940 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8941 link_all_deplibs=yes
8946 hardcode_shlibpath_var=no
8947 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8948 export_dynamic_flag_spec='${wl}-E'
8949 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8950 # Instead, shared libraries are loaded at an image base (0x10000000 by
8951 # default) and relocated if they conflict, which is a slow very memory
8952 # consuming and fragmenting process. To avoid this, we pick a random,
8953 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8954 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8955 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8956 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'
8959 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8961 if test "$host_os" = linux-dietlibc; then
8962 case $cc_basename in
8963 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8966 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8967 && test "$tmp_diet" = no
8969 tmp_addflag=' $pic_flag'
8970 tmp_sharedflag='-shared'
8971 case $cc_basename,$host_cpu in
8972 pgcc*) # Portland Group C compiler
8973 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'
8974 tmp_addflag=' $pic_flag'
8976 pgf77* | pgf90* | pgf95* | pgfortran*)
8977 # Portland Group f77 and f90 compilers
8978 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'
8979 tmp_addflag=' $pic_flag -Mnomain' ;;
8980 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8981 tmp_addflag=' -i_dynamic' ;;
8982 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8983 tmp_addflag=' -i_dynamic -nofor_main' ;;
8984 ifc* | ifort*) # Intel Fortran compiler
8985 tmp_addflag=' -nofor_main' ;;
8986 lf95*) # Lahey Fortran 8.1
8987 whole_archive_flag_spec=
8988 tmp_sharedflag='--shared' ;;
8989 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8990 tmp_sharedflag='-qmkshrobj'
8992 nvcc*) # Cuda Compiler Driver 2.2
8993 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'
8994 compiler_needs_object=yes
8997 case `$CC -V 2>&1 | sed 5q` in
8998 *Sun\ C*) # Sun C 5.9
8999 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'
9000 compiler_needs_object=yes
9001 tmp_sharedflag='-G' ;;
9002 *Sun\ F*) # Sun Fortran 8.3
9003 tmp_sharedflag='-G' ;;
9005 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9007 if test "x$supports_anon_versioning" = xyes; then
9008 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9009 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9010 echo "local: *; };" >> $output_objdir/$libname.ver~
9011 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9014 case $cc_basename in
9015 xlf* | bgf* | bgxlf* | mpixlf*)
9016 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9017 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9019 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9020 if test "x$supports_anon_versioning" = xyes; then
9021 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9022 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9023 echo "local: *; };" >> $output_objdir/$libname.ver~
9024 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9033 netbsd* | netbsdelf*-gnu)
9034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9035 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9038 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9039 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9044 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9048 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9049 *** create shared libraries on Solaris systems. Therefore, libtool
9050 *** is disabling shared libraries support. We urge you to upgrade GNU
9051 *** binutils to release 2.9.1 or newer. Another option is to modify
9052 *** your PATH or compiler configuration so that the native linker is
9053 *** used, and then restart.
9056 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9057 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9058 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9064 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9065 case `$LD -v 2>&1` in
9066 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9070 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9071 *** reliably create shared libraries on SCO systems. Therefore, libtool
9072 *** is disabling shared libraries support. We urge you to upgrade GNU
9073 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9074 *** your PATH or compiler configuration so that the native linker is
9075 *** used, and then restart.
9080 # For security reasons, it is highly recommended that you always
9081 # use absolute paths for naming shared libraries, and exclude the
9082 # DT_RUNPATH tag from executables and libraries. But doing so
9083 # requires that you compile everything twice, which is a pain.
9084 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9085 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9096 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9099 hardcode_shlibpath_var=no
9103 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9104 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9105 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9112 if test "$ld_shlibs" = no; then
9114 hardcode_libdir_flag_spec=
9115 export_dynamic_flag_spec=
9116 whole_archive_flag_spec=
9119 # PORTME fill in a description of your system's linker (not GNU ld)
9122 allow_undefined_flag=unsupported
9123 always_export_symbols=yes
9124 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'
9125 # Note: this linker hardcodes the directories in LIBPATH if there
9126 # are no directories specified by -L.
9127 hardcode_minus_L=yes
9128 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9129 # Neither direct hardcoding nor static linking is supported with a
9131 hardcode_direct=unsupported
9136 if test "$host_cpu" = ia64; then
9137 # On IA64, the linker does run time linking by default, so we don't
9138 # have to do anything special.
9139 aix_use_runtimelinking=no
9140 exp_sym_flag='-Bexport'
9143 # If we're using GNU nm, then we don't want the "-C" option.
9144 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9145 # Also, AIX nm treats weak defined symbols like other global
9146 # defined symbols, whereas GNU nm marks them as "W".
9147 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9148 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'
9150 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'
9152 aix_use_runtimelinking=no
9154 # Test if we are trying to use run time linking or normal
9155 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9156 # need to do runtime linking.
9157 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9158 for ld_flag in $LDFLAGS; do
9159 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9160 aix_use_runtimelinking=yes
9167 exp_sym_flag='-bexport'
9168 no_entry_flag='-bnoentry'
9171 # When large executables or shared objects are built, AIX ld can
9172 # have problems creating the table of contents. If linking a library
9173 # or program results in "error TOC overflow" add -mminimal-toc to
9174 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9175 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9179 hardcode_direct_absolute=yes
9180 hardcode_libdir_separator=':'
9181 link_all_deplibs=yes
9182 file_list_spec='${wl}-f,'
9184 if test "$GCC" = yes; then
9185 case $host_os in aix4.[012]|aix4.[012].*)
9186 # We only want to do this on AIX 4.2 and lower, the check
9187 # below for broken collect2 doesn't work under 4.3+
9188 collect2name=`${CC} -print-prog-name=collect2`
9189 if test -f "$collect2name" &&
9190 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9192 # We have reworked collect2
9195 # We have old collect2
9196 hardcode_direct=unsupported
9197 # It fails to find uninstalled libraries when the uninstalled
9198 # path is not listed in the libpath. Setting hardcode_minus_L
9199 # to unsupported forces relinking
9200 hardcode_minus_L=yes
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 hardcode_libdir_separator=
9206 shared_flag='-shared'
9207 if test "$aix_use_runtimelinking" = yes; then
9208 shared_flag="$shared_flag "'${wl}-G'
9213 if test "$host_cpu" = ia64; then
9214 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9215 # chokes on -Wl,-G. The following line is correct:
9218 if test "$aix_use_runtimelinking" = yes; then
9219 shared_flag='${wl}-G'
9221 shared_flag='${wl}-bM:SRE'
9226 export_dynamic_flag_spec='${wl}-bexpall'
9227 # It seems that -bexpall does not export symbols beginning with
9228 # underscore (_), so it is better to generate a list of symbols to export.
9229 always_export_symbols=yes
9230 if test "$aix_use_runtimelinking" = yes; then
9231 # Warning - without using the other runtime loading flags (-brtl),
9232 # -berok will link without error, but may produce a broken library.
9233 allow_undefined_flag='-berok'
9234 # Determine the default libpath from the value encoded in an
9236 if test "${lt_cv_aix_libpath+set}" = set; then
9237 aix_libpath=$lt_cv_aix_libpath
9239 if ${lt_cv_aix_libpath_+:} false; then :
9240 $as_echo_n "(cached) " >&6
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9253 if ac_fn_c_try_link "$LINENO"; then :
9255 lt_aix_libpath_sed='
9256 /Import File Strings/,/^$/ {
9258 s/^0 *\([^ ]*\) *$/\1/
9262 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9263 # Check for a 64-bit object if we didn't find anything.
9264 if test -z "$lt_cv_aix_libpath_"; then
9265 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 if test -z "$lt_cv_aix_libpath_"; then
9271 lt_cv_aix_libpath_="/usr/lib:/lib"
9276 aix_libpath=$lt_cv_aix_libpath_
9279 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9280 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"
9282 if test "$host_cpu" = ia64; then
9283 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9284 allow_undefined_flag="-z nodefs"
9285 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"
9287 # Determine the default libpath from the value encoded in an
9289 if test "${lt_cv_aix_libpath+set}" = set; then
9290 aix_libpath=$lt_cv_aix_libpath
9292 if ${lt_cv_aix_libpath_+:} false; then :
9293 $as_echo_n "(cached) " >&6
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9306 if ac_fn_c_try_link "$LINENO"; then :
9308 lt_aix_libpath_sed='
9309 /Import File Strings/,/^$/ {
9311 s/^0 *\([^ ]*\) *$/\1/
9315 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9316 # Check for a 64-bit object if we didn't find anything.
9317 if test -z "$lt_cv_aix_libpath_"; then
9318 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 if test -z "$lt_cv_aix_libpath_"; then
9324 lt_cv_aix_libpath_="/usr/lib:/lib"
9329 aix_libpath=$lt_cv_aix_libpath_
9332 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9333 # Warning - without using the other run time loading flags,
9334 # -berok will link without error, but may produce a broken library.
9335 no_undefined_flag=' ${wl}-bernotok'
9336 allow_undefined_flag=' ${wl}-berok'
9337 if test "$with_gnu_ld" = yes; then
9338 # We only use this code for GNU lds that support --whole-archive.
9339 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9341 # Exported symbols can be pulled into shared objects from archives
9342 whole_archive_flag_spec='$convenience'
9344 archive_cmds_need_lc=yes
9345 # This is similar to how AIX traditionally builds its shared libraries.
9346 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'
9354 # see comment about AmigaOS4 .so support
9355 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9356 archive_expsym_cmds=''
9359 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)'
9360 hardcode_libdir_flag_spec='-L$libdir'
9361 hardcode_minus_L=yes
9367 export_dynamic_flag_spec=-rdynamic
9370 cygwin* | mingw* | pw32* | cegcc*)
9371 # When not using gcc, we currently assume that we are using
9372 # Microsoft Visual C++.
9373 # hardcode_libdir_flag_spec is actually meaningless, as there is
9374 # no search path for DLLs.
9375 case $cc_basename in
9378 hardcode_libdir_flag_spec=' '
9379 allow_undefined_flag=unsupported
9380 always_export_symbols=yes
9382 # Tell ltmain to make .lib files, not .a files.
9384 # Tell ltmain to make .dll files, not .so files.
9386 # FIXME: Setting linknames here is a bad hack.
9387 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9388 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9389 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9391 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9393 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9395 # The linker will not automatically build a static lib if we build a DLL.
9396 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9397 enable_shared_with_static_runtimes=yes
9398 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9399 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9401 old_postinstall_cmds='chmod 644 $oldlib'
9402 postlink_cmds='lt_outputfile="@OUTPUT@"~
9403 lt_tool_outputfile="@TOOL_OUTPUT@"~
9404 case $lt_outputfile in
9407 lt_outputfile="$lt_outputfile.exe"
9408 lt_tool_outputfile="$lt_tool_outputfile.exe"
9411 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9412 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9413 $RM "$lt_outputfile.manifest";
9417 # Assume MSVC wrapper
9418 hardcode_libdir_flag_spec=' '
9419 allow_undefined_flag=unsupported
9420 # Tell ltmain to make .lib files, not .a files.
9422 # Tell ltmain to make .dll files, not .so files.
9424 # FIXME: Setting linknames here is a bad hack.
9425 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9426 # The linker will automatically build a .lib file if we build a DLL.
9427 old_archive_from_new_cmds='true'
9428 # FIXME: Should let the user specify the lib program.
9429 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9430 enable_shared_with_static_runtimes=yes
9435 darwin* | rhapsody*)
9438 archive_cmds_need_lc=no
9440 hardcode_automatic=yes
9441 hardcode_shlibpath_var=unsupported
9442 if test "$lt_cv_ld_force_load" = "yes"; then
9443 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\"`'
9446 whole_archive_flag_spec=''
9448 link_all_deplibs=yes
9449 allow_undefined_flag="$_lt_dar_allow_undefined"
9450 case $cc_basename in
9451 ifort*) _lt_dar_can_shared=yes ;;
9452 *) _lt_dar_can_shared=$GCC ;;
9454 if test "$_lt_dar_can_shared" = "yes"; then
9455 output_verbose_link_cmd=func_echo_all
9456 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9457 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9458 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}"
9459 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}"
9468 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_libdir_flag_spec='-L$libdir'
9470 hardcode_shlibpath_var=no
9473 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9474 # support. Future versions do this automatically, but an explicit c++rt0.o
9475 # does not break anything, and helps significantly (at the cost of a little
9478 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9479 hardcode_libdir_flag_spec='-R$libdir'
9481 hardcode_shlibpath_var=no
9484 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9486 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488 hardcode_minus_L=yes
9489 hardcode_shlibpath_var=no
9492 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9493 freebsd* | dragonfly*)
9494 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9495 hardcode_libdir_flag_spec='-R$libdir'
9497 hardcode_shlibpath_var=no
9501 if test "$GCC" = yes; then
9502 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'
9504 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'
9506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9507 hardcode_libdir_separator=:
9510 # hardcode_minus_L: Not really in the search PATH,
9511 # but as the default location of the library.
9512 hardcode_minus_L=yes
9513 export_dynamic_flag_spec='${wl}-E'
9517 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9518 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9520 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9522 if test "$with_gnu_ld" = no; then
9523 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9524 hardcode_libdir_separator=:
9526 hardcode_direct_absolute=yes
9527 export_dynamic_flag_spec='${wl}-E'
9528 # hardcode_minus_L: Not really in the search PATH,
9529 # but as the default location of the library.
9530 hardcode_minus_L=yes
9535 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9538 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9541 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9544 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9557 # Older versions of the 11.00 compiler do not understand -b yet
9558 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9560 $as_echo_n "checking if $CC understands -b... " >&6; }
9561 if ${lt_cv_prog_compiler__b+:} false; then :
9562 $as_echo_n "(cached) " >&6
9564 lt_cv_prog_compiler__b=no
9565 save_LDFLAGS="$LDFLAGS"
9566 LDFLAGS="$LDFLAGS -b"
9567 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9568 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9569 # The linker can only warn and ignore the option if not recognized
9570 # So say no if there are warnings
9571 if test -s conftest.err; then
9572 # Append any errors to the config.log.
9573 cat conftest.err 1>&5
9574 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9575 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9576 if diff conftest.exp conftest.er2 >/dev/null; then
9577 lt_cv_prog_compiler__b=yes
9580 lt_cv_prog_compiler__b=yes
9584 LDFLAGS="$save_LDFLAGS"
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9588 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9590 if test x"$lt_cv_prog_compiler__b" = xyes; then
9591 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9593 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9599 if test "$with_gnu_ld" = no; then
9600 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9601 hardcode_libdir_separator=:
9606 hardcode_shlibpath_var=no
9610 hardcode_direct_absolute=yes
9611 export_dynamic_flag_spec='${wl}-E'
9613 # hardcode_minus_L: Not really in the search PATH,
9614 # but as the default location of the library.
9615 hardcode_minus_L=yes
9621 irix5* | irix6* | nonstopux*)
9622 if test "$GCC" = yes; then
9623 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'
9624 # Try to use the -exported_symbol ld option, if it does not
9625 # work, assume that -exports_file does not work either and
9626 # implicitly export all symbols.
9627 # This should be the same for all languages, so no per-tag cache variable.
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9629 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9630 if ${lt_cv_irix_exported_symbol+:} false; then :
9631 $as_echo_n "(cached) " >&6
9633 save_LDFLAGS="$LDFLAGS"
9634 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9637 int foo (void) { return 0; }
9639 if ac_fn_c_try_link "$LINENO"; then :
9640 lt_cv_irix_exported_symbol=yes
9642 lt_cv_irix_exported_symbol=no
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LDFLAGS="$save_LDFLAGS"
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9649 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9650 if test "$lt_cv_irix_exported_symbol" = yes; then
9651 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'
9654 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'
9655 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'
9657 archive_cmds_need_lc='no'
9658 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9659 hardcode_libdir_separator=:
9661 link_all_deplibs=yes
9664 netbsd* | netbsdelf*-gnu)
9665 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9666 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9668 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9670 hardcode_libdir_flag_spec='-R$libdir'
9672 hardcode_shlibpath_var=no
9676 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9678 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9679 hardcode_libdir_separator=:
9680 hardcode_shlibpath_var=no
9687 if test -f /usr/libexec/ld.so; then
9689 hardcode_shlibpath_var=no
9690 hardcode_direct_absolute=yes
9691 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9692 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9693 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9694 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9695 export_dynamic_flag_spec='${wl}-E'
9698 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9699 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9700 hardcode_libdir_flag_spec='-R$libdir'
9703 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9704 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_minus_L=yes
9716 allow_undefined_flag=unsupported
9717 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'
9718 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9722 if test "$GCC" = yes; then
9723 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9724 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'
9726 allow_undefined_flag=' -expect_unresolved \*'
9727 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'
9729 archive_cmds_need_lc='no'
9730 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731 hardcode_libdir_separator=:
9734 osf4* | osf5*) # as osf3* with the addition of -msym flag
9735 if test "$GCC" = yes; then
9736 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9737 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'
9738 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740 allow_undefined_flag=' -expect_unresolved \*'
9741 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'
9742 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~
9743 $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'
9745 # Both c and cxx compiler support -rpath directly
9746 hardcode_libdir_flag_spec='-rpath $libdir'
9748 archive_cmds_need_lc='no'
9749 hardcode_libdir_separator=:
9753 no_undefined_flag=' -z defs'
9754 if test "$GCC" = yes; then
9756 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9758 $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'
9760 case `$CC -V 2>&1` in
9763 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9765 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9769 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9770 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9771 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9775 hardcode_libdir_flag_spec='-R$libdir'
9776 hardcode_shlibpath_var=no
9778 solaris2.[0-5] | solaris2.[0-5].*) ;;
9780 # The compiler driver will combine and reorder linker options,
9781 # but understands `-z linker_flag'. GCC discards it without `$wl',
9782 # but is careful enough not to reorder.
9783 # Supported since Solaris 2.6 (maybe 2.5.1?)
9784 if test "$GCC" = yes; then
9785 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9787 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9791 link_all_deplibs=yes
9795 if test "x$host_vendor" = xsequent; then
9796 # Use $CC to link under sequent, because it throws in some extra .o
9797 # files that make .init and .fini sections work.
9798 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9800 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9802 hardcode_libdir_flag_spec='-L$libdir'
9804 hardcode_minus_L=yes
9805 hardcode_shlibpath_var=no
9809 case $host_vendor in
9811 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812 hardcode_direct=yes # is this really true???
9815 ## LD is ld it makes a PLAMLIB
9816 ## CC just makes a GrossModule.
9817 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9818 reload_cmds='$CC -r -o $output$reload_objs'
9822 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9823 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9826 runpath_var='LD_RUN_PATH'
9827 hardcode_shlibpath_var=no
9831 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9832 hardcode_shlibpath_var=no
9833 export_dynamic_flag_spec='-Bexport'
9837 if test -d /usr/nec; then
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_shlibpath_var=no
9840 runpath_var=LD_RUN_PATH
9841 hardcode_runpath_var=yes
9846 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9847 no_undefined_flag='${wl}-z,text'
9848 archive_cmds_need_lc=no
9849 hardcode_shlibpath_var=no
9850 runpath_var='LD_RUN_PATH'
9852 if test "$GCC" = yes; then
9853 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9854 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9856 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9857 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9861 sysv5* | sco3.2v5* | sco5v6*)
9862 # Note: We can NOT use -z defs as we might desire, because we do not
9863 # link with -lc, and that would cause any symbols used from libc to
9864 # always be unresolved, which means just about no library would
9865 # ever link correctly. If we're not using GNU ld we use -z text
9866 # though, which does catch some bad symbols but isn't as heavy-handed
9868 no_undefined_flag='${wl}-z,text'
9869 allow_undefined_flag='${wl}-z,nodefs'
9870 archive_cmds_need_lc=no
9871 hardcode_shlibpath_var=no
9872 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9873 hardcode_libdir_separator=':'
9874 link_all_deplibs=yes
9875 export_dynamic_flag_spec='${wl}-Bexport'
9876 runpath_var='LD_RUN_PATH'
9878 if test "$GCC" = yes; then
9879 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_shlibpath_var=no
9898 if test x$host_vendor = xsni; then
9900 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9901 export_dynamic_flag_spec='${wl}-Blargedynsym'
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9908 $as_echo "$ld_shlibs" >&6; }
9909 test "$ld_shlibs" = no && can_build_shared=no
9911 with_gnu_ld=$with_gnu_ld
9928 # Do we need to explicitly link libc?
9930 case "x$archive_cmds_need_lc" in
9932 # Assume -lc should be added
9933 archive_cmds_need_lc=yes
9935 if test "$enable_shared" = yes && test "$GCC" = yes; then
9936 case $archive_cmds in
9938 # FIXME: we may have to deal with multi-command sequences.
9941 # Test whether the compiler implicitly links with -lc since on some
9942 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9943 # to ld, don't add -lc before -lgcc.
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9945 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9946 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9947 $as_echo_n "(cached) " >&6
9950 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9952 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9953 (eval $ac_compile) 2>&5
9955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9956 test $ac_status = 0; } 2>conftest.err; then
9959 libobjs=conftest.$ac_objext
9961 wl=$lt_prog_compiler_wl
9962 pic_flag=$lt_prog_compiler_pic
9968 lt_save_allow_undefined_flag=$allow_undefined_flag
9969 allow_undefined_flag=
9970 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9971 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9974 test $ac_status = 0; }
9976 lt_cv_archive_cmds_need_lc=no
9978 lt_cv_archive_cmds_need_lc=yes
9980 allow_undefined_flag=$lt_save_allow_undefined_flag
9982 cat conftest.err 1>&5
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9988 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9989 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10148 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10150 if test "$GCC" = yes; then
10152 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10153 *) lt_awk_arg="/^libraries:/" ;;
10156 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10157 *) lt_sed_strip_eq="s,=/,/,g" ;;
10159 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10160 case $lt_search_path_spec in
10162 # if the path contains ";" then we assume it to be the separator
10163 # otherwise default to the standard path separator (i.e. ":") - it is
10164 # assumed that no part of a normal pathname contains ";" but that should
10165 # okay in the real world where ";" in dirpaths is itself problematic.
10166 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10169 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10172 # Ok, now we have the path, separated by spaces, we can step through it
10173 # and add multilib dir if necessary.
10174 lt_tmp_lt_search_path_spec=
10175 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10176 for lt_sys_path in $lt_search_path_spec; do
10177 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10178 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10180 test -d "$lt_sys_path" && \
10181 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10184 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10185 BEGIN {RS=" "; FS="/|\n";} {
10188 for (lt_i = NF; lt_i > 0; lt_i--) {
10189 if ($lt_i != "" && $lt_i != ".") {
10190 if ($lt_i == "..") {
10193 if (lt_count == 0) {
10194 lt_foo="/" $lt_i lt_foo;
10201 if (lt_foo != "") { lt_freq[lt_foo]++; }
10202 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10204 # AWK program above erroneously prepends '/' to C:/dos/paths
10207 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10208 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10210 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10212 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10214 library_names_spec=
10215 libname_spec='lib$name'
10219 postuninstall_cmds=
10223 shlibpath_overrides_runpath=unknown
10225 dynamic_linker="$host_os ld.so"
10226 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10227 need_lib_prefix=unknown
10228 hardcode_into_libs=no
10230 # when you set need_version to no, make sure it does not cause -set_version
10231 # flags to be left without arguments
10232 need_version=unknown
10236 version_type=linux # correct to gnu/linux during the next big refactor
10237 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10238 shlibpath_var=LIBPATH
10240 # AIX 3 has no versioning support, so we append a major version to the name.
10241 soname_spec='${libname}${release}${shared_ext}$major'
10245 version_type=linux # correct to gnu/linux during the next big refactor
10248 hardcode_into_libs=yes
10249 if test "$host_cpu" = ia64; then
10250 # AIX 5 supports IA64
10251 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10252 shlibpath_var=LD_LIBRARY_PATH
10254 # With GCC up to 2.95.x, collect2 would create an import file
10255 # for dependence libraries. The import file would start with
10256 # the line `#! .'. This would cause the generated library to
10257 # depend on `.', always an invalid library. This was fixed in
10258 # development snapshots of GCC prior to 3.0.
10260 aix4 | aix4.[01] | aix4.[01].*)
10261 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10263 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10266 can_build_shared=no
10270 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10271 # soname into executable. Probably we can add versioning support to
10272 # collect2, so additional links can be useful in future.
10273 if test "$aix_use_runtimelinking" = yes; then
10274 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10275 # instead of lib<name>.a to let people know that these are not
10276 # typical AIX shared libraries.
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279 # We preserve .a as extension for shared libraries through AIX4.2
10280 # and later when we are not doing run time linking.
10281 library_names_spec='${libname}${release}.a $libname.a'
10282 soname_spec='${libname}${release}${shared_ext}$major'
10284 shlibpath_var=LIBPATH
10291 # Since July 2007 AmigaOS4 officially supports .so libraries.
10292 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10296 library_names_spec='$libname.ixlibrary $libname.a'
10297 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10298 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'
10304 library_names_spec='${libname}${shared_ext}'
10305 dynamic_linker="$host_os ld.so"
10306 shlibpath_var=LIBRARY_PATH
10310 version_type=linux # correct to gnu/linux during the next big refactor
10312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10313 soname_spec='${libname}${release}${shared_ext}$major'
10314 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10315 shlibpath_var=LD_LIBRARY_PATH
10316 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10317 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10318 # the default ld.so.conf also contains /usr/contrib/lib and
10319 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10320 # libtool to hard-code these into programs
10323 cygwin* | mingw* | pw32* | cegcc*)
10324 version_type=windows
10329 case $GCC,$cc_basename in
10332 library_names_spec='$libname.dll.a'
10333 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10334 postinstall_cmds='base_file=`basename \${file}`~
10335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10336 dldir=$destdir/`dirname \$dlpath`~
10337 test -d \$dldir || mkdir -p \$dldir~
10338 $install_prog $dir/$dlname \$dldir/$dlname~
10339 chmod a+x \$dldir/$dlname~
10340 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10341 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10343 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10344 dlpath=$dir/\$dldll~
10346 shlibpath_overrides_runpath=yes
10350 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10351 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10353 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10356 # MinGW DLLs use traditional 'lib' prefix
10357 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10360 # pw32 DLLs use 'pw' prefix rather than 'lib'
10361 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10364 dynamic_linker='Win32 ld.exe'
10369 libname_spec='$name'
10370 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10371 library_names_spec='${libname}.dll.lib'
10375 sys_lib_search_path_spec=
10378 for lt_path in $LIB
10381 # Let DOS variable expansion print the short 8.3 style file name.
10382 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10383 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10386 # Convert to MSYS style.
10387 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10390 # Convert to unix form, then to dos form, then back to unix form
10391 # but this time dos style (no spaces!) so that the unix form looks
10392 # like /cygdrive/c/PROGRA~1:/cygdr...
10393 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10394 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10395 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10398 sys_lib_search_path_spec="$LIB"
10399 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10400 # It is most probably a Windows format PATH.
10401 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10403 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10405 # FIXME: find the short name or the path components, as spaces are
10406 # common. (e.g. "Program Files" -> "PROGRA~1")
10410 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10411 postinstall_cmds='base_file=`basename \${file}`~
10412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10413 dldir=$destdir/`dirname \$dlpath`~
10414 test -d \$dldir || mkdir -p \$dldir~
10415 $install_prog $dir/$dlname \$dldir/$dlname'
10416 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10417 dlpath=$dir/\$dldll~
10419 shlibpath_overrides_runpath=yes
10420 dynamic_linker='Win32 link.exe'
10424 # Assume MSVC wrapper
10425 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10426 dynamic_linker='Win32 ld.exe'
10429 # FIXME: first we should search . and the directory the executable is in
10433 darwin* | rhapsody*)
10434 dynamic_linker="$host_os dyld"
10435 version_type=darwin
10438 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10439 soname_spec='${libname}${release}${major}$shared_ext'
10440 shlibpath_overrides_runpath=yes
10441 shlibpath_var=DYLD_LIBRARY_PATH
10442 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10444 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10445 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10449 version_type=linux # correct to gnu/linux during the next big refactor
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10453 soname_spec='${libname}${release}${shared_ext}$major'
10454 shlibpath_var=LD_LIBRARY_PATH
10457 freebsd* | dragonfly*)
10458 # DragonFly does not have aout. When/if they implement a new
10459 # versioning mechanism, adjust this.
10460 if test -x /usr/bin/objformat; then
10461 objformat=`/usr/bin/objformat`
10464 freebsd[23].*) objformat=aout ;;
10465 *) objformat=elf ;;
10468 version_type=freebsd-$objformat
10469 case $version_type in
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10476 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10480 shlibpath_var=LD_LIBRARY_PATH
10483 shlibpath_overrides_runpath=yes
10485 freebsd3.[01]* | freebsdelf3.[01]*)
10486 shlibpath_overrides_runpath=yes
10487 hardcode_into_libs=yes
10489 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10490 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10491 shlibpath_overrides_runpath=no
10492 hardcode_into_libs=yes
10494 *) # from 4.6 on, and DragonFly
10495 shlibpath_overrides_runpath=yes
10496 hardcode_into_libs=yes
10502 version_type=linux # correct to gnu/linux during the next big refactor
10505 dynamic_linker="$host_os runtime_loader"
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 shlibpath_var=LIBRARY_PATH
10509 shlibpath_overrides_runpath=yes
10510 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10511 hardcode_into_libs=yes
10514 hpux9* | hpux10* | hpux11*)
10515 # Give a soname corresponding to the major version so that dld.sl refuses to
10516 # link against other versions.
10523 hardcode_into_libs=yes
10524 dynamic_linker="$host_os dld.so"
10525 shlibpath_var=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528 soname_spec='${libname}${release}${shared_ext}$major'
10529 if test "X$HPUX_IA64_MODE" = X32; then
10530 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10532 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10534 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10538 hardcode_into_libs=yes
10539 dynamic_linker="$host_os dld.sl"
10540 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10541 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 soname_spec='${libname}${release}${shared_ext}$major'
10544 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10545 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10549 dynamic_linker="$host_os dld.sl"
10550 shlibpath_var=SHLIB_PATH
10551 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10556 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10557 postinstall_cmds='chmod 555 $lib'
10558 # or fails outright, so override atomically:
10559 install_override_mode=555
10563 version_type=linux # correct to gnu/linux during the next big refactor
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 shlibpath_overrides_runpath=no
10571 hardcode_into_libs=yes
10574 irix5* | irix6* | nonstopux*)
10576 nonstopux*) version_type=nonstopux ;;
10578 if test "$lt_cv_prog_gnu_ld" = yes; then
10579 version_type=linux # correct to gnu/linux during the next big refactor
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10589 irix5* | nonstopux*)
10590 libsuff= shlibsuff=
10593 case $LD in # libtool.m4 will add one of these switches to LD
10594 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10595 libsuff= shlibsuff= libmagic=32-bit;;
10596 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10597 libsuff=32 shlibsuff=N32 libmagic=N32;;
10598 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10599 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10600 *) libsuff= shlibsuff= libmagic=never-match;;
10604 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10605 shlibpath_overrides_runpath=no
10606 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10607 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10608 hardcode_into_libs=yes
10611 # No shared lib support for Linux oldld, aout, or coff.
10612 linux*oldld* | linux*aout* | linux*coff*)
10616 # This must be glibc/ELF.
10617 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10618 version_type=linux # correct to gnu/linux during the next big refactor
10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622 soname_spec='${libname}${release}${shared_ext}$major'
10623 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10624 shlibpath_var=LD_LIBRARY_PATH
10625 shlibpath_overrides_runpath=no
10627 # Some binutils ld are patched to set DT_RUNPATH
10628 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10629 $as_echo_n "(cached) " >&6
10631 lt_cv_shlibpath_overrides_runpath=no
10632 save_LDFLAGS=$LDFLAGS
10633 save_libdir=$libdir
10634 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10635 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10649 lt_cv_shlibpath_overrides_runpath=yes
10652 rm -f core conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654 LDFLAGS=$save_LDFLAGS
10655 libdir=$save_libdir
10659 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10661 # This implies no fast_install, which is unacceptable.
10662 # Some rework will be needed to allow for fast_install
10663 # before this can be enabled.
10664 hardcode_into_libs=yes
10666 # Append ld.so.conf contents to the search path
10667 if test -f /etc/ld.so.conf; then
10668 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' ' '`
10669 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10672 # We used to test for /lib/ld.so.1 and disable shared libraries on
10673 # powerpc, because MkLinux only supported shared libraries with the
10674 # GNU dynamic linker. Since this was broken with cross compilers,
10675 # most powerpc-linux boxes support dynamic linking these days and
10676 # people can always --disable-shared, the test was removed, and we
10677 # assume the GNU/Linux dynamic linker is in use.
10678 dynamic_linker='GNU/Linux ld.so'
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10687 shlibpath_var=LD_LIBRARY_PATH
10688 shlibpath_overrides_runpath=no
10689 hardcode_into_libs=yes
10690 dynamic_linker='NetBSD ld.elf_so'
10697 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10699 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10700 dynamic_linker='NetBSD (a.out) ld.so'
10702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10703 soname_spec='${libname}${release}${shared_ext}$major'
10704 dynamic_linker='NetBSD ld.elf_so'
10706 shlibpath_var=LD_LIBRARY_PATH
10707 shlibpath_overrides_runpath=yes
10708 hardcode_into_libs=yes
10712 version_type=linux # correct to gnu/linux during the next big refactor
10713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10714 shlibpath_var=LD_LIBRARY_PATH
10715 shlibpath_overrides_runpath=yes
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LD_LIBRARY_PATH
10725 shlibpath_overrides_runpath=no
10726 hardcode_into_libs=yes
10727 dynamic_linker='ldqnx.so'
10732 sys_lib_dlsearch_path_spec="/usr/lib"
10734 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10736 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10737 *) need_version=no ;;
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10740 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10741 shlibpath_var=LD_LIBRARY_PATH
10742 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10744 openbsd2.[89] | openbsd2.[89].*)
10745 shlibpath_overrides_runpath=no
10748 shlibpath_overrides_runpath=yes
10752 shlibpath_overrides_runpath=yes
10757 libname_spec='$name'
10760 library_names_spec='$libname${shared_ext} $libname.a'
10761 dynamic_linker='OS/2 ld.exe'
10762 shlibpath_var=LIBPATH
10765 osf3* | osf4* | osf5*)
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771 shlibpath_var=LD_LIBRARY_PATH
10772 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10773 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10781 version_type=linux # correct to gnu/linux during the next big refactor
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785 soname_spec='${libname}${release}${shared_ext}$major'
10786 shlibpath_var=LD_LIBRARY_PATH
10787 shlibpath_overrides_runpath=yes
10788 hardcode_into_libs=yes
10789 # ldd complains unless libraries are executable
10790 postinstall_cmds='chmod +x $lib'
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10796 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10797 shlibpath_var=LD_LIBRARY_PATH
10798 shlibpath_overrides_runpath=yes
10799 if test "$with_gnu_ld" = yes; then
10806 version_type=linux # correct to gnu/linux during the next big refactor
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 shlibpath_var=LD_LIBRARY_PATH
10810 case $host_vendor in
10812 shlibpath_overrides_runpath=no
10814 runpath_var=LD_RUN_PATH
10822 shlibpath_overrides_runpath=no
10823 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10829 if test -d /usr/nec ;then
10830 version_type=linux # correct to gnu/linux during the next big refactor
10831 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10832 soname_spec='$libname${shared_ext}.$major'
10833 shlibpath_var=LD_LIBRARY_PATH
10837 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10838 version_type=freebsd-elf
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 shlibpath_var=LD_LIBRARY_PATH
10844 shlibpath_overrides_runpath=yes
10845 hardcode_into_libs=yes
10846 if test "$with_gnu_ld" = yes; then
10847 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10849 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10852 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10856 sys_lib_dlsearch_path_spec='/usr/lib'
10860 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10861 version_type=linux # correct to gnu/linux during the next big refactor
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath=no
10867 hardcode_into_libs=yes
10871 version_type=linux # correct to gnu/linux during the next big refactor
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec='${libname}${release}${shared_ext}$major'
10874 shlibpath_var=LD_LIBRARY_PATH
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10882 $as_echo "$dynamic_linker" >&6; }
10883 test "$dynamic_linker" = no && can_build_shared=no
10885 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10886 if test "$GCC" = yes; then
10887 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10890 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10891 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10893 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10894 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10989 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10991 if test -n "$hardcode_libdir_flag_spec" ||
10992 test -n "$runpath_var" ||
10993 test "X$hardcode_automatic" = "Xyes" ; then
10995 # We can hardcode non-existent directories.
10996 if test "$hardcode_direct" != no &&
10997 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10998 # have to relink, otherwise we might link with an installed library
10999 # when we should be linking with a yet-to-be-installed one
11000 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11001 test "$hardcode_minus_L" != no; then
11002 # Linking always hardcodes the temporary library directory.
11003 hardcode_action=relink
11005 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11006 hardcode_action=immediate
11009 # We cannot hardcode anything, or else we can only hardcode existing
11011 hardcode_action=unsupported
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11014 $as_echo "$hardcode_action" >&6; }
11016 if test "$hardcode_action" = relink ||
11017 test "$inherit_rpath" = yes; then
11018 # Fast installation is not supported
11019 enable_fast_install=no
11020 elif test "$shlibpath_overrides_runpath" = yes ||
11021 test "$enable_shared" = no; then
11022 # Fast installation is not necessary
11023 enable_fast_install=needless
11031 if test "x$enable_dlopen" != xyes; then
11032 enable_dlopen=unknown
11033 enable_dlopen_self=unknown
11034 enable_dlopen_self_static=unknown
11041 lt_cv_dlopen="load_add_on"
11043 lt_cv_dlopen_self=yes
11046 mingw* | pw32* | cegcc*)
11047 lt_cv_dlopen="LoadLibrary"
11052 lt_cv_dlopen="dlopen"
11057 # if libdl is installed we need to link against it
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11059 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11060 if ${ac_cv_lib_dl_dlopen+:} false; then :
11061 $as_echo_n "(cached) " >&6
11063 ac_check_lib_save_LIBS=$LIBS
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_dl_dlopen=yes
11086 ac_cv_lib_dl_dlopen=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11093 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11094 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11095 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11098 lt_cv_dlopen="dyld"
11100 lt_cv_dlopen_self=yes
11107 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11108 if test "x$ac_cv_func_shl_load" = xyes; then :
11109 lt_cv_dlopen="shl_load"
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11112 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11113 if ${ac_cv_lib_dld_shl_load+:} false; then :
11114 $as_echo_n "(cached) " >&6
11116 ac_check_lib_save_LIBS=$LIBS
11118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11119 /* end confdefs.h. */
11121 /* Override any GCC internal prototype to avoid an error.
11122 Use char because int might match the return type of a GCC
11123 builtin and then its argument prototype would still apply. */
11131 return shl_load ();
11136 if ac_fn_c_try_link "$LINENO"; then :
11137 ac_cv_lib_dld_shl_load=yes
11139 ac_cv_lib_dld_shl_load=no
11141 rm -f core conftest.err conftest.$ac_objext \
11142 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_check_lib_save_LIBS
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11146 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11147 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11148 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11150 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11151 if test "x$ac_cv_func_dlopen" = xyes; then :
11152 lt_cv_dlopen="dlopen"
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11155 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11156 if ${ac_cv_lib_dl_dlopen+:} false; then :
11157 $as_echo_n "(cached) " >&6
11159 ac_check_lib_save_LIBS=$LIBS
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_dl_dlopen=yes
11182 ac_cv_lib_dl_dlopen=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11190 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11191 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11194 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11195 if ${ac_cv_lib_svld_dlopen+:} false; then :
11196 $as_echo_n "(cached) " >&6
11198 ac_check_lib_save_LIBS=$LIBS
11199 LIBS="-lsvld $LIBS"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11218 if ac_fn_c_try_link "$LINENO"; then :
11219 ac_cv_lib_svld_dlopen=yes
11221 ac_cv_lib_svld_dlopen=no
11223 rm -f core conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11225 LIBS=$ac_check_lib_save_LIBS
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11228 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11229 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11230 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11233 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11234 if ${ac_cv_lib_dld_dld_link+:} false; then :
11235 $as_echo_n "(cached) " >&6
11237 ac_check_lib_save_LIBS=$LIBS
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11252 return dld_link ();
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_dld_dld_link=yes
11260 ac_cv_lib_dld_dld_link=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11267 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11268 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11269 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11290 if test "x$lt_cv_dlopen" != xno; then
11296 case $lt_cv_dlopen in
11298 save_CPPFLAGS="$CPPFLAGS"
11299 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11301 save_LDFLAGS="$LDFLAGS"
11302 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11305 LIBS="$lt_cv_dlopen_libs $LIBS"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11308 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11309 if ${lt_cv_dlopen_self+:} false; then :
11310 $as_echo_n "(cached) " >&6
11312 if test "$cross_compiling" = yes; then :
11313 lt_cv_dlopen_self=cross
11315 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11316 lt_status=$lt_dlunknown
11317 cat > conftest.$ac_ext <<_LT_EOF
11318 #line $LINENO "configure"
11319 #include "confdefs.h"
11328 # define LT_DLGLOBAL RTLD_GLOBAL
11331 # define LT_DLGLOBAL DL_GLOBAL
11333 # define LT_DLGLOBAL 0
11337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11338 find out it does not work in some platform. */
11339 #ifndef LT_DLLAZY_OR_NOW
11341 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11344 # define LT_DLLAZY_OR_NOW DL_LAZY
11347 # define LT_DLLAZY_OR_NOW RTLD_NOW
11350 # define LT_DLLAZY_OR_NOW DL_NOW
11352 # define LT_DLLAZY_OR_NOW 0
11359 /* When -fvisbility=hidden is used, assume the code has been annotated
11360 correspondingly for the symbols needed. */
11361 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11362 int fnord () __attribute__((visibility("default")));
11365 int fnord () { return 42; }
11368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11369 int status = $lt_dlunknown;
11373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11376 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11377 else puts (dlerror ());
11379 /* dlclose (self); */
11387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11388 (eval $ac_link) 2>&5
11390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11391 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11392 (./conftest; exit; ) >&5 2>/dev/null
11394 case x$lt_status in
11395 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11396 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11397 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11400 # compilation failed
11401 lt_cv_dlopen_self=no
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11409 $as_echo "$lt_cv_dlopen_self" >&6; }
11411 if test "x$lt_cv_dlopen_self" = xyes; then
11412 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11414 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11415 if ${lt_cv_dlopen_self_static+:} false; then :
11416 $as_echo_n "(cached) " >&6
11418 if test "$cross_compiling" = yes; then :
11419 lt_cv_dlopen_self_static=cross
11421 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11422 lt_status=$lt_dlunknown
11423 cat > conftest.$ac_ext <<_LT_EOF
11424 #line $LINENO "configure"
11425 #include "confdefs.h"
11434 # define LT_DLGLOBAL RTLD_GLOBAL
11437 # define LT_DLGLOBAL DL_GLOBAL
11439 # define LT_DLGLOBAL 0
11443 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11444 find out it does not work in some platform. */
11445 #ifndef LT_DLLAZY_OR_NOW
11447 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11450 # define LT_DLLAZY_OR_NOW DL_LAZY
11453 # define LT_DLLAZY_OR_NOW RTLD_NOW
11456 # define LT_DLLAZY_OR_NOW DL_NOW
11458 # define LT_DLLAZY_OR_NOW 0
11465 /* When -fvisbility=hidden is used, assume the code has been annotated
11466 correspondingly for the symbols needed. */
11467 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11468 int fnord () __attribute__((visibility("default")));
11471 int fnord () { return 42; }
11474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11475 int status = $lt_dlunknown;
11479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11483 else puts (dlerror ());
11485 /* dlclose (self); */
11493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11494 (eval $ac_link) 2>&5
11496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11497 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11498 (./conftest; exit; ) >&5 2>/dev/null
11500 case x$lt_status in
11501 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11502 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11503 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11506 # compilation failed
11507 lt_cv_dlopen_self_static=no
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11515 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11518 CPPFLAGS="$save_CPPFLAGS"
11519 LDFLAGS="$save_LDFLAGS"
11524 case $lt_cv_dlopen_self in
11525 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11526 *) enable_dlopen_self=unknown ;;
11529 case $lt_cv_dlopen_self_static in
11530 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11531 *) enable_dlopen_self_static=unknown ;;
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11554 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11555 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11556 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11557 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11559 $as_echo "yes" >&6; }
11561 # FIXME - insert some real tests, host_os isn't really good enough
11564 if test -n "$STRIP" ; then
11565 striplib="$STRIP -x"
11566 old_striplib="$STRIP -S"
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11568 $as_echo "yes" >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11571 $as_echo "no" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11576 $as_echo "no" >&6; }
11592 # Report which library types will actually be built
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11594 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11596 $as_echo "$can_build_shared" >&6; }
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11599 $as_echo_n "checking whether to build shared libraries... " >&6; }
11600 test "$can_build_shared" = "no" && enable_shared=no
11602 # On AIX, shared libraries and static libraries use the same namespace, and
11603 # are all built from PIC.
11606 test "$enable_shared" = yes && enable_static=no
11607 if test -n "$RANLIB"; then
11608 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11609 postinstall_cmds='$RANLIB $lib'
11614 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11615 test "$enable_shared" = yes && enable_static=no
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11620 $as_echo "$enable_shared" >&6; }
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11623 $as_echo_n "checking whether to build static libraries... " >&6; }
11624 # Make sure either enable_shared or enable_static is yes.
11625 test "$enable_shared" = yes || enable_static=yes
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11627 $as_echo "$enable_static" >&6; }
11634 ac_cpp='$CPP $CPPFLAGS'
11635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11655 ac_config_commands="$ac_config_commands libtool"
11660 # Only expand once:
11664 ac_cpp='$CPP $CPPFLAGS'
11665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11668 if test -n "$ac_tool_prefix"; then
11669 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11670 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if ${ac_cv_prog_CC+:} false; then :
11674 $as_echo_n "(cached) " >&6
11676 if test -n "$CC"; then
11677 ac_cv_prog_CC="$CC" # Let the user override the test.
11679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11680 for as_dir in $PATH
11683 test -z "$as_dir" && as_dir=.
11684 for ac_exec_ext in '' $ac_executable_extensions; do
11685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11686 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11697 if test -n "$CC"; then
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11699 $as_echo "$CC" >&6; }
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11702 $as_echo "no" >&6; }
11707 if test -z "$ac_cv_prog_CC"; then
11709 # Extract the first word of "gcc", so it can be a program name with args.
11710 set dummy gcc; ac_word=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11712 $as_echo_n "checking for $ac_word... " >&6; }
11713 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11714 $as_echo_n "(cached) " >&6
11716 if test -n "$ac_ct_CC"; then
11717 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11726 ac_cv_prog_ac_ct_CC="gcc"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11736 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11737 if test -n "$ac_ct_CC"; then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11739 $as_echo "$ac_ct_CC" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11742 $as_echo "no" >&6; }
11745 if test "x$ac_ct_CC" = x; then
11748 case $cross_compiling:$ac_tool_warned in
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11752 ac_tool_warned=yes ;;
11757 CC="$ac_cv_prog_CC"
11760 if test -z "$CC"; then
11761 if test -n "$ac_tool_prefix"; then
11762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11763 set dummy ${ac_tool_prefix}cc; ac_word=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11765 $as_echo_n "checking for $ac_word... " >&6; }
11766 if ${ac_cv_prog_CC+:} false; then :
11767 $as_echo_n "(cached) " >&6
11769 if test -n "$CC"; then
11770 ac_cv_prog_CC="$CC" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11779 ac_cv_prog_CC="${ac_tool_prefix}cc"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 if test -n "$CC"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11792 $as_echo "$CC" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11801 if test -z "$CC"; then
11802 # Extract the first word of "cc", so it can be a program name with args.
11803 set dummy cc; ac_word=$2
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11805 $as_echo_n "checking for $ac_word... " >&6; }
11806 if ${ac_cv_prog_CC+:} false; then :
11807 $as_echo_n "(cached) " >&6
11809 if test -n "$CC"; then
11810 ac_cv_prog_CC="$CC" # Let the user override the test.
11812 ac_prog_rejected=no
11813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11814 for as_dir in $PATH
11817 test -z "$as_dir" && as_dir=.
11818 for ac_exec_ext in '' $ac_executable_extensions; do
11819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11820 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11821 ac_prog_rejected=yes
11825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11832 if test $ac_prog_rejected = yes; then
11833 # We found a bogon in the path, so make sure we never use it.
11834 set dummy $ac_cv_prog_CC
11836 if test $# != 0; then
11837 # We chose a different compiler from the bogus one.
11838 # However, it has the same basename, so the bogon will be chosen
11839 # first if we set CC to just the basename; use the full file name.
11841 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11847 if test -n "$CC"; then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11849 $as_echo "$CC" >&6; }
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11857 if test -z "$CC"; then
11858 if test -n "$ac_tool_prefix"; then
11859 for ac_prog in cl.exe
11861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11864 $as_echo_n "checking for $ac_word... " >&6; }
11865 if ${ac_cv_prog_CC+:} false; then :
11866 $as_echo_n "(cached) " >&6
11868 if test -n "$CC"; then
11869 ac_cv_prog_CC="$CC" # Let the user override the test.
11871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11872 for as_dir in $PATH
11875 test -z "$as_dir" && as_dir=.
11876 for ac_exec_ext in '' $ac_executable_extensions; do
11877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 if test -n "$CC"; then
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11891 $as_echo "$CC" >&6; }
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11894 $as_echo "no" >&6; }
11898 test -n "$CC" && break
11901 if test -z "$CC"; then
11903 for ac_prog in cl.exe
11905 # Extract the first word of "$ac_prog", so it can be a program name with args.
11906 set dummy $ac_prog; ac_word=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11910 $as_echo_n "(cached) " >&6
11912 if test -n "$ac_ct_CC"; then
11913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11916 for as_dir in $PATH
11919 test -z "$as_dir" && as_dir=.
11920 for ac_exec_ext in '' $ac_executable_extensions; do
11921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11922 ac_cv_prog_ac_ct_CC="$ac_prog"
11923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11932 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11933 if test -n "$ac_ct_CC"; then
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11935 $as_echo "$ac_ct_CC" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11938 $as_echo "no" >&6; }
11942 test -n "$ac_ct_CC" && break
11945 if test "x$ac_ct_CC" = x; then
11948 case $cross_compiling:$ac_tool_warned in
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11952 ac_tool_warned=yes ;;
11961 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11963 as_fn_error $? "no acceptable C compiler found in \$PATH
11964 See \`config.log' for more details" "$LINENO" 5; }
11966 # Provide some information about the compiler.
11967 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11970 for ac_option in --version -v -V -qversion; do
11971 { { ac_try="$ac_compiler $ac_option >&5"
11972 case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11977 $as_echo "$ac_try_echo"; } >&5
11978 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11980 if test -s conftest.err; then
11982 ... rest of stderr output deleted ...
11983 10q' conftest.err >conftest.er1
11984 cat conftest.er1 >&5
11986 rm -f conftest.er1 conftest.err
11987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11988 test $ac_status = 0; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11992 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11993 if ${ac_cv_c_compiler_gnu+:} false; then :
11994 $as_echo_n "(cached) " >&6
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
12010 if ac_fn_c_try_compile "$LINENO"; then :
12011 ac_compiler_gnu=yes
12015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12016 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12020 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12021 if test $ac_compiler_gnu = yes; then
12026 ac_test_CFLAGS=${CFLAGS+set}
12027 ac_save_CFLAGS=$CFLAGS
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12029 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12030 if ${ac_cv_prog_cc_g+:} false; then :
12031 $as_echo_n "(cached) " >&6
12033 ac_save_c_werror_flag=$ac_c_werror_flag
12034 ac_c_werror_flag=yes
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12048 if ac_fn_c_try_compile "$LINENO"; then :
12049 ac_cv_prog_cc_g=yes
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053 /* end confdefs.h. */
12063 if ac_fn_c_try_compile "$LINENO"; then :
12066 ac_c_werror_flag=$ac_save_c_werror_flag
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12079 if ac_fn_c_try_compile "$LINENO"; then :
12080 ac_cv_prog_cc_g=yes
12082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12087 ac_c_werror_flag=$ac_save_c_werror_flag
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12090 $as_echo "$ac_cv_prog_cc_g" >&6; }
12091 if test "$ac_test_CFLAGS" = set; then
12092 CFLAGS=$ac_save_CFLAGS
12093 elif test $ac_cv_prog_cc_g = yes; then
12094 if test "$GCC" = yes; then
12100 if test "$GCC" = yes; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12107 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12108 if ${ac_cv_prog_cc_c89+:} false; then :
12109 $as_echo_n "(cached) " >&6
12111 ac_cv_prog_cc_c89=no
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12115 #include <stdarg.h>
12118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12119 struct buf { int x; };
12120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12121 static char *e (p, i)
12127 static char *f (char * (*g) (char **, int), char **p, ...)
12132 s = g (p, va_arg (v,int));
12137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12138 function prototypes and stuff, but not '\xHH' hex character constants.
12139 These don't provoke an error unfortunately, instead are silently treated
12140 as 'x'. The following induces an error, until -std is added to get
12141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12142 array size at least. It's necessary to write '\x00'==0 to get something
12143 that's true only with -std. */
12144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12146 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12147 inside strings and character constants. */
12149 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12151 int test (int i, double x);
12152 struct s1 {int (*f) (int a);};
12153 struct s2 {int (*f) (double a);};
12154 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12160 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12165 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12166 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12168 CC="$ac_save_CC $ac_arg"
12169 if ac_fn_c_try_compile "$LINENO"; then :
12170 ac_cv_prog_cc_c89=$ac_arg
12172 rm -f core conftest.err conftest.$ac_objext
12173 test "x$ac_cv_prog_cc_c89" != "xno" && break
12175 rm -f conftest.$ac_ext
12180 case "x$ac_cv_prog_cc_c89" in
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12183 $as_echo "none needed" >&6; } ;;
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12186 $as_echo "unsupported" >&6; } ;;
12188 CC="$CC $ac_cv_prog_cc_c89"
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12190 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12192 if test "x$ac_cv_prog_cc_c89" != xno; then :
12197 ac_cpp='$CPP $CPPFLAGS'
12198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12203 ac_cpp='$CPP $CPPFLAGS'
12204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12208 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12209 if ${am_cv_prog_cc_c_o+:} false; then :
12210 $as_echo_n "(cached) " >&6
12212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12223 # Make sure it works both with $CC and with simple cc.
12224 # Following AC_PROG_CC_C_O, we do the test twice because some
12225 # compilers refuse to overwrite an existing .o file with -o,
12226 # though they will create one.
12227 am_cv_prog_cc_c_o=yes
12228 for am_i in 1 2; do
12229 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12230 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } \
12234 && test -f conftest2.$ac_objext; then
12237 am_cv_prog_cc_c_o=no
12241 rm -f core conftest*
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12245 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12246 if test "$am_cv_prog_cc_c_o" != yes; then
12247 # Losing compiler, so override with the script.
12248 # FIXME: It is wrong to rewrite CC.
12249 # But if we don't then we get into trouble of one sort or another.
12250 # A longer-term fix would be to have automake use am__CC in this case,
12251 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12252 CC="$am_aux_dir/compile $CC"
12255 ac_cpp='$CPP $CPPFLAGS'
12256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12261 depcc="$CC" am_compiler_list=
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12264 $as_echo_n "checking dependency style of $depcc... " >&6; }
12265 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12266 $as_echo_n "(cached) " >&6
12268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12269 # We make a subdir and do the tests there. Otherwise we can end up
12270 # making bogus files that we don't know about and never remove. For
12271 # instance it was reported that on HP-UX the gcc test will end up
12272 # making a dummy file named 'D' -- because '-MD' means "put the output
12274 rm -rf conftest.dir
12276 # Copy depcomp to subdir because otherwise we won't find it if we're
12277 # using a relative directory.
12278 cp "$am_depcomp" conftest.dir
12280 # We will build objects and dependencies in a subdirectory because
12281 # it helps to detect inapplicable dependency modes. For instance
12282 # both Tru64's cc and ICC support -MD to output dependencies as a
12283 # side effect of compilation, but ICC will put the dependencies in
12284 # the current directory while Tru64 will put them in the object
12288 am_cv_CC_dependencies_compiler_type=none
12289 if test "$am_compiler_list" = ""; then
12290 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12292 am__universal=false
12293 case " $depcc " in #(
12294 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12297 for depmode in $am_compiler_list; do
12298 # Setup a source with many dependencies, because some compilers
12299 # like to wrap large dependency lists on column 80 (with \), and
12300 # we should not choose a depcomp mode which is confused by this.
12302 # We need to recreate these files for each test, as the compiler may
12303 # overwrite some of them when testing with obscure command lines.
12304 # This happens at least with the AIX C compiler.
12306 for i in 1 2 3 4 5 6; do
12307 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12308 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12309 # Solaris 10 /bin/sh.
12310 echo '/* dummy */' > sub/conftst$i.h
12312 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12314 # We check with '-c' and '-o' for the sake of the "dashmstdout"
12315 # mode. It turns out that the SunPro C++ compiler does not properly
12316 # handle '-M -o', and we need to detect this. Also, some Intel
12317 # versions had trouble with output in subdirs.
12318 am__obj=sub/conftest.${OBJEXT-o}
12319 am__minus_obj="-o $am__obj"
12322 # This depmode causes a compiler race in universal mode.
12323 test "$am__universal" = false || continue
12326 # After this tag, mechanisms are not by side-effect, so they'll
12327 # only be used when explicitly requested.
12328 if test "x$enable_dependency_tracking" = xyes; then
12334 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12335 # This compiler won't grok '-c -o', but also, the minuso test has
12336 # not run yet. These depmodes are late enough in the game, and
12337 # so weak that their functioning should not be impacted.
12338 am__obj=conftest.${OBJEXT-o}
12343 if depmode=$depmode \
12344 source=sub/conftest.c object=$am__obj \
12345 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12346 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12347 >/dev/null 2>conftest.err &&
12348 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12349 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12350 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12351 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12352 # icc doesn't choke on unknown options, it will just issue warnings
12353 # or remarks (even with -Werror). So we grep stderr for any message
12354 # that says an option was ignored or not supported.
12355 # When given -MP, icc 7.0 and 7.1 complain thusly:
12356 # icc: Command line warning: ignoring option '-M'; no argument required
12357 # The diagnosis changed in icc 8.0:
12358 # icc: Command line remark: option '-MP' not supported
12359 if (grep 'ignoring option' conftest.err ||
12360 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12361 am_cv_CC_dependencies_compiler_type=$depmode
12368 rm -rf conftest.dir
12370 am_cv_CC_dependencies_compiler_type=none
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12375 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12376 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12379 test "x$enable_dependency_tracking" != xno \
12380 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12381 am__fastdepCC_TRUE=
12382 am__fastdepCC_FALSE='#'
12384 am__fastdepCC_TRUE='#'
12385 am__fastdepCC_FALSE=
12390 ac_cpp='$CPP $CPPFLAGS'
12391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
12395 $as_echo_n "checking how to run the C preprocessor... " >&6; }
12396 # On Suns, sometimes $CPP names a directory.
12397 if test -n "$CPP" && test -d "$CPP"; then
12400 if test -z "$CPP"; then
12401 if ${ac_cv_prog_CPP+:} false; then :
12402 $as_echo_n "(cached) " >&6
12404 # Double quotes because CPP needs to be expanded
12405 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12407 ac_preproc_ok=false
12408 for ac_c_preproc_warn_flag in '' yes
12410 # Use a header file that comes with gcc, so configuring glibc
12411 # with a fresh cross-compiler works.
12412 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12413 # <limits.h> exists even on freestanding compilers.
12414 # On the NeXT, cc -E runs the code through the compiler's parser,
12415 # not just through cpp. "Syntax error" is here to catch this case.
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 # include <limits.h>
12421 # include <assert.h>
12425 if ac_fn_c_try_cpp "$LINENO"; then :
12428 # Broken: fails on valid input.
12431 rm -f conftest.err conftest.i conftest.$ac_ext
12433 # OK, works on sane cases. Now check whether nonexistent headers
12434 # can be detected and how.
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 #include <ac_nonexistent.h>
12439 if ac_fn_c_try_cpp "$LINENO"; then :
12440 # Broken: success on invalid input.
12443 # Passes both tests.
12447 rm -f conftest.err conftest.i conftest.$ac_ext
12450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12451 rm -f conftest.i conftest.err conftest.$ac_ext
12452 if $ac_preproc_ok; then :
12457 ac_cv_prog_CPP=$CPP
12460 CPP=$ac_cv_prog_CPP
12462 ac_cv_prog_CPP=$CPP
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
12465 $as_echo "$CPP" >&6; }
12466 ac_preproc_ok=false
12467 for ac_c_preproc_warn_flag in '' yes
12469 # Use a header file that comes with gcc, so configuring glibc
12470 # with a fresh cross-compiler works.
12471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12472 # <limits.h> exists even on freestanding compilers.
12473 # On the NeXT, cc -E runs the code through the compiler's parser,
12474 # not just through cpp. "Syntax error" is here to catch this case.
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 # include <limits.h>
12480 # include <assert.h>
12484 if ac_fn_c_try_cpp "$LINENO"; then :
12487 # Broken: fails on valid input.
12490 rm -f conftest.err conftest.i conftest.$ac_ext
12492 # OK, works on sane cases. Now check whether nonexistent headers
12493 # can be detected and how.
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12496 #include <ac_nonexistent.h>
12498 if ac_fn_c_try_cpp "$LINENO"; then :
12499 # Broken: success on invalid input.
12502 # Passes both tests.
12506 rm -f conftest.err conftest.i conftest.$ac_ext
12509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12510 rm -f conftest.i conftest.err conftest.$ac_ext
12511 if $ac_preproc_ok; then :
12514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12516 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
12517 See \`config.log' for more details" "$LINENO" 5; }
12521 ac_cpp='$CPP $CPPFLAGS'
12522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12528 $as_echo_n "checking whether ln -s works... " >&6; }
12530 if test "$LN_S" = "ln -s"; then
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12532 $as_echo "yes" >&6; }
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12535 $as_echo "no, using $LN_S" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12539 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12541 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12542 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12543 $as_echo_n "(cached) " >&6
12545 cat >conftest.make <<\_ACEOF
12548 @echo '@@@%%%=$(MAKE)=@@@%%%'
12550 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12551 case `${MAKE-make} -f conftest.make 2>/dev/null` in
12552 *@@@%%%=?*=@@@%%%*)
12553 eval ac_cv_prog_make_${ac_make}_set=yes;;
12555 eval ac_cv_prog_make_${ac_make}_set=no;;
12557 rm -f conftest.make
12559 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12561 $as_echo "yes" >&6; }
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12565 $as_echo "no" >&6; }
12566 SET_MAKE="MAKE=${MAKE-make}"
12571 # Extract the first word of "xmlto", so it can be a program name with args.
12572 set dummy xmlto; ac_word=$2
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12574 $as_echo_n "checking for $ac_word... " >&6; }
12575 if ${ac_cv_prog_have_xmlto+:} false; then :
12576 $as_echo_n "(cached) " >&6
12578 if test -n "$have_xmlto"; then
12579 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
12581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12582 for as_dir in $PATH
12585 test -z "$as_dir" && as_dir=.
12586 for ac_exec_ext in '' $ac_executable_extensions; do
12587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12588 ac_cv_prog_have_xmlto=""yes""
12589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12596 test -z "$ac_cv_prog_have_xmlto" && ac_cv_prog_have_xmlto=""no""
12599 have_xmlto=$ac_cv_prog_have_xmlto
12600 if test -n "$have_xmlto"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmlto" >&5
12602 $as_echo "$have_xmlto" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12609 if test "x${have_xmlto}" = "xyes"; then
12611 BUILD_DOC_FALSE='#'
12621 if test "x$GCC" = "xyes" ; then
12622 CFLAGS="$CFLAGS -Wall"
12625 for ac_header in limits.h
12627 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
12628 if test "x$ac_cv_header_limits_h" = xyes; then :
12629 cat >>confdefs.h <<_ACEOF
12630 #define HAVE_LIMITS_H 1
12634 as_fn_error $? "giflib needs limits.h to compile" "$LINENO" 5
12639 for ac_header in fcntl.h
12641 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12642 if test "x$ac_cv_header_fcntl_h" = xyes; then :
12643 cat >>confdefs.h <<_ACEOF
12644 #define HAVE_FCNTL_H 1
12648 as_fn_error $? "giflib needs fcntl.h to compile" "$LINENO" 5
12653 for ac_header in stdint.h
12655 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12656 if test "x$ac_cv_header_stdint_h" = xyes; then :
12657 cat >>confdefs.h <<_ACEOF
12658 #define HAVE_STDINT_H 1
12662 as_fn_error $? "giflib needs stdint.h to compile" "$LINENO" 5
12667 for ac_header in stdarg.h
12669 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12670 if test "x$ac_cv_header_stdarg_h" = xyes; then :
12671 cat >>confdefs.h <<_ACEOF
12672 #define HAVE_STDARG_H 1
12676 as_fn_error $? "giflib needs stdarg.h to compile" "$LINENO" 5
12682 ac_config_files="$ac_config_files util/Makefile lib/Makefile Makefile doc/Makefile pic/Makefile"
12684 cat >confcache <<\_ACEOF
12685 # This file is a shell script that caches the results of configure
12686 # tests run on this system so they can be shared between configure
12687 # scripts and configure runs, see configure's option --config-cache.
12688 # It is not useful on other systems. If it contains results you don't
12689 # want to keep, you may remove or edit it.
12691 # config.status only pays attention to the cache file if you give it
12692 # the --recheck option to rerun configure.
12694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12696 # following values.
12700 # The following way of writing the cache mishandles newlines in values,
12701 # but we know of no workaround that is simple, portable, and efficient.
12702 # So, we kill variables containing newlines.
12703 # Ultrix sh set writes to stderr and can't be redirected directly,
12704 # and sets the high bit in the cache file unless we assign to the vars.
12706 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12707 eval ac_val=\$$ac_var
12711 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12712 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12715 _ | IFS | as_nl) ;; #(
12716 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12717 *) { eval $ac_var=; unset $ac_var;} ;;
12723 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12724 *${as_nl}ac_space=\ *)
12725 # `set' does not quote correctly, so add quotes: double-quote
12726 # substitution turns \\\\ into \\, and sed turns \\ into \.
12729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12732 # `set' quotes correctly as required by POSIX, so do not add quotes.
12733 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12744 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12746 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12747 if test -w "$cache_file"; then
12748 if test "x$cache_file" != "x/dev/null"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12750 $as_echo "$as_me: updating cache $cache_file" >&6;}
12751 if test ! -f "$cache_file" || test -h "$cache_file"; then
12752 cat confcache >"$cache_file"
12754 case $cache_file in #(
12756 mv -f confcache "$cache_file"$$ &&
12757 mv -f "$cache_file"$$ "$cache_file" ;; #(
12759 mv -f confcache "$cache_file" ;;
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12765 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12771 # Let make expand exec_prefix.
12772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12774 DEFS=-DHAVE_CONFIG_H
12778 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12779 # 1. Remove the extension, and $U if already installed.
12780 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12781 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12782 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12783 # will be set to the directory where LIBOBJS objects are built.
12784 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12785 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12787 LIBOBJS=$ac_libobjs
12789 LTLIBOBJS=$ac_ltlibobjs
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12793 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12794 if test -n "$am_sleep_pid"; then
12795 # Hide warnings about reused PIDs.
12796 wait $am_sleep_pid 2>/dev/null
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12799 $as_echo "done" >&6; }
12800 if test -n "$EXEEXT"; then
12802 am__EXEEXT_FALSE='#'
12804 am__EXEEXT_TRUE='#'
12808 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12809 as_fn_error $? "conditional \"AMDEP\" was never defined.
12810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12812 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12813 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12817 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12820 if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
12821 as_fn_error $? "conditional \"BUILD_DOC\" was never defined.
12822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12825 : "${CONFIG_STATUS=./config.status}"
12827 ac_clean_files_save=$ac_clean_files
12828 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12830 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12832 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12834 # Generated by $as_me.
12835 # Run this file to recreate the current configuration.
12836 # Compiler output produced by configure, useful for debugging
12837 # configure, is in config.log if it exists.
12840 ac_cs_recheck=false
12843 SHELL=\${CONFIG_SHELL-$SHELL}
12846 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12847 ## -------------------- ##
12848 ## M4sh Initialization. ##
12849 ## -------------------- ##
12851 # Be more Bourne compatible
12852 DUALCASE=1; export DUALCASE # for MKS sh
12853 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12856 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12857 # is contrary to our usage. Disable this feature.
12858 alias -g '${1+"$@"}'='"$@"'
12859 setopt NO_GLOB_SUBST
12861 case `(set -o) 2>/dev/null` in #(
12873 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12874 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12876 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12877 # Prefer a ksh shell builtin over an external printf program on Solaris,
12878 # but without wasting forks for bash or zsh.
12879 if test -z "$BASH_VERSION$ZSH_VERSION" \
12880 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12881 as_echo='print -r --'
12882 as_echo_n='print -rn --'
12883 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12884 as_echo='printf %s\n'
12885 as_echo_n='printf %s'
12887 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12888 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12889 as_echo_n='/usr/ucb/echo -n'
12891 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12892 as_echo_n_body='eval
12896 expr "X$arg" : "X\\(.*\\)$as_nl";
12897 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12899 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12901 export as_echo_n_body
12902 as_echo_n='sh -c $as_echo_n_body as_echo'
12904 export as_echo_body
12905 as_echo='sh -c $as_echo_body as_echo'
12908 # The user is always right.
12909 if test "${PATH_SEPARATOR+set}" != set; then
12911 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12912 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12919 # We need space, tab and new line, in precisely that order. Quoting is
12920 # there to prevent editors from complaining about space-tab.
12921 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12922 # splitting by setting IFS to empty value.)
12925 # Find who we are. Look in the path if we contain no directory separator.
12928 *[\\/]* ) as_myself=$0 ;;
12929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12930 for as_dir in $PATH
12933 test -z "$as_dir" && as_dir=.
12934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12940 # We did not find ourselves, most probably we were run as `sh COMMAND'
12941 # in which case we are not to be found in the path.
12942 if test "x$as_myself" = x; then
12945 if test ! -f "$as_myself"; then
12946 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12950 # Unset variables that we do not need and which cause bugs (e.g. in
12951 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12952 # suppresses any "Segmentation fault" message there. '((' could
12953 # trigger a bug in pdksh 5.2.14.
12954 for as_var in BASH_ENV ENV MAIL MAILPATH
12955 do eval test x\${$as_var+set} = xset \
12956 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12969 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12972 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12973 # ----------------------------------------
12974 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12975 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12976 # script with STATUS, using 1 if that was 0.
12979 as_status=$1; test $as_status -eq 0 && as_status=1
12981 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12982 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12984 $as_echo "$as_me: error: $2" >&2
12985 as_fn_exit $as_status
12989 # as_fn_set_status STATUS
12990 # -----------------------
12991 # Set $? to STATUS, without forking.
12992 as_fn_set_status ()
12995 } # as_fn_set_status
12997 # as_fn_exit STATUS
12998 # -----------------
12999 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13003 as_fn_set_status $1
13009 # Portably unset VAR.
13012 { eval $1=; unset $1;}
13014 as_unset=as_fn_unset
13015 # as_fn_append VAR VALUE
13016 # ----------------------
13017 # Append the text in VALUE to the end of the definition contained in VAR. Take
13018 # advantage of any shell optimizations that allow amortized linear growth over
13019 # repeated appends, instead of the typical quadratic growth present in naive
13021 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13022 eval 'as_fn_append ()
13033 # as_fn_arith ARG...
13034 # ------------------
13035 # Perform arithmetic evaluation on the ARGs, and store the result in the
13036 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13037 # must be portable across $(()) and expr.
13038 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13039 eval 'as_fn_arith ()
13046 as_val=`expr "$@" || test $? -eq 1`
13051 if expr a : '\(a\)' >/dev/null 2>&1 &&
13052 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13058 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13059 as_basename=basename
13064 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13070 as_me=`$as_basename -- "$0" ||
13071 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13072 X"$0" : 'X\(//\)$' \| \
13073 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13075 sed '/^.*\/\([^/][^/]*\)\/*$/{
13089 # Avoid depending upon Character Ranges.
13090 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13091 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13092 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13093 as_cr_digits='0123456789'
13094 as_cr_alnum=$as_cr_Letters$as_cr_digits
13096 ECHO_C= ECHO_N= ECHO_T=
13097 case `echo -n x` in #(((((
13099 case `echo 'xy\c'` in
13100 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13102 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13109 rm -f conf$$ conf$$.exe conf$$.file
13110 if test -d conf$$.dir; then
13111 rm -f conf$$.dir/conf$$.file
13114 mkdir conf$$.dir 2>/dev/null
13116 if (echo >conf$$.file) 2>/dev/null; then
13117 if ln -s conf$$.file conf$$ 2>/dev/null; then
13119 # ... but there are two gotchas:
13120 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13121 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13122 # In both cases, we have to default to `cp -pR'.
13123 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13125 elif ln conf$$.file conf$$ 2>/dev/null; then
13133 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13134 rmdir conf$$.dir 2>/dev/null
13139 # Create "$as_dir" as a directory, including parents if necessary.
13144 -*) as_dir=./$as_dir;;
13146 test -d "$as_dir" || eval $as_mkdir_p || {
13150 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13151 *) as_qdir=$as_dir;;
13153 as_dirs="'$as_qdir' $as_dirs"
13154 as_dir=`$as_dirname -- "$as_dir" ||
13155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13156 X"$as_dir" : 'X\(//\)[^/]' \| \
13157 X"$as_dir" : 'X\(//\)$' \| \
13158 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13159 $as_echo X"$as_dir" |
13160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13164 /^X\(\/\/\)[^/].*/{
13177 test -d "$as_dir" && break
13179 test -z "$as_dirs" || eval "mkdir $as_dirs"
13180 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13184 if mkdir -p . 2>/dev/null; then
13185 as_mkdir_p='mkdir -p "$as_dir"'
13187 test -d ./-p && rmdir ./-p
13192 # as_fn_executable_p FILE
13193 # -----------------------
13194 # Test if FILE is an executable regular file.
13195 as_fn_executable_p ()
13197 test -f "$1" && test -x "$1"
13198 } # as_fn_executable_p
13199 as_test_x='test -x'
13200 as_executable_p=as_fn_executable_p
13202 # Sed expression to map a string onto a valid CPP name.
13203 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13205 # Sed expression to map a string onto a valid variable name.
13206 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13210 ## ----------------------------------- ##
13211 ## Main body of $CONFIG_STATUS script. ##
13212 ## ----------------------------------- ##
13214 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13217 # Save the log message, to keep $0 and so on meaningful, and to
13218 # report actual input values of CONFIG_FILES etc. instead of their
13219 # values after options handling.
13221 This file was extended by giflib $as_me 5.1.2, which was
13222 generated by GNU Autoconf 2.69. Invocation command line was
13224 CONFIG_FILES = $CONFIG_FILES
13225 CONFIG_HEADERS = $CONFIG_HEADERS
13226 CONFIG_LINKS = $CONFIG_LINKS
13227 CONFIG_COMMANDS = $CONFIG_COMMANDS
13230 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13235 case $ac_config_files in *"
13236 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13239 case $ac_config_headers in *"
13240 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13245 # Files that config.status was made for.
13246 config_files="$ac_config_files"
13247 config_headers="$ac_config_headers"
13248 config_commands="$ac_config_commands"
13252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13254 \`$as_me' instantiates files and other configuration actions
13255 from templates according to the current configuration. Unless the files
13256 and actions are specified as TAGs, all are instantiated by default.
13258 Usage: $0 [OPTION]... [TAG]...
13260 -h, --help print this help, then exit
13261 -V, --version print version number and configuration settings, then exit
13262 --config print configuration, then exit
13263 -q, --quiet, --silent
13264 do not print progress messages
13265 -d, --debug don't remove temporary files
13266 --recheck update $as_me by reconfiguring in the same conditions
13267 --file=FILE[:TEMPLATE]
13268 instantiate the configuration file FILE
13269 --header=FILE[:TEMPLATE]
13270 instantiate the configuration header FILE
13272 Configuration files:
13275 Configuration headers:
13278 Configuration commands:
13281 Report bugs to <esr@thyrsus.com>."
13284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13285 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13287 giflib config.status 5.1.2
13288 configured by $0, generated by GNU Autoconf 2.69,
13289 with options \\"\$ac_cs_config\\"
13291 Copyright (C) 2012 Free Software Foundation, Inc.
13292 This config.status script is free software; the Free Software Foundation
13293 gives unlimited permission to copy, distribute and modify it."
13300 test -n "\$AWK" || AWK=awk
13303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13304 # The default lists apply if the user does not specify any file.
13310 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13311 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13315 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13327 # Handling of the options.
13328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13331 $as_echo "$ac_cs_version"; exit ;;
13332 --config | --confi | --conf | --con | --co | --c )
13333 $as_echo "$ac_cs_config"; exit ;;
13334 --debug | --debu | --deb | --de | --d | -d )
13336 --file | --fil | --fi | --f )
13339 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13340 '') as_fn_error $? "missing file argument" ;;
13342 as_fn_append CONFIG_FILES " '$ac_optarg'"
13343 ac_need_defaults=false;;
13344 --header | --heade | --head | --hea )
13347 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13349 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13350 ac_need_defaults=false;;
13352 # Conflict between --help and --header
13353 as_fn_error $? "ambiguous option: \`$1'
13354 Try \`$0 --help' for more information.";;
13355 --help | --hel | -h )
13356 $as_echo "$ac_cs_usage"; exit ;;
13357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13358 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13361 # This is an error.
13362 -*) as_fn_error $? "unrecognized option: \`$1'
13363 Try \`$0 --help' for more information." ;;
13365 *) as_fn_append ac_config_targets " $1"
13366 ac_need_defaults=false ;;
13372 ac_configure_extra_args=
13374 if $ac_cs_silent; then
13376 ac_configure_extra_args="$ac_configure_extra_args --silent"
13380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13381 if \$ac_cs_recheck; then
13382 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13384 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13385 CONFIG_SHELL='$SHELL'
13386 export CONFIG_SHELL
13391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13395 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13396 ## Running $as_me. ##
13402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13406 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13409 # The HP-UX ksh and POSIX shell print the target directory to stdout
13410 # if CDPATH is set.
13411 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13413 sed_quote_subst='$sed_quote_subst'
13414 double_quote_subst='$double_quote_subst'
13415 delay_variable_subst='$delay_variable_subst'
13416 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13417 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13418 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13419 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13420 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13421 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13422 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13423 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13424 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13425 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13426 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13427 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13428 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13429 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13430 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13431 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13432 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13433 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13434 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13435 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13436 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13437 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13438 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13439 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13440 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13441 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13442 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13443 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13444 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13445 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13446 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13447 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13448 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13449 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13450 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13451 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13452 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13453 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13454 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13455 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13456 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13457 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13458 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13459 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13460 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13461 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13462 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13463 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13464 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13465 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13466 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13467 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13468 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13469 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13470 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13471 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13472 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"`'
13473 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13474 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13475 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13476 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13477 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13478 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13479 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13480 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13481 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13482 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13483 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13484 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13485 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13486 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13487 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13488 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13489 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13490 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13491 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13492 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13493 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13494 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13495 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13496 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13497 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13498 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13499 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13500 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13501 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13502 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13503 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13504 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13505 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13506 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13507 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13508 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13509 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13510 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13511 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13512 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13513 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13514 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13515 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13516 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13517 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13518 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13519 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13520 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13521 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13522 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13523 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13524 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13525 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13526 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13527 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13528 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13529 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13530 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13531 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13532 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13533 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13534 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13535 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13536 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13537 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13538 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13539 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13540 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13541 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13542 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13543 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13544 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13545 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13548 LTCFLAGS='$LTCFLAGS'
13549 compiler='$compiler_DEFAULT'
13551 # A function that is used when there is no print builtin or printf.
13552 func_fallback_echo ()
13554 eval 'cat <<_LTECHO_EOF
13559 # Quote evaled strings.
13574 deplibs_check_method \
13579 sharedlib_from_linklib_cmd \
13582 archiver_list_spec \
13588 lt_cv_sys_global_symbol_pipe \
13589 lt_cv_sys_global_symbol_to_cdecl \
13590 lt_cv_sys_global_symbol_to_c_name_address \
13591 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13592 nm_file_list_spec \
13593 lt_prog_compiler_no_builtin_flag \
13594 lt_prog_compiler_pic \
13595 lt_prog_compiler_wl \
13596 lt_prog_compiler_static \
13597 lt_cv_prog_compiler_c_o \
13606 export_dynamic_flag_spec \
13607 whole_archive_flag_spec \
13608 compiler_needs_object \
13610 allow_undefined_flag \
13611 no_undefined_flag \
13612 hardcode_libdir_flag_spec \
13613 hardcode_libdir_separator \
13617 variables_saved_for_relink \
13619 library_names_spec \
13621 install_override_mode \
13625 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13626 *[\\\\\\\`\\"\\\$]*)
13627 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13630 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13635 # Double-quote double-evaled strings.
13636 for var in reload_cmds \
13637 old_postinstall_cmds \
13638 old_postuninstall_cmds \
13640 extract_expsyms_cmds \
13641 old_archive_from_new_cmds \
13642 old_archive_from_expsyms_cmds \
13644 archive_expsym_cmds \
13646 module_expsym_cmds \
13647 export_symbols_cmds \
13651 postuninstall_cmds \
13653 sys_lib_search_path_spec \
13654 sys_lib_dlsearch_path_spec; do
13655 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13656 *[\\\\\\\`\\"\\\$]*)
13657 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13660 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13665 ac_aux_dir='$ac_aux_dir'
13666 xsi_shell='$xsi_shell'
13667 lt_shell_append='$lt_shell_append'
13669 # See if we are running on zsh, and set the options which allow our
13670 # commands through without removal of \ escapes INIT.
13671 if test -n "\${ZSH_VERSION+set}" ; then
13672 setopt NO_GLOB_SUBST
13678 TIMESTAMP='$TIMESTAMP'
13687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13689 # Handling of arguments.
13690 for ac_config_target in $ac_config_targets
13692 case $ac_config_target in
13693 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13694 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13695 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13696 "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
13697 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13698 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13699 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13700 "pic/Makefile") CONFIG_FILES="$CONFIG_FILES pic/Makefile" ;;
13702 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13707 # If the user did not use the arguments to specify the items to instantiate,
13708 # then the envvar interface is used. Set only those that are not.
13709 # We use the long form for the default assignment because of an extremely
13710 # bizarre bug on SunOS 4.1.3.
13711 if $ac_need_defaults; then
13712 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13713 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13714 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13717 # Have a temporary directory for convenience. Make it in the build tree
13718 # simply because there is no reason against having it here, and in addition,
13719 # creating and moving files from /tmp can sometimes cause problems.
13720 # Hook for its removal unless debugging.
13721 # Note that there is a small window in which the directory will not be cleaned:
13722 # after its creation but before its name has been assigned to `$tmp'.
13726 trap 'exit_status=$?
13727 : "${ac_tmp:=$tmp}"
13728 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13730 trap 'as_fn_exit 1' 1 2 13 15
13732 # Create a (secure) tmp directory for tmp files.
13735 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13739 tmp=./conf$$-$RANDOM
13740 (umask 077 && mkdir "$tmp")
13741 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13744 # Set up the scripts for CONFIG_FILES section.
13745 # No need to generate them if there are no CONFIG_FILES.
13746 # This happens for instance with `./config.status config.h'.
13747 if test -n "$CONFIG_FILES"; then
13750 ac_cr=`echo X | tr X '\015'`
13751 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13752 # But we know of no other shell where ac_cr would be empty at this
13753 # point, so we can use a bashism as a fallback.
13754 if test "x$ac_cr" = x; then
13755 eval ac_cr=\$\'\\r\'
13757 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13758 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13761 ac_cs_awk_cr=$ac_cr
13764 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13769 echo "cat >conf$$subs.awk <<_ACEOF" &&
13770 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13772 } >conf$$subs.sh ||
13773 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13774 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13776 for ac_last_try in false false false false false :; do
13777 . ./conf$$subs.sh ||
13778 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13780 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13781 if test $ac_delim_n = $ac_delim_num; then
13783 elif $ac_last_try; then
13784 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13786 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13789 rm -f conf$$subs.sh
13791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13792 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13796 s/^/S["/; s/!.*/"]=/
13806 s/\(.\{148\}\)..*/\1/
13808 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13813 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13820 s/\(.\{148\}\)..*/\1/
13822 s/["\\]/\\&/g; s/^/"/; s/$/"/
13826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13831 ' <conf$$subs.awk | sed '
13836 ' >>$CONFIG_STATUS || ac_write_fail=1
13837 rm -f conf$$subs.awk
13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13840 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13841 for (key in S) S_is_set[key] = 1
13847 nfields = split(line, field, "@")
13849 len = length(field[1])
13850 for (i = 2; i < nfields; i++) {
13852 keylen = length(key)
13853 if (S_is_set[key]) {
13855 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13856 len += length(value) + length(field[++i])
13867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13868 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13869 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13872 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13873 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13876 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13877 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13878 # trailing colons and then remove the whole line if VPATH becomes empty
13879 # (actually we leave an empty line to preserve line numbers).
13880 if test "x$srcdir" = x.; then
13881 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13900 fi # test -n "$CONFIG_FILES"
13902 # Set up the scripts for CONFIG_HEADERS section.
13903 # No need to generate them if there are no CONFIG_HEADERS.
13904 # This happens for instance with `./config.status Makefile'.
13905 if test -n "$CONFIG_HEADERS"; then
13906 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13910 # Transform confdefs.h into an awk script `defines.awk', embedded as
13911 # here-document in config.status, that substitutes the proper values into
13912 # config.h.in to produce config.h.
13914 # Create a delimiter string that does not exist in confdefs.h, to ease
13915 # handling of long lines.
13917 for ac_last_try in false false :; do
13918 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13919 if test -z "$ac_tt"; then
13921 elif $ac_last_try; then
13922 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13928 # For the awk script, D is an array of macro values keyed by name,
13929 # likewise P contains macro parameters if any. Preserve backslash
13930 # newline sequences.
13932 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13934 s/.\{148\}/&'"$ac_delim"'/g
13937 s/^[ ]*#[ ]*define[ ][ ]*/ /
13944 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13946 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13950 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13951 D["\1"]=" \3\\\\\\n"\\/p
13953 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13958 s/.\{148\}/&'"$ac_delim"'/g
13963 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13966 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13968 ' <confdefs.h | sed '
13969 s/'"$ac_delim"'/"\\\
13970 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13973 for (key in D) D_is_set[key] = 1
13976 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13978 split(line, arg, " ")
13979 if (arg[1] == "#") {
13983 defundef = substr(arg[1], 2)
13986 split(mac1, mac2, "(") #)
13988 prefix = substr(line, 1, index(line, defundef) - 1)
13989 if (D_is_set[macro]) {
13990 # Preserve the white space surrounding the "#".
13991 print prefix "define", macro P[macro] D[macro]
13994 # Replace #undef with comments. This is necessary, for example,
13995 # in the case of _POSIX_SOURCE, which is predefined and required
13996 # on some systems where configure will not decide to define it.
13997 if (defundef == "undef") {
13998 print "/*", prefix defundef, macro, "*/"
14006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14007 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14008 fi # test -n "$CONFIG_HEADERS"
14011 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14016 :[FHLC]) ac_mode=$ac_tag; continue;;
14018 case $ac_mode$ac_tag in
14020 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14021 :[FH]-) ac_tag=-:-;;
14022 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14039 -) ac_f="$ac_tmp/stdin";;
14040 *) # Look for the file first in the build tree, then in the source tree
14041 # (if the path is not absolute). The absolute path cannot be DOS-style,
14042 # because $ac_f cannot contain `:'.
14046 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14048 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14050 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14051 as_fn_append ac_file_inputs " '$ac_f'"
14054 # Let's still pretend it is `configure' which instantiates (i.e., don't
14055 # use $as_me), people would be surprised to read:
14056 # /* config.h. Generated by config.status. */
14057 configure_input='Generated from '`
14058 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14060 if test x"$ac_file" != x-; then
14061 configure_input="$ac_file. $configure_input"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14063 $as_echo "$as_me: creating $ac_file" >&6;}
14065 # Neutralize special characters interpreted by sed in replacement strings.
14066 case $configure_input in #(
14067 *\&* | *\|* | *\\* )
14068 ac_sed_conf_input=`$as_echo "$configure_input" |
14069 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14070 *) ac_sed_conf_input=$configure_input;;
14074 *:-:* | *:-) cat >"$ac_tmp/stdin" \
14075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14080 ac_dir=`$as_dirname -- "$ac_file" ||
14081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14082 X"$ac_file" : 'X\(//\)[^/]' \| \
14083 X"$ac_file" : 'X\(//\)$' \| \
14084 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14085 $as_echo X"$ac_file" |
14086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14090 /^X\(\/\/\)[^/].*/{
14103 as_dir="$ac_dir"; as_fn_mkdir_p
14107 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14109 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14110 # A ".." for each directory in $ac_dir_suffix.
14111 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14112 case $ac_top_builddir_sub in
14113 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14114 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14117 ac_abs_top_builddir=$ac_pwd
14118 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14119 # for backward compatibility:
14120 ac_top_builddir=$ac_top_build_prefix
14123 .) # We are building in place.
14125 ac_top_srcdir=$ac_top_builddir_sub
14126 ac_abs_top_srcdir=$ac_pwd ;;
14127 [\\/]* | ?:[\\/]* ) # Absolute name.
14128 ac_srcdir=$srcdir$ac_dir_suffix;
14129 ac_top_srcdir=$srcdir
14130 ac_abs_top_srcdir=$srcdir ;;
14131 *) # Relative name.
14132 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14133 ac_top_srcdir=$ac_top_build_prefix$srcdir
14134 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14136 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14146 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14147 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14149 ac_MKDIR_P=$MKDIR_P
14151 [\\/$]* | ?:[\\/]* ) ;;
14152 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14157 # If the template does not know about datarootdir, expand it.
14158 # FIXME: This hack should be removed a few years after 2.60.
14159 ac_datarootdir_hack=; ac_datarootdir_seen=
14170 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14171 *datarootdir*) ac_datarootdir_seen=yes;;
14172 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14174 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14177 ac_datarootdir_hack='
14178 s&@datadir@&$datadir&g
14179 s&@docdir@&$docdir&g
14180 s&@infodir@&$infodir&g
14181 s&@localedir@&$localedir&g
14182 s&@mandir@&$mandir&g
14183 s&\\\${datarootdir}&$datarootdir&g' ;;
14187 # Neutralize VPATH when `$srcdir' = `.'.
14188 # Shell code in configure.ac might set extrasub.
14189 # FIXME: do we really want to maintain this feature?
14190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14191 ac_sed_extra="$ac_vpsub
14194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14196 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14197 s|@configure_input@|$ac_sed_conf_input|;t t
14198 s&@top_builddir@&$ac_top_builddir_sub&;t t
14199 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14200 s&@srcdir@&$ac_srcdir&;t t
14201 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14202 s&@top_srcdir@&$ac_top_srcdir&;t t
14203 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14204 s&@builddir@&$ac_builddir&;t t
14205 s&@abs_builddir@&$ac_abs_builddir&;t t
14206 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14207 s&@INSTALL@&$ac_INSTALL&;t t
14208 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14209 $ac_datarootdir_hack
14211 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14212 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14215 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14217 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14219 which seems to be undefined. Please make sure it is defined" >&5
14220 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14221 which seems to be undefined. Please make sure it is defined" >&2;}
14223 rm -f "$ac_tmp/stdin"
14225 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14226 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14234 if test x"$ac_file" != x-; then
14236 $as_echo "/* $configure_input */" \
14237 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14238 } >"$ac_tmp/config.h" \
14239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14240 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14242 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14245 mv "$ac_tmp/config.h" "$ac_file" \
14246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14249 $as_echo "/* $configure_input */" \
14250 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14251 || as_fn_error $? "could not create -" "$LINENO" 5
14253 # Compute "$ac_file"'s index in $config_headers.
14256 for _am_header in $config_headers :; do
14257 case $_am_header in
14258 $_am_arg | $_am_arg:* )
14261 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14264 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14265 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14266 X"$_am_arg" : 'X\(//\)[^/]' \| \
14267 X"$_am_arg" : 'X\(//\)$' \| \
14268 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14269 $as_echo X"$_am_arg" |
14270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14274 /^X\(\/\/\)[^/].*/{
14286 s/.*/./; q'`/stamp-h$_am_stamp_count
14289 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14290 $as_echo "$as_me: executing $ac_file commands" >&6;}
14295 case $ac_file$ac_mode in
14296 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14297 # Older Autoconf quotes --file arguments for eval, but not when files
14298 # are listed without --file. Let's play safe and only enable the eval
14299 # if we detect the quoting.
14300 case $CONFIG_FILES in
14301 *\'*) eval set x "$CONFIG_FILES" ;;
14302 *) set x $CONFIG_FILES ;;
14307 # Strip MF so we end up with the name of the file.
14308 mf=`echo "$mf" | sed -e 's/:.*$//'`
14309 # Check whether this is an Automake generated Makefile or not.
14310 # We used to match only the files named 'Makefile.in', but
14311 # some people rename them; so instead we look at the file content.
14312 # Grep'ing the first line is not enough: some people post-process
14313 # each Makefile.in and add a new line on top of each file to say so.
14314 # Grep'ing the whole file is not good either: AIX grep has a line
14315 # limit of 2048, but all sed's we know have understand at least 4000.
14316 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14317 dirpart=`$as_dirname -- "$mf" ||
14318 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14319 X"$mf" : 'X\(//\)[^/]' \| \
14320 X"$mf" : 'X\(//\)$' \| \
14321 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14327 /^X\(\/\/\)[^/].*/{
14343 # Extract the definition of DEPDIR, am__include, and am__quote
14344 # from the Makefile without running 'make'.
14345 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14346 test -z "$DEPDIR" && continue
14347 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14348 test -z "$am__include" && continue
14349 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14350 # Find all dependency output files, they are included files with
14351 # $(DEPDIR) in their names. We invoke sed twice because it is the
14352 # simplest approach to changing $(DEPDIR) to its actual value in the
14354 for file in `sed -n "
14355 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14357 # Make sure the directory exists.
14358 test -f "$dirpart/$file" && continue
14359 fdir=`$as_dirname -- "$file" ||
14360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14361 X"$file" : 'X\(//\)[^/]' \| \
14362 X"$file" : 'X\(//\)$' \| \
14363 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14364 $as_echo X"$file" |
14365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14369 /^X\(\/\/\)[^/].*/{
14382 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14383 # echo "creating $dirpart/$file"
14384 echo '# dummy' > "$dirpart/$file"
14391 # See if we are running on zsh, and set the options which allow our
14392 # commands through without removal of \ escapes.
14393 if test -n "${ZSH_VERSION+set}" ; then
14394 setopt NO_GLOB_SUBST
14397 cfgfile="${ofile}T"
14398 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14401 cat <<_LT_EOF >> "$cfgfile"
14404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14406 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14407 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14410 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14412 # Written by Gordon Matzigkeit, 1996
14414 # This file is part of GNU Libtool.
14416 # GNU Libtool is free software; you can redistribute it and/or
14417 # modify it under the terms of the GNU General Public License as
14418 # published by the Free Software Foundation; either version 2 of
14419 # the License, or (at your option) any later version.
14421 # As a special exception to the GNU General Public License,
14422 # if you distribute this file as part of a program or library that
14423 # is built using GNU Libtool, you may include this file under the
14424 # same distribution terms that you use for the rest of that program.
14426 # GNU Libtool is distributed in the hope that it will be useful,
14427 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14428 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14429 # GNU General Public License for more details.
14431 # You should have received a copy of the GNU General Public License
14432 # along with GNU Libtool; see the file COPYING. If not, a copy
14433 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14434 # obtained by writing to the Free Software Foundation, Inc.,
14435 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14438 # The names of the tagged configurations supported by this script.
14441 # ### BEGIN LIBTOOL CONFIG
14443 # Which release of libtool.m4 was used?
14444 macro_version=$macro_version
14445 macro_revision=$macro_revision
14447 # Whether or not to build shared libraries.
14448 build_libtool_libs=$enable_shared
14450 # Whether or not to build static libraries.
14451 build_old_libs=$enable_static
14453 # What type of objects to build.
14456 # Whether or not to optimize for fast installation.
14457 fast_install=$enable_fast_install
14459 # Shell to use when invoking shell scripts.
14462 # An echo program that protects backslashes.
14465 # The PATH separator for the build system.
14466 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14469 host_alias=$host_alias
14473 # The build system.
14474 build_alias=$build_alias
14478 # A sed program that does not truncate output.
14481 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14482 Xsed="\$SED -e 1s/^X//"
14484 # A grep program that handles long lines.
14490 # A literal string matcher.
14493 # A BSD- or MS-compatible name lister.
14496 # Whether we need soft or hard links.
14499 # What is the maximum length of a command?
14500 max_cmd_len=$max_cmd_len
14502 # Object file suffix (normally "o").
14505 # Executable file suffix (normally "").
14508 # whether the shell understands "unset".
14511 # turn spaces into newlines.
14514 # turn newlines into spaces.
14517 # convert \$build file names to \$host format.
14518 to_host_file_cmd=$lt_cv_to_host_file_cmd
14520 # convert \$build files to toolchain format.
14521 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14523 # An object symbol dumper.
14524 OBJDUMP=$lt_OBJDUMP
14526 # Method to check whether dependent libraries are shared objects.
14527 deplibs_check_method=$lt_deplibs_check_method
14529 # Command to use when deplibs_check_method = "file_magic".
14530 file_magic_cmd=$lt_file_magic_cmd
14532 # How to find potential files when deplibs_check_method = "file_magic".
14533 file_magic_glob=$lt_file_magic_glob
14535 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14536 want_nocaseglob=$lt_want_nocaseglob
14538 # DLL creation program.
14539 DLLTOOL=$lt_DLLTOOL
14541 # Command to associate shared and link libraries.
14542 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14547 # Flags to create an archive.
14548 AR_FLAGS=$lt_AR_FLAGS
14550 # How to feed a file listing to the archiver.
14551 archiver_list_spec=$lt_archiver_list_spec
14553 # A symbol stripping program.
14556 # Commands used to install an old-style archive.
14558 old_postinstall_cmds=$lt_old_postinstall_cmds
14559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14561 # Whether to use a lock for old archive extraction.
14562 lock_old_archive_extraction=$lock_old_archive_extraction
14567 # LTCC compiler flags.
14568 LTCFLAGS=$lt_CFLAGS
14570 # Take the output of nm and produce a listing of raw symbols and C names.
14571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14573 # Transform the output of nm in a proper C declaration.
14574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14576 # Transform the output of nm in a C name address pair.
14577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14579 # Transform the output of nm in a C name address pair when lib prefix is needed.
14580 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14582 # Specify filename containing input files for \$NM.
14583 nm_file_list_spec=$lt_nm_file_list_spec
14585 # The root where to search for dependent libraries,and in which our libraries should be installed.
14586 lt_sysroot=$lt_sysroot
14588 # The name of the directory that contains temporary libtool files.
14591 # Used to examine libraries when file_magic_cmd begins with "file".
14592 MAGIC_CMD=$MAGIC_CMD
14594 # Must we lock files when doing compilation?
14595 need_locks=$lt_need_locks
14598 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14600 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14601 DSYMUTIL=$lt_DSYMUTIL
14603 # Tool to change global to local symbols on Mac OS X.
14606 # Tool to manipulate fat objects and archives on Mac OS X.
14609 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14612 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14613 OTOOL64=$lt_OTOOL64
14615 # Old archive suffix (normally "a").
14618 # Shared library suffix (normally ".so").
14619 shrext_cmds=$lt_shrext_cmds
14621 # The commands to extract the exported symbol list from a shared archive.
14622 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14624 # Variables whose values should be saved in libtool wrapper scripts and
14625 # restored at link time.
14626 variables_saved_for_relink=$lt_variables_saved_for_relink
14628 # Do we need the "lib" prefix for modules?
14629 need_lib_prefix=$need_lib_prefix
14631 # Do we need a version for libraries?
14632 need_version=$need_version
14634 # Library versioning type.
14635 version_type=$version_type
14637 # Shared library runtime path variable.
14638 runpath_var=$runpath_var
14640 # Shared library path variable.
14641 shlibpath_var=$shlibpath_var
14643 # Is shlibpath searched before the hard-coded library search path?
14644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14646 # Format of library name prefix.
14647 libname_spec=$lt_libname_spec
14649 # List of archive names. First name is the real one, the rest are links.
14650 # The last name is the one that the linker finds with -lNAME
14651 library_names_spec=$lt_library_names_spec
14653 # The coded name of the library, if different from the real name.
14654 soname_spec=$lt_soname_spec
14656 # Permission mode override for installation of shared libraries.
14657 install_override_mode=$lt_install_override_mode
14659 # Command to use after installation of a shared archive.
14660 postinstall_cmds=$lt_postinstall_cmds
14662 # Command to use after uninstallation of a shared archive.
14663 postuninstall_cmds=$lt_postuninstall_cmds
14665 # Commands used to finish a libtool library installation in a directory.
14666 finish_cmds=$lt_finish_cmds
14668 # As "finish_cmds", except a single script fragment to be evaled but
14670 finish_eval=$lt_finish_eval
14672 # Whether we should hardcode library paths into libraries.
14673 hardcode_into_libs=$hardcode_into_libs
14675 # Compile-time system search path for libraries.
14676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14678 # Run-time system search path for libraries.
14679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14681 # Whether dlopen is supported.
14682 dlopen_support=$enable_dlopen
14684 # Whether dlopen of programs is supported.
14685 dlopen_self=$enable_dlopen_self
14687 # Whether dlopen of statically linked programs is supported.
14688 dlopen_self_static=$enable_dlopen_self_static
14690 # Commands to strip libraries.
14691 old_striplib=$lt_old_striplib
14692 striplib=$lt_striplib
14695 # The linker used to build libraries.
14698 # How to create reloadable object files.
14699 reload_flag=$lt_reload_flag
14700 reload_cmds=$lt_reload_cmds
14702 # Commands used to build an old-style archive.
14703 old_archive_cmds=$lt_old_archive_cmds
14705 # A language specific compiler.
14708 # Is the compiler the GNU compiler?
14711 # Compiler flag to turn off builtin functions.
14712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14714 # Additional compiler flags for building library objects.
14715 pic_flag=$lt_lt_prog_compiler_pic
14717 # How to pass a linker flag through the compiler.
14718 wl=$lt_lt_prog_compiler_wl
14720 # Compiler flag to prevent dynamic linking.
14721 link_static_flag=$lt_lt_prog_compiler_static
14723 # Does compiler simultaneously support -c and -o options?
14724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14726 # Whether or not to add -lc for building shared libraries.
14727 build_libtool_need_lc=$archive_cmds_need_lc
14729 # Whether or not to disallow shared libs when runtime libs are static.
14730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14732 # Compiler flag to allow reflexive dlopens.
14733 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14735 # Compiler flag to generate shared objects directly from archives.
14736 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14738 # Whether the compiler copes with passing no objects directly.
14739 compiler_needs_object=$lt_compiler_needs_object
14741 # Create an old-style archive from a shared archive.
14742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14744 # Create a temporary old-style archive to link instead of a shared archive.
14745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14747 # Commands used to build a shared archive.
14748 archive_cmds=$lt_archive_cmds
14749 archive_expsym_cmds=$lt_archive_expsym_cmds
14751 # Commands used to build a loadable module if different from building
14752 # a shared archive.
14753 module_cmds=$lt_module_cmds
14754 module_expsym_cmds=$lt_module_expsym_cmds
14756 # Whether we are building with GNU ld or not.
14757 with_gnu_ld=$lt_with_gnu_ld
14759 # Flag that allows shared libraries with undefined symbols to be built.
14760 allow_undefined_flag=$lt_allow_undefined_flag
14762 # Flag that enforces no undefined symbols.
14763 no_undefined_flag=$lt_no_undefined_flag
14765 # Flag to hardcode \$libdir into a binary during linking.
14766 # This must work even if \$libdir does not exist
14767 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14769 # Whether we need a single "-rpath" flag with a separated argument.
14770 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14773 # DIR into the resulting binary.
14774 hardcode_direct=$hardcode_direct
14776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14777 # DIR into the resulting binary and the resulting library dependency is
14778 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14779 # library is relocated.
14780 hardcode_direct_absolute=$hardcode_direct_absolute
14782 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14783 # into the resulting binary.
14784 hardcode_minus_L=$hardcode_minus_L
14786 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14787 # into the resulting binary.
14788 hardcode_shlibpath_var=$hardcode_shlibpath_var
14790 # Set to "yes" if building a shared library automatically hardcodes DIR
14791 # into the library and all subsequent libraries and executables linked
14793 hardcode_automatic=$hardcode_automatic
14795 # Set to yes if linker adds runtime paths of dependent libraries
14796 # to runtime path list.
14797 inherit_rpath=$inherit_rpath
14799 # Whether libtool must link a program against all its dependency libraries.
14800 link_all_deplibs=$link_all_deplibs
14802 # Set to "yes" if exported symbols are required.
14803 always_export_symbols=$always_export_symbols
14805 # The commands to list exported symbols.
14806 export_symbols_cmds=$lt_export_symbols_cmds
14808 # Symbols that should not be listed in the preloaded symbols.
14809 exclude_expsyms=$lt_exclude_expsyms
14811 # Symbols that must always be exported.
14812 include_expsyms=$lt_include_expsyms
14814 # Commands necessary for linking programs (against libraries) with templates.
14815 prelink_cmds=$lt_prelink_cmds
14817 # Commands necessary for finishing linking programs.
14818 postlink_cmds=$lt_postlink_cmds
14820 # Specify filename containing input files.
14821 file_list_spec=$lt_file_list_spec
14823 # How to hardcode a shared library path into an executable.
14824 hardcode_action=$hardcode_action
14826 # ### END LIBTOOL CONFIG
14832 cat <<\_LT_EOF >> "$cfgfile"
14833 # AIX sometimes has problems with the GCC collect2 program. For some
14834 # reason, if we set the COLLECT_NAMES environment variable, the problems
14835 # vanish in a puff of smoke.
14836 if test "X${COLLECT_NAMES+set}" != Xset; then
14838 export COLLECT_NAMES
14845 ltmain="$ac_aux_dir/ltmain.sh"
14848 # We use sed instead of cat because bash on DJGPP gets confused if
14849 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14850 # text mode, it properly converts lines to CR/LF. This bash problem
14851 # is reportedly fixed, but why not run on old versions too?
14852 sed '$q' "$ltmain" >> "$cfgfile" \
14853 || (rm -f "$cfgfile"; exit 1)
14855 if test x"$xsi_shell" = xyes; then
14856 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14860 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14861 \ * ) func_dirname_result="${3}" ;;\
14863 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14864 && mv -f "$cfgfile.tmp" "$cfgfile" \
14865 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14866 test 0 -eq $? || _lt_function_replace_fail=:
14869 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14872 \ func_basename_result="${1##*/}"\
14873 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14874 && mv -f "$cfgfile.tmp" "$cfgfile" \
14875 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14876 test 0 -eq $? || _lt_function_replace_fail=:
14879 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14880 func_dirname_and_basename ()\
14883 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14884 \ * ) func_dirname_result="${3}" ;;\
14886 \ func_basename_result="${1##*/}"\
14887 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14888 && mv -f "$cfgfile.tmp" "$cfgfile" \
14889 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14890 test 0 -eq $? || _lt_function_replace_fail=:
14893 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14896 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14897 \ # positional parameters, so assign one to ordinary parameter first.\
14898 \ func_stripname_result=${3}\
14899 \ func_stripname_result=${func_stripname_result#"${1}"}\
14900 \ func_stripname_result=${func_stripname_result%"${2}"}\
14901 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14902 && mv -f "$cfgfile.tmp" "$cfgfile" \
14903 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14904 test 0 -eq $? || _lt_function_replace_fail=:
14907 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14908 func_split_long_opt ()\
14910 \ func_split_long_opt_name=${1%%=*}\
14911 \ func_split_long_opt_arg=${1#*=}\
14912 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14913 && mv -f "$cfgfile.tmp" "$cfgfile" \
14914 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14915 test 0 -eq $? || _lt_function_replace_fail=:
14918 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14919 func_split_short_opt ()\
14921 \ func_split_short_opt_arg=${1#??}\
14922 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14923 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14924 && mv -f "$cfgfile.tmp" "$cfgfile" \
14925 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14926 test 0 -eq $? || _lt_function_replace_fail=:
14929 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14933 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14934 \ *) func_lo2o_result=${1} ;;\
14936 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14937 && mv -f "$cfgfile.tmp" "$cfgfile" \
14938 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14939 test 0 -eq $? || _lt_function_replace_fail=:
14942 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14945 func_xform_result=${1%.*}.lo\
14946 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14947 && mv -f "$cfgfile.tmp" "$cfgfile" \
14948 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14949 test 0 -eq $? || _lt_function_replace_fail=:
14952 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14955 func_arith_result=$(( $* ))\
14956 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14957 && mv -f "$cfgfile.tmp" "$cfgfile" \
14958 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14959 test 0 -eq $? || _lt_function_replace_fail=:
14962 sed -e '/^func_len ()$/,/^} # func_len /c\
14965 func_len_result=${#1}\
14966 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14967 && mv -f "$cfgfile.tmp" "$cfgfile" \
14968 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14969 test 0 -eq $? || _lt_function_replace_fail=:
14973 if test x"$lt_shell_append" = xyes; then
14974 sed -e '/^func_append ()$/,/^} # func_append /c\
14977 eval "${1}+=\\${2}"\
14978 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14979 && mv -f "$cfgfile.tmp" "$cfgfile" \
14980 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14981 test 0 -eq $? || _lt_function_replace_fail=:
14984 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14985 func_append_quoted ()\
14987 \ func_quote_for_eval "${2}"\
14988 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14989 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14990 && mv -f "$cfgfile.tmp" "$cfgfile" \
14991 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14992 test 0 -eq $? || _lt_function_replace_fail=:
14995 # Save a `func_append' function call where possible by direct use of '+='
14996 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14997 && mv -f "$cfgfile.tmp" "$cfgfile" \
14998 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14999 test 0 -eq $? || _lt_function_replace_fail=:
15001 # Save a `func_append' function call even when '+=' is not available
15002 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15003 && mv -f "$cfgfile.tmp" "$cfgfile" \
15004 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15005 test 0 -eq $? || _lt_function_replace_fail=:
15008 if test x"$_lt_function_replace_fail" = x":"; then
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15010 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15014 mv -f "$cfgfile" "$ofile" ||
15015 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15026 ac_clean_files=$ac_clean_files_save
15028 test $ac_write_fail = 0 ||
15029 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15032 # configure is writing to config.log, and then calls config.status.
15033 # config.status does its own redirection, appending to config.log.
15034 # Unfortunately, on DOS this fails, as config.log is still kept open
15035 # by configure, so config.status won't be able to write to it; its
15036 # output is simply discarded. So we exec the FD to /dev/null,
15037 # effectively closing config.log, so it can be properly (re)opened and
15038 # appended to by config.status. When coming back to configure, we
15039 # need to make the FD available again.
15040 if test "$no_create" != yes; then
15042 ac_config_status_args=
15043 test "$silent" = yes &&
15044 ac_config_status_args="$ac_config_status_args --quiet"
15046 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15048 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15049 # would make configure fail if this is the last instruction.
15050 $ac_cs_success || as_fn_exit 1
15052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15054 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}