2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libaes 0.0.2.
5 # Report bugs to <rosenhauer@dkrz.de>.
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 rosenhauer@dkrz.de
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='libaes'
592 PACKAGE_TARNAME='libaes'
593 PACKAGE_VERSION='0.0.2'
594 PACKAGE_STRING='libaes 0.0.2'
595 PACKAGE_BUGREPORT='rosenhauer@dkrz.de'
598 ac_unique_file="src/libae.h"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
656 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
757 enable_dependency_tracking
759 ac_precious_vars='build_alias
770 # Initialize some variables set by options.
772 ac_init_version=false
773 ac_unrecognized_opts=
775 # The variables have the same names as the options, with
776 # dashes changed to underlines.
784 program_transform_name=s,x,x,
792 # Installation directory options.
793 # These are left unexpanded so users can "make install exec_prefix=/foo"
794 # and all the variables that are supposed to be based on exec_prefix
795 # by default will actually change.
796 # Use braces instead of parens because sh, perl, etc. also accept them.
797 # (The list follows the same order as the GNU Coding Standards.)
798 bindir='${exec_prefix}/bin'
799 sbindir='${exec_prefix}/sbin'
800 libexecdir='${exec_prefix}/libexec'
801 datarootdir='${prefix}/share'
802 datadir='${datarootdir}'
803 sysconfdir='${prefix}/etc'
804 sharedstatedir='${prefix}/com'
805 localstatedir='${prefix}/var'
806 includedir='${prefix}/include'
807 oldincludedir='/usr/include'
808 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
809 infodir='${datarootdir}/info'
814 libdir='${exec_prefix}/lib'
815 localedir='${datarootdir}/locale'
816 mandir='${datarootdir}/man'
822 # If the previous option needs an argument, assign it.
823 if test -n "$ac_prev"; then
824 eval $ac_prev=\$ac_option
830 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
835 # Accept the important Cygnus configure options, so we can diagnose typos.
837 case $ac_dashdash$ac_option in
841 -bindir | --bindir | --bindi | --bind | --bin | --bi)
843 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846 -build | --build | --buil | --bui | --bu)
847 ac_prev=build_alias ;;
848 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
849 build_alias=$ac_optarg ;;
851 -cache-file | --cache-file | --cache-fil | --cache-fi \
852 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853 ac_prev=cache_file ;;
854 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856 cache_file=$ac_optarg ;;
859 cache_file=config.cache ;;
861 -datadir | --datadir | --datadi | --datad)
863 -datadir=* | --datadir=* | --datadi=* | --datad=*)
864 datadir=$ac_optarg ;;
866 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
867 | --dataroo | --dataro | --datar)
868 ac_prev=datarootdir ;;
869 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
870 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
871 datarootdir=$ac_optarg ;;
873 -disable-* | --disable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error $? "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
887 eval enable_$ac_useropt=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 -enable-* | --enable-*)
900 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903 as_fn_error $? "invalid feature name: $ac_useropt"
904 ac_useropt_orig=$ac_useropt
905 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906 case $ac_user_opts in
910 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
911 ac_unrecognized_sep=', ';;
913 eval enable_$ac_useropt=\$ac_optarg ;;
915 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
916 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
917 | --exec | --exe | --ex)
918 ac_prev=exec_prefix ;;
919 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
920 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
921 | --exec=* | --exe=* | --ex=*)
922 exec_prefix=$ac_optarg ;;
924 -gas | --gas | --ga | --g)
925 # Obsolete; use --with-gas.
928 -help | --help | --hel | --he | -h)
930 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
931 ac_init_help=recursive ;;
932 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
933 ac_init_help=short ;;
935 -host | --host | --hos | --ho)
936 ac_prev=host_alias ;;
937 -host=* | --host=* | --hos=* | --ho=*)
938 host_alias=$ac_optarg ;;
940 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944 htmldir=$ac_optarg ;;
946 -includedir | --includedir | --includedi | --included | --include \
947 | --includ | --inclu | --incl | --inc)
948 ac_prev=includedir ;;
949 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
950 | --includ=* | --inclu=* | --incl=* | --inc=*)
951 includedir=$ac_optarg ;;
953 -infodir | --infodir | --infodi | --infod | --info | --inf)
955 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
956 infodir=$ac_optarg ;;
958 -libdir | --libdir | --libdi | --libd)
960 -libdir=* | --libdir=* | --libdi=* | --libd=*)
963 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
964 | --libexe | --libex | --libe)
965 ac_prev=libexecdir ;;
966 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
967 | --libexe=* | --libex=* | --libe=*)
968 libexecdir=$ac_optarg ;;
970 -localedir | --localedir | --localedi | --localed | --locale)
972 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
973 localedir=$ac_optarg ;;
975 -localstatedir | --localstatedir | --localstatedi | --localstated \
976 | --localstate | --localstat | --localsta | --localst | --locals)
977 ac_prev=localstatedir ;;
978 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
979 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
980 localstatedir=$ac_optarg ;;
982 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
988 # Obsolete; use --without-fp.
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n)
995 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
996 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1000 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1001 | --oldin | --oldi | --old | --ol | --o)
1002 ac_prev=oldincludedir ;;
1003 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1004 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1005 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1006 oldincludedir=$ac_optarg ;;
1008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1011 prefix=$ac_optarg ;;
1013 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1014 | --program-pre | --program-pr | --program-p)
1015 ac_prev=program_prefix ;;
1016 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1017 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1018 program_prefix=$ac_optarg ;;
1020 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1021 | --program-suf | --program-su | --program-s)
1022 ac_prev=program_suffix ;;
1023 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1024 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1025 program_suffix=$ac_optarg ;;
1027 -program-transform-name | --program-transform-name \
1028 | --program-transform-nam | --program-transform-na \
1029 | --program-transform-n | --program-transform- \
1030 | --program-transform | --program-transfor \
1031 | --program-transfo | --program-transf \
1032 | --program-trans | --program-tran \
1033 | --progr-tra | --program-tr | --program-t)
1034 ac_prev=program_transform_name ;;
1035 -program-transform-name=* | --program-transform-name=* \
1036 | --program-transform-nam=* | --program-transform-na=* \
1037 | --program-transform-n=* | --program-transform-=* \
1038 | --program-transform=* | --program-transfor=* \
1039 | --program-transfo=* | --program-transf=* \
1040 | --program-trans=* | --program-tran=* \
1041 | --progr-tra=* | --program-tr=* | --program-t=*)
1042 program_transform_name=$ac_optarg ;;
1044 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1047 pdfdir=$ac_optarg ;;
1049 -psdir | --psdir | --psdi | --psd | --ps)
1051 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 sbindir=$ac_optarg ;;
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073 sharedstatedir=$ac_optarg ;;
1075 -site | --site | --sit)
1077 -site=* | --site=* | --sit=*)
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error $? "invalid package name: $ac_useropt"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1117 eval with_$ac_useropt=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid package name: $ac_useropt"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1133 eval with_$ac_useropt=no ;;
1136 # Obsolete; use --with-x.
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1154 Try \`$0 --help' for more information"
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 case $ac_envvar in #(
1161 '' | [0-9]* | *[!_$as_cr_alnum]* )
1162 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 as_fn_error $? "missing argument to $ac_option"
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1186 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1187 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1204 # Be sure to have absolute directory names.
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1212 # There might be people who depend on the old broken behavior: `$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1217 target=$target_alias
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221 if test "x$build_alias" = x; then
1222 cross_compiling=maybe
1223 elif test "x$build_alias" != "x$host_alias"; then
1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231 test "$silent" = yes && exec 6>/dev/null
1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di=`ls -di .` &&
1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error $? "working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error $? "pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 $as_echo X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1274 ac_srcdir_defaulted=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1294 for ac_var in $ac_precious_vars; do
1295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_${ac_var}_value=\$${ac_var}
1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1308 \`configure' configures libaes 0.0.2 to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print \`checking ...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for \`--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1334 By default, \`make install' will install all the files in
1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1337 for instance \`--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --libdir=DIR object code libraries [EPREFIX/lib]
1349 --includedir=DIR C header files [PREFIX/include]
1350 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1351 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1352 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1353 --infodir=DIR info documentation [DATAROOTDIR/info]
1354 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1355 --mandir=DIR man documentation [DATAROOTDIR/man]
1356 --docdir=DIR documentation root [DATAROOTDIR/doc/libaes]
1357 --htmldir=DIR html documentation [DOCDIR]
1358 --dvidir=DIR dvi documentation [DOCDIR]
1359 --pdfdir=DIR pdf documentation [DOCDIR]
1360 --psdir=DIR ps documentation [DOCDIR]
1366 --program-prefix=PREFIX prepend PREFIX to installed program names
1367 --program-suffix=SUFFIX append SUFFIX to installed program names
1368 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1371 --build=BUILD configure for building on BUILD [guessed]
1372 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1376 if test -n "$ac_init_help"; then
1377 case $ac_init_help in
1378 short | recursive ) echo "Configuration of libaes 0.0.2:";;
1383 --disable-option-checking ignore unrecognized --enable/--with options
1384 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1385 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1386 --enable-shared[=PKGS] build shared libraries [default=yes]
1387 --enable-static[=PKGS] build static libraries [default=yes]
1388 --enable-fast-install[=PKGS]
1389 optimize for fast installation [default=yes]
1390 --disable-libtool-lock avoid locking (might break parallel builds)
1391 --enable-dependency-tracking
1392 do not reject slow dependency extractors
1393 --disable-dependency-tracking
1394 speeds up one-time build
1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1398 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1399 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1401 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1402 --with-sysroot=DIR Search for dependent libraries within DIR
1403 (or the compiler's sysroot if not specified).
1405 Some influential environment variables:
1406 CC C compiler command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1409 nonstandard directory <lib dir>
1410 LIBS libraries to pass to the linker, e.g. -l<library>
1411 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1412 you have headers in a nonstandard directory <include dir>
1415 Use these variables to override the choices made by `configure' or to help
1416 it to find libraries and programs with nonstandard names/locations.
1418 Report bugs to <rosenhauer@dkrz.de>.
1423 if test "$ac_init_help" = "recursive"; then
1424 # If there are subdirs, report their specific --help.
1425 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426 test -d "$ac_dir" ||
1427 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1435 # A ".." for each directory in $ac_dir_suffix.
1436 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1437 case $ac_top_builddir_sub in
1438 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442 ac_abs_top_builddir=$ac_pwd
1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1444 # for backward compatibility:
1445 ac_top_builddir=$ac_top_build_prefix
1448 .) # We are building in place.
1450 ac_top_srcdir=$ac_top_builddir_sub
1451 ac_abs_top_srcdir=$ac_pwd ;;
1452 [\\/]* | ?:[\\/]* ) # Absolute name.
1453 ac_srcdir=$srcdir$ac_dir_suffix;
1454 ac_top_srcdir=$srcdir
1455 ac_abs_top_srcdir=$srcdir ;;
1457 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1458 ac_top_srcdir=$ac_top_build_prefix$srcdir
1459 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463 cd "$ac_dir" || { ac_status=$?; continue; }
1464 # Check for guested configure.
1465 if test -f "$ac_srcdir/configure.gnu"; then
1467 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1468 elif test -f "$ac_srcdir/configure"; then
1470 $SHELL "$ac_srcdir/configure" --help=recursive
1472 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474 cd "$ac_pwd" || { ac_status=$?; break; }
1478 test -n "$ac_init_help" && exit $ac_status
1479 if $ac_init_version; then
1481 libaes configure 0.0.2
1482 generated by GNU Autoconf 2.69
1484 Copyright (C) 2012 Free Software Foundation, Inc.
1485 This configure script is free software; the Free Software Foundation
1486 gives unlimited permission to copy, distribute and modify it.
1491 ## ------------------------ ##
1492 ## Autoconf initialization. ##
1493 ## ------------------------ ##
1495 # ac_fn_c_try_compile LINENO
1496 # --------------------------
1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1498 ac_fn_c_try_compile ()
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 rm -f conftest.$ac_objext
1502 if { { ac_try="$ac_compile"
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_compile") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && {
1518 test -z "$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 } && test -s conftest.$ac_objext; then :
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1531 } # ac_fn_c_try_compile
1533 # ac_fn_c_try_link LINENO
1534 # -----------------------
1535 # Try to link conftest.$ac_ext, and return whether this succeeded.
1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539 rm -f conftest.$ac_objext conftest$ac_exeext
1540 if { { ac_try="$ac_link"
1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_link") 2>conftest.err
1549 if test -s conftest.err; then
1550 grep -v '^ *+' conftest.err >conftest.er1
1551 cat conftest.er1 >&5
1552 mv -f conftest.er1 conftest.err
1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555 test $ac_status = 0; } && {
1556 test -z "$ac_c_werror_flag" ||
1557 test ! -s conftest.err
1558 } && test -s conftest$ac_exeext && {
1559 test "$cross_compiling" = yes ||
1560 test -x conftest$ac_exeext
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1570 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1571 # interfere with the next link command; also delete a directory that is
1572 # left behind by Apple's compiler. We do this before executing the actions.
1573 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1574 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575 as_fn_set_status $ac_retval
1577 } # ac_fn_c_try_link
1579 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists and can be compiled using the include files in
1582 # INCLUDES, setting the cache variable VAR accordingly.
1583 ac_fn_c_check_header_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval \${$3+:} false; then :
1589 $as_echo_n "(cached) " >&6
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1596 if ac_fn_c_try_compile "$LINENO"; then :
1601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 $as_echo "$ac_res" >&6; }
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608 } # ac_fn_c_check_header_compile
1610 # ac_fn_c_try_cpp LINENO
1611 # ----------------------
1612 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 if { { ac_try="$ac_cpp conftest.$ac_ext"
1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } > conftest.i && {
1632 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1647 # ac_fn_c_try_run LINENO
1648 # ----------------------
1649 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1650 # that executables *can* be run.
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 if { { ac_try="$ac_link"
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_link") 2>&5
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1665 { { case "(($ac_try" in
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_try") 2>&5
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; }; }; then :
1677 $as_echo "$as_me: program exited with status $ac_status" >&5
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1681 ac_retval=$ac_status
1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685 as_fn_set_status $ac_retval
1689 # ac_fn_c_check_func LINENO FUNC VAR
1690 # ----------------------------------
1691 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1692 ac_fn_c_check_func ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; }
1697 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1702 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1704 #define $2 innocuous_$2
1706 /* System header to define __stub macros and hopefully few prototypes,
1707 which can conflict with char $2 (); below.
1708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1709 <limits.h> exists even on freestanding compilers. */
1712 # include <limits.h>
1714 # include <assert.h>
1719 /* Override any GCC internal prototype to avoid an error.
1720 Use char because int might match the return type of a GCC
1721 builtin and then its argument prototype would still apply. */
1726 /* The GNU C library defines this for functions which it implements
1727 to always fail with ENOSYS. Some functions are actually named
1728 something starting with __ and the normal name is an alias. */
1729 #if defined __stub_$2 || defined __stub___$2
1741 if ac_fn_c_try_link "$LINENO"; then :
1746 rm -f core conftest.err conftest.$ac_objext \
1747 conftest$ac_exeext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_c_check_func
1756 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1759 # the include files in INCLUDES and setting the cache variable VAR
1761 ac_fn_c_check_header_mongrel ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if eval \${$3+:} false; then :
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if eval \${$3+:} false; then :
1768 $as_echo_n "(cached) " >&6
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1774 # Is the header compilable?
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1776 $as_echo_n "checking $2 usability... " >&6; }
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_c_try_compile "$LINENO"; then :
1783 ac_header_compiler=yes
1785 ac_header_compiler=no
1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1789 $as_echo "$ac_header_compiler" >&6; }
1791 # Is the header present?
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1793 $as_echo_n "checking $2 presence... " >&6; }
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1798 if ac_fn_c_try_cpp "$LINENO"; then :
1799 ac_header_preproc=yes
1801 ac_header_preproc=no
1803 rm -f conftest.err conftest.i conftest.$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1805 $as_echo "$ac_header_preproc" >&6; }
1807 # So? What about this header?
1808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1811 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1813 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1817 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1819 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1821 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1823 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1826 ( $as_echo "## --------------------------------- ##
1827 ## Report this to rosenhauer@dkrz.de ##
1828 ## --------------------------------- ##"
1829 ) | sed "s/^/$as_me: WARNING: /" >&2
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \${$3+:} false; then :
1835 $as_echo_n "(cached) " >&6
1837 eval "$3=\$ac_header_compiler"
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841 $as_echo "$ac_res" >&6; }
1843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1845 } # ac_fn_c_check_header_mongrel
1847 # ac_fn_c_find_intX_t LINENO BITS VAR
1848 # -----------------------------------
1849 # Finds a signed integer type with width BITS, setting cache variable VAR
1851 ac_fn_c_find_intX_t ()
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1855 $as_echo_n "checking for int$2_t... " >&6; }
1856 if eval \${$3+:} false; then :
1857 $as_echo_n "(cached) " >&6
1860 # Order is important - never check a type that is potentially smaller
1861 # than half of the expected target width.
1862 for ac_type in int$2_t 'int' 'long int' \
1863 'long long int' 'short int' 'signed char'; do
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1866 $ac_includes_default
1867 enum { N = $2 / 2 - 1 };
1871 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1873 return test_array [0];
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 $ac_includes_default
1883 enum { N = $2 / 2 - 1 };
1887 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1888 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1890 return test_array [0];
1896 if ac_fn_c_try_compile "$LINENO"; then :
1903 eval "$3=\$ac_type" ;;
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 if eval test \"x\$"$3"\" = x"no"; then :
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 } # ac_fn_c_find_intX_t
1923 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1924 # -------------------------------------------
1925 # Tests whether TYPE exists after having included INCLUDES, setting cache
1926 # variable VAR accordingly.
1927 ac_fn_c_check_type ()
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval \${$3+:} false; then :
1933 $as_echo_n "(cached) " >&6
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1948 if ac_fn_c_try_compile "$LINENO"; then :
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1961 if ac_fn_c_try_compile "$LINENO"; then :
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1975 } # ac_fn_c_check_type
1977 # ac_fn_c_find_uintX_t LINENO BITS VAR
1978 # ------------------------------------
1979 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1981 ac_fn_c_find_uintX_t ()
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1985 $as_echo_n "checking for uint$2_t... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1990 # Order is important - never check a type that is potentially smaller
1991 # than half of the expected target width.
1992 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1993 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h. */
1996 $ac_includes_default
2000 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2002 return test_array [0];
2008 if ac_fn_c_try_compile "$LINENO"; then :
2013 eval "$3=\$ac_type" ;;
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 if eval test \"x\$"$3"\" = x"no"; then :
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 } # ac_fn_c_find_uintX_t
2030 cat >config.log <<_ACEOF
2031 This file contains any messages produced by compilers while
2032 running configure, to aid debugging if configure makes a mistake.
2034 It was created by libaes $as_me 0.0.2, which was
2035 generated by GNU Autoconf 2.69. Invocation command line was
2047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir=.
2071 $as_echo "PATH: $as_dir"
2087 # Keep a trace of the command line.
2088 # Strip out --no-create and --no-recursion so they do not pile up.
2089 # Strip out --silent because we don't want to record it for future runs.
2090 # Also quote any args containing shell meta-characters.
2091 # Make two passes to allow for proper duplicate-argument suppression.
2095 ac_must_keep_next=false
2101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2103 | -silent | --silent | --silen | --sile | --sil)
2106 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2109 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2111 as_fn_append ac_configure_args1 " '$ac_arg'"
2112 if test $ac_must_keep_next = true; then
2113 ac_must_keep_next=false # Got value, back to normal.
2116 *=* | --config-cache | -C | -disable-* | --disable-* \
2117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2119 | -with-* | --with-* | -without-* | --without-* | --x)
2120 case "$ac_configure_args0 " in
2121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2124 -* ) ac_must_keep_next=true ;;
2127 as_fn_append ac_configure_args " '$ac_arg'"
2132 { ac_configure_args0=; unset ac_configure_args0;}
2133 { ac_configure_args1=; unset ac_configure_args1;}
2135 # When interrupted or exit'd, cleanup temporary files, and complete
2136 # config.log. We remove comments because anyway the quotes in there
2137 # would cause problems or look ugly.
2138 # WARNING: Use '\'' to represent an apostrophe within the trap.
2139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2140 trap 'exit_status=$?
2141 # Save into config.log some information that might help in debugging.
2145 $as_echo "## ---------------- ##
2146 ## Cache variables. ##
2147 ## ---------------- ##"
2149 # The following way of writing the cache mishandles newlines in values,
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2156 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2160 _ | IFS | as_nl) ;; #(
2161 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2162 *) { eval $ac_var=; unset $ac_var;} ;;
2167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2168 *${as_nl}ac_space=\ *)
2170 "s/'\''/'\''\\\\'\'''\''/g;
2171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2181 $as_echo "## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##"
2185 for ac_var in $ac_subst_vars
2187 eval ac_val=\$$ac_var
2189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 $as_echo "$ac_var='\''$ac_val'\''"
2195 if test -n "$ac_subst_files"; then
2196 $as_echo "## ------------------- ##
2197 ## File substitutions. ##
2198 ## ------------------- ##"
2200 for ac_var in $ac_subst_files
2202 eval ac_val=\$$ac_var
2204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 $as_echo "$ac_var='\''$ac_val'\''"
2211 if test -s confdefs.h; then
2212 $as_echo "## ----------- ##
2219 test "$ac_signal" != 0 &&
2220 $as_echo "$as_me: caught signal $ac_signal"
2221 $as_echo "$as_me: exit $exit_status"
2223 rm -f core *.core core.conftest.* &&
2224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2227 for ac_signal in 1 2 13 15; do
2228 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2233 rm -f -r conftest* confdefs.h
2235 $as_echo "/* confdefs.h */" > confdefs.h
2237 # Predefined preprocessor variables.
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_STRING "$PACKAGE_STRING"
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2259 cat >>confdefs.h <<_ACEOF
2260 #define PACKAGE_URL "$PACKAGE_URL"
2264 # Let the site file select an alternate cache file if it wants to.
2265 # Prefer an explicitly selected file to automatically selected ones.
2268 if test -n "$CONFIG_SITE"; then
2269 # We do not want a PATH search for config.site.
2270 case $CONFIG_SITE in #((
2271 -*) ac_site_file1=./$CONFIG_SITE;;
2272 */*) ac_site_file1=$CONFIG_SITE;;
2273 *) ac_site_file1=./$CONFIG_SITE;;
2275 elif test "x$prefix" != xNONE; then
2276 ac_site_file1=$prefix/share/config.site
2277 ac_site_file2=$prefix/etc/config.site
2279 ac_site_file1=$ac_default_prefix/share/config.site
2280 ac_site_file2=$ac_default_prefix/etc/config.site
2282 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2284 test "x$ac_site_file" = xNONE && continue
2285 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2288 sed 's/^/| /' "$ac_site_file" >&5
2290 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2292 as_fn_error $? "failed to load site script $ac_site_file
2293 See \`config.log' for more details" "$LINENO" 5; }
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special files
2299 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2300 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2302 $as_echo "$as_me: loading cache $cache_file" >&6;}
2304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2305 *) . "./$cache_file";;
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2310 $as_echo "$as_me: creating cache $cache_file" >&6;}
2314 # Check that the precious variables saved in the cache have kept the same
2316 ac_cache_corrupted=false
2317 for ac_var in $ac_precious_vars; do
2318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2319 eval ac_new_set=\$ac_env_${ac_var}_set
2320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2321 eval ac_new_val=\$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 # differences in whitespace do not lead to failure.
2335 ac_old_val_w=`echo x $ac_old_val`
2336 ac_new_val_w=`echo x $ac_new_val`
2337 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2340 ac_cache_corrupted=:
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2344 eval $ac_var=\$ac_old_val
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2347 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2349 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2352 # Pass precious variables to config.status.
2353 if test "$ac_new_set" = set; then
2355 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2356 *) ac_arg=$ac_var=$ac_new_val ;;
2358 case " $ac_configure_args " in
2359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2360 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2364 if $ac_cache_corrupted; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2369 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2371 ## -------------------- ##
2372 ## Main body of script. ##
2373 ## -------------------- ##
2376 ac_cpp='$CPP $CPPFLAGS'
2377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2385 for ac_dir in config "$srcdir"/config; do
2386 if test -f "$ac_dir/install-sh"; then
2388 ac_install_sh="$ac_aux_dir/install-sh -c"
2390 elif test -f "$ac_dir/install.sh"; then
2392 ac_install_sh="$ac_aux_dir/install.sh -c"
2394 elif test -f "$ac_dir/shtool"; then
2396 ac_install_sh="$ac_aux_dir/shtool install -c"
2400 if test -z "$ac_aux_dir"; then
2401 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2404 # These three variables are undocumented and unsupported,
2405 # and are intended to be withdrawn in a future Autoconf release.
2406 # They can cause serious problems if a builder's source tree is in a directory
2407 # whose full name contains unusual characters.
2408 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2409 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2410 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2414 ac_config_headers="$ac_config_headers config/config.h"
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2420 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2425 macro_version='2.4.2'
2426 macro_revision='1.3337'
2440 ltmain="$ac_aux_dir/ltmain.sh"
2442 # Make sure we can run config.sub.
2443 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2444 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2447 $as_echo_n "checking build system type... " >&6; }
2448 if ${ac_cv_build+:} false; then :
2449 $as_echo_n "(cached) " >&6
2451 ac_build_alias=$build_alias
2452 test "x$ac_build_alias" = x &&
2453 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2454 test "x$ac_build_alias" = x &&
2455 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2456 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2457 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2461 $as_echo "$ac_cv_build" >&6; }
2462 case $ac_cv_build in
2464 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2467 ac_save_IFS=$IFS; IFS='-'
2473 # Remember, the first character of IFS is used to create $*,
2474 # except with old shells:
2477 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2481 $as_echo_n "checking host system type... " >&6; }
2482 if ${ac_cv_host+:} false; then :
2483 $as_echo_n "(cached) " >&6
2485 if test "x$host_alias" = x; then
2486 ac_cv_host=$ac_cv_build
2488 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2489 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2494 $as_echo "$ac_cv_host" >&6; }
2497 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2500 ac_save_IFS=$IFS; IFS='-'
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2510 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2513 # Backslashify metacharacters that are still active within
2514 # double-quoted strings.
2515 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2517 # Same as above, but do not quote variable references.
2518 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2520 # Sed substitution to delay expansion of an escaped shell variable in a
2521 # double_quote_subst'ed string.
2522 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2524 # Sed substitution to delay expansion of an escaped single quote.
2525 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2527 # Sed substitution to avoid accidental globbing in evaled expressions
2528 no_glob_subst='s/\*/\\\*/g'
2530 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2531 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2532 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2535 $as_echo_n "checking how to print strings... " >&6; }
2536 # Test print first, because it will be a builtin if present.
2537 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2538 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2540 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2543 # Use this function as a fallback that always works.
2544 func_fallback_echo ()
2546 eval 'cat <<_LTECHO_EOF
2550 ECHO='func_fallback_echo'
2553 # func_echo_all arg...
2554 # Invoke $ECHO with all args, space-separated.
2561 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2562 $as_echo "printf" >&6; } ;;
2563 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2564 $as_echo "print -r" >&6; } ;;
2565 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2566 $as_echo "cat" >&6; } ;;
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2587 if test -n "$ac_tool_prefix"; then
2588 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if ${ac_cv_prog_CC+:} false; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$CC"; then
2596 ac_cv_prog_CC="$CC" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2605 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$CC"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2618 $as_echo "$CC" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2626 if test -z "$ac_cv_prog_CC"; then
2628 # Extract the first word of "gcc", so it can be a program name with args.
2629 set dummy gcc; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 if test -n "$ac_ct_CC"; then
2636 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645 ac_cv_prog_ac_ct_CC="gcc"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2658 $as_echo "$ac_ct_CC" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2664 if test "x$ac_ct_CC" = x; then
2667 case $cross_compiling:$ac_tool_warned in
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2671 ac_tool_warned=yes ;;
2679 if test -z "$CC"; then
2680 if test -n "$ac_tool_prefix"; then
2681 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2682 set dummy ${ac_tool_prefix}cc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if ${ac_cv_prog_CC+:} false; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$CC"; then
2689 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir=.
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2698 ac_cv_prog_CC="${ac_tool_prefix}cc"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2720 if test -z "$CC"; then
2721 # Extract the first word of "cc", so it can be a program name with args.
2722 set dummy cc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if ${ac_cv_prog_CC+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 if test -n "$CC"; then
2729 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2739 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2740 ac_prog_rejected=yes
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 if test $ac_prog_rejected = yes; then
2752 # We found a bogon in the path, so make sure we never use it.
2753 set dummy $ac_cv_prog_CC
2755 if test $# != 0; then
2756 # We chose a different compiler from the bogus one.
2757 # However, it has the same basename, so the bogon will be chosen
2758 # first if we set CC to just the basename; use the full file name.
2760 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 for ac_prog in cl.exe
2780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if ${ac_cv_prog_CC+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC="$CC" # Let the user override the test.
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2817 test -n "$CC" && break
2820 if test -z "$CC"; then
2822 for ac_prog in cl.exe
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$ac_ct_CC"; then
2832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CC="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$ac_ct_CC" && break
2864 if test "x$ac_ct_CC" = x; then
2867 case $cross_compiling:$ac_tool_warned in
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2880 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error $? "no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details" "$LINENO" 5; }
2885 # Provide some information about the compiler.
2886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2889 for ac_option in --version -v -V -qversion; do
2890 { { ac_try="$ac_compiler $ac_option >&5"
2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2899 if test -s conftest.err; then
2901 ... rest of stderr output deleted ...
2902 10q' conftest.err >conftest.er1
2903 cat conftest.er1 >&5
2905 rm -f conftest.er1 conftest.err
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; }
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2921 ac_clean_files_save=$ac_clean_files
2922 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2923 # Try to create an executable without -o first, disregard a.out.
2924 # It will help us diagnose broken compilers, and finding out an intuition
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2927 $as_echo_n "checking whether the C compiler works... " >&6; }
2928 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2930 # The possible output files:
2931 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2934 for ac_file in $ac_files
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2938 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2943 if { { ac_try="$ac_link_default"
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_link_default") 2>&5
2952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; }; then :
2954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2956 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2957 # so that the user can short-circuit this test for compilers unknown to
2959 for ac_file in $ac_files ''
2961 test -f "$ac_file" || continue
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2966 # We found the default executable, but exeext='' is most
2970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2972 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 # We set ac_cv_exeext here because the later test for it is not
2975 # safe: cross compilers may not add the suffix if given an `-o'
2976 # argument, so we may need to know it at that point already.
2977 # Even if this section looks crufty: it has the advantage of
2984 test "$ac_cv_exeext" = no && ac_cv_exeext=
2989 if test -z "$ac_file"; then :
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2997 as_fn_error 77 "C compiler cannot create executables
2998 See \`config.log' for more details" "$LINENO" 5; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3001 $as_echo "yes" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3004 $as_echo_n "checking for C compiler default output file name... " >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3006 $as_echo "$ac_file" >&6; }
3007 ac_exeext=$ac_cv_exeext
3009 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3010 ac_clean_files=$ac_clean_files_save
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3012 $as_echo_n "checking for suffix of executables... " >&6; }
3013 if { { ac_try="$ac_link"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 $as_echo "$ac_try_echo"; } >&5
3020 (eval "$ac_link") 2>&5
3022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023 test $ac_status = 0; }; then :
3024 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3026 # work properly (i.e., refer to `conftest.exe'), while it won't with
3028 for ac_file in conftest.exe conftest conftest.*; do
3029 test -f "$ac_file" || continue
3031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details" "$LINENO" 5; }
3043 rm -f conftest conftest$ac_cv_exeext
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3045 $as_echo "$ac_cv_exeext" >&6; }
3047 rm -f conftest.$ac_ext
3048 EXEEXT=$ac_cv_exeext
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3056 FILE *f = fopen ("conftest.out", "w");
3057 return ferror (f) || fclose (f) != 0;
3063 ac_clean_files="$ac_clean_files conftest.out"
3064 # Check that the compiler produces executables we can run. If not, either
3065 # the compiler is broken, or we cross compile.
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3067 $as_echo_n "checking whether we are cross compiling... " >&6; }
3068 if test "$cross_compiling" != yes; then
3069 { { ac_try="$ac_link"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_link") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }
3080 if { ac_try='./conftest$ac_cv_exeext'
3081 { { case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_try") 2>&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; }; }; then
3093 if test "$cross_compiling" = maybe; then
3096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error $? "cannot run C compiled programs.
3099 If you meant to cross compile, use \`--host'.
3100 See \`config.log' for more details" "$LINENO" 5; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3105 $as_echo "$cross_compiling" >&6; }
3107 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3108 ac_clean_files=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3110 $as_echo_n "checking for suffix of object files... " >&6; }
3111 if ${ac_cv_objext+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3125 rm -f conftest.o conftest.obj
3126 if { { ac_try="$ac_compile"
3128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_compile") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 for ac_file in conftest.o conftest.obj conftest.*; do
3138 test -f "$ac_file" || continue;
3140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3141 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $? "cannot compute suffix of object files: cannot compile
3152 See \`config.log' for more details" "$LINENO" 5; }
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3157 $as_echo "$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3162 if ${ac_cv_c_compiler_gnu+:} false; then :
3163 $as_echo_n "(cached) " >&6
3165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h. */
3179 if ac_fn_c_try_compile "$LINENO"; then :
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if ${ac_cv_prog_cc_g+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 ac_save_c_werror_flag=$ac_c_werror_flag
3203 ac_c_werror_flag=yes
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 if ac_fn_c_try_compile "$LINENO"; then :
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3232 if ac_fn_c_try_compile "$LINENO"; then :
3235 ac_c_werror_flag=$ac_save_c_werror_flag
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 if ac_fn_c_try_compile "$LINENO"; then :
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256 ac_c_werror_flag=$ac_save_c_werror_flag
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3259 $as_echo "$ac_cv_prog_cc_g" >&6; }
3260 if test "$ac_test_CFLAGS" = set; then
3261 CFLAGS=$ac_save_CFLAGS
3262 elif test $ac_cv_prog_cc_g = yes; then
3263 if test "$GCC" = yes; then
3269 if test "$GCC" = yes; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3277 if ${ac_cv_prog_cc_c89+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 ac_cv_prog_cc_c89=no
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3287 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3288 struct buf { int x; };
3289 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3290 static char *e (p, i)
3296 static char *f (char * (*g) (char **, int), char **p, ...)
3301 s = g (p, va_arg (v,int));
3306 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3307 function prototypes and stuff, but not '\xHH' hex character constants.
3308 These don't provoke an error unfortunately, instead are silently treated
3309 as 'x'. The following induces an error, until -std is added to get
3310 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3311 array size at least. It's necessary to write '\x00'==0 to get something
3312 that's true only with -std. */
3313 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3315 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3316 inside strings and character constants. */
3318 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3320 int test (int i, double x);
3321 struct s1 {int (*f) (int a);};
3322 struct s2 {int (*f) (double a);};
3323 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3329 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3334 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3335 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3337 CC="$ac_save_CC $ac_arg"
3338 if ac_fn_c_try_compile "$LINENO"; then :
3339 ac_cv_prog_cc_c89=$ac_arg
3341 rm -f core conftest.err conftest.$ac_objext
3342 test "x$ac_cv_prog_cc_c89" != "xno" && break
3344 rm -f conftest.$ac_ext
3349 case "x$ac_cv_prog_cc_c89" in
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3352 $as_echo "none needed" >&6; } ;;
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3355 $as_echo "unsupported" >&6; } ;;
3357 CC="$CC $ac_cv_prog_cc_c89"
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3359 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3361 if test "x$ac_cv_prog_cc_c89" != xno; then :
3366 ac_cpp='$CPP $CPPFLAGS'
3367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3372 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3373 if ${ac_cv_path_SED+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3377 for ac_i in 1 2 3 4 5 6 7; do
3378 ac_script="$ac_script$as_nl$ac_script"
3380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3381 { ac_script=; unset ac_script;}
3382 if test -z "$SED"; then
3383 ac_path_SED_found=false
3384 # Loop through the user's path and test for each of PROGNAME-LIST
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_prog in sed gsed; do
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3393 as_fn_executable_p "$ac_path_SED" || continue
3394 # Check for GNU ac_path_SED and select it if it is found.
3395 # Check for GNU $ac_path_SED
3396 case `"$ac_path_SED" --version 2>&1` in
3398 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3401 $as_echo_n 0123456789 >"conftest.in"
3404 cat "conftest.in" "conftest.in" >"conftest.tmp"
3405 mv "conftest.tmp" "conftest.in"
3406 cp "conftest.in" "conftest.nl"
3407 $as_echo '' >> "conftest.nl"
3408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3410 as_fn_arith $ac_count + 1 && ac_count=$as_val
3411 if test $ac_count -gt ${ac_path_SED_max-0}; then
3412 # Best one so far, save it but keep looking for a better one
3413 ac_cv_path_SED="$ac_path_SED"
3414 ac_path_SED_max=$ac_count
3416 # 10*(2^10) chars as input seems more than enough
3417 test $ac_count -gt 10 && break
3419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3422 $ac_path_SED_found && break 3
3427 if test -z "$ac_cv_path_SED"; then
3428 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3436 $as_echo "$ac_cv_path_SED" >&6; }
3437 SED="$ac_cv_path_SED"
3440 test -z "$SED" && SED=sed
3441 Xsed="$SED -e 1s/^X//"
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3454 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3455 if ${ac_cv_path_GREP+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -z "$GREP"; then
3459 ac_path_GREP_found=false
3460 # Loop through the user's path and test for each of PROGNAME-LIST
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3465 test -z "$as_dir" && as_dir=.
3466 for ac_prog in grep ggrep; do
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3469 as_fn_executable_p "$ac_path_GREP" || continue
3470 # Check for GNU ac_path_GREP and select it if it is found.
3471 # Check for GNU $ac_path_GREP
3472 case `"$ac_path_GREP" --version 2>&1` in
3474 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3477 $as_echo_n 0123456789 >"conftest.in"
3480 cat "conftest.in" "conftest.in" >"conftest.tmp"
3481 mv "conftest.tmp" "conftest.in"
3482 cp "conftest.in" "conftest.nl"
3483 $as_echo 'GREP' >> "conftest.nl"
3484 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3486 as_fn_arith $ac_count + 1 && ac_count=$as_val
3487 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3488 # Best one so far, save it but keep looking for a better one
3489 ac_cv_path_GREP="$ac_path_GREP"
3490 ac_path_GREP_max=$ac_count
3492 # 10*(2^10) chars as input seems more than enough
3493 test $ac_count -gt 10 && break
3495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3498 $ac_path_GREP_found && break 3
3503 if test -z "$ac_cv_path_GREP"; then
3504 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3507 ac_cv_path_GREP=$GREP
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3512 $as_echo "$ac_cv_path_GREP" >&6; }
3513 GREP="$ac_cv_path_GREP"
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3517 $as_echo_n "checking for egrep... " >&6; }
3518 if ${ac_cv_path_EGREP+:} false; then :
3519 $as_echo_n "(cached) " >&6
3521 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3522 then ac_cv_path_EGREP="$GREP -E"
3524 if test -z "$EGREP"; then
3525 ac_path_EGREP_found=false
3526 # Loop through the user's path and test for each of PROGNAME-LIST
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3531 test -z "$as_dir" && as_dir=.
3532 for ac_prog in egrep; do
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3535 as_fn_executable_p "$ac_path_EGREP" || continue
3536 # Check for GNU ac_path_EGREP and select it if it is found.
3537 # Check for GNU $ac_path_EGREP
3538 case `"$ac_path_EGREP" --version 2>&1` in
3540 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3543 $as_echo_n 0123456789 >"conftest.in"
3546 cat "conftest.in" "conftest.in" >"conftest.tmp"
3547 mv "conftest.tmp" "conftest.in"
3548 cp "conftest.in" "conftest.nl"
3549 $as_echo 'EGREP' >> "conftest.nl"
3550 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3551 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3552 as_fn_arith $ac_count + 1 && ac_count=$as_val
3553 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3554 # Best one so far, save it but keep looking for a better one
3555 ac_cv_path_EGREP="$ac_path_EGREP"
3556 ac_path_EGREP_max=$ac_count
3558 # 10*(2^10) chars as input seems more than enough
3559 test $ac_count -gt 10 && break
3561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3564 $ac_path_EGREP_found && break 3
3569 if test -z "$ac_cv_path_EGREP"; then
3570 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3573 ac_cv_path_EGREP=$EGREP
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3579 $as_echo "$ac_cv_path_EGREP" >&6; }
3580 EGREP="$ac_cv_path_EGREP"
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3584 $as_echo_n "checking for fgrep... " >&6; }
3585 if ${ac_cv_path_FGREP+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3589 then ac_cv_path_FGREP="$GREP -F"
3591 if test -z "$FGREP"; then
3592 ac_path_FGREP_found=false
3593 # Loop through the user's path and test for each of PROGNAME-LIST
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3598 test -z "$as_dir" && as_dir=.
3599 for ac_prog in fgrep; do
3600 for ac_exec_ext in '' $ac_executable_extensions; do
3601 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3602 as_fn_executable_p "$ac_path_FGREP" || continue
3603 # Check for GNU ac_path_FGREP and select it if it is found.
3604 # Check for GNU $ac_path_FGREP
3605 case `"$ac_path_FGREP" --version 2>&1` in
3607 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3610 $as_echo_n 0123456789 >"conftest.in"
3613 cat "conftest.in" "conftest.in" >"conftest.tmp"
3614 mv "conftest.tmp" "conftest.in"
3615 cp "conftest.in" "conftest.nl"
3616 $as_echo 'FGREP' >> "conftest.nl"
3617 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3618 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3619 as_fn_arith $ac_count + 1 && ac_count=$as_val
3620 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3621 # Best one so far, save it but keep looking for a better one
3622 ac_cv_path_FGREP="$ac_path_FGREP"
3623 ac_path_FGREP_max=$ac_count
3625 # 10*(2^10) chars as input seems more than enough
3626 test $ac_count -gt 10 && break
3628 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3631 $ac_path_FGREP_found && break 3
3636 if test -z "$ac_cv_path_FGREP"; then
3637 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3640 ac_cv_path_FGREP=$FGREP
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3646 $as_echo "$ac_cv_path_FGREP" >&6; }
3647 FGREP="$ac_cv_path_FGREP"
3650 test -z "$GREP" && GREP=grep
3670 # Check whether --with-gnu-ld was given.
3671 if test "${with_gnu_ld+set}" = set; then :
3672 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3678 if test "$GCC" = yes; then
3679 # Check if gcc -print-prog-name=ld gives a path.
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3681 $as_echo_n "checking for ld used by $CC... " >&6; }
3684 # gcc leaves a trailing carriage return which upsets mingw
3685 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3687 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3690 # Accept absolute paths.
3692 re_direlt='/[^/][^/]*/\.\./'
3693 # Canonicalize the pathname of ld
3694 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3695 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3696 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3698 test -z "$LD" && LD="$ac_prog"
3701 # If it fails, then pretend we aren't using GCC.
3705 # If it is relative, then search for the first ld in PATH.
3709 elif test "$with_gnu_ld" = yes; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3711 $as_echo_n "checking for GNU ld... " >&6; }
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3714 $as_echo_n "checking for non-GNU ld... " >&6; }
3716 if ${lt_cv_path_LD+:} false; then :
3717 $as_echo_n "(cached) " >&6
3719 if test -z "$LD"; then
3720 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3721 for ac_dir in $PATH; do
3723 test -z "$ac_dir" && ac_dir=.
3724 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3725 lt_cv_path_LD="$ac_dir/$ac_prog"
3726 # Check to see if the program is GNU ld. I'd rather use --version,
3727 # but apparently some variants of GNU ld only accept -v.
3728 # Break only if it was the GNU/non-GNU ld that we prefer.
3729 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3730 *GNU* | *'with BFD'*)
3731 test "$with_gnu_ld" != no && break
3734 test "$with_gnu_ld" != yes && break
3741 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3746 if test -n "$LD"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3748 $as_echo "$LD" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3753 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3755 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3756 if ${lt_cv_prog_gnu_ld+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3760 case `$LD -v 2>&1 </dev/null` in
3761 *GNU* | *'with BFD'*)
3762 lt_cv_prog_gnu_ld=yes
3765 lt_cv_prog_gnu_ld=no
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3770 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3771 with_gnu_ld=$lt_cv_prog_gnu_ld
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3782 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3783 if ${lt_cv_path_NM+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$NM"; then
3787 # Let the user override the test.
3790 lt_nm_to_check="${ac_tool_prefix}nm"
3791 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3792 lt_nm_to_check="$lt_nm_to_check nm"
3794 for lt_tmp_nm in $lt_nm_to_check; do
3795 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3796 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3798 test -z "$ac_dir" && ac_dir=.
3799 tmp_nm="$ac_dir/$lt_tmp_nm"
3800 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3801 # Check to see if the nm accepts a BSD-compat flag.
3802 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3803 # nm: unknown option "B" ignored
3804 # Tru64's nm complains that /dev/null is an invalid object file
3805 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3806 */dev/null* | *'Invalid file or object type'*)
3807 lt_cv_path_NM="$tmp_nm -B"
3811 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3813 lt_cv_path_NM="$tmp_nm -p"
3817 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3818 continue # so that we can try to find one that supports BSD flags
3827 : ${lt_cv_path_NM=no}
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3831 $as_echo "$lt_cv_path_NM" >&6; }
3832 if test "$lt_cv_path_NM" != "no"; then
3835 # Didn't find any BSD compatible name lister, look for dumpbin.
3836 if test -n "$DUMPBIN"; then :
3837 # Let the user override the test.
3839 if test -n "$ac_tool_prefix"; then
3840 for ac_prog in dumpbin "link -dump"
3842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_DUMPBIN+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$DUMPBIN"; then
3850 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 DUMPBIN=$ac_cv_prog_DUMPBIN
3870 if test -n "$DUMPBIN"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3872 $as_echo "$DUMPBIN" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3879 test -n "$DUMPBIN" && break
3882 if test -z "$DUMPBIN"; then
3883 ac_ct_DUMPBIN=$DUMPBIN
3884 for ac_prog in dumpbin "link -dump"
3886 # Extract the first word of "$ac_prog", so it can be a program name with args.
3887 set dummy $ac_prog; ac_word=$2
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
3891 $as_echo_n "(cached) " >&6
3893 if test -n "$ac_ct_DUMPBIN"; then
3894 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3914 if test -n "$ac_ct_DUMPBIN"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3916 $as_echo "$ac_ct_DUMPBIN" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3923 test -n "$ac_ct_DUMPBIN" && break
3926 if test "x$ac_ct_DUMPBIN" = x; then
3929 case $cross_compiling:$ac_tool_warned in
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3933 ac_tool_warned=yes ;;
3935 DUMPBIN=$ac_ct_DUMPBIN
3939 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
3941 DUMPBIN="$DUMPBIN -symbols"
3949 if test "$DUMPBIN" != ":"; then
3953 test -z "$NM" && NM=nm
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3961 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
3962 if ${lt_cv_nm_interface+:} false; then :
3963 $as_echo_n "(cached) " >&6
3965 lt_cv_nm_interface="BSD nm"
3966 echo "int some_variable = 0;" > conftest.$ac_ext
3967 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
3968 (eval "$ac_compile" 2>conftest.err)
3969 cat conftest.err >&5
3970 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3971 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3972 cat conftest.err >&5
3973 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
3974 cat conftest.out >&5
3975 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3976 lt_cv_nm_interface="MS dumpbin"
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3981 $as_echo "$lt_cv_nm_interface" >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3984 $as_echo_n "checking whether ln -s works... " >&6; }
3986 if test "$LN_S" = "ln -s"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3988 $as_echo "yes" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3991 $as_echo "no, using $LN_S" >&6; }
3994 # find the maximum length of command line arguments
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3996 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
3997 if ${lt_cv_sys_max_cmd_len+:} false; then :
3998 $as_echo_n "(cached) " >&6
4005 # On DJGPP, this test can blow up pretty badly due to problems in libc
4006 # (any single argument exceeding 2000 bytes causes a buffer overrun
4007 # during glob expansion). Even if it were fixed, the result of this
4008 # check would be larger than it should be.
4009 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4013 # Under GNU Hurd, this test is not required because there is
4014 # no limit to the length of command line arguments.
4015 # Libtool will interpret -1 as no limit whatsoever
4016 lt_cv_sys_max_cmd_len=-1;
4019 cygwin* | mingw* | cegcc*)
4020 # On Win9x/ME, this test blows up -- it succeeds, but takes
4021 # about 5 minutes as the teststring grows exponentially.
4022 # Worse, since 9x/ME are not pre-emptively multitasking,
4023 # you end up with a "frozen" computer, even though with patience
4024 # the test eventually succeeds (with a max line length of 256k).
4025 # Instead, let's just punt: use the minimum linelength reported by
4026 # all of the supported platforms: 8192 (on NT/2K/XP).
4027 lt_cv_sys_max_cmd_len=8192;
4031 # On MiNT this can take a long time and run out of memory.
4032 lt_cv_sys_max_cmd_len=8192;
4036 # On AmigaOS with pdksh, this test takes hours, literally.
4037 # So we just punt and use a minimum line length of 8192.
4038 lt_cv_sys_max_cmd_len=8192;
4041 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4042 # This has been around since 386BSD, at least. Likely further.
4043 if test -x /sbin/sysctl; then
4044 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4045 elif test -x /usr/sbin/sysctl; then
4046 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4048 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4050 # And add a safety zone
4051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4056 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4057 lt_cv_sys_max_cmd_len=196608
4061 # The test takes a long time on OS/2.
4062 lt_cv_sys_max_cmd_len=8192
4066 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4067 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4068 # nice to cause kernel panics so lets avoid the loop below.
4069 # First set a reasonable default.
4070 lt_cv_sys_max_cmd_len=16384
4072 if test -x /sbin/sysconfig; then
4073 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4074 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4079 lt_cv_sys_max_cmd_len=102400
4081 sysv5* | sco5v6* | sysv4.2uw2*)
4082 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4083 if test -n "$kargmax"; then
4084 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4086 lt_cv_sys_max_cmd_len=32768
4090 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4091 if test -n "$lt_cv_sys_max_cmd_len"; then
4092 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4095 # Make teststring a little bigger before we do anything with it.
4096 # a 1K string should be a reasonable start.
4097 for i in 1 2 3 4 5 6 7 8 ; do
4098 teststring=$teststring$teststring
4100 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4101 # If test is not a shell built-in, we'll probably end up computing a
4102 # maximum length that is only half of the actual maximum length, but
4104 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4105 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4106 test $i != 17 # 1/2 MB should be enough
4109 teststring=$teststring$teststring
4111 # Only check the string length outside the loop.
4112 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4114 # Add a significant safety factor because C++ compilers can tack on
4115 # massive amounts of additional arguments before passing them to the
4116 # linker. It appears as though 1/2 is a usable value.
4117 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4124 if test -n $lt_cv_sys_max_cmd_len ; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4126 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4129 $as_echo "none" >&6; }
4131 max_cmd_len=$lt_cv_sys_max_cmd_len
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4143 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4144 # Try some XSI features
4147 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4149 && eval 'test $(( 1 + 1 )) -eq 2 \
4150 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4153 $as_echo "$xsi_shell" >&6; }
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4157 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4159 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4161 && lt_shell_append=yes
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4163 $as_echo "$lt_shell_append" >&6; }
4166 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4176 # test EBCDIC or ASCII
4177 case `echo X|tr X '\101'` in
4178 A) # ASCII based system
4179 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4180 lt_SP2NL='tr \040 \012'
4181 lt_NL2SP='tr \015\012 \040\040'
4183 *) # EBCDIC based system
4184 lt_SP2NL='tr \100 \n'
4185 lt_NL2SP='tr \r\n \100\100'
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4198 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4199 if ${lt_cv_to_host_file_cmd+:} false; then :
4200 $as_echo_n "(cached) " >&6
4205 *-*-mingw* ) # actually msys
4206 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4209 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4211 * ) # otherwise, assume *nix
4212 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4218 *-*-mingw* ) # actually msys
4219 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4222 lt_cv_to_host_file_cmd=func_convert_file_noop
4224 * ) # otherwise, assume *nix
4225 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4229 * ) # unhandled hosts (and "normal" native builds)
4230 lt_cv_to_host_file_cmd=func_convert_file_noop
4236 to_host_file_cmd=$lt_cv_to_host_file_cmd
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4238 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4245 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4246 if ${lt_cv_to_tool_file_cmd+:} false; then :
4247 $as_echo_n "(cached) " >&6
4249 #assume ordinary cross tools, or native build.
4250 lt_cv_to_tool_file_cmd=func_convert_file_noop
4254 *-*-mingw* ) # actually msys
4255 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4263 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4265 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4272 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4273 if ${lt_cv_ld_reload_flag+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 lt_cv_ld_reload_flag='-r'
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4279 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4280 reload_flag=$lt_cv_ld_reload_flag
4281 case $reload_flag in
4283 *) reload_flag=" $reload_flag" ;;
4285 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4287 cygwin* | mingw* | pw32* | cegcc*)
4288 if test "$GCC" != yes; then
4293 if test "$GCC" = yes; then
4294 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4296 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4309 if test -n "$ac_tool_prefix"; then
4310 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4311 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_OBJDUMP+:} false; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$OBJDUMP"; then
4318 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 OBJDUMP=$ac_cv_prog_OBJDUMP
4338 if test -n "$OBJDUMP"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4340 $as_echo "$OBJDUMP" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4348 if test -z "$ac_cv_prog_OBJDUMP"; then
4349 ac_ct_OBJDUMP=$OBJDUMP
4350 # Extract the first word of "objdump", so it can be a program name with args.
4351 set dummy objdump; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_OBJDUMP"; then
4358 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4378 if test -n "$ac_ct_OBJDUMP"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4380 $as_echo "$ac_ct_OBJDUMP" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4386 if test "x$ac_ct_OBJDUMP" = x; then
4389 case $cross_compiling:$ac_tool_warned in
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4393 ac_tool_warned=yes ;;
4395 OBJDUMP=$ac_ct_OBJDUMP
4398 OBJDUMP="$ac_cv_prog_OBJDUMP"
4401 test -z "$OBJDUMP" && OBJDUMP=objdump
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4412 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4413 if ${lt_cv_deplibs_check_method+:} false; then :
4414 $as_echo_n "(cached) " >&6
4416 lt_cv_file_magic_cmd='$MAGIC_CMD'
4417 lt_cv_file_magic_test_file=
4418 lt_cv_deplibs_check_method='unknown'
4419 # Need to set the preceding variable on all platforms that support
4420 # interlibrary dependencies.
4421 # 'none' -- dependencies not supported.
4422 # `unknown' -- same as none, but documents that we really don't know.
4423 # 'pass_all' -- all dependencies passed with no checks.
4424 # 'test_compile' -- check by making test program.
4425 # 'file_magic [[regex]]' -- check by looking for files in library path
4426 # which responds to the $file_magic_cmd with a given extended regex.
4427 # If you have `file' or equivalent on your system and you're not sure
4428 # whether `pass_all' will *always* work, you probably want this one.
4432 lt_cv_deplibs_check_method=pass_all
4436 lt_cv_deplibs_check_method=pass_all
4440 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4441 lt_cv_file_magic_cmd='/usr/bin/file -L'
4442 lt_cv_file_magic_test_file=/shlib/libc.so
4446 # func_win32_libid is a shell function defined in ltmain.sh
4447 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4448 lt_cv_file_magic_cmd='func_win32_libid'
4452 # Base MSYS/MinGW do not provide the 'file' command needed by
4453 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4454 # unless we find 'file', for example because we are cross-compiling.
4455 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4456 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4457 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4458 lt_cv_file_magic_cmd='func_win32_libid'
4460 # Keep this pattern in sync with the one in func_win32_libid.
4461 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4462 lt_cv_file_magic_cmd='$OBJDUMP -f'
4467 # use the weaker test based on 'objdump'. See mingw*.
4468 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4469 lt_cv_file_magic_cmd='$OBJDUMP -f'
4472 darwin* | rhapsody*)
4473 lt_cv_deplibs_check_method=pass_all
4476 freebsd* | dragonfly*)
4477 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4480 # Not sure whether the presence of OpenBSD here was a mistake.
4481 # Let's accept both of them until this is cleared up.
4482 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4483 lt_cv_file_magic_cmd=/usr/bin/file
4484 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4488 lt_cv_deplibs_check_method=pass_all
4493 lt_cv_deplibs_check_method=pass_all
4497 lt_cv_deplibs_check_method=pass_all
4500 hpux10.20* | hpux11*)
4501 lt_cv_file_magic_cmd=/usr/bin/file
4504 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4505 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4508 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]'
4509 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4512 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4513 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4519 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4520 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4523 irix5* | irix6* | nonstopux*)
4525 *-32|*"-32 ") libmagic=32-bit;;
4526 *-n32|*"-n32 ") libmagic=N32;;
4527 *-64|*"-64 ") libmagic=64-bit;;
4528 *) libmagic=never-match;;
4530 lt_cv_deplibs_check_method=pass_all
4533 # This must be glibc/ELF.
4534 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4535 lt_cv_deplibs_check_method=pass_all
4539 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4540 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4547 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4548 lt_cv_file_magic_cmd=/usr/bin/file
4549 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4553 lt_cv_deplibs_check_method=pass_all
4557 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4558 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4560 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4564 osf3* | osf4* | osf5*)
4565 lt_cv_deplibs_check_method=pass_all
4569 lt_cv_deplibs_check_method=pass_all
4573 lt_cv_deplibs_check_method=pass_all
4576 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4577 lt_cv_deplibs_check_method=pass_all
4581 case $host_vendor in
4583 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]'
4584 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4587 lt_cv_deplibs_check_method=pass_all
4590 lt_cv_file_magic_cmd='/bin/file'
4591 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4594 lt_cv_file_magic_cmd='/bin/file'
4595 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4596 lt_cv_file_magic_test_file=/lib/libc.so
4599 lt_cv_deplibs_check_method=pass_all
4602 lt_cv_deplibs_check_method=pass_all
4608 lt_cv_deplibs_check_method=pass_all
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4614 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4618 if test "$build" = "$host"; then
4621 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4624 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4630 file_magic_cmd=$lt_cv_file_magic_cmd
4631 deplibs_check_method=$lt_cv_deplibs_check_method
4632 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_DLLTOOL+:} false; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$DLLTOOL"; then
4664 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir=.
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 DLLTOOL=$ac_cv_prog_DLLTOOL
4684 if test -n "$DLLTOOL"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4686 $as_echo "$DLLTOOL" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_DLLTOOL"; then
4695 ac_ct_DLLTOOL=$DLLTOOL
4696 # Extract the first word of "dlltool", so it can be a program name with args.
4697 set dummy dlltool; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_DLLTOOL"; then
4704 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4724 if test -n "$ac_ct_DLLTOOL"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4726 $as_echo "$ac_ct_DLLTOOL" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_DLLTOOL" = x; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4741 DLLTOOL=$ac_ct_DLLTOOL
4744 DLLTOOL="$ac_cv_prog_DLLTOOL"
4747 test -z "$DLLTOOL" && DLLTOOL=dlltool
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4759 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4760 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
4761 $as_echo_n "(cached) " >&6
4763 lt_cv_sharedlib_from_linklib_cmd='unknown'
4766 cygwin* | mingw* | pw32* | cegcc*)
4767 # two different shell functions defined in ltmain.sh
4768 # decide which to use based on capabilities of $DLLTOOL
4769 case `$DLLTOOL --help 2>&1` in
4770 *--identify-strict*)
4771 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
4774 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
4779 # fallback: assume linklib IS sharedlib
4780 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4786 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4787 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
4788 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
4797 if test -n "$ac_tool_prefix"; then
4800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4801 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_AR+:} false; then :
4805 $as_echo_n "(cached) " >&6
4807 if test -n "$AR"; then
4808 ac_cv_prog_AR="$AR" # Let the user override the test.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 if test -n "$AR"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4830 $as_echo "$AR" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4837 test -n "$AR" && break
4840 if test -z "$AR"; then
4844 # Extract the first word of "$ac_prog", so it can be a program name with args.
4845 set dummy $ac_prog; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -n "$ac_ct_AR"; then
4852 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir=.
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_prog_ac_ct_AR="$ac_prog"
4862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4872 if test -n "$ac_ct_AR"; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4874 $as_echo "$ac_ct_AR" >&6; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4881 test -n "$ac_ct_AR" && break
4884 if test "x$ac_ct_AR" = x; then
4887 case $cross_compiling:$ac_tool_warned in
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4891 ac_tool_warned=yes ;;
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
4911 $as_echo_n "checking for archiver @FILE support... " >&6; }
4912 if ${lt_cv_ar_at_file+:} false; then :
4913 $as_echo_n "(cached) " >&6
4916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917 /* end confdefs.h. */
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 echo conftest.$ac_objext > conftest.lst
4929 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
4930 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4931 (eval $lt_ar_try) 2>&5
4933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4934 test $ac_status = 0; }
4935 if test "$ac_status" -eq 0; then
4936 # Ensure the archiver fails upon bogus file names.
4937 rm -f conftest.$ac_objext libconftest.a
4938 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
4939 (eval $lt_ar_try) 2>&5
4941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4942 test $ac_status = 0; }
4943 if test "$ac_status" -ne 0; then
4947 rm -f conftest.* libconftest.a
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
4954 $as_echo "$lt_cv_ar_at_file" >&6; }
4956 if test "x$lt_cv_ar_at_file" = xno; then
4959 archiver_list_spec=$lt_cv_ar_at_file
4968 if test -n "$ac_tool_prefix"; then
4969 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}strip; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if ${ac_cv_prog_STRIP+:} false; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$STRIP"; then
4977 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 STRIP=$ac_cv_prog_STRIP
4997 if test -n "$STRIP"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4999 $as_echo "$STRIP" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5007 if test -z "$ac_cv_prog_STRIP"; then
5009 # Extract the first word of "strip", so it can be a program name with args.
5010 set dummy strip; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$ac_ct_STRIP"; then
5017 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_STRIP="strip"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5037 if test -n "$ac_ct_STRIP"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5039 $as_echo "$ac_ct_STRIP" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5045 if test "x$ac_ct_STRIP" = x; then
5048 case $cross_compiling:$ac_tool_warned in
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5052 ac_tool_warned=yes ;;
5057 STRIP="$ac_cv_prog_STRIP"
5060 test -z "$STRIP" && STRIP=:
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_RANLIB+:} false; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -n "$RANLIB"; then
5076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 RANLIB=$ac_cv_prog_RANLIB
5096 if test -n "$RANLIB"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5098 $as_echo "$RANLIB" >&6; }
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_RANLIB"; then
5107 ac_ct_RANLIB=$RANLIB
5108 # Extract the first word of "ranlib", so it can be a program name with args.
5109 set dummy ranlib; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5113 $as_echo_n "(cached) " >&6
5115 if test -n "$ac_ct_RANLIB"; then
5116 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_RANLIB="ranlib"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5136 if test -n "$ac_ct_RANLIB"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5138 $as_echo "$ac_ct_RANLIB" >&6; }
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_RANLIB" = x; then
5147 case $cross_compiling:$ac_tool_warned in
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5153 RANLIB=$ac_ct_RANLIB
5156 RANLIB="$ac_cv_prog_RANLIB"
5159 test -z "$RANLIB" && RANLIB=:
5166 # Determine commands to create old-style static archives.
5167 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5168 old_postinstall_cmds='chmod 644 $oldlib'
5169 old_postuninstall_cmds=
5171 if test -n "$RANLIB"; then
5174 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5177 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5180 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5185 lock_old_archive_extraction=yes ;;
5187 lock_old_archive_extraction=no ;;
5210 for ac_prog in gawk mawk nawk awk
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_AWK+:} false; then :
5217 $as_echo_n "(cached) " >&6
5219 if test -n "$AWK"; then
5220 ac_cv_prog_AWK="$AWK" # Let the user override the test.
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_AWK="$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 if test -n "$AWK"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5242 $as_echo "$AWK" >&6; }
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 test -n "$AWK" && break
5270 # If no C compiler was specified, use CC.
5273 # If no C compiler flags were specified, use CFLAGS.
5274 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5276 # Allow CC to be a program name with arguments.
5280 # Check for command to grab the raw symbol name followed by C symbol from nm.
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5282 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5283 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5284 $as_echo_n "(cached) " >&6
5287 # These are sane defaults that work on at least a few old systems.
5288 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5290 # Character class describing NM global symbol codes.
5291 symcode='[BCDEGRST]'
5293 # Regexp to match symbols that can be accessed directly from C.
5294 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5296 # Define system-specific variables.
5301 cygwin* | mingw* | pw32* | cegcc*)
5302 symcode='[ABCDGISTW]'
5305 if test "$host_cpu" = ia64; then
5306 symcode='[ABCDEGRST]'
5310 symcode='[BCDEGRST]'
5313 symcode='[BCDEGQRST]'
5324 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5332 # If we're using GNU nm, then use its standard symbol codes.
5333 case `$NM -V 2>&1` in
5334 *GNU* | *'with BFD'*)
5335 symcode='[ABCDGIRSTW]' ;;
5338 # Transform an extracted symbol line into a proper C declaration.
5339 # Some systems (esp. on ia64) link data and code symbols differently,
5340 # so use this general approach.
5341 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5343 # Transform an extracted symbol line into symbol name and symbol address
5344 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5345 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'"
5347 # Handle CRLF in mingw tool chain
5351 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5355 # Try without a prefix underscore, then with it.
5356 for ac_symprfx in "" "_"; do
5358 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5359 symxfrm="\\1 $ac_symprfx\\2 \\2"
5361 # Write the raw and C identifiers.
5362 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5363 # Fake it for dumpbin and say T for any non-static function
5364 # and D for any global variable.
5365 # Also find C++ and __fastcall symbols from MSVC++,
5366 # which start with @ or ?.
5367 lt_cv_sys_global_symbol_pipe="$AWK '"\
5368 " {last_section=section; section=\$ 3};"\
5369 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5370 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5371 " \$ 0!~/External *\|/{next};"\
5372 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5373 " {if(hide[section]) next};"\
5374 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5375 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5376 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5377 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5378 " ' prfx=^$ac_symprfx"
5380 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5382 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5384 # Check to see that the pipe works correctly.
5388 cat > conftest.$ac_ext <<_LT_EOF
5393 void nm_test_func(void);
5394 void nm_test_func(void){}
5398 int main(){nm_test_var='a';nm_test_func();return(0);}
5401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5402 (eval $ac_compile) 2>&5
5404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5405 test $ac_status = 0; }; then
5406 # Now try to grab the symbols.
5408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5409 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5412 test $ac_status = 0; } && test -s "$nlist"; then
5413 # Try sorting and uniquifying the output.
5414 if sort "$nlist" | uniq > "$nlist"T; then
5415 mv -f "$nlist"T "$nlist"
5420 # Make sure that we snagged all the symbols we need.
5421 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5422 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5423 cat <<_LT_EOF > conftest.$ac_ext
5424 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5425 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5426 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5427 relocations are performed -- see ld's documentation on pseudo-relocs. */
5428 # define LT_DLSYM_CONST
5429 #elif defined(__osf__)
5430 /* This system does not cope well with relocations in const data. */
5431 # define LT_DLSYM_CONST
5433 # define LT_DLSYM_CONST const
5441 # Now generate the symbol file.
5442 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5444 cat <<_LT_EOF >> conftest.$ac_ext
5446 /* The mapping between symbol names and symbols. */
5447 LT_DLSYM_CONST struct {
5451 lt__PROGRAM__LTX_preloaded_symbols[] =
5453 { "@PROGRAM@", (void *) 0 },
5455 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5456 cat <<\_LT_EOF >> conftest.$ac_ext
5460 /* This works around a problem in FreeBSD linker */
5461 #ifdef FREEBSD_WORKAROUND
5462 static const void *lt_preloaded_setup() {
5463 return lt__PROGRAM__LTX_preloaded_symbols;
5471 # Now try linking the two files.
5472 mv conftest.$ac_objext conftstm.$ac_objext
5473 lt_globsym_save_LIBS=$LIBS
5474 lt_globsym_save_CFLAGS=$CFLAGS
5475 LIBS="conftstm.$ac_objext"
5476 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5478 (eval $ac_link) 2>&5
5480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5481 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5484 LIBS=$lt_globsym_save_LIBS
5485 CFLAGS=$lt_globsym_save_CFLAGS
5487 echo "cannot find nm_test_func in $nlist" >&5
5490 echo "cannot find nm_test_var in $nlist" >&5
5493 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5496 echo "$progname: failed program was:" >&5
5497 cat conftest.$ac_ext >&5
5499 rm -rf conftest* conftst*
5501 # Do not use the global_symbol_pipe unless it works.
5502 if test "$pipe_works" = yes; then
5505 lt_cv_sys_global_symbol_pipe=
5511 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5512 lt_cv_sys_global_symbol_to_cdecl=
5514 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5516 $as_echo "failed" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5519 $as_echo "ok" >&6; }
5522 # Response file support.
5523 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5524 nm_file_list_spec='@'
5525 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5526 nm_file_list_spec='@'
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5556 $as_echo_n "checking for sysroot... " >&6; }
5558 # Check whether --with-sysroot was given.
5559 if test "${with_sysroot+set}" = set; then :
5560 withval=$with_sysroot;
5567 case ${with_sysroot} in #(
5569 if test "$GCC" = yes; then
5570 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5574 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
5580 $as_echo "${with_sysroot}" >&6; }
5581 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5586 $as_echo "${lt_sysroot:-no}" >&6; }
5592 # Check whether --enable-libtool-lock was given.
5593 if test "${enable_libtool_lock+set}" = set; then :
5594 enableval=$enable_libtool_lock;
5597 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5599 # Some flags need to be propagated to the compiler or linker for good
5603 # Find out which ABI we are using.
5604 echo 'int i;' > conftest.$ac_ext
5605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5606 (eval $ac_compile) 2>&5
5608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5609 test $ac_status = 0; }; then
5610 case `/usr/bin/file conftest.$ac_objext` in
5622 # Find out which ABI we are using.
5623 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5625 (eval $ac_compile) 2>&5
5627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5628 test $ac_status = 0; }; then
5629 if test "$lt_cv_prog_gnu_ld" = yes; then
5630 case `/usr/bin/file conftest.$ac_objext` in
5632 LD="${LD-ld} -melf32bsmip"
5635 LD="${LD-ld} -melf32bmipn32"
5638 LD="${LD-ld} -melf64bmip"
5642 case `/usr/bin/file conftest.$ac_objext` in
5658 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5659 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5660 # Find out which ABI we are using.
5661 echo 'int i;' > conftest.$ac_ext
5662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5663 (eval $ac_compile) 2>&5
5665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5666 test $ac_status = 0; }; then
5667 case `/usr/bin/file conftest.o` in
5670 x86_64-*kfreebsd*-gnu)
5671 LD="${LD-ld} -m elf_i386_fbsd"
5674 LD="${LD-ld} -m elf_i386"
5676 ppc64-*linux*|powerpc64-*linux*)
5677 LD="${LD-ld} -m elf32ppclinux"
5680 LD="${LD-ld} -m elf_s390"
5683 LD="${LD-ld} -m elf32_sparc"
5689 x86_64-*kfreebsd*-gnu)
5690 LD="${LD-ld} -m elf_x86_64_fbsd"
5693 LD="${LD-ld} -m elf_x86_64"
5695 ppc*-*linux*|powerpc*-*linux*)
5696 LD="${LD-ld} -m elf64ppc"
5698 s390*-*linux*|s390*-*tpf*)
5699 LD="${LD-ld} -m elf64_s390"
5702 LD="${LD-ld} -m elf64_sparc"
5712 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5713 SAVE_CFLAGS="$CFLAGS"
5714 CFLAGS="$CFLAGS -belf"
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5716 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5717 if ${lt_cv_cc_needs_belf+:} false; then :
5718 $as_echo_n "(cached) " >&6
5721 ac_cpp='$CPP $CPPFLAGS'
5722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5727 /* end confdefs.h. */
5737 if ac_fn_c_try_link "$LINENO"; then :
5738 lt_cv_cc_needs_belf=yes
5740 lt_cv_cc_needs_belf=no
5742 rm -f core conftest.err conftest.$ac_objext \
5743 conftest$ac_exeext conftest.$ac_ext
5745 ac_cpp='$CPP $CPPFLAGS'
5746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5752 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5753 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5754 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5755 CFLAGS="$SAVE_CFLAGS"
5759 # Find out which ABI we are using.
5760 echo 'int i;' > conftest.$ac_ext
5761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5762 (eval $ac_compile) 2>&5
5764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5765 test $ac_status = 0; }; then
5766 case `/usr/bin/file conftest.o` in
5768 case $lt_cv_prog_gnu_ld in
5772 LD="${LD-ld} -m elf_x86_64"
5775 LD="${LD-ld} -m elf64_sparc"
5778 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
5779 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
5784 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5796 need_locks="$enable_libtool_lock"
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}mt; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 if test -n "$MANIFEST_TOOL"; then
5807 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
5827 if test -n "$MANIFEST_TOOL"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
5829 $as_echo "$MANIFEST_TOOL" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5837 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
5838 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
5839 # Extract the first word of "mt", so it can be a program name with args.
5840 set dummy mt; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$ac_ct_MANIFEST_TOOL"; then
5847 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir=.
5854 for ac_exec_ext in '' $ac_executable_extensions; do
5855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
5867 if test -n "$ac_ct_MANIFEST_TOOL"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
5869 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5875 if test "x$ac_ct_MANIFEST_TOOL" = x; then
5878 case $cross_compiling:$ac_tool_warned in
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5882 ac_tool_warned=yes ;;
5884 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
5887 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
5890 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
5892 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
5893 if ${lt_cv_path_mainfest_tool+:} false; then :
5894 $as_echo_n "(cached) " >&6
5896 lt_cv_path_mainfest_tool=no
5897 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
5898 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
5899 cat conftest.err >&5
5900 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
5901 lt_cv_path_mainfest_tool=yes
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
5906 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
5907 if test "x$lt_cv_path_mainfest_tool" != xyes; then
5917 rhapsody* | darwin*)
5918 if test -n "$ac_tool_prefix"; then
5919 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5920 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922 $as_echo_n "checking for $ac_word... " >&6; }
5923 if ${ac_cv_prog_DSYMUTIL+:} false; then :
5924 $as_echo_n "(cached) " >&6
5926 if test -n "$DSYMUTIL"; then
5927 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5947 if test -n "$DSYMUTIL"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5949 $as_echo "$DSYMUTIL" >&6; }
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952 $as_echo "no" >&6; }
5957 if test -z "$ac_cv_prog_DSYMUTIL"; then
5958 ac_ct_DSYMUTIL=$DSYMUTIL
5959 # Extract the first word of "dsymutil", so it can be a program name with args.
5960 set dummy dsymutil; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5964 $as_echo_n "(cached) " >&6
5966 if test -n "$ac_ct_DSYMUTIL"; then
5967 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5987 if test -n "$ac_ct_DSYMUTIL"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5989 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5995 if test "x$ac_ct_DSYMUTIL" = x; then
5998 case $cross_compiling:$ac_tool_warned in
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6002 ac_tool_warned=yes ;;
6004 DSYMUTIL=$ac_ct_DSYMUTIL
6007 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6010 if test -n "$ac_tool_prefix"; then
6011 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6012 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014 $as_echo_n "checking for $ac_word... " >&6; }
6015 if ${ac_cv_prog_NMEDIT+:} false; then :
6016 $as_echo_n "(cached) " >&6
6018 if test -n "$NMEDIT"; then
6019 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025 test -z "$as_dir" && as_dir=.
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6028 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6041 $as_echo "$NMEDIT" >&6; }
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6049 if test -z "$ac_cv_prog_NMEDIT"; then
6050 ac_ct_NMEDIT=$NMEDIT
6051 # Extract the first word of "nmedit", so it can be a program name with args.
6052 set dummy nmedit; ac_word=$2
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054 $as_echo_n "checking for $ac_word... " >&6; }
6055 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6056 $as_echo_n "(cached) " >&6
6058 if test -n "$ac_ct_NMEDIT"; then
6059 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir=.
6066 for ac_exec_ext in '' $ac_executable_extensions; do
6067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6079 if test -n "$ac_ct_NMEDIT"; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6081 $as_echo "$ac_ct_NMEDIT" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 $as_echo "no" >&6; }
6087 if test "x$ac_ct_NMEDIT" = x; then
6090 case $cross_compiling:$ac_tool_warned in
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094 ac_tool_warned=yes ;;
6096 NMEDIT=$ac_ct_NMEDIT
6099 NMEDIT="$ac_cv_prog_NMEDIT"
6102 if test -n "$ac_tool_prefix"; then
6103 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6104 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_LIPO+:} false; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$LIPO"; then
6111 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 LIPO=$ac_cv_prog_LIPO
6131 if test -n "$LIPO"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6133 $as_echo "$LIPO" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6141 if test -z "$ac_cv_prog_LIPO"; then
6143 # Extract the first word of "lipo", so it can be a program name with args.
6144 set dummy lipo; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6146 $as_echo_n "checking for $ac_word... " >&6; }
6147 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6148 $as_echo_n "(cached) " >&6
6150 if test -n "$ac_ct_LIPO"; then
6151 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_LIPO="lipo"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6171 if test -n "$ac_ct_LIPO"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6173 $as_echo "$ac_ct_LIPO" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 $as_echo "no" >&6; }
6179 if test "x$ac_ct_LIPO" = x; then
6182 case $cross_compiling:$ac_tool_warned in
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6191 LIPO="$ac_cv_prog_LIPO"
6194 if test -n "$ac_tool_prefix"; then
6195 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6196 set dummy ${ac_tool_prefix}otool; ac_word=$2
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6198 $as_echo_n "checking for $ac_word... " >&6; }
6199 if ${ac_cv_prog_OTOOL+:} false; then :
6200 $as_echo_n "(cached) " >&6
6202 if test -n "$OTOOL"; then
6203 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 test -z "$as_dir" && as_dir=.
6210 for ac_exec_ext in '' $ac_executable_extensions; do
6211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6212 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6222 OTOOL=$ac_cv_prog_OTOOL
6223 if test -n "$OTOOL"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6225 $as_echo "$OTOOL" >&6; }
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6233 if test -z "$ac_cv_prog_OTOOL"; then
6235 # Extract the first word of "otool", so it can be a program name with args.
6236 set dummy otool; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; }
6239 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6240 $as_echo_n "(cached) " >&6
6242 if test -n "$ac_ct_OTOOL"; then
6243 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 test -z "$as_dir" && as_dir=.
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_ac_ct_OTOOL="otool"
6253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6263 if test -n "$ac_ct_OTOOL"; then
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6265 $as_echo "$ac_ct_OTOOL" >&6; }
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6268 $as_echo "no" >&6; }
6271 if test "x$ac_ct_OTOOL" = x; then
6274 case $cross_compiling:$ac_tool_warned in
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6278 ac_tool_warned=yes ;;
6283 OTOOL="$ac_cv_prog_OTOOL"
6286 if test -n "$ac_tool_prefix"; then
6287 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6288 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_OTOOL64+:} false; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$OTOOL64"; then
6295 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 OTOOL64=$ac_cv_prog_OTOOL64
6315 if test -n "$OTOOL64"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6317 $as_echo "$OTOOL64" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6325 if test -z "$ac_cv_prog_OTOOL64"; then
6326 ac_ct_OTOOL64=$OTOOL64
6327 # Extract the first word of "otool64", so it can be a program name with args.
6328 set dummy otool64; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$ac_ct_OTOOL64"; then
6335 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6344 ac_cv_prog_ac_ct_OTOOL64="otool64"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6355 if test -n "$ac_ct_OTOOL64"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6357 $as_echo "$ac_ct_OTOOL64" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6363 if test "x$ac_ct_OTOOL64" = x; then
6366 case $cross_compiling:$ac_tool_warned in
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6370 ac_tool_warned=yes ;;
6372 OTOOL64=$ac_ct_OTOOL64
6375 OTOOL64="$ac_cv_prog_OTOOL64"
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6405 $as_echo_n "checking for -single_module linker flag... " >&6; }
6406 if ${lt_cv_apple_cc_single_mod+:} false; then :
6407 $as_echo_n "(cached) " >&6
6409 lt_cv_apple_cc_single_mod=no
6410 if test -z "${LT_MULTI_MODULE}"; then
6411 # By default we will add the -single_module flag. You can override
6412 # by either setting the environment variable LT_MULTI_MODULE
6413 # non-empty at configure time, or by adding -multi_module to the
6415 rm -rf libconftest.dylib*
6416 echo "int foo(void){return 1;}" > conftest.c
6417 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6418 -dynamiclib -Wl,-single_module conftest.c" >&5
6419 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6420 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6422 # If there is a non-empty error log, and "single_module"
6423 # appears in it, assume the flag caused a linker warning
6424 if test -s conftest.err && $GREP single_module conftest.err; then
6425 cat conftest.err >&5
6426 # Otherwise, if the output was created with a 0 exit code from
6427 # the compiler, it worked.
6428 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6429 lt_cv_apple_cc_single_mod=yes
6431 cat conftest.err >&5
6433 rm -rf libconftest.dylib*
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6438 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6441 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6442 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6443 $as_echo_n "(cached) " >&6
6445 lt_cv_ld_exported_symbols_list=no
6446 save_LDFLAGS=$LDFLAGS
6447 echo "_main" > conftest.sym
6448 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6460 if ac_fn_c_try_link "$LINENO"; then :
6461 lt_cv_ld_exported_symbols_list=yes
6463 lt_cv_ld_exported_symbols_list=no
6465 rm -f core conftest.err conftest.$ac_objext \
6466 conftest$ac_exeext conftest.$ac_ext
6467 LDFLAGS="$save_LDFLAGS"
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6471 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6474 $as_echo_n "checking for -force_load linker flag... " >&6; }
6475 if ${lt_cv_ld_force_load+:} false; then :
6476 $as_echo_n "(cached) " >&6
6478 lt_cv_ld_force_load=no
6479 cat > conftest.c << _LT_EOF
6480 int forced_loaded() { return 2;}
6482 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6483 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6484 echo "$AR cru libconftest.a conftest.o" >&5
6485 $AR cru libconftest.a conftest.o 2>&5
6486 echo "$RANLIB libconftest.a" >&5
6487 $RANLIB libconftest.a 2>&5
6488 cat > conftest.c << _LT_EOF
6489 int main() { return 0;}
6491 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6492 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6494 if test -s conftest.err && $GREP force_load conftest.err; then
6495 cat conftest.err >&5
6496 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
6497 lt_cv_ld_force_load=yes
6499 cat conftest.err >&5
6501 rm -f conftest.err libconftest.a conftest conftest.c
6502 rm -rf conftest.dSYM
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6506 $as_echo "$lt_cv_ld_force_load" >&6; }
6508 rhapsody* | darwin1.[012])
6509 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6511 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6512 darwin*) # darwin 5.x on
6513 # if running on 10.5 or later, the deployment target defaults
6514 # to the OS version, if on x86, and 10.4, the deployment
6515 # target defaults to 10.4. Don't you love it?
6516 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6517 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6518 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6520 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6522 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6526 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6527 _lt_dar_single_mod='$single_module'
6529 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6530 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6532 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6534 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6535 _lt_dsymutil='~$DSYMUTIL $lib || :'
6543 ac_cpp='$CPP $CPPFLAGS'
6544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6548 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6549 # On Suns, sometimes $CPP names a directory.
6550 if test -n "$CPP" && test -d "$CPP"; then
6553 if test -z "$CPP"; then
6554 if ${ac_cv_prog_CPP+:} false; then :
6555 $as_echo_n "(cached) " >&6
6557 # Double quotes because CPP needs to be expanded
6558 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6561 for ac_c_preproc_warn_flag in '' yes
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6572 # include <limits.h>
6574 # include <assert.h>
6578 if ac_fn_c_try_cpp "$LINENO"; then :
6581 # Broken: fails on valid input.
6584 rm -f conftest.err conftest.i conftest.$ac_ext
6586 # OK, works on sane cases. Now check whether nonexistent headers
6587 # can be detected and how.
6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #include <ac_nonexistent.h>
6592 if ac_fn_c_try_cpp "$LINENO"; then :
6593 # Broken: success on invalid input.
6596 # Passes both tests.
6600 rm -f conftest.err conftest.i conftest.$ac_ext
6603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6604 rm -f conftest.i conftest.err conftest.$ac_ext
6605 if $ac_preproc_ok; then :
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6618 $as_echo "$CPP" >&6; }
6620 for ac_c_preproc_warn_flag in '' yes
6622 # Use a header file that comes with gcc, so configuring glibc
6623 # with a fresh cross-compiler works.
6624 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6625 # <limits.h> exists even on freestanding compilers.
6626 # On the NeXT, cc -E runs the code through the compiler's parser,
6627 # not just through cpp. "Syntax error" is here to catch this case.
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6631 # include <limits.h>
6633 # include <assert.h>
6637 if ac_fn_c_try_cpp "$LINENO"; then :
6640 # Broken: fails on valid input.
6643 rm -f conftest.err conftest.i conftest.$ac_ext
6645 # OK, works on sane cases. Now check whether nonexistent headers
6646 # can be detected and how.
6647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6649 #include <ac_nonexistent.h>
6651 if ac_fn_c_try_cpp "$LINENO"; then :
6652 # Broken: success on invalid input.
6655 # Passes both tests.
6659 rm -f conftest.err conftest.i conftest.$ac_ext
6662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6663 rm -f conftest.i conftest.err conftest.$ac_ext
6664 if $ac_preproc_ok; then :
6667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6669 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6670 See \`config.log' for more details" "$LINENO" 5; }
6674 ac_cpp='$CPP $CPPFLAGS'
6675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6681 $as_echo_n "checking for ANSI C header files... " >&6; }
6682 if ${ac_cv_header_stdc+:} false; then :
6683 $as_echo_n "(cached) " >&6
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6700 if ac_fn_c_try_compile "$LINENO"; then :
6701 ac_cv_header_stdc=yes
6703 ac_cv_header_stdc=no
6705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6707 if test $ac_cv_header_stdc = yes; then
6708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6715 $EGREP "memchr" >/dev/null 2>&1; then :
6718 ac_cv_header_stdc=no
6724 if test $ac_cv_header_stdc = yes; then
6725 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6727 /* end confdefs.h. */
6731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6732 $EGREP "free" >/dev/null 2>&1; then :
6735 ac_cv_header_stdc=no
6741 if test $ac_cv_header_stdc = yes; then
6742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6743 if test "$cross_compiling" = yes; then :
6746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6750 #if ((' ' & 0x0FF) == 0x020)
6751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6754 # define ISLOWER(c) \
6755 (('a' <= (c) && (c) <= 'i') \
6756 || ('j' <= (c) && (c) <= 'r') \
6757 || ('s' <= (c) && (c) <= 'z'))
6758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6766 for (i = 0; i < 256; i++)
6767 if (XOR (islower (i), ISLOWER (i))
6768 || toupper (i) != TOUPPER (i))
6773 if ac_fn_c_try_run "$LINENO"; then :
6776 ac_cv_header_stdc=no
6778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6779 conftest.$ac_objext conftest.beam conftest.$ac_ext
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6785 $as_echo "$ac_cv_header_stdc" >&6; }
6786 if test $ac_cv_header_stdc = yes; then
6788 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6793 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6794 inttypes.h stdint.h unistd.h
6796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6797 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6799 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6800 cat >>confdefs.h <<_ACEOF
6801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6809 for ac_header in dlfcn.h
6811 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6813 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6814 cat >>confdefs.h <<_ACEOF
6815 #define HAVE_DLFCN_H 1
6836 # Check whether --enable-shared was given.
6837 if test "${enable_shared+set}" = set; then :
6838 enableval=$enable_shared; p=${PACKAGE-default}
6840 yes) enable_shared=yes ;;
6841 no) enable_shared=no ;;
6844 # Look at the argument we got. We use all the common list separators.
6845 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6846 for pkg in $enableval; do
6848 if test "X$pkg" = "X$p"; then
6867 # Check whether --enable-static was given.
6868 if test "${enable_static+set}" = set; then :
6869 enableval=$enable_static; p=${PACKAGE-default}
6871 yes) enable_static=yes ;;
6872 no) enable_static=no ;;
6875 # Look at the argument we got. We use all the common list separators.
6876 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6877 for pkg in $enableval; do
6879 if test "X$pkg" = "X$p"; then
6899 # Check whether --with-pic was given.
6900 if test "${with_pic+set}" = set; then :
6901 withval=$with_pic; lt_p=${PACKAGE-default}
6903 yes|no) pic_mode=$withval ;;
6906 # Look at the argument we got. We use all the common list separators.
6907 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6908 for lt_pkg in $withval; do
6910 if test "X$lt_pkg" = "X$lt_p"; then
6922 test -z "$pic_mode" && pic_mode=default
6930 # Check whether --enable-fast-install was given.
6931 if test "${enable_fast_install+set}" = set; then :
6932 enableval=$enable_fast_install; p=${PACKAGE-default}
6934 yes) enable_fast_install=yes ;;
6935 no) enable_fast_install=no ;;
6937 enable_fast_install=no
6938 # Look at the argument we got. We use all the common list separators.
6939 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6940 for pkg in $enableval; do
6942 if test "X$pkg" = "X$p"; then
6943 enable_fast_install=yes
6950 enable_fast_install=yes
6963 # This can be used to rebuild libtool when needed
6964 LIBTOOL_DEPS="$ltmain"
6966 # Always use our own libtool.
6967 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6998 test -z "$LN_S" && LN_S="ln -s"
7013 if test -n "${ZSH_VERSION+set}" ; then
7014 setopt NO_GLOB_SUBST
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7018 $as_echo_n "checking for objdir... " >&6; }
7019 if ${lt_cv_objdir+:} false; then :
7020 $as_echo_n "(cached) " >&6
7022 rm -f .libs 2>/dev/null
7023 mkdir .libs 2>/dev/null
7024 if test -d .libs; then
7027 # MS-DOS does not allow filenames that begin with a dot.
7030 rmdir .libs 2>/dev/null
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7033 $as_echo "$lt_cv_objdir" >&6; }
7034 objdir=$lt_cv_objdir
7040 cat >>confdefs.h <<_ACEOF
7041 #define LT_OBJDIR "$lt_cv_objdir/"
7049 # AIX sometimes has problems with the GCC collect2 program. For some
7050 # reason, if we set the COLLECT_NAMES environment variable, the problems
7051 # vanish in a puff of smoke.
7052 if test "X${COLLECT_NAMES+set}" != Xset; then
7054 export COLLECT_NAMES
7061 can_build_shared=yes
7063 # All known linkers require a `.a' archive for static linking (except MSVC,
7064 # which needs '.lib').
7067 with_gnu_ld="$lt_cv_prog_gnu_ld"
7070 old_CFLAGS="$CFLAGS"
7072 # Set sane defaults for various variables
7073 test -z "$CC" && CC=cc
7074 test -z "$LTCC" && LTCC=$CC
7075 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7076 test -z "$LD" && LD=ld
7077 test -z "$ac_objext" && ac_objext=o
7079 for cc_temp in $compiler""; do
7081 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7082 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7087 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7090 # Only perform the check for file, if the check method requires it
7091 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7092 case $deplibs_check_method in
7094 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7096 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7097 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7098 $as_echo_n "(cached) " >&6
7102 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7105 lt_save_MAGIC_CMD="$MAGIC_CMD"
7106 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7107 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7108 for ac_dir in $ac_dummy; do
7110 test -z "$ac_dir" && ac_dir=.
7111 if test -f $ac_dir/${ac_tool_prefix}file; then
7112 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7113 if test -n "$file_magic_test_file"; then
7114 case $deplibs_check_method in
7116 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7118 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7119 $EGREP "$file_magic_regex" > /dev/null; then
7124 *** Warning: the command libtool uses to detect shared libraries,
7125 *** $file_magic_cmd, produces output that libtool cannot recognize.
7126 *** The result is that libtool may fail to recognize shared libraries
7127 *** as such. This will affect the creation of libtool libraries that
7128 *** depend on shared libraries, but programs linked with such libtool
7129 *** libraries will work regardless of this problem. Nevertheless, you
7130 *** may want to report the problem to your system manager and/or to
7131 *** bug-libtool@gnu.org
7141 MAGIC_CMD="$lt_save_MAGIC_CMD"
7146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7147 if test -n "$MAGIC_CMD"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7149 $as_echo "$MAGIC_CMD" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 $as_echo "no" >&6; }
7159 if test -z "$lt_cv_path_MAGIC_CMD"; then
7160 if test -n "$ac_tool_prefix"; then
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7162 $as_echo_n "checking for file... " >&6; }
7163 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7164 $as_echo_n "(cached) " >&6
7168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7171 lt_save_MAGIC_CMD="$MAGIC_CMD"
7172 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7173 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7174 for ac_dir in $ac_dummy; do
7176 test -z "$ac_dir" && ac_dir=.
7177 if test -f $ac_dir/file; then
7178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7179 if test -n "$file_magic_test_file"; then
7180 case $deplibs_check_method in
7182 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7185 $EGREP "$file_magic_regex" > /dev/null; then
7190 *** Warning: the command libtool uses to detect shared libraries,
7191 *** $file_magic_cmd, produces output that libtool cannot recognize.
7192 *** The result is that libtool may fail to recognize shared libraries
7193 *** as such. This will affect the creation of libtool libraries that
7194 *** depend on shared libraries, but programs linked with such libtool
7195 *** libraries will work regardless of this problem. Nevertheless, you
7196 *** may want to report the problem to your system manager and/or to
7197 *** bug-libtool@gnu.org
7207 MAGIC_CMD="$lt_save_MAGIC_CMD"
7212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7213 if test -n "$MAGIC_CMD"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7215 $as_echo "$MAGIC_CMD" >&6; }
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7231 # Use C for the default configuration in the libtool script
7235 ac_cpp='$CPP $CPPFLAGS'
7236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7241 # Source file extension for C test sources.
7244 # Object file extension for compiled C test sources.
7248 # Code to be used in simple compile tests
7249 lt_simple_compile_test_code="int some_variable = 0;"
7251 # Code to be used in simple link tests
7252 lt_simple_link_test_code='int main(){return(0);}'
7260 # If no C compiler was specified, use CC.
7263 # If no C compiler flags were specified, use CFLAGS.
7264 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7266 # Allow CC to be a program name with arguments.
7269 # Save the default compiler, since it gets overwritten when the other
7270 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7271 compiler_DEFAULT=$CC
7273 # save warnings/boilerplate of simple test code
7274 ac_outfile=conftest.$ac_objext
7275 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7276 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7277 _lt_compiler_boilerplate=`cat conftest.err`
7280 ac_outfile=conftest.$ac_objext
7281 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7282 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7283 _lt_linker_boilerplate=`cat conftest.err`
7288 ## There is no encapsulation within the following macros, do not change
7289 ## the running order or otherwise move them around unless you know exactly
7290 ## what you are doing...
7291 if test -n "$compiler"; then
7293 lt_prog_compiler_no_builtin_flag=
7295 if test "$GCC" = yes; then
7296 case $cc_basename in
7298 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7300 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7304 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7305 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7306 $as_echo_n "(cached) " >&6
7308 lt_cv_prog_compiler_rtti_exceptions=no
7309 ac_outfile=conftest.$ac_objext
7310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7311 lt_compiler_flag="-fno-rtti -fno-exceptions"
7312 # Insert the option either (1) after the last *FLAGS variable, or
7313 # (2) before a word containing "conftest.", or (3) at the end.
7314 # Note that $ac_compile itself does not contain backslashes and begins
7315 # with a dollar sign (not a hyphen), so the echo should work correctly.
7316 # The option is referenced via a variable to avoid confusing sed.
7317 lt_compile=`echo "$ac_compile" | $SED \
7318 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7319 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7320 -e 's:$: $lt_compiler_flag:'`
7321 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7322 (eval "$lt_compile" 2>conftest.err)
7324 cat conftest.err >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 if (exit $ac_status) && test -s "$ac_outfile"; then
7327 # The compiler can only warn and ignore the option if not recognized
7328 # So say no if there are warnings other than the usual output.
7329 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7331 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7332 lt_cv_prog_compiler_rtti_exceptions=yes
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7339 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7341 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7342 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7354 lt_prog_compiler_wl=
7355 lt_prog_compiler_pic=
7356 lt_prog_compiler_static=
7359 if test "$GCC" = yes; then
7360 lt_prog_compiler_wl='-Wl,'
7361 lt_prog_compiler_static='-static'
7365 # All AIX code is PIC.
7366 if test "$host_cpu" = ia64; then
7367 # AIX 5 now supports IA64 processor
7368 lt_prog_compiler_static='-Bstatic'
7375 # see comment about AmigaOS4 .so support
7376 lt_prog_compiler_pic='-fPIC'
7379 # FIXME: we need at least 68020 code to build shared libraries, but
7380 # adding the `-m68020' flag to GCC prevents building anything better,
7382 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7387 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7388 # PIC is the default for these OSes.
7391 mingw* | cygwin* | pw32* | os2* | cegcc*)
7392 # This hack is so that the source file can tell whether it is being
7393 # built for inclusion in a dll (and should export symbols for example).
7394 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7395 # (--disable-auto-import) libraries
7396 lt_prog_compiler_pic='-DDLL_EXPORT'
7399 darwin* | rhapsody*)
7400 # PIC is the default on this platform
7401 # Common symbols not allowed in MH_DYLIB files
7402 lt_prog_compiler_pic='-fno-common'
7406 # PIC is the default for Haiku.
7407 # The "-static" flag exists, but is broken.
7408 lt_prog_compiler_static=
7412 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7413 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7414 # sets the default TLS model and affects inlining.
7420 lt_prog_compiler_pic='-fPIC'
7426 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7427 # Instead, we relocate shared libraries at runtime.
7431 # Just because we use GCC doesn't mean we suddenly get shared libraries
7432 # on systems that don't support them.
7433 lt_prog_compiler_can_build_shared=no
7438 # QNX uses GNU C++, but need to define -shared option too, otherwise
7440 lt_prog_compiler_pic='-fPIC -shared'
7444 if test -d /usr/nec; then
7445 lt_prog_compiler_pic=-Kconform_pic
7450 lt_prog_compiler_pic='-fPIC'
7454 case $cc_basename in
7455 nvcc*) # Cuda Compiler Driver 2.2
7456 lt_prog_compiler_wl='-Xlinker '
7457 if test -n "$lt_prog_compiler_pic"; then
7458 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7463 # PORTME Check for flag to pass linker flags through the system compiler.
7466 lt_prog_compiler_wl='-Wl,'
7467 if test "$host_cpu" = ia64; then
7468 # AIX 5 now supports IA64 processor
7469 lt_prog_compiler_static='-Bstatic'
7471 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7475 mingw* | cygwin* | pw32* | os2* | cegcc*)
7476 # This hack is so that the source file can tell whether it is being
7477 # built for inclusion in a dll (and should export symbols for example).
7478 lt_prog_compiler_pic='-DDLL_EXPORT'
7481 hpux9* | hpux10* | hpux11*)
7482 lt_prog_compiler_wl='-Wl,'
7483 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7490 lt_prog_compiler_pic='+Z'
7493 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7494 lt_prog_compiler_static='${wl}-a ${wl}archive'
7497 irix5* | irix6* | nonstopux*)
7498 lt_prog_compiler_wl='-Wl,'
7499 # PIC (with -KPIC) is the default.
7500 lt_prog_compiler_static='-non_shared'
7503 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7504 case $cc_basename in
7505 # old Intel for x86_64 which still supported -KPIC.
7507 lt_prog_compiler_wl='-Wl,'
7508 lt_prog_compiler_pic='-KPIC'
7509 lt_prog_compiler_static='-static'
7511 # icc used to be incompatible with GCC.
7512 # ICC 10 doesn't accept -KPIC any more.
7514 lt_prog_compiler_wl='-Wl,'
7515 lt_prog_compiler_pic='-fPIC'
7516 lt_prog_compiler_static='-static'
7518 # Lahey Fortran 8.1.
7520 lt_prog_compiler_wl='-Wl,'
7521 lt_prog_compiler_pic='--shared'
7522 lt_prog_compiler_static='--static'
7525 # NAG Fortran compiler
7526 lt_prog_compiler_wl='-Wl,-Wl,,'
7527 lt_prog_compiler_pic='-PIC'
7528 lt_prog_compiler_static='-Bstatic'
7530 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7531 # Portland Group compilers (*not* the Pentium gcc compiler,
7532 # which looks to be a dead project)
7533 lt_prog_compiler_wl='-Wl,'
7534 lt_prog_compiler_pic='-fpic'
7535 lt_prog_compiler_static='-Bstatic'
7538 lt_prog_compiler_wl='-Wl,'
7539 # All Alpha code is PIC.
7540 lt_prog_compiler_static='-non_shared'
7542 xl* | bgxl* | bgf* | mpixl*)
7543 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7544 lt_prog_compiler_wl='-Wl,'
7545 lt_prog_compiler_pic='-qpic'
7546 lt_prog_compiler_static='-qstaticlink'
7549 case `$CC -V 2>&1 | sed 5q` in
7550 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7551 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7552 lt_prog_compiler_pic='-KPIC'
7553 lt_prog_compiler_static='-Bstatic'
7554 lt_prog_compiler_wl=''
7556 *Sun\ F* | *Sun*Fortran*)
7557 lt_prog_compiler_pic='-KPIC'
7558 lt_prog_compiler_static='-Bstatic'
7559 lt_prog_compiler_wl='-Qoption ld '
7563 lt_prog_compiler_pic='-KPIC'
7564 lt_prog_compiler_static='-Bstatic'
7565 lt_prog_compiler_wl='-Wl,'
7567 *Intel*\ [CF]*Compiler*)
7568 lt_prog_compiler_wl='-Wl,'
7569 lt_prog_compiler_pic='-fPIC'
7570 lt_prog_compiler_static='-static'
7573 lt_prog_compiler_wl='-Wl,'
7574 lt_prog_compiler_pic='-fpic'
7575 lt_prog_compiler_static='-Bstatic'
7583 lt_prog_compiler_pic='-KPIC'
7584 lt_prog_compiler_static='-Bstatic'
7588 # QNX uses GNU C++, but need to define -shared option too, otherwise
7590 lt_prog_compiler_pic='-fPIC -shared'
7593 osf3* | osf4* | osf5*)
7594 lt_prog_compiler_wl='-Wl,'
7595 # All OSF/1 code is PIC.
7596 lt_prog_compiler_static='-non_shared'
7600 lt_prog_compiler_static='-non_shared'
7604 lt_prog_compiler_pic='-KPIC'
7605 lt_prog_compiler_static='-Bstatic'
7606 case $cc_basename in
7607 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7608 lt_prog_compiler_wl='-Qoption ld ';;
7610 lt_prog_compiler_wl='-Wl,';;
7615 lt_prog_compiler_wl='-Qoption ld '
7616 lt_prog_compiler_pic='-PIC'
7617 lt_prog_compiler_static='-Bstatic'
7620 sysv4 | sysv4.2uw2* | sysv4.3*)
7621 lt_prog_compiler_wl='-Wl,'
7622 lt_prog_compiler_pic='-KPIC'
7623 lt_prog_compiler_static='-Bstatic'
7627 if test -d /usr/nec ;then
7628 lt_prog_compiler_pic='-Kconform_pic'
7629 lt_prog_compiler_static='-Bstatic'
7633 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7634 lt_prog_compiler_wl='-Wl,'
7635 lt_prog_compiler_pic='-KPIC'
7636 lt_prog_compiler_static='-Bstatic'
7640 lt_prog_compiler_wl='-Wl,'
7641 lt_prog_compiler_can_build_shared=no
7645 lt_prog_compiler_pic='-pic'
7646 lt_prog_compiler_static='-Bstatic'
7650 lt_prog_compiler_can_build_shared=no
7656 # For platforms which do not support PIC, -DPIC is meaningless:
7658 lt_prog_compiler_pic=
7661 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7666 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7667 if ${lt_cv_prog_compiler_pic+:} false; then :
7668 $as_echo_n "(cached) " >&6
7670 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7673 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
7674 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7677 # Check to make sure the PIC flag actually works.
7679 if test -n "$lt_prog_compiler_pic"; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7681 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7682 if ${lt_cv_prog_compiler_pic_works+:} false; then :
7683 $as_echo_n "(cached) " >&6
7685 lt_cv_prog_compiler_pic_works=no
7686 ac_outfile=conftest.$ac_objext
7687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7688 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7689 # Insert the option either (1) after the last *FLAGS variable, or
7690 # (2) before a word containing "conftest.", or (3) at the end.
7691 # Note that $ac_compile itself does not contain backslashes and begins
7692 # with a dollar sign (not a hyphen), so the echo should work correctly.
7693 # The option is referenced via a variable to avoid confusing sed.
7694 lt_compile=`echo "$ac_compile" | $SED \
7695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7697 -e 's:$: $lt_compiler_flag:'`
7698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7699 (eval "$lt_compile" 2>conftest.err)
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 if (exit $ac_status) && test -s "$ac_outfile"; then
7704 # The compiler can only warn and ignore the option if not recognized
7705 # So say no if there are warnings other than the usual output.
7706 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7707 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7708 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7709 lt_cv_prog_compiler_pic_works=yes
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7716 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7718 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7719 case $lt_prog_compiler_pic in
7721 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7724 lt_prog_compiler_pic=
7725 lt_prog_compiler_can_build_shared=no
7741 # Check to make sure the static flag actually works.
7743 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7745 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7746 if ${lt_cv_prog_compiler_static_works+:} false; then :
7747 $as_echo_n "(cached) " >&6
7749 lt_cv_prog_compiler_static_works=no
7750 save_LDFLAGS="$LDFLAGS"
7751 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7752 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7753 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7754 # The linker can only warn and ignore the option if not recognized
7755 # So say no if there are warnings
7756 if test -s conftest.err; then
7757 # Append any errors to the config.log.
7758 cat conftest.err 1>&5
7759 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7760 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7761 if diff conftest.exp conftest.er2 >/dev/null; then
7762 lt_cv_prog_compiler_static_works=yes
7765 lt_cv_prog_compiler_static_works=yes
7769 LDFLAGS="$save_LDFLAGS"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7773 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7775 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7778 lt_prog_compiler_static=
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7788 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7789 if ${lt_cv_prog_compiler_c_o+:} false; then :
7790 $as_echo_n "(cached) " >&6
7792 lt_cv_prog_compiler_c_o=no
7793 $RM -r conftest 2>/dev/null
7797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7799 lt_compiler_flag="-o out/conftest2.$ac_objext"
7800 # Insert the option either (1) after the last *FLAGS variable, or
7801 # (2) before a word containing "conftest.", or (3) at the end.
7802 # Note that $ac_compile itself does not contain backslashes and begins
7803 # with a dollar sign (not a hyphen), so the echo should work correctly.
7804 lt_compile=`echo "$ac_compile" | $SED \
7805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7807 -e 's:$: $lt_compiler_flag:'`
7808 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7809 (eval "$lt_compile" 2>out/conftest.err)
7811 cat out/conftest.err >&5
7812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7815 # The compiler can only warn and ignore the option if not recognized
7816 # So say no if there are warnings
7817 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7818 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7819 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7820 lt_cv_prog_compiler_c_o=yes
7825 # SGI C++ compiler will create directory out/ii_files/ for
7826 # template instantiation
7827 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7828 $RM out/* && rmdir out
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7835 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7843 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7844 if ${lt_cv_prog_compiler_c_o+:} false; then :
7845 $as_echo_n "(cached) " >&6
7847 lt_cv_prog_compiler_c_o=no
7848 $RM -r conftest 2>/dev/null
7852 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7854 lt_compiler_flag="-o out/conftest2.$ac_objext"
7855 # Insert the option either (1) after the last *FLAGS variable, or
7856 # (2) before a word containing "conftest.", or (3) at the end.
7857 # Note that $ac_compile itself does not contain backslashes and begins
7858 # with a dollar sign (not a hyphen), so the echo should work correctly.
7859 lt_compile=`echo "$ac_compile" | $SED \
7860 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7861 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7862 -e 's:$: $lt_compiler_flag:'`
7863 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7864 (eval "$lt_compile" 2>out/conftest.err)
7866 cat out/conftest.err >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7870 # The compiler can only warn and ignore the option if not recognized
7871 # So say no if there are warnings
7872 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7873 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7874 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7875 lt_cv_prog_compiler_c_o=yes
7880 # SGI C++ compiler will create directory out/ii_files/ for
7881 # template instantiation
7882 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7883 $RM out/* && rmdir out
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7890 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7895 hard_links="nottested"
7896 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7897 # do not overwrite the value of need_locks provided by the user
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7899 $as_echo_n "checking if we can lock with hard links... " >&6; }
7902 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7904 ln conftest.a conftest.b 2>&5 || hard_links=no
7905 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7907 $as_echo "$hard_links" >&6; }
7908 if test "$hard_links" = no; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7910 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7923 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7926 allow_undefined_flag=
7927 always_export_symbols=no
7929 archive_expsym_cmds=
7930 compiler_needs_object=no
7931 enable_shared_with_static_runtimes=no
7932 export_dynamic_flag_spec=
7933 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7934 hardcode_automatic=no
7936 hardcode_direct_absolute=no
7937 hardcode_libdir_flag_spec=
7938 hardcode_libdir_separator=
7940 hardcode_shlibpath_var=unsupported
7942 link_all_deplibs=unknown
7945 old_archive_from_new_cmds=
7946 old_archive_from_expsyms_cmds=
7947 thread_safe_flag_spec=
7948 whole_archive_flag_spec=
7949 # include_expsyms should be a list of space-separated symbols to be *always*
7950 # included in the symbol list
7952 # exclude_expsyms can be an extended regexp of symbols to exclude
7953 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7954 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7955 # as well as any symbol that contains `d'.
7956 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7957 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7958 # platforms (ab)use it in PIC code, but their linkers get confused if
7959 # the symbol is explicitly referenced. Since portable code cannot
7960 # rely on this symbol name, it's probably fine to never include it in
7961 # preloaded symbol tables.
7962 # Exclude shared library initialization/finalization symbols.
7963 extract_expsyms_cmds=
7966 cygwin* | mingw* | pw32* | cegcc*)
7967 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7968 # When not using gcc, we currently assume that we are using
7969 # Microsoft Visual C++.
7970 if test "$GCC" != yes; then
7975 # we just hope/assume this is gcc and not c89 (= MSVC++)
7985 # On some targets, GNU ld is compatible enough with the native linker
7986 # that we're better off using the native interface for both.
7987 lt_use_gnu_ld_interface=no
7988 if test "$with_gnu_ld" = yes; then
7991 # The AIX port of GNU ld has always aspired to compatibility
7992 # with the native linker. However, as the warning in the GNU ld
7993 # block says, versions before 2.19.5* couldn't really create working
7994 # shared libraries, regardless of the interface used.
7995 case `$LD -v 2>&1` in
7996 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
7997 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
7998 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8000 lt_use_gnu_ld_interface=yes
8005 lt_use_gnu_ld_interface=yes
8010 if test "$lt_use_gnu_ld_interface" = yes; then
8011 # If archive_cmds runs LD, not CC, wlarc should be empty
8014 # Set some defaults for GNU ld with shared library support. These
8015 # are reset later if shared libraries are not supported. Putting them
8016 # here allows them to be overridden if necessary.
8017 runpath_var=LD_RUN_PATH
8018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8019 export_dynamic_flag_spec='${wl}--export-dynamic'
8020 # ancient GNU ld didn't support --whole-archive et. al.
8021 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8022 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8024 whole_archive_flag_spec=
8026 supports_anon_versioning=no
8027 case `$LD -v 2>&1` in
8028 *GNU\ gold*) supports_anon_versioning=yes ;;
8029 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8030 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8031 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8032 *\ 2.11.*) ;; # other 2.11 versions
8033 *) supports_anon_versioning=yes ;;
8036 # See if GNU ld supports shared libraries.
8039 # On AIX/PPC, the GNU linker is very broken
8040 if test "$host_cpu" != ia64; then
8044 *** Warning: the GNU linker, at least up to release 2.19, is reported
8045 *** to be unable to reliably create shared libraries on AIX.
8046 *** Therefore, libtool is disabling shared libraries support. If you
8047 *** really care for shared libraries, you may want to install binutils
8048 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8049 *** You will then need to restart the configuration process.
8058 # see comment about AmigaOS4 .so support
8059 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8060 archive_expsym_cmds=''
8063 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)'
8064 hardcode_libdir_flag_spec='-L$libdir'
8065 hardcode_minus_L=yes
8071 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8072 allow_undefined_flag=unsupported
8073 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8074 # support --undefined. This deserves some investigation. FIXME
8075 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8081 cygwin* | mingw* | pw32* | cegcc*)
8082 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8083 # as there is no search path for DLLs.
8084 hardcode_libdir_flag_spec='-L$libdir'
8085 export_dynamic_flag_spec='${wl}--export-all-symbols'
8086 allow_undefined_flag=unsupported
8087 always_export_symbols=no
8088 enable_shared_with_static_runtimes=yes
8089 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'
8090 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8092 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8093 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8094 # If the export-symbols file already is a .def file (1st line
8095 # is EXPORTS), use it as is; otherwise, prepend...
8096 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8097 cp $export_symbols $output_objdir/$soname.def;
8099 echo EXPORTS > $output_objdir/$soname.def;
8100 cat $export_symbols >> $output_objdir/$soname.def;
8102 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8109 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8110 link_all_deplibs=yes
8115 hardcode_shlibpath_var=no
8116 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8117 export_dynamic_flag_spec='${wl}-E'
8118 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8119 # Instead, shared libraries are loaded at an image base (0x10000000 by
8120 # default) and relocated if they conflict, which is a slow very memory
8121 # consuming and fragmenting process. To avoid this, we pick a random,
8122 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8123 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8124 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8125 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'
8128 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8130 if test "$host_os" = linux-dietlibc; then
8131 case $cc_basename in
8132 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8135 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8136 && test "$tmp_diet" = no
8138 tmp_addflag=' $pic_flag'
8139 tmp_sharedflag='-shared'
8140 case $cc_basename,$host_cpu in
8141 pgcc*) # Portland Group C compiler
8142 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'
8143 tmp_addflag=' $pic_flag'
8145 pgf77* | pgf90* | pgf95* | pgfortran*)
8146 # Portland Group f77 and f90 compilers
8147 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'
8148 tmp_addflag=' $pic_flag -Mnomain' ;;
8149 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8150 tmp_addflag=' -i_dynamic' ;;
8151 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8152 tmp_addflag=' -i_dynamic -nofor_main' ;;
8153 ifc* | ifort*) # Intel Fortran compiler
8154 tmp_addflag=' -nofor_main' ;;
8155 lf95*) # Lahey Fortran 8.1
8156 whole_archive_flag_spec=
8157 tmp_sharedflag='--shared' ;;
8158 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8159 tmp_sharedflag='-qmkshrobj'
8161 nvcc*) # Cuda Compiler Driver 2.2
8162 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'
8163 compiler_needs_object=yes
8166 case `$CC -V 2>&1 | sed 5q` in
8167 *Sun\ C*) # Sun C 5.9
8168 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'
8169 compiler_needs_object=yes
8170 tmp_sharedflag='-G' ;;
8171 *Sun\ F*) # Sun Fortran 8.3
8172 tmp_sharedflag='-G' ;;
8174 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8176 if test "x$supports_anon_versioning" = xyes; then
8177 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8178 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8179 echo "local: *; };" >> $output_objdir/$libname.ver~
8180 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8183 case $cc_basename in
8184 xlf* | bgf* | bgxlf* | mpixlf*)
8185 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8186 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8187 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8188 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8189 if test "x$supports_anon_versioning" = xyes; then
8190 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8192 echo "local: *; };" >> $output_objdir/$libname.ver~
8193 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8203 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8204 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8207 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8208 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8213 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8217 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8218 *** create shared libraries on Solaris systems. Therefore, libtool
8219 *** is disabling shared libraries support. We urge you to upgrade GNU
8220 *** binutils to release 2.9.1 or newer. Another option is to modify
8221 *** your PATH or compiler configuration so that the native linker is
8222 *** used, and then restart.
8225 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8226 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8227 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8233 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8234 case `$LD -v 2>&1` in
8235 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8239 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8240 *** reliably create shared libraries on SCO systems. Therefore, libtool
8241 *** is disabling shared libraries support. We urge you to upgrade GNU
8242 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8243 *** your PATH or compiler configuration so that the native linker is
8244 *** used, and then restart.
8249 # For security reasons, it is highly recommended that you always
8250 # use absolute paths for naming shared libraries, and exclude the
8251 # DT_RUNPATH tag from executables and libraries. But doing so
8252 # requires that you compile everything twice, which is a pain.
8253 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8255 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8256 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8265 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8268 hardcode_shlibpath_var=no
8272 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8273 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8274 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8281 if test "$ld_shlibs" = no; then
8283 hardcode_libdir_flag_spec=
8284 export_dynamic_flag_spec=
8285 whole_archive_flag_spec=
8288 # PORTME fill in a description of your system's linker (not GNU ld)
8291 allow_undefined_flag=unsupported
8292 always_export_symbols=yes
8293 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'
8294 # Note: this linker hardcodes the directories in LIBPATH if there
8295 # are no directories specified by -L.
8296 hardcode_minus_L=yes
8297 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8298 # Neither direct hardcoding nor static linking is supported with a
8300 hardcode_direct=unsupported
8305 if test "$host_cpu" = ia64; then
8306 # On IA64, the linker does run time linking by default, so we don't
8307 # have to do anything special.
8308 aix_use_runtimelinking=no
8309 exp_sym_flag='-Bexport'
8312 # If we're using GNU nm, then we don't want the "-C" option.
8313 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8314 # Also, AIX nm treats weak defined symbols like other global
8315 # defined symbols, whereas GNU nm marks them as "W".
8316 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8317 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'
8319 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'
8321 aix_use_runtimelinking=no
8323 # Test if we are trying to use run time linking or normal
8324 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8325 # need to do runtime linking.
8326 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8327 for ld_flag in $LDFLAGS; do
8328 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8329 aix_use_runtimelinking=yes
8336 exp_sym_flag='-bexport'
8337 no_entry_flag='-bnoentry'
8340 # When large executables or shared objects are built, AIX ld can
8341 # have problems creating the table of contents. If linking a library
8342 # or program results in "error TOC overflow" add -mminimal-toc to
8343 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8344 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8348 hardcode_direct_absolute=yes
8349 hardcode_libdir_separator=':'
8350 link_all_deplibs=yes
8351 file_list_spec='${wl}-f,'
8353 if test "$GCC" = yes; then
8354 case $host_os in aix4.[012]|aix4.[012].*)
8355 # We only want to do this on AIX 4.2 and lower, the check
8356 # below for broken collect2 doesn't work under 4.3+
8357 collect2name=`${CC} -print-prog-name=collect2`
8358 if test -f "$collect2name" &&
8359 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8361 # We have reworked collect2
8364 # We have old collect2
8365 hardcode_direct=unsupported
8366 # It fails to find uninstalled libraries when the uninstalled
8367 # path is not listed in the libpath. Setting hardcode_minus_L
8368 # to unsupported forces relinking
8369 hardcode_minus_L=yes
8370 hardcode_libdir_flag_spec='-L$libdir'
8371 hardcode_libdir_separator=
8375 shared_flag='-shared'
8376 if test "$aix_use_runtimelinking" = yes; then
8377 shared_flag="$shared_flag "'${wl}-G'
8381 if test "$host_cpu" = ia64; then
8382 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8383 # chokes on -Wl,-G. The following line is correct:
8386 if test "$aix_use_runtimelinking" = yes; then
8387 shared_flag='${wl}-G'
8389 shared_flag='${wl}-bM:SRE'
8394 export_dynamic_flag_spec='${wl}-bexpall'
8395 # It seems that -bexpall does not export symbols beginning with
8396 # underscore (_), so it is better to generate a list of symbols to export.
8397 always_export_symbols=yes
8398 if test "$aix_use_runtimelinking" = yes; then
8399 # Warning - without using the other runtime loading flags (-brtl),
8400 # -berok will link without error, but may produce a broken library.
8401 allow_undefined_flag='-berok'
8402 # Determine the default libpath from the value encoded in an
8404 if test "${lt_cv_aix_libpath+set}" = set; then
8405 aix_libpath=$lt_cv_aix_libpath
8407 if ${lt_cv_aix_libpath_+:} false; then :
8408 $as_echo_n "(cached) " >&6
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8421 if ac_fn_c_try_link "$LINENO"; then :
8423 lt_aix_libpath_sed='
8424 /Import File Strings/,/^$/ {
8426 s/^0 *\([^ ]*\) *$/\1/
8430 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8431 # Check for a 64-bit object if we didn't find anything.
8432 if test -z "$lt_cv_aix_libpath_"; then
8433 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 if test -z "$lt_cv_aix_libpath_"; then
8439 lt_cv_aix_libpath_="/usr/lib:/lib"
8444 aix_libpath=$lt_cv_aix_libpath_
8447 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8448 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"
8450 if test "$host_cpu" = ia64; then
8451 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8452 allow_undefined_flag="-z nodefs"
8453 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"
8455 # Determine the default libpath from the value encoded in an
8457 if test "${lt_cv_aix_libpath+set}" = set; then
8458 aix_libpath=$lt_cv_aix_libpath
8460 if ${lt_cv_aix_libpath_+:} false; then :
8461 $as_echo_n "(cached) " >&6
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8474 if ac_fn_c_try_link "$LINENO"; then :
8476 lt_aix_libpath_sed='
8477 /Import File Strings/,/^$/ {
8479 s/^0 *\([^ ]*\) *$/\1/
8483 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8484 # Check for a 64-bit object if we didn't find anything.
8485 if test -z "$lt_cv_aix_libpath_"; then
8486 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 if test -z "$lt_cv_aix_libpath_"; then
8492 lt_cv_aix_libpath_="/usr/lib:/lib"
8497 aix_libpath=$lt_cv_aix_libpath_
8500 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8501 # Warning - without using the other run time loading flags,
8502 # -berok will link without error, but may produce a broken library.
8503 no_undefined_flag=' ${wl}-bernotok'
8504 allow_undefined_flag=' ${wl}-berok'
8505 if test "$with_gnu_ld" = yes; then
8506 # We only use this code for GNU lds that support --whole-archive.
8507 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8509 # Exported symbols can be pulled into shared objects from archives
8510 whole_archive_flag_spec='$convenience'
8512 archive_cmds_need_lc=yes
8513 # This is similar to how AIX traditionally builds its shared libraries.
8514 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'
8522 # see comment about AmigaOS4 .so support
8523 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8524 archive_expsym_cmds=''
8527 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)'
8528 hardcode_libdir_flag_spec='-L$libdir'
8529 hardcode_minus_L=yes
8535 export_dynamic_flag_spec=-rdynamic
8538 cygwin* | mingw* | pw32* | cegcc*)
8539 # When not using gcc, we currently assume that we are using
8540 # Microsoft Visual C++.
8541 # hardcode_libdir_flag_spec is actually meaningless, as there is
8542 # no search path for DLLs.
8543 case $cc_basename in
8546 hardcode_libdir_flag_spec=' '
8547 allow_undefined_flag=unsupported
8548 always_export_symbols=yes
8550 # Tell ltmain to make .lib files, not .a files.
8552 # Tell ltmain to make .dll files, not .so files.
8554 # FIXME: Setting linknames here is a bad hack.
8555 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8556 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8557 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8559 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8561 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8563 # The linker will not automatically build a static lib if we build a DLL.
8564 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8565 enable_shared_with_static_runtimes=yes
8566 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
8567 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8569 old_postinstall_cmds='chmod 644 $oldlib'
8570 postlink_cmds='lt_outputfile="@OUTPUT@"~
8571 lt_tool_outputfile="@TOOL_OUTPUT@"~
8572 case $lt_outputfile in
8575 lt_outputfile="$lt_outputfile.exe"
8576 lt_tool_outputfile="$lt_tool_outputfile.exe"
8579 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8580 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8581 $RM "$lt_outputfile.manifest";
8585 # Assume MSVC wrapper
8586 hardcode_libdir_flag_spec=' '
8587 allow_undefined_flag=unsupported
8588 # Tell ltmain to make .lib files, not .a files.
8590 # Tell ltmain to make .dll files, not .so files.
8592 # FIXME: Setting linknames here is a bad hack.
8593 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8594 # The linker will automatically build a .lib file if we build a DLL.
8595 old_archive_from_new_cmds='true'
8596 # FIXME: Should let the user specify the lib program.
8597 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8598 enable_shared_with_static_runtimes=yes
8603 darwin* | rhapsody*)
8606 archive_cmds_need_lc=no
8608 hardcode_automatic=yes
8609 hardcode_shlibpath_var=unsupported
8610 if test "$lt_cv_ld_force_load" = "yes"; then
8611 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\"`'
8614 whole_archive_flag_spec=''
8616 link_all_deplibs=yes
8617 allow_undefined_flag="$_lt_dar_allow_undefined"
8618 case $cc_basename in
8619 ifort*) _lt_dar_can_shared=yes ;;
8620 *) _lt_dar_can_shared=$GCC ;;
8622 if test "$_lt_dar_can_shared" = "yes"; then
8623 output_verbose_link_cmd=func_echo_all
8624 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8625 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8626 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}"
8627 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}"
8636 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8637 hardcode_libdir_flag_spec='-L$libdir'
8638 hardcode_shlibpath_var=no
8641 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8642 # support. Future versions do this automatically, but an explicit c++rt0.o
8643 # does not break anything, and helps significantly (at the cost of a little
8646 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8647 hardcode_libdir_flag_spec='-R$libdir'
8649 hardcode_shlibpath_var=no
8652 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8654 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8656 hardcode_minus_L=yes
8657 hardcode_shlibpath_var=no
8660 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8661 freebsd* | dragonfly*)
8662 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8663 hardcode_libdir_flag_spec='-R$libdir'
8665 hardcode_shlibpath_var=no
8669 if test "$GCC" = yes; then
8670 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'
8672 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'
8674 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8675 hardcode_libdir_separator=:
8678 # hardcode_minus_L: Not really in the search PATH,
8679 # but as the default location of the library.
8680 hardcode_minus_L=yes
8681 export_dynamic_flag_spec='${wl}-E'
8685 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8686 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8688 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8690 if test "$with_gnu_ld" = no; then
8691 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8692 hardcode_libdir_separator=:
8694 hardcode_direct_absolute=yes
8695 export_dynamic_flag_spec='${wl}-E'
8696 # hardcode_minus_L: Not really in the search PATH,
8697 # but as the default location of the library.
8698 hardcode_minus_L=yes
8703 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8706 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8712 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8718 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8721 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8725 # Older versions of the 11.00 compiler do not understand -b yet
8726 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8728 $as_echo_n "checking if $CC understands -b... " >&6; }
8729 if ${lt_cv_prog_compiler__b+:} false; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_prog_compiler__b=no
8733 save_LDFLAGS="$LDFLAGS"
8734 LDFLAGS="$LDFLAGS -b"
8735 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8736 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8737 # The linker can only warn and ignore the option if not recognized
8738 # So say no if there are warnings
8739 if test -s conftest.err; then
8740 # Append any errors to the config.log.
8741 cat conftest.err 1>&5
8742 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8744 if diff conftest.exp conftest.er2 >/dev/null; then
8745 lt_cv_prog_compiler__b=yes
8748 lt_cv_prog_compiler__b=yes
8752 LDFLAGS="$save_LDFLAGS"
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8756 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8758 if test x"$lt_cv_prog_compiler__b" = xyes; then
8759 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8761 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8767 if test "$with_gnu_ld" = no; then
8768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8769 hardcode_libdir_separator=:
8774 hardcode_shlibpath_var=no
8778 hardcode_direct_absolute=yes
8779 export_dynamic_flag_spec='${wl}-E'
8781 # hardcode_minus_L: Not really in the search PATH,
8782 # but as the default location of the library.
8783 hardcode_minus_L=yes
8789 irix5* | irix6* | nonstopux*)
8790 if test "$GCC" = yes; then
8791 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'
8792 # Try to use the -exported_symbol ld option, if it does not
8793 # work, assume that -exports_file does not work either and
8794 # implicitly export all symbols.
8795 # This should be the same for all languages, so no per-tag cache variable.
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8797 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8798 if ${lt_cv_irix_exported_symbol+:} false; then :
8799 $as_echo_n "(cached) " >&6
8801 save_LDFLAGS="$LDFLAGS"
8802 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int foo (void) { return 0; }
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 lt_cv_irix_exported_symbol=yes
8810 lt_cv_irix_exported_symbol=no
8812 rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
8814 LDFLAGS="$save_LDFLAGS"
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8817 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
8818 if test "$lt_cv_irix_exported_symbol" = yes; then
8819 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'
8822 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'
8823 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'
8825 archive_cmds_need_lc='no'
8826 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8827 hardcode_libdir_separator=:
8829 link_all_deplibs=yes
8833 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8834 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8836 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8838 hardcode_libdir_flag_spec='-R$libdir'
8840 hardcode_shlibpath_var=no
8844 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847 hardcode_libdir_separator=:
8848 hardcode_shlibpath_var=no
8855 if test -f /usr/libexec/ld.so; then
8857 hardcode_shlibpath_var=no
8858 hardcode_direct_absolute=yes
8859 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8860 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8861 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8862 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8863 export_dynamic_flag_spec='${wl}-E'
8866 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8867 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8868 hardcode_libdir_flag_spec='-R$libdir'
8871 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8872 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8882 hardcode_libdir_flag_spec='-L$libdir'
8883 hardcode_minus_L=yes
8884 allow_undefined_flag=unsupported
8885 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'
8886 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8890 if test "$GCC" = yes; then
8891 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8892 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'
8894 allow_undefined_flag=' -expect_unresolved \*'
8895 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'
8897 archive_cmds_need_lc='no'
8898 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8899 hardcode_libdir_separator=:
8902 osf4* | osf5*) # as osf3* with the addition of -msym flag
8903 if test "$GCC" = yes; then
8904 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8905 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'
8906 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8908 allow_undefined_flag=' -expect_unresolved \*'
8909 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'
8910 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~
8911 $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'
8913 # Both c and cxx compiler support -rpath directly
8914 hardcode_libdir_flag_spec='-rpath $libdir'
8916 archive_cmds_need_lc='no'
8917 hardcode_libdir_separator=:
8921 no_undefined_flag=' -z defs'
8922 if test "$GCC" = yes; then
8924 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8925 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8926 $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'
8928 case `$CC -V 2>&1` in
8931 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8932 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8933 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8937 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8938 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8939 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8943 hardcode_libdir_flag_spec='-R$libdir'
8944 hardcode_shlibpath_var=no
8946 solaris2.[0-5] | solaris2.[0-5].*) ;;
8948 # The compiler driver will combine and reorder linker options,
8949 # but understands `-z linker_flag'. GCC discards it without `$wl',
8950 # but is careful enough not to reorder.
8951 # Supported since Solaris 2.6 (maybe 2.5.1?)
8952 if test "$GCC" = yes; then
8953 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8955 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8959 link_all_deplibs=yes
8963 if test "x$host_vendor" = xsequent; then
8964 # Use $CC to link under sequent, because it throws in some extra .o
8965 # files that make .init and .fini sections work.
8966 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8968 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8970 hardcode_libdir_flag_spec='-L$libdir'
8972 hardcode_minus_L=yes
8973 hardcode_shlibpath_var=no
8977 case $host_vendor in
8979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8980 hardcode_direct=yes # is this really true???
8983 ## LD is ld it makes a PLAMLIB
8984 ## CC just makes a GrossModule.
8985 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8986 reload_cmds='$CC -r -o $output$reload_objs'
8990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8994 runpath_var='LD_RUN_PATH'
8995 hardcode_shlibpath_var=no
8999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9000 hardcode_shlibpath_var=no
9001 export_dynamic_flag_spec='-Bexport'
9005 if test -d /usr/nec; then
9006 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007 hardcode_shlibpath_var=no
9008 runpath_var=LD_RUN_PATH
9009 hardcode_runpath_var=yes
9014 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9015 no_undefined_flag='${wl}-z,text'
9016 archive_cmds_need_lc=no
9017 hardcode_shlibpath_var=no
9018 runpath_var='LD_RUN_PATH'
9020 if test "$GCC" = yes; then
9021 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9022 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9024 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9025 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9029 sysv5* | sco3.2v5* | sco5v6*)
9030 # Note: We can NOT use -z defs as we might desire, because we do not
9031 # link with -lc, and that would cause any symbols used from libc to
9032 # always be unresolved, which means just about no library would
9033 # ever link correctly. If we're not using GNU ld we use -z text
9034 # though, which does catch some bad symbols but isn't as heavy-handed
9036 no_undefined_flag='${wl}-z,text'
9037 allow_undefined_flag='${wl}-z,nodefs'
9038 archive_cmds_need_lc=no
9039 hardcode_shlibpath_var=no
9040 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9041 hardcode_libdir_separator=':'
9042 link_all_deplibs=yes
9043 export_dynamic_flag_spec='${wl}-Bexport'
9044 runpath_var='LD_RUN_PATH'
9046 if test "$GCC" = yes; then
9047 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9048 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9050 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9051 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9056 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9057 hardcode_libdir_flag_spec='-L$libdir'
9058 hardcode_shlibpath_var=no
9066 if test x$host_vendor = xsni; then
9068 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9069 export_dynamic_flag_spec='${wl}-Blargedynsym'
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9076 $as_echo "$ld_shlibs" >&6; }
9077 test "$ld_shlibs" = no && can_build_shared=no
9079 with_gnu_ld=$with_gnu_ld
9096 # Do we need to explicitly link libc?
9098 case "x$archive_cmds_need_lc" in
9100 # Assume -lc should be added
9101 archive_cmds_need_lc=yes
9103 if test "$enable_shared" = yes && test "$GCC" = yes; then
9104 case $archive_cmds in
9106 # FIXME: we may have to deal with multi-command sequences.
9109 # Test whether the compiler implicitly links with -lc since on some
9110 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9111 # to ld, don't add -lc before -lgcc.
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9113 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9114 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9115 $as_echo_n "(cached) " >&6
9118 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9120 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9121 (eval $ac_compile) 2>&5
9123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9124 test $ac_status = 0; } 2>conftest.err; then
9127 libobjs=conftest.$ac_objext
9129 wl=$lt_prog_compiler_wl
9130 pic_flag=$lt_prog_compiler_pic
9136 lt_save_allow_undefined_flag=$allow_undefined_flag
9137 allow_undefined_flag=
9138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9139 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9142 test $ac_status = 0; }
9144 lt_cv_archive_cmds_need_lc=no
9146 lt_cv_archive_cmds_need_lc=yes
9148 allow_undefined_flag=$lt_save_allow_undefined_flag
9150 cat conftest.err 1>&5
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9156 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9157 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9316 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9318 if test "$GCC" = yes; then
9320 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9321 *) lt_awk_arg="/^libraries:/" ;;
9324 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9325 *) lt_sed_strip_eq="s,=/,/,g" ;;
9327 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9328 case $lt_search_path_spec in
9330 # if the path contains ";" then we assume it to be the separator
9331 # otherwise default to the standard path separator (i.e. ":") - it is
9332 # assumed that no part of a normal pathname contains ";" but that should
9333 # okay in the real world where ";" in dirpaths is itself problematic.
9334 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9337 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9340 # Ok, now we have the path, separated by spaces, we can step through it
9341 # and add multilib dir if necessary.
9342 lt_tmp_lt_search_path_spec=
9343 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9344 for lt_sys_path in $lt_search_path_spec; do
9345 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9346 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9348 test -d "$lt_sys_path" && \
9349 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9352 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9353 BEGIN {RS=" "; FS="/|\n";} {
9356 for (lt_i = NF; lt_i > 0; lt_i--) {
9357 if ($lt_i != "" && $lt_i != ".") {
9358 if ($lt_i == "..") {
9361 if (lt_count == 0) {
9362 lt_foo="/" $lt_i lt_foo;
9369 if (lt_foo != "") { lt_freq[lt_foo]++; }
9370 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9372 # AWK program above erroneously prepends '/' to C:/dos/paths
9375 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9376 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9378 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9380 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9383 libname_spec='lib$name'
9391 shlibpath_overrides_runpath=unknown
9393 dynamic_linker="$host_os ld.so"
9394 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9395 need_lib_prefix=unknown
9396 hardcode_into_libs=no
9398 # when you set need_version to no, make sure it does not cause -set_version
9399 # flags to be left without arguments
9400 need_version=unknown
9404 version_type=linux # correct to gnu/linux during the next big refactor
9405 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9406 shlibpath_var=LIBPATH
9408 # AIX 3 has no versioning support, so we append a major version to the name.
9409 soname_spec='${libname}${release}${shared_ext}$major'
9413 version_type=linux # correct to gnu/linux during the next big refactor
9416 hardcode_into_libs=yes
9417 if test "$host_cpu" = ia64; then
9418 # AIX 5 supports IA64
9419 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9420 shlibpath_var=LD_LIBRARY_PATH
9422 # With GCC up to 2.95.x, collect2 would create an import file
9423 # for dependence libraries. The import file would start with
9424 # the line `#! .'. This would cause the generated library to
9425 # depend on `.', always an invalid library. This was fixed in
9426 # development snapshots of GCC prior to 3.0.
9428 aix4 | aix4.[01] | aix4.[01].*)
9429 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9431 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9438 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9439 # soname into executable. Probably we can add versioning support to
9440 # collect2, so additional links can be useful in future.
9441 if test "$aix_use_runtimelinking" = yes; then
9442 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9443 # instead of lib<name>.a to let people know that these are not
9444 # typical AIX shared libraries.
9445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9447 # We preserve .a as extension for shared libraries through AIX4.2
9448 # and later when we are not doing run time linking.
9449 library_names_spec='${libname}${release}.a $libname.a'
9450 soname_spec='${libname}${release}${shared_ext}$major'
9452 shlibpath_var=LIBPATH
9459 # Since July 2007 AmigaOS4 officially supports .so libraries.
9460 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 library_names_spec='$libname.ixlibrary $libname.a'
9465 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9466 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'
9472 library_names_spec='${libname}${shared_ext}'
9473 dynamic_linker="$host_os ld.so"
9474 shlibpath_var=LIBRARY_PATH
9478 version_type=linux # correct to gnu/linux during the next big refactor
9480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9481 soname_spec='${libname}${release}${shared_ext}$major'
9482 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9483 shlibpath_var=LD_LIBRARY_PATH
9484 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9485 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9486 # the default ld.so.conf also contains /usr/contrib/lib and
9487 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9488 # libtool to hard-code these into programs
9491 cygwin* | mingw* | pw32* | cegcc*)
9492 version_type=windows
9497 case $GCC,$cc_basename in
9500 library_names_spec='$libname.dll.a'
9501 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9502 postinstall_cmds='base_file=`basename \${file}`~
9503 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9504 dldir=$destdir/`dirname \$dlpath`~
9505 test -d \$dldir || mkdir -p \$dldir~
9506 $install_prog $dir/$dlname \$dldir/$dlname~
9507 chmod a+x \$dldir/$dlname~
9508 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9509 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9511 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9512 dlpath=$dir/\$dldll~
9514 shlibpath_overrides_runpath=yes
9518 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9519 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9521 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9524 # MinGW DLLs use traditional 'lib' prefix
9525 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9528 # pw32 DLLs use 'pw' prefix rather than 'lib'
9529 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9532 dynamic_linker='Win32 ld.exe'
9537 libname_spec='$name'
9538 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9539 library_names_spec='${libname}.dll.lib'
9543 sys_lib_search_path_spec=
9549 # Let DOS variable expansion print the short 8.3 style file name.
9550 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9551 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9554 # Convert to MSYS style.
9555 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9558 # Convert to unix form, then to dos form, then back to unix form
9559 # but this time dos style (no spaces!) so that the unix form looks
9560 # like /cygdrive/c/PROGRA~1:/cygdr...
9561 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9562 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9563 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9566 sys_lib_search_path_spec="$LIB"
9567 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9568 # It is most probably a Windows format PATH.
9569 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9571 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9573 # FIXME: find the short name or the path components, as spaces are
9574 # common. (e.g. "Program Files" -> "PROGRA~1")
9578 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9579 postinstall_cmds='base_file=`basename \${file}`~
9580 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9581 dldir=$destdir/`dirname \$dlpath`~
9582 test -d \$dldir || mkdir -p \$dldir~
9583 $install_prog $dir/$dlname \$dldir/$dlname'
9584 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9585 dlpath=$dir/\$dldll~
9587 shlibpath_overrides_runpath=yes
9588 dynamic_linker='Win32 link.exe'
9592 # Assume MSVC wrapper
9593 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9594 dynamic_linker='Win32 ld.exe'
9597 # FIXME: first we should search . and the directory the executable is in
9601 darwin* | rhapsody*)
9602 dynamic_linker="$host_os dyld"
9606 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9607 soname_spec='${libname}${release}${major}$shared_ext'
9608 shlibpath_overrides_runpath=yes
9609 shlibpath_var=DYLD_LIBRARY_PATH
9610 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9612 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9613 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9617 version_type=linux # correct to gnu/linux during the next big refactor
9620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9621 soname_spec='${libname}${release}${shared_ext}$major'
9622 shlibpath_var=LD_LIBRARY_PATH
9625 freebsd* | dragonfly*)
9626 # DragonFly does not have aout. When/if they implement a new
9627 # versioning mechanism, adjust this.
9628 if test -x /usr/bin/objformat; then
9629 objformat=`/usr/bin/objformat`
9632 freebsd[23].*) objformat=aout ;;
9636 version_type=freebsd-$objformat
9637 case $version_type in
9639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9644 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9648 shlibpath_var=LD_LIBRARY_PATH
9651 shlibpath_overrides_runpath=yes
9653 freebsd3.[01]* | freebsdelf3.[01]*)
9654 shlibpath_overrides_runpath=yes
9655 hardcode_into_libs=yes
9657 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9658 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9659 shlibpath_overrides_runpath=no
9660 hardcode_into_libs=yes
9662 *) # from 4.6 on, and DragonFly
9663 shlibpath_overrides_runpath=yes
9664 hardcode_into_libs=yes
9670 version_type=linux # correct to gnu/linux during the next big refactor
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9674 soname_spec='${libname}${release}${shared_ext}$major'
9675 shlibpath_var=LD_LIBRARY_PATH
9676 shlibpath_overrides_runpath=no
9677 hardcode_into_libs=yes
9681 version_type=linux # correct to gnu/linux during the next big refactor
9684 dynamic_linker="$host_os runtime_loader"
9685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9686 soname_spec='${libname}${release}${shared_ext}$major'
9687 shlibpath_var=LIBRARY_PATH
9688 shlibpath_overrides_runpath=yes
9689 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9690 hardcode_into_libs=yes
9693 hpux9* | hpux10* | hpux11*)
9694 # Give a soname corresponding to the major version so that dld.sl refuses to
9695 # link against other versions.
9702 hardcode_into_libs=yes
9703 dynamic_linker="$host_os dld.so"
9704 shlibpath_var=LD_LIBRARY_PATH
9705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9707 soname_spec='${libname}${release}${shared_ext}$major'
9708 if test "X$HPUX_IA64_MODE" = X32; then
9709 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9711 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9713 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9717 hardcode_into_libs=yes
9718 dynamic_linker="$host_os dld.sl"
9719 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9720 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9722 soname_spec='${libname}${release}${shared_ext}$major'
9723 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9724 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9728 dynamic_linker="$host_os dld.sl"
9729 shlibpath_var=SHLIB_PATH
9730 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 soname_spec='${libname}${release}${shared_ext}$major'
9735 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9736 postinstall_cmds='chmod 555 $lib'
9737 # or fails outright, so override atomically:
9738 install_override_mode=555
9742 version_type=linux # correct to gnu/linux during the next big refactor
9745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9746 soname_spec='${libname}${release}${shared_ext}$major'
9747 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9748 shlibpath_var=LD_LIBRARY_PATH
9749 shlibpath_overrides_runpath=no
9750 hardcode_into_libs=yes
9753 irix5* | irix6* | nonstopux*)
9755 nonstopux*) version_type=nonstopux ;;
9757 if test "$lt_cv_prog_gnu_ld" = yes; then
9758 version_type=linux # correct to gnu/linux during the next big refactor
9765 soname_spec='${libname}${release}${shared_ext}$major'
9766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9768 irix5* | nonstopux*)
9772 case $LD in # libtool.m4 will add one of these switches to LD
9773 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9774 libsuff= shlibsuff= libmagic=32-bit;;
9775 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9776 libsuff=32 shlibsuff=N32 libmagic=N32;;
9777 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9778 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9779 *) libsuff= shlibsuff= libmagic=never-match;;
9783 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9784 shlibpath_overrides_runpath=no
9785 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9786 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9787 hardcode_into_libs=yes
9790 # No shared lib support for Linux oldld, aout, or coff.
9791 linux*oldld* | linux*aout* | linux*coff*)
9795 # This must be glibc/ELF.
9796 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9797 version_type=linux # correct to gnu/linux during the next big refactor
9800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9801 soname_spec='${libname}${release}${shared_ext}$major'
9802 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9803 shlibpath_var=LD_LIBRARY_PATH
9804 shlibpath_overrides_runpath=no
9806 # Some binutils ld are patched to set DT_RUNPATH
9807 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9808 $as_echo_n "(cached) " >&6
9810 lt_cv_shlibpath_overrides_runpath=no
9811 save_LDFLAGS=$LDFLAGS
9813 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9814 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9826 if ac_fn_c_try_link "$LINENO"; then :
9827 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9828 lt_cv_shlibpath_overrides_runpath=yes
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 LDFLAGS=$save_LDFLAGS
9838 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9840 # This implies no fast_install, which is unacceptable.
9841 # Some rework will be needed to allow for fast_install
9842 # before this can be enabled.
9843 hardcode_into_libs=yes
9845 # Append ld.so.conf contents to the search path
9846 if test -f /etc/ld.so.conf; then
9847 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' ' '`
9848 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9851 # We used to test for /lib/ld.so.1 and disable shared libraries on
9852 # powerpc, because MkLinux only supported shared libraries with the
9853 # GNU dynamic linker. Since this was broken with cross compilers,
9854 # most powerpc-linux boxes support dynamic linking these days and
9855 # people can always --disable-shared, the test was removed, and we
9856 # assume the GNU/Linux dynamic linker is in use.
9857 dynamic_linker='GNU/Linux ld.so'
9864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9866 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9867 dynamic_linker='NetBSD (a.out) ld.so'
9869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9870 soname_spec='${libname}${release}${shared_ext}$major'
9871 dynamic_linker='NetBSD ld.elf_so'
9873 shlibpath_var=LD_LIBRARY_PATH
9874 shlibpath_overrides_runpath=yes
9875 hardcode_into_libs=yes
9879 version_type=linux # correct to gnu/linux during the next big refactor
9880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9881 shlibpath_var=LD_LIBRARY_PATH
9882 shlibpath_overrides_runpath=yes
9889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9890 soname_spec='${libname}${release}${shared_ext}$major'
9891 shlibpath_var=LD_LIBRARY_PATH
9892 shlibpath_overrides_runpath=no
9893 hardcode_into_libs=yes
9894 dynamic_linker='ldqnx.so'
9899 sys_lib_dlsearch_path_spec="/usr/lib"
9901 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9903 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9904 *) need_version=no ;;
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9908 shlibpath_var=LD_LIBRARY_PATH
9909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9911 openbsd2.[89] | openbsd2.[89].*)
9912 shlibpath_overrides_runpath=no
9915 shlibpath_overrides_runpath=yes
9919 shlibpath_overrides_runpath=yes
9924 libname_spec='$name'
9927 library_names_spec='$libname${shared_ext} $libname.a'
9928 dynamic_linker='OS/2 ld.exe'
9929 shlibpath_var=LIBPATH
9932 osf3* | osf4* | osf5*)
9936 soname_spec='${libname}${release}${shared_ext}$major'
9937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 shlibpath_var=LD_LIBRARY_PATH
9939 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9940 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9948 version_type=linux # correct to gnu/linux during the next big refactor
9951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9952 soname_spec='${libname}${release}${shared_ext}$major'
9953 shlibpath_var=LD_LIBRARY_PATH
9954 shlibpath_overrides_runpath=yes
9955 hardcode_into_libs=yes
9956 # ldd complains unless libraries are executable
9957 postinstall_cmds='chmod +x $lib'
9962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9963 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9964 shlibpath_var=LD_LIBRARY_PATH
9965 shlibpath_overrides_runpath=yes
9966 if test "$with_gnu_ld" = yes; then
9973 version_type=linux # correct to gnu/linux during the next big refactor
9974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975 soname_spec='${libname}${release}${shared_ext}$major'
9976 shlibpath_var=LD_LIBRARY_PATH
9977 case $host_vendor in
9979 shlibpath_overrides_runpath=no
9981 runpath_var=LD_RUN_PATH
9989 shlibpath_overrides_runpath=no
9990 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9996 if test -d /usr/nec ;then
9997 version_type=linux # correct to gnu/linux during the next big refactor
9998 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9999 soname_spec='$libname${shared_ext}.$major'
10000 shlibpath_var=LD_LIBRARY_PATH
10004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10005 version_type=freebsd-elf
10008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10009 soname_spec='${libname}${release}${shared_ext}$major'
10010 shlibpath_var=LD_LIBRARY_PATH
10011 shlibpath_overrides_runpath=yes
10012 hardcode_into_libs=yes
10013 if test "$with_gnu_ld" = yes; then
10014 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10016 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10019 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10023 sys_lib_dlsearch_path_spec='/usr/lib'
10027 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10028 version_type=linux # correct to gnu/linux during the next big refactor
10031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10032 shlibpath_var=LD_LIBRARY_PATH
10033 shlibpath_overrides_runpath=no
10034 hardcode_into_libs=yes
10038 version_type=linux # correct to gnu/linux during the next big refactor
10039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10040 soname_spec='${libname}${release}${shared_ext}$major'
10041 shlibpath_var=LD_LIBRARY_PATH
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10049 $as_echo "$dynamic_linker" >&6; }
10050 test "$dynamic_linker" = no && can_build_shared=no
10052 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10053 if test "$GCC" = yes; then
10054 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10057 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10058 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10060 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10061 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10158 if test -n "$hardcode_libdir_flag_spec" ||
10159 test -n "$runpath_var" ||
10160 test "X$hardcode_automatic" = "Xyes" ; then
10162 # We can hardcode non-existent directories.
10163 if test "$hardcode_direct" != no &&
10164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10165 # have to relink, otherwise we might link with an installed library
10166 # when we should be linking with a yet-to-be-installed one
10167 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10168 test "$hardcode_minus_L" != no; then
10169 # Linking always hardcodes the temporary library directory.
10170 hardcode_action=relink
10172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10173 hardcode_action=immediate
10176 # We cannot hardcode anything, or else we can only hardcode existing
10178 hardcode_action=unsupported
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10181 $as_echo "$hardcode_action" >&6; }
10183 if test "$hardcode_action" = relink ||
10184 test "$inherit_rpath" = yes; then
10185 # Fast installation is not supported
10186 enable_fast_install=no
10187 elif test "$shlibpath_overrides_runpath" = yes ||
10188 test "$enable_shared" = no; then
10189 # Fast installation is not necessary
10190 enable_fast_install=needless
10198 if test "x$enable_dlopen" != xyes; then
10199 enable_dlopen=unknown
10200 enable_dlopen_self=unknown
10201 enable_dlopen_self_static=unknown
10208 lt_cv_dlopen="load_add_on"
10210 lt_cv_dlopen_self=yes
10213 mingw* | pw32* | cegcc*)
10214 lt_cv_dlopen="LoadLibrary"
10219 lt_cv_dlopen="dlopen"
10224 # if libdl is installed we need to link against it
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10227 if ${ac_cv_lib_dl_dlopen+:} false; then :
10228 $as_echo_n "(cached) " >&6
10230 ac_check_lib_save_LIBS=$LIBS
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_lib_dl_dlopen=yes
10253 ac_cv_lib_dl_dlopen=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10260 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10261 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10262 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10265 lt_cv_dlopen="dyld"
10267 lt_cv_dlopen_self=yes
10274 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10275 if test "x$ac_cv_func_shl_load" = xyes; then :
10276 lt_cv_dlopen="shl_load"
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10279 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10280 if ${ac_cv_lib_dld_shl_load+:} false; then :
10281 $as_echo_n "(cached) " >&6
10283 ac_check_lib_save_LIBS=$LIBS
10285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10298 return shl_load ();
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_lib_dld_shl_load=yes
10306 ac_cv_lib_dld_shl_load=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10313 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10314 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10315 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10317 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10318 if test "x$ac_cv_func_dlopen" = xyes; then :
10319 lt_cv_dlopen="dlopen"
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10322 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10323 if ${ac_cv_lib_dl_dlopen+:} false; then :
10324 $as_echo_n "(cached) " >&6
10326 ac_check_lib_save_LIBS=$LIBS
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_lib_dl_dlopen=yes
10349 ac_cv_lib_dl_dlopen=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 LIBS=$ac_check_lib_save_LIBS
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10357 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10362 if ${ac_cv_lib_svld_dlopen+:} false; then :
10363 $as_echo_n "(cached) " >&6
10365 ac_check_lib_save_LIBS=$LIBS
10366 LIBS="-lsvld $LIBS"
10367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_lib_svld_dlopen=yes
10388 ac_cv_lib_svld_dlopen=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 LIBS=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10395 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10396 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10397 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10400 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10401 if ${ac_cv_lib_dld_dld_link+:} false; then :
10402 $as_echo_n "(cached) " >&6
10404 ac_check_lib_save_LIBS=$LIBS
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10409 /* Override any GCC internal prototype to avoid an error.
10410 Use char because int might match the return type of a GCC
10411 builtin and then its argument prototype would still apply. */
10419 return dld_link ();
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 ac_cv_lib_dld_dld_link=yes
10427 ac_cv_lib_dld_dld_link=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_lib_save_LIBS
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10434 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10435 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10436 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10457 if test "x$lt_cv_dlopen" != xno; then
10463 case $lt_cv_dlopen in
10465 save_CPPFLAGS="$CPPFLAGS"
10466 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10468 save_LDFLAGS="$LDFLAGS"
10469 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10472 LIBS="$lt_cv_dlopen_libs $LIBS"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10475 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10476 if ${lt_cv_dlopen_self+:} false; then :
10477 $as_echo_n "(cached) " >&6
10479 if test "$cross_compiling" = yes; then :
10480 lt_cv_dlopen_self=cross
10482 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10483 lt_status=$lt_dlunknown
10484 cat > conftest.$ac_ext <<_LT_EOF
10485 #line $LINENO "configure"
10486 #include "confdefs.h"
10495 # define LT_DLGLOBAL RTLD_GLOBAL
10498 # define LT_DLGLOBAL DL_GLOBAL
10500 # define LT_DLGLOBAL 0
10504 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10505 find out it does not work in some platform. */
10506 #ifndef LT_DLLAZY_OR_NOW
10508 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10511 # define LT_DLLAZY_OR_NOW DL_LAZY
10514 # define LT_DLLAZY_OR_NOW RTLD_NOW
10517 # define LT_DLLAZY_OR_NOW DL_NOW
10519 # define LT_DLLAZY_OR_NOW 0
10526 /* When -fvisbility=hidden is used, assume the code has been annotated
10527 correspondingly for the symbols needed. */
10528 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10529 int fnord () __attribute__((visibility("default")));
10532 int fnord () { return 42; }
10535 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10536 int status = $lt_dlunknown;
10540 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10543 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10544 else puts (dlerror ());
10546 /* dlclose (self); */
10554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10555 (eval $ac_link) 2>&5
10557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10558 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10559 (./conftest; exit; ) >&5 2>/dev/null
10561 case x$lt_status in
10562 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10563 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10567 # compilation failed
10568 lt_cv_dlopen_self=no
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10576 $as_echo "$lt_cv_dlopen_self" >&6; }
10578 if test "x$lt_cv_dlopen_self" = xyes; then
10579 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10581 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10582 if ${lt_cv_dlopen_self_static+:} false; then :
10583 $as_echo_n "(cached) " >&6
10585 if test "$cross_compiling" = yes; then :
10586 lt_cv_dlopen_self_static=cross
10588 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10589 lt_status=$lt_dlunknown
10590 cat > conftest.$ac_ext <<_LT_EOF
10591 #line $LINENO "configure"
10592 #include "confdefs.h"
10601 # define LT_DLGLOBAL RTLD_GLOBAL
10604 # define LT_DLGLOBAL DL_GLOBAL
10606 # define LT_DLGLOBAL 0
10610 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10611 find out it does not work in some platform. */
10612 #ifndef LT_DLLAZY_OR_NOW
10614 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10617 # define LT_DLLAZY_OR_NOW DL_LAZY
10620 # define LT_DLLAZY_OR_NOW RTLD_NOW
10623 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # define LT_DLLAZY_OR_NOW 0
10632 /* When -fvisbility=hidden is used, assume the code has been annotated
10633 correspondingly for the symbols needed. */
10634 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10635 int fnord () __attribute__((visibility("default")));
10638 int fnord () { return 42; }
10641 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10642 int status = $lt_dlunknown;
10646 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10649 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10650 else puts (dlerror ());
10652 /* dlclose (self); */
10660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10661 (eval $ac_link) 2>&5
10663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10664 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10665 (./conftest; exit; ) >&5 2>/dev/null
10667 case x$lt_status in
10668 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10669 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10670 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10673 # compilation failed
10674 lt_cv_dlopen_self_static=no
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10682 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10685 CPPFLAGS="$save_CPPFLAGS"
10686 LDFLAGS="$save_LDFLAGS"
10691 case $lt_cv_dlopen_self in
10692 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10693 *) enable_dlopen_self=unknown ;;
10696 case $lt_cv_dlopen_self_static in
10697 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10698 *) enable_dlopen_self_static=unknown ;;
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10721 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10722 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10723 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10724 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10726 $as_echo "yes" >&6; }
10728 # FIXME - insert some real tests, host_os isn't really good enough
10731 if test -n "$STRIP" ; then
10732 striplib="$STRIP -x"
10733 old_striplib="$STRIP -S"
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10735 $as_echo "yes" >&6; }
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10738 $as_echo "no" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10759 # Report which library types will actually be built
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10761 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10763 $as_echo "$can_build_shared" >&6; }
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10766 $as_echo_n "checking whether to build shared libraries... " >&6; }
10767 test "$can_build_shared" = "no" && enable_shared=no
10769 # On AIX, shared libraries and static libraries use the same namespace, and
10770 # are all built from PIC.
10773 test "$enable_shared" = yes && enable_static=no
10774 if test -n "$RANLIB"; then
10775 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10776 postinstall_cmds='$RANLIB $lib'
10781 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10782 test "$enable_shared" = yes && enable_static=no
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10787 $as_echo "$enable_shared" >&6; }
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10790 $as_echo_n "checking whether to build static libraries... " >&6; }
10791 # Make sure either enable_shared or enable_static is yes.
10792 test "$enable_shared" = yes || enable_static=yes
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10794 $as_echo "$enable_static" >&6; }
10801 ac_cpp='$CPP $CPPFLAGS'
10802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10822 ac_config_commands="$ac_config_commands libtool"
10827 # Only expand once:
10831 am__api_version='1.12'
10833 # Find a good install program. We prefer a C program (faster),
10834 # so one script is as good as another. But avoid the broken or
10835 # incompatible versions:
10836 # SysV /etc/install, /usr/sbin/install
10837 # SunOS /usr/etc/install
10838 # IRIX /sbin/install
10840 # AmigaOS /C/install, which installs bootblocks on floppy discs
10841 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10842 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10843 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10844 # OS/2's system install, which has a completely different semantic
10845 # ./install, which can be erroneously created by make from ./install.sh.
10846 # Reject install programs that cannot install multiple files.
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10848 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10849 if test -z "$INSTALL"; then
10850 if ${ac_cv_path_install+:} false; then :
10851 $as_echo_n "(cached) " >&6
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10857 test -z "$as_dir" && as_dir=.
10858 # Account for people who put trailing slashes in PATH elements.
10859 case $as_dir/ in #((
10860 ./ | .// | /[cC]/* | \
10861 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10862 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
10865 # OSF1 and SCO ODT 3.0 have their own names for install.
10866 # Don't use installbsd from OSF since it installs stuff as root
10868 for ac_prog in ginstall scoinst install; do
10869 for ac_exec_ext in '' $ac_executable_extensions; do
10870 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
10871 if test $ac_prog = install &&
10872 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10873 # AIX install. It has an incompatible calling convention.
10875 elif test $ac_prog = install &&
10876 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10877 # program-specific install script used by HP pwplus--don't use.
10880 rm -rf conftest.one conftest.two conftest.dir
10881 echo one > conftest.one
10882 echo two > conftest.two
10884 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
10885 test -s conftest.one && test -s conftest.two &&
10886 test -s conftest.dir/conftest.one &&
10887 test -s conftest.dir/conftest.two
10889 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10902 rm -rf conftest.one conftest.two conftest.dir
10905 if test "${ac_cv_path_install+set}" = set; then
10906 INSTALL=$ac_cv_path_install
10908 # As a last resort, use the slow shell script. Don't cache a
10909 # value for INSTALL within a source directory, because that will
10910 # break other packages using the cache if that directory is
10911 # removed, or if the value is a relative name.
10912 INSTALL=$ac_install_sh
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10916 $as_echo "$INSTALL" >&6; }
10918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10919 # It thinks the first close brace ends the variable substitution.
10920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10924 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
10927 $as_echo_n "checking whether build environment is sane... " >&6; }
10928 # Reject unsafe characters in $srcdir or the absolute working directory
10929 # name. Accept space and tab only in the latter.
10933 *[\\\"\#\$\&\'\`$am_lf]*)
10934 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
10937 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
10938 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
10941 # Do 'set' in a subshell so we don't clobber the current shell's
10942 # arguments. Must try -L first in case configure is actually a
10943 # symlink; some systems play weird games with the mod time of symlinks
10944 # (eg FreeBSD returns the mod time of the symlink's containing
10948 for am_try in 1 2; do
10949 echo "timestamp, slept: $am_has_slept" > conftest.file
10950 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10951 if test "$*" = "X"; then
10953 set X `ls -t "$srcdir/configure" conftest.file`
10955 if test "$*" != "X $srcdir/configure conftest.file" \
10956 && test "$*" != "X conftest.file $srcdir/configure"; then
10958 # If neither matched, then we have a broken ls. This can happen
10959 # if, for instance, CONFIG_SHELL is bash and it inherits a
10960 # broken ls alias from the environment. This has actually
10961 # happened. Such a system could not be considered "sane".
10962 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
10963 alias in your environment" "$LINENO" 5
10965 if test "$2" = conftest.file || test $am_try -eq 2; then
10972 test "$2" = conftest.file
10978 as_fn_error $? "newly created file is older than distributed files!
10979 Check your system clock" "$LINENO" 5
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10982 $as_echo "yes" >&6; }
10983 # If we didn't sleep, we still need to ensure time stamps of config.status and
10984 # generated files are strictly newer.
10986 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
10991 rm -f conftest.file
10993 test "$program_prefix" != NONE &&
10994 program_transform_name="s&^&$program_prefix&;$program_transform_name"
10995 # Use a double $ so make ignores it.
10996 test "$program_suffix" != NONE &&
10997 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
10998 # Double any \ or $.
10999 # By default was `s,x,x', remove it if useless.
11000 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
11001 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
11003 # expand $ac_aux_dir to an absolute path
11004 am_aux_dir=`cd $ac_aux_dir && pwd`
11006 if test x"${MISSING+set}" != xset; then
11007 case $am_aux_dir in
11009 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
11011 MISSING="\${SHELL} $am_aux_dir/missing" ;;
11014 # Use eval to expand $SHELL
11015 if eval "$MISSING --run true"; then
11016 am_missing_run="$MISSING --run "
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
11020 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
11023 if test x"${install_sh}" != xset; then
11024 case $am_aux_dir in
11026 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
11028 install_sh="\${SHELL} $am_aux_dir/install-sh"
11032 # Installed binaries are usually stripped using 'strip' when the user
11033 # run "make install-strip". However 'strip' might not be the right
11034 # tool to use in cross-compilation environments, therefore Automake
11035 # will honor the 'STRIP' environment variable to overrule this program.
11036 if test "$cross_compiling" != no; then
11037 if test -n "$ac_tool_prefix"; then
11038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11039 set dummy ${ac_tool_prefix}strip; ac_word=$2
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11041 $as_echo_n "checking for $ac_word... " >&6; }
11042 if ${ac_cv_prog_STRIP+:} false; then :
11043 $as_echo_n "(cached) " >&6
11045 if test -n "$STRIP"; then
11046 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11049 for as_dir in $PATH
11052 test -z "$as_dir" && as_dir=.
11053 for ac_exec_ext in '' $ac_executable_extensions; do
11054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11055 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 STRIP=$ac_cv_prog_STRIP
11066 if test -n "$STRIP"; then
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11068 $as_echo "$STRIP" >&6; }
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071 $as_echo "no" >&6; }
11076 if test -z "$ac_cv_prog_STRIP"; then
11078 # Extract the first word of "strip", so it can be a program name with args.
11079 set dummy strip; ac_word=$2
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11081 $as_echo_n "checking for $ac_word... " >&6; }
11082 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11083 $as_echo_n "(cached) " >&6
11085 if test -n "$ac_ct_STRIP"; then
11086 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11089 for as_dir in $PATH
11092 test -z "$as_dir" && as_dir=.
11093 for ac_exec_ext in '' $ac_executable_extensions; do
11094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11095 ac_cv_prog_ac_ct_STRIP="strip"
11096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11105 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11106 if test -n "$ac_ct_STRIP"; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
11108 $as_echo "$ac_ct_STRIP" >&6; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11111 $as_echo "no" >&6; }
11114 if test "x$ac_ct_STRIP" = x; then
11117 case $cross_compiling:$ac_tool_warned in
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11121 ac_tool_warned=yes ;;
11126 STRIP="$ac_cv_prog_STRIP"
11130 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
11133 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
11134 if test -z "$MKDIR_P"; then
11135 if ${ac_cv_path_mkdir+:} false; then :
11136 $as_echo_n "(cached) " >&6
11138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11139 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
11142 test -z "$as_dir" && as_dir=.
11143 for ac_prog in mkdir gmkdir; do
11144 for ac_exec_ext in '' $ac_executable_extensions; do
11145 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
11146 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
11147 'mkdir (GNU coreutils) '* | \
11148 'mkdir (coreutils) '* | \
11149 'mkdir (fileutils) '4.1*)
11150 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
11160 test -d ./--version && rmdir ./--version
11161 if test "${ac_cv_path_mkdir+set}" = set; then
11162 MKDIR_P="$ac_cv_path_mkdir -p"
11164 # As a last resort, use the slow shell script. Don't cache a
11165 # value for MKDIR_P within a source directory, because that will
11166 # break other packages using the cache if that directory is
11167 # removed, or if the value is a relative name.
11168 MKDIR_P="$ac_install_sh -d"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
11172 $as_echo "$MKDIR_P" >&6; }
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11175 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11177 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11178 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11179 $as_echo_n "(cached) " >&6
11181 cat >conftest.make <<\_ACEOF
11184 @echo '@@@%%%=$(MAKE)=@@@%%%'
11186 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11187 case `${MAKE-make} -f conftest.make 2>/dev/null` in
11188 *@@@%%%=?*=@@@%%%*)
11189 eval ac_cv_prog_make_${ac_make}_set=yes;;
11191 eval ac_cv_prog_make_${ac_make}_set=no;;
11193 rm -f conftest.make
11195 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11197 $as_echo "yes" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11201 $as_echo "no" >&6; }
11202 SET_MAKE="MAKE=${MAKE-make}"
11205 rm -rf .tst 2>/dev/null
11206 mkdir .tst 2>/dev/null
11207 if test -d .tst; then
11212 rmdir .tst 2>/dev/null
11214 DEPDIR="${am__leading_dot}deps"
11216 ac_config_commands="$ac_config_commands depfiles"
11219 am_make=${MAKE-make}
11220 cat > confinc << 'END'
11222 @echo this is the am__doit target
11225 # If we don't find an include directive, just comment out the code.
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
11227 $as_echo_n "checking for style of include used by $am_make... " >&6; }
11231 # First try GNU make style include.
11232 echo "include confinc" > confmf
11233 # Ignore all kinds of additional output from 'make'.
11234 case `$am_make -s -f confmf 2> /dev/null` in #(
11235 *the\ am__doit\ target*)
11236 am__include=include
11241 # Now try BSD make style include.
11242 if test "$am__include" = "#"; then
11243 echo '.include "confinc"' > confmf
11244 case `$am_make -s -f confmf 2> /dev/null` in #(
11245 *the\ am__doit\ target*)
11246 am__include=.include
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
11255 $as_echo "$_am_result" >&6; }
11256 rm -f confinc confmf
11258 # Check whether --enable-dependency-tracking was given.
11259 if test "${enable_dependency_tracking+set}" = set; then :
11260 enableval=$enable_dependency_tracking;
11263 if test "x$enable_dependency_tracking" != xno; then
11264 am_depcomp="$ac_aux_dir/depcomp"
11268 if test "x$enable_dependency_tracking" != xno; then
11277 if test "`cd $srcdir && pwd`" != "`pwd`"; then
11278 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
11279 # is not polluted with repeated "-I."
11280 am__isrc=' -I$(srcdir)'
11281 # test to see if srcdir already configured
11282 if test -f $srcdir/config.status; then
11283 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
11287 # test whether we have cygpath
11288 if test -z "$CYGPATH_W"; then
11289 if (cygpath --version) >/dev/null 2>/dev/null; then
11290 CYGPATH_W='cygpath -w'
11297 # Define the identity of the package.
11302 cat >>confdefs.h <<_ACEOF
11303 #define PACKAGE "$PACKAGE"
11307 cat >>confdefs.h <<_ACEOF
11308 #define VERSION "$VERSION"
11311 # Some tools Automake needs.
11313 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
11316 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
11319 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
11322 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
11325 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
11327 # For better backward compatibility. To be removed once Automake 1.9.x
11328 # dies out for good. For more background, see:
11329 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
11330 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
11331 mkdir_p='$(MKDIR_P)'
11333 # We need awk for the "check" target. The system "awk" is bad on
11335 # Always define AMTAR for backward compatibility. Yes, it's still used
11336 # in the wild :-( We should find a proper way to deprecate it ...
11337 AMTAR='$${TAR-tar}'
11339 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
11344 depcc="$CC" am_compiler_list=
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11347 $as_echo_n "checking dependency style of $depcc... " >&6; }
11348 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11349 $as_echo_n "(cached) " >&6
11351 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11352 # We make a subdir and do the tests there. Otherwise we can end up
11353 # making bogus files that we don't know about and never remove. For
11354 # instance it was reported that on HP-UX the gcc test will end up
11355 # making a dummy file named 'D' -- because '-MD' means "put the output
11357 rm -rf conftest.dir
11359 # Copy depcomp to subdir because otherwise we won't find it if we're
11360 # using a relative directory.
11361 cp "$am_depcomp" conftest.dir
11363 # We will build objects and dependencies in a subdirectory because
11364 # it helps to detect inapplicable dependency modes. For instance
11365 # both Tru64's cc and ICC support -MD to output dependencies as a
11366 # side effect of compilation, but ICC will put the dependencies in
11367 # the current directory while Tru64 will put them in the object
11371 am_cv_CC_dependencies_compiler_type=none
11372 if test "$am_compiler_list" = ""; then
11373 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11375 am__universal=false
11376 case " $depcc " in #(
11377 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11380 for depmode in $am_compiler_list; do
11381 # Setup a source with many dependencies, because some compilers
11382 # like to wrap large dependency lists on column 80 (with \), and
11383 # we should not choose a depcomp mode which is confused by this.
11385 # We need to recreate these files for each test, as the compiler may
11386 # overwrite some of them when testing with obscure command lines.
11387 # This happens at least with the AIX C compiler.
11389 for i in 1 2 3 4 5 6; do
11390 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11391 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
11392 # Solaris 10 /bin/sh.
11393 echo '/* dummy */' > sub/conftst$i.h
11395 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11397 # We check with '-c' and '-o' for the sake of the "dashmstdout"
11398 # mode. It turns out that the SunPro C++ compiler does not properly
11399 # handle '-M -o', and we need to detect this. Also, some Intel
11400 # versions had trouble with output in subdirs.
11401 am__obj=sub/conftest.${OBJEXT-o}
11402 am__minus_obj="-o $am__obj"
11405 # This depmode causes a compiler race in universal mode.
11406 test "$am__universal" = false || continue
11409 # After this tag, mechanisms are not by side-effect, so they'll
11410 # only be used when explicitly requested.
11411 if test "x$enable_dependency_tracking" = xyes; then
11417 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11418 # This compiler won't grok '-c -o', but also, the minuso test has
11419 # not run yet. These depmodes are late enough in the game, and
11420 # so weak that their functioning should not be impacted.
11421 am__obj=conftest.${OBJEXT-o}
11426 if depmode=$depmode \
11427 source=sub/conftest.c object=$am__obj \
11428 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11429 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11430 >/dev/null 2>conftest.err &&
11431 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11432 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11433 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11434 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11435 # icc doesn't choke on unknown options, it will just issue warnings
11436 # or remarks (even with -Werror). So we grep stderr for any message
11437 # that says an option was ignored or not supported.
11438 # When given -MP, icc 7.0 and 7.1 complain thusly:
11439 # icc: Command line warning: ignoring option '-M'; no argument required
11440 # The diagnosis changed in icc 8.0:
11441 # icc: Command line remark: option '-MP' not supported
11442 if (grep 'ignoring option' conftest.err ||
11443 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11444 am_cv_CC_dependencies_compiler_type=$depmode
11451 rm -rf conftest.dir
11453 am_cv_CC_dependencies_compiler_type=none
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11458 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11459 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11462 test "x$enable_dependency_tracking" != xno \
11463 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11464 am__fastdepCC_TRUE=
11465 am__fastdepCC_FALSE='#'
11467 am__fastdepCC_TRUE='#'
11468 am__fastdepCC_FALSE=
11474 # Checks for programs.
11476 ac_cpp='$CPP $CPPFLAGS'
11477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11480 if test -n "$ac_tool_prefix"; then
11481 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11482 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11484 $as_echo_n "checking for $ac_word... " >&6; }
11485 if ${ac_cv_prog_CC+:} false; then :
11486 $as_echo_n "(cached) " >&6
11488 if test -n "$CC"; then
11489 ac_cv_prog_CC="$CC" # Let the user override the test.
11491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11492 for as_dir in $PATH
11495 test -z "$as_dir" && as_dir=.
11496 for ac_exec_ext in '' $ac_executable_extensions; do
11497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11498 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11509 if test -n "$CC"; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11511 $as_echo "$CC" >&6; }
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11514 $as_echo "no" >&6; }
11519 if test -z "$ac_cv_prog_CC"; then
11521 # Extract the first word of "gcc", so it can be a program name with args.
11522 set dummy gcc; ac_word=$2
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11524 $as_echo_n "checking for $ac_word... " >&6; }
11525 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11526 $as_echo_n "(cached) " >&6
11528 if test -n "$ac_ct_CC"; then
11529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11532 for as_dir in $PATH
11535 test -z "$as_dir" && as_dir=.
11536 for ac_exec_ext in '' $ac_executable_extensions; do
11537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11538 ac_cv_prog_ac_ct_CC="gcc"
11539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11549 if test -n "$ac_ct_CC"; then
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11551 $as_echo "$ac_ct_CC" >&6; }
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11554 $as_echo "no" >&6; }
11557 if test "x$ac_ct_CC" = x; then
11560 case $cross_compiling:$ac_tool_warned in
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11564 ac_tool_warned=yes ;;
11569 CC="$ac_cv_prog_CC"
11572 if test -z "$CC"; then
11573 if test -n "$ac_tool_prefix"; then
11574 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11575 set dummy ${ac_tool_prefix}cc; ac_word=$2
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11577 $as_echo_n "checking for $ac_word... " >&6; }
11578 if ${ac_cv_prog_CC+:} false; then :
11579 $as_echo_n "(cached) " >&6
11581 if test -n "$CC"; then
11582 ac_cv_prog_CC="$CC" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11591 ac_cv_prog_CC="${ac_tool_prefix}cc"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11602 if test -n "$CC"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11604 $as_echo "$CC" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607 $as_echo "no" >&6; }
11613 if test -z "$CC"; then
11614 # Extract the first word of "cc", so it can be a program name with args.
11615 set dummy cc; ac_word=$2
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11617 $as_echo_n "checking for $ac_word... " >&6; }
11618 if ${ac_cv_prog_CC+:} false; then :
11619 $as_echo_n "(cached) " >&6
11621 if test -n "$CC"; then
11622 ac_cv_prog_CC="$CC" # Let the user override the test.
11624 ac_prog_rejected=no
11625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11626 for as_dir in $PATH
11629 test -z "$as_dir" && as_dir=.
11630 for ac_exec_ext in '' $ac_executable_extensions; do
11631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11632 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11633 ac_prog_rejected=yes
11637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 if test $ac_prog_rejected = yes; then
11645 # We found a bogon in the path, so make sure we never use it.
11646 set dummy $ac_cv_prog_CC
11648 if test $# != 0; then
11649 # We chose a different compiler from the bogus one.
11650 # However, it has the same basename, so the bogon will be chosen
11651 # first if we set CC to just the basename; use the full file name.
11653 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11659 if test -n "$CC"; then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11661 $as_echo "$CC" >&6; }
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11664 $as_echo "no" >&6; }
11669 if test -z "$CC"; then
11670 if test -n "$ac_tool_prefix"; then
11671 for ac_prog in cl.exe
11673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if ${ac_cv_prog_CC+:} false; then :
11678 $as_echo_n "(cached) " >&6
11680 if test -n "$CC"; then
11681 ac_cv_prog_CC="$CC" # Let the user override the test.
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11687 test -z "$as_dir" && as_dir=.
11688 for ac_exec_ext in '' $ac_executable_extensions; do
11689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11701 if test -n "$CC"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11703 $as_echo "$CC" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11710 test -n "$CC" && break
11713 if test -z "$CC"; then
11715 for ac_prog in cl.exe
11717 # Extract the first word of "$ac_prog", so it can be a program name with args.
11718 set dummy $ac_prog; ac_word=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11722 $as_echo_n "(cached) " >&6
11724 if test -n "$ac_ct_CC"; then
11725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11728 for as_dir in $PATH
11731 test -z "$as_dir" && as_dir=.
11732 for ac_exec_ext in '' $ac_executable_extensions; do
11733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11734 ac_cv_prog_ac_ct_CC="$ac_prog"
11735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11745 if test -n "$ac_ct_CC"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11747 $as_echo "$ac_ct_CC" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11754 test -n "$ac_ct_CC" && break
11757 if test "x$ac_ct_CC" = x; then
11760 case $cross_compiling:$ac_tool_warned in
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11764 ac_tool_warned=yes ;;
11773 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11775 as_fn_error $? "no acceptable C compiler found in \$PATH
11776 See \`config.log' for more details" "$LINENO" 5; }
11778 # Provide some information about the compiler.
11779 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11782 for ac_option in --version -v -V -qversion; do
11783 { { ac_try="$ac_compiler $ac_option >&5"
11784 case "(($ac_try" in
11785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11786 *) ac_try_echo=$ac_try;;
11788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11789 $as_echo "$ac_try_echo"; } >&5
11790 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11792 if test -s conftest.err; then
11794 ... rest of stderr output deleted ...
11795 10q' conftest.err >conftest.er1
11796 cat conftest.er1 >&5
11798 rm -f conftest.er1 conftest.err
11799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11800 test $ac_status = 0; }
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11804 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11805 if ${ac_cv_c_compiler_gnu+:} false; then :
11806 $as_echo_n "(cached) " >&6
11808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h. */
11822 if ac_fn_c_try_compile "$LINENO"; then :
11823 ac_compiler_gnu=yes
11827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11833 if test $ac_compiler_gnu = yes; then
11838 ac_test_CFLAGS=${CFLAGS+set}
11839 ac_save_CFLAGS=$CFLAGS
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11842 if ${ac_cv_prog_cc_g+:} false; then :
11843 $as_echo_n "(cached) " >&6
11845 ac_save_c_werror_flag=$ac_c_werror_flag
11846 ac_c_werror_flag=yes
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11860 if ac_fn_c_try_compile "$LINENO"; then :
11861 ac_cv_prog_cc_g=yes
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11875 if ac_fn_c_try_compile "$LINENO"; then :
11878 ac_c_werror_flag=$ac_save_c_werror_flag
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11891 if ac_fn_c_try_compile "$LINENO"; then :
11892 ac_cv_prog_cc_g=yes
11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11899 ac_c_werror_flag=$ac_save_c_werror_flag
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11902 $as_echo "$ac_cv_prog_cc_g" >&6; }
11903 if test "$ac_test_CFLAGS" = set; then
11904 CFLAGS=$ac_save_CFLAGS
11905 elif test $ac_cv_prog_cc_g = yes; then
11906 if test "$GCC" = yes; then
11912 if test "$GCC" = yes; then
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11919 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11920 if ${ac_cv_prog_cc_c89+:} false; then :
11921 $as_echo_n "(cached) " >&6
11923 ac_cv_prog_cc_c89=no
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11927 #include <stdarg.h>
11930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11931 struct buf { int x; };
11932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11933 static char *e (p, i)
11939 static char *f (char * (*g) (char **, int), char **p, ...)
11944 s = g (p, va_arg (v,int));
11949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11950 function prototypes and stuff, but not '\xHH' hex character constants.
11951 These don't provoke an error unfortunately, instead are silently treated
11952 as 'x'. The following induces an error, until -std is added to get
11953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11954 array size at least. It's necessary to write '\x00'==0 to get something
11955 that's true only with -std. */
11956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11959 inside strings and character constants. */
11961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11963 int test (int i, double x);
11964 struct s1 {int (*f) (int a);};
11965 struct s2 {int (*f) (double a);};
11966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11980 CC="$ac_save_CC $ac_arg"
11981 if ac_fn_c_try_compile "$LINENO"; then :
11982 ac_cv_prog_cc_c89=$ac_arg
11984 rm -f core conftest.err conftest.$ac_objext
11985 test "x$ac_cv_prog_cc_c89" != "xno" && break
11987 rm -f conftest.$ac_ext
11992 case "x$ac_cv_prog_cc_c89" in
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11995 $as_echo "none needed" >&6; } ;;
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11998 $as_echo "unsupported" >&6; } ;;
12000 CC="$CC $ac_cv_prog_cc_c89"
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12004 if test "x$ac_cv_prog_cc_c89" != xno; then :
12009 ac_cpp='$CPP $CPPFLAGS'
12010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
12015 $as_echo_n "checking whether ln -s works... " >&6; }
12017 if test "$LN_S" = "ln -s"; then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12019 $as_echo "yes" >&6; }
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
12022 $as_echo "no, using $LN_S" >&6; }
12026 # Checks for libraries.
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ae_decode in -lae" >&5
12028 $as_echo_n "checking for ae_decode in -lae... " >&6; }
12029 if ${ac_cv_lib_ae_ae_decode+:} false; then :
12030 $as_echo_n "(cached) " >&6
12032 ac_check_lib_save_LIBS=$LIBS
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 /* Override any GCC internal prototype to avoid an error.
12038 Use char because int might match the return type of a GCC
12039 builtin and then its argument prototype would still apply. */
12047 return ae_decode ();
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 ac_cv_lib_ae_ae_decode=yes
12055 ac_cv_lib_ae_ae_decode=no
12057 rm -f core conftest.err conftest.$ac_objext \
12058 conftest$ac_exeext conftest.$ac_ext
12059 LIBS=$ac_check_lib_save_LIBS
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ae_ae_decode" >&5
12062 $as_echo "$ac_cv_lib_ae_ae_decode" >&6; }
12063 if test "x$ac_cv_lib_ae_ae_decode" = xyes; then :
12064 cat >>confdefs.h <<_ACEOF
12065 #define HAVE_LIBAE 1
12073 # Checks for header files.
12074 for ac_header in inttypes.h stddef.h stdlib.h string.h unistd.h
12076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12077 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12078 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12079 cat >>confdefs.h <<_ACEOF
12080 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12088 # Checks for typedefs, structures, and compiler characteristics.
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12090 $as_echo_n "checking for inline... " >&6; }
12091 if ${ac_cv_c_inline+:} false; then :
12092 $as_echo_n "(cached) " >&6
12095 for ac_kw in inline __inline__ __inline; do
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12098 #ifndef __cplusplus
12100 static $ac_kw foo_t static_foo () {return 0; }
12101 $ac_kw foo_t foo () {return 0; }
12105 if ac_fn_c_try_compile "$LINENO"; then :
12106 ac_cv_c_inline=$ac_kw
12108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12109 test "$ac_cv_c_inline" != no && break
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12114 $as_echo "$ac_cv_c_inline" >&6; }
12116 case $ac_cv_c_inline in
12119 case $ac_cv_c_inline in
12121 *) ac_val=$ac_cv_c_inline;;
12123 cat >>confdefs.h <<_ACEOF
12124 #ifndef __cplusplus
12125 #define inline $ac_val
12131 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
12132 case $ac_cv_c_int64_t in #(
12136 cat >>confdefs.h <<_ACEOF
12137 #define int64_t $ac_cv_c_int64_t
12142 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12143 if test "x$ac_cv_type_size_t" = xyes; then :
12147 cat >>confdefs.h <<_ACEOF
12148 #define size_t unsigned int
12153 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
12154 case $ac_cv_c_uint32_t in #(
12158 $as_echo "#define _UINT32_T 1" >>confdefs.h
12161 cat >>confdefs.h <<_ACEOF
12162 #define uint32_t $ac_cv_c_uint32_t
12167 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
12168 case $ac_cv_c_uint64_t in #(
12172 $as_echo "#define _UINT64_T 1" >>confdefs.h
12175 cat >>confdefs.h <<_ACEOF
12176 #define uint64_t $ac_cv_c_uint64_t
12181 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
12182 case $ac_cv_c_uint8_t in #(
12186 $as_echo "#define _UINT8_T 1" >>confdefs.h
12189 cat >>confdefs.h <<_ACEOF
12190 #define uint8_t $ac_cv_c_uint8_t
12196 # Checks for library functions.
12197 for ac_header in stdlib.h
12199 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12200 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12201 cat >>confdefs.h <<_ACEOF
12202 #define HAVE_STDLIB_H 1
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12210 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12211 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12212 $as_echo_n "(cached) " >&6
12214 if test "$cross_compiling" = yes; then :
12215 ac_cv_func_malloc_0_nonnull=no
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12219 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12220 # include <stdlib.h>
12228 return ! malloc (0);
12233 if ac_fn_c_try_run "$LINENO"; then :
12234 ac_cv_func_malloc_0_nonnull=yes
12236 ac_cv_func_malloc_0_nonnull=no
12238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12239 conftest.$ac_objext conftest.beam conftest.$ac_ext
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12244 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12245 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12247 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12250 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12252 case " $LIBOBJS " in
12253 *" malloc.$ac_objext "* ) ;;
12254 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12259 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12264 for ac_func in memset strstr
12266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12269 cat >>confdefs.h <<_ACEOF
12270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12277 ac_config_files="$ac_config_files Makefile src/Makefile"
12279 cat >confcache <<\_ACEOF
12280 # This file is a shell script that caches the results of configure
12281 # tests run on this system so they can be shared between configure
12282 # scripts and configure runs, see configure's option --config-cache.
12283 # It is not useful on other systems. If it contains results you don't
12284 # want to keep, you may remove or edit it.
12286 # config.status only pays attention to the cache file if you give it
12287 # the --recheck option to rerun configure.
12289 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12290 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12291 # following values.
12295 # The following way of writing the cache mishandles newlines in values,
12296 # but we know of no workaround that is simple, portable, and efficient.
12297 # So, we kill variables containing newlines.
12298 # Ultrix sh set writes to stderr and can't be redirected directly,
12299 # and sets the high bit in the cache file unless we assign to the vars.
12301 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12302 eval ac_val=\$$ac_var
12306 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12307 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12310 _ | IFS | as_nl) ;; #(
12311 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12312 *) { eval $ac_var=; unset $ac_var;} ;;
12318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12319 *${as_nl}ac_space=\ *)
12320 # `set' does not quote correctly, so add quotes: double-quote
12321 # substitution turns \\\\ into \\, and sed turns \\ into \.
12324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12327 # `set' quotes correctly as required by POSIX, so do not add quotes.
12328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12341 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12342 if test -w "$cache_file"; then
12343 if test "x$cache_file" != "x/dev/null"; then
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12345 $as_echo "$as_me: updating cache $cache_file" >&6;}
12346 if test ! -f "$cache_file" || test -h "$cache_file"; then
12347 cat confcache >"$cache_file"
12349 case $cache_file in #(
12351 mv -f confcache "$cache_file"$$ &&
12352 mv -f "$cache_file"$$ "$cache_file" ;; #(
12354 mv -f confcache "$cache_file" ;;
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12360 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12365 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12366 # Let make expand exec_prefix.
12367 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12369 DEFS=-DHAVE_CONFIG_H
12374 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12375 # 1. Remove the extension, and $U if already installed.
12376 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12377 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12378 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12379 # will be set to the directory where LIBOBJS objects are built.
12380 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12381 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12383 LIBOBJS=$ac_libobjs
12385 LTLIBOBJS=$ac_ltlibobjs
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12389 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12390 if test -n "$am_sleep_pid"; then
12391 # Hide warnings about reused PIDs.
12392 wait $am_sleep_pid 2>/dev/null
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12395 $as_echo "done" >&6; }
12396 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12397 as_fn_error $? "conditional \"AMDEP\" was never defined.
12398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12400 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12401 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12404 if test -n "$EXEEXT"; then
12406 am__EXEEXT_FALSE='#'
12408 am__EXEEXT_TRUE='#'
12413 : "${CONFIG_STATUS=./config.status}"
12415 ac_clean_files_save=$ac_clean_files
12416 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12418 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12420 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12422 # Generated by $as_me.
12423 # Run this file to recreate the current configuration.
12424 # Compiler output produced by configure, useful for debugging
12425 # configure, is in config.log if it exists.
12428 ac_cs_recheck=false
12431 SHELL=\${CONFIG_SHELL-$SHELL}
12434 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12435 ## -------------------- ##
12436 ## M4sh Initialization. ##
12437 ## -------------------- ##
12439 # Be more Bourne compatible
12440 DUALCASE=1; export DUALCASE # for MKS sh
12441 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12444 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12445 # is contrary to our usage. Disable this feature.
12446 alias -g '${1+"$@"}'='"$@"'
12447 setopt NO_GLOB_SUBST
12449 case `(set -o) 2>/dev/null` in #(
12461 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12462 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12465 # Prefer a ksh shell builtin over an external printf program on Solaris,
12466 # but without wasting forks for bash or zsh.
12467 if test -z "$BASH_VERSION$ZSH_VERSION" \
12468 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12469 as_echo='print -r --'
12470 as_echo_n='print -rn --'
12471 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12472 as_echo='printf %s\n'
12473 as_echo_n='printf %s'
12475 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12476 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12477 as_echo_n='/usr/ucb/echo -n'
12479 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12480 as_echo_n_body='eval
12484 expr "X$arg" : "X\\(.*\\)$as_nl";
12485 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12487 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12489 export as_echo_n_body
12490 as_echo_n='sh -c $as_echo_n_body as_echo'
12492 export as_echo_body
12493 as_echo='sh -c $as_echo_body as_echo'
12496 # The user is always right.
12497 if test "${PATH_SEPARATOR+set}" != set; then
12499 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12500 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12507 # We need space, tab and new line, in precisely that order. Quoting is
12508 # there to prevent editors from complaining about space-tab.
12509 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12510 # splitting by setting IFS to empty value.)
12513 # Find who we are. Look in the path if we contain no directory separator.
12516 *[\\/]* ) as_myself=$0 ;;
12517 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12518 for as_dir in $PATH
12521 test -z "$as_dir" && as_dir=.
12522 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12528 # We did not find ourselves, most probably we were run as `sh COMMAND'
12529 # in which case we are not to be found in the path.
12530 if test "x$as_myself" = x; then
12533 if test ! -f "$as_myself"; then
12534 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12538 # Unset variables that we do not need and which cause bugs (e.g. in
12539 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12540 # suppresses any "Segmentation fault" message there. '((' could
12541 # trigger a bug in pdksh 5.2.14.
12542 for as_var in BASH_ENV ENV MAIL MAILPATH
12543 do eval test x\${$as_var+set} = xset \
12544 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12557 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12560 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12561 # ----------------------------------------
12562 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12563 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12564 # script with STATUS, using 1 if that was 0.
12567 as_status=$1; test $as_status -eq 0 && as_status=1
12569 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12570 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12572 $as_echo "$as_me: error: $2" >&2
12573 as_fn_exit $as_status
12577 # as_fn_set_status STATUS
12578 # -----------------------
12579 # Set $? to STATUS, without forking.
12580 as_fn_set_status ()
12583 } # as_fn_set_status
12585 # as_fn_exit STATUS
12586 # -----------------
12587 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12591 as_fn_set_status $1
12597 # Portably unset VAR.
12600 { eval $1=; unset $1;}
12602 as_unset=as_fn_unset
12603 # as_fn_append VAR VALUE
12604 # ----------------------
12605 # Append the text in VALUE to the end of the definition contained in VAR. Take
12606 # advantage of any shell optimizations that allow amortized linear growth over
12607 # repeated appends, instead of the typical quadratic growth present in naive
12609 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12610 eval 'as_fn_append ()
12621 # as_fn_arith ARG...
12622 # ------------------
12623 # Perform arithmetic evaluation on the ARGs, and store the result in the
12624 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12625 # must be portable across $(()) and expr.
12626 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12627 eval 'as_fn_arith ()
12634 as_val=`expr "$@" || test $? -eq 1`
12639 if expr a : '\(a\)' >/dev/null 2>&1 &&
12640 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12646 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12647 as_basename=basename
12652 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12658 as_me=`$as_basename -- "$0" ||
12659 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12660 X"$0" : 'X\(//\)$' \| \
12661 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12663 sed '/^.*\/\([^/][^/]*\)\/*$/{
12677 # Avoid depending upon Character Ranges.
12678 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12679 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12680 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12681 as_cr_digits='0123456789'
12682 as_cr_alnum=$as_cr_Letters$as_cr_digits
12684 ECHO_C= ECHO_N= ECHO_T=
12685 case `echo -n x` in #(((((
12687 case `echo 'xy\c'` in
12688 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12690 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12697 rm -f conf$$ conf$$.exe conf$$.file
12698 if test -d conf$$.dir; then
12699 rm -f conf$$.dir/conf$$.file
12702 mkdir conf$$.dir 2>/dev/null
12704 if (echo >conf$$.file) 2>/dev/null; then
12705 if ln -s conf$$.file conf$$ 2>/dev/null; then
12707 # ... but there are two gotchas:
12708 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12709 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12710 # In both cases, we have to default to `cp -pR'.
12711 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12713 elif ln conf$$.file conf$$ 2>/dev/null; then
12721 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12722 rmdir conf$$.dir 2>/dev/null
12727 # Create "$as_dir" as a directory, including parents if necessary.
12732 -*) as_dir=./$as_dir;;
12734 test -d "$as_dir" || eval $as_mkdir_p || {
12738 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12739 *) as_qdir=$as_dir;;
12741 as_dirs="'$as_qdir' $as_dirs"
12742 as_dir=`$as_dirname -- "$as_dir" ||
12743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12744 X"$as_dir" : 'X\(//\)[^/]' \| \
12745 X"$as_dir" : 'X\(//\)$' \| \
12746 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12747 $as_echo X"$as_dir" |
12748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12752 /^X\(\/\/\)[^/].*/{
12765 test -d "$as_dir" && break
12767 test -z "$as_dirs" || eval "mkdir $as_dirs"
12768 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12772 if mkdir -p . 2>/dev/null; then
12773 as_mkdir_p='mkdir -p "$as_dir"'
12775 test -d ./-p && rmdir ./-p
12780 # as_fn_executable_p FILE
12781 # -----------------------
12782 # Test if FILE is an executable regular file.
12783 as_fn_executable_p ()
12785 test -f "$1" && test -x "$1"
12786 } # as_fn_executable_p
12787 as_test_x='test -x'
12788 as_executable_p=as_fn_executable_p
12790 # Sed expression to map a string onto a valid CPP name.
12791 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12793 # Sed expression to map a string onto a valid variable name.
12794 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12798 ## ----------------------------------- ##
12799 ## Main body of $CONFIG_STATUS script. ##
12800 ## ----------------------------------- ##
12802 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12805 # Save the log message, to keep $0 and so on meaningful, and to
12806 # report actual input values of CONFIG_FILES etc. instead of their
12807 # values after options handling.
12809 This file was extended by libaes $as_me 0.0.2, which was
12810 generated by GNU Autoconf 2.69. Invocation command line was
12812 CONFIG_FILES = $CONFIG_FILES
12813 CONFIG_HEADERS = $CONFIG_HEADERS
12814 CONFIG_LINKS = $CONFIG_LINKS
12815 CONFIG_COMMANDS = $CONFIG_COMMANDS
12818 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12823 case $ac_config_files in *"
12824 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12827 case $ac_config_headers in *"
12828 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12833 # Files that config.status was made for.
12834 config_files="$ac_config_files"
12835 config_headers="$ac_config_headers"
12836 config_commands="$ac_config_commands"
12840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12842 \`$as_me' instantiates files and other configuration actions
12843 from templates according to the current configuration. Unless the files
12844 and actions are specified as TAGs, all are instantiated by default.
12846 Usage: $0 [OPTION]... [TAG]...
12848 -h, --help print this help, then exit
12849 -V, --version print version number and configuration settings, then exit
12850 --config print configuration, then exit
12851 -q, --quiet, --silent
12852 do not print progress messages
12853 -d, --debug don't remove temporary files
12854 --recheck update $as_me by reconfiguring in the same conditions
12855 --file=FILE[:TEMPLATE]
12856 instantiate the configuration file FILE
12857 --header=FILE[:TEMPLATE]
12858 instantiate the configuration header FILE
12860 Configuration files:
12863 Configuration headers:
12866 Configuration commands:
12869 Report bugs to <rosenhauer@dkrz.de>."
12872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12873 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12875 libaes config.status 0.0.2
12876 configured by $0, generated by GNU Autoconf 2.69,
12877 with options \\"\$ac_cs_config\\"
12879 Copyright (C) 2012 Free Software Foundation, Inc.
12880 This config.status script is free software; the Free Software Foundation
12881 gives unlimited permission to copy, distribute and modify it."
12888 test -n "\$AWK" || AWK=awk
12891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12892 # The default lists apply if the user does not specify any file.
12898 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12899 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12915 # Handling of the options.
12916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12919 $as_echo "$ac_cs_version"; exit ;;
12920 --config | --confi | --conf | --con | --co | --c )
12921 $as_echo "$ac_cs_config"; exit ;;
12922 --debug | --debu | --deb | --de | --d | -d )
12924 --file | --fil | --fi | --f )
12927 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12928 '') as_fn_error $? "missing file argument" ;;
12930 as_fn_append CONFIG_FILES " '$ac_optarg'"
12931 ac_need_defaults=false;;
12932 --header | --heade | --head | --hea )
12935 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12937 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12938 ac_need_defaults=false;;
12940 # Conflict between --help and --header
12941 as_fn_error $? "ambiguous option: \`$1'
12942 Try \`$0 --help' for more information.";;
12943 --help | --hel | -h )
12944 $as_echo "$ac_cs_usage"; exit ;;
12945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12946 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12949 # This is an error.
12950 -*) as_fn_error $? "unrecognized option: \`$1'
12951 Try \`$0 --help' for more information." ;;
12953 *) as_fn_append ac_config_targets " $1"
12954 ac_need_defaults=false ;;
12960 ac_configure_extra_args=
12962 if $ac_cs_silent; then
12964 ac_configure_extra_args="$ac_configure_extra_args --silent"
12968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12969 if \$ac_cs_recheck; then
12970 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12972 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12973 CONFIG_SHELL='$SHELL'
12974 export CONFIG_SHELL
12979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12983 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12984 ## Running $as_me. ##
12990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12996 # The HP-UX ksh and POSIX shell print the target directory to stdout
12997 # if CDPATH is set.
12998 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13000 sed_quote_subst='$sed_quote_subst'
13001 double_quote_subst='$double_quote_subst'
13002 delay_variable_subst='$delay_variable_subst'
13003 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13004 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13005 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13006 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13007 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13008 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13009 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13010 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13011 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13012 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13013 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13014 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13015 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13016 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13017 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13018 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13019 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13020 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13021 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13022 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13023 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13024 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13025 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13026 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13027 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13028 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13029 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13030 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13031 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13032 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13033 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13034 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13035 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13036 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13037 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13038 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13039 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13040 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13041 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13042 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13043 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13044 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13045 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13046 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13047 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13048 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13049 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13050 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13051 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13052 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13053 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13054 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13055 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13056 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13057 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13058 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13059 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"`'
13060 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13061 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13062 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13063 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13064 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13065 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13066 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13067 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13068 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13069 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13070 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13071 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13072 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13073 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13074 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13075 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13076 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13077 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13078 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13079 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13080 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13081 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13082 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13083 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13084 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13085 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13086 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13087 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13088 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13089 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13090 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13091 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13092 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13093 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13094 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13095 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13096 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13097 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13098 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13099 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13100 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13101 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13102 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13103 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13104 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13105 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13106 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13107 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13108 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13109 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13110 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13111 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13112 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13113 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13114 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13115 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13116 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13117 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13118 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13119 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13120 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13121 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13122 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13123 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13124 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13125 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13126 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13127 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13128 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13129 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13130 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13131 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13132 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13135 LTCFLAGS='$LTCFLAGS'
13136 compiler='$compiler_DEFAULT'
13138 # A function that is used when there is no print builtin or printf.
13139 func_fallback_echo ()
13141 eval 'cat <<_LTECHO_EOF
13146 # Quote evaled strings.
13161 deplibs_check_method \
13166 sharedlib_from_linklib_cmd \
13169 archiver_list_spec \
13175 lt_cv_sys_global_symbol_pipe \
13176 lt_cv_sys_global_symbol_to_cdecl \
13177 lt_cv_sys_global_symbol_to_c_name_address \
13178 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13179 nm_file_list_spec \
13180 lt_prog_compiler_no_builtin_flag \
13181 lt_prog_compiler_pic \
13182 lt_prog_compiler_wl \
13183 lt_prog_compiler_static \
13184 lt_cv_prog_compiler_c_o \
13193 export_dynamic_flag_spec \
13194 whole_archive_flag_spec \
13195 compiler_needs_object \
13197 allow_undefined_flag \
13198 no_undefined_flag \
13199 hardcode_libdir_flag_spec \
13200 hardcode_libdir_separator \
13204 variables_saved_for_relink \
13206 library_names_spec \
13208 install_override_mode \
13212 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13213 *[\\\\\\\`\\"\\\$]*)
13214 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13217 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13222 # Double-quote double-evaled strings.
13223 for var in reload_cmds \
13224 old_postinstall_cmds \
13225 old_postuninstall_cmds \
13227 extract_expsyms_cmds \
13228 old_archive_from_new_cmds \
13229 old_archive_from_expsyms_cmds \
13231 archive_expsym_cmds \
13233 module_expsym_cmds \
13234 export_symbols_cmds \
13238 postuninstall_cmds \
13240 sys_lib_search_path_spec \
13241 sys_lib_dlsearch_path_spec; do
13242 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13243 *[\\\\\\\`\\"\\\$]*)
13244 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13247 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13252 ac_aux_dir='$ac_aux_dir'
13253 xsi_shell='$xsi_shell'
13254 lt_shell_append='$lt_shell_append'
13256 # See if we are running on zsh, and set the options which allow our
13257 # commands through without removal of \ escapes INIT.
13258 if test -n "\${ZSH_VERSION+set}" ; then
13259 setopt NO_GLOB_SUBST
13265 TIMESTAMP='$TIMESTAMP'
13271 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13277 # Handling of arguments.
13278 for ac_config_target in $ac_config_targets
13280 case $ac_config_target in
13281 "config/config.h") CONFIG_HEADERS="$CONFIG_HEADERS config/config.h" ;;
13282 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13283 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13284 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13285 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13287 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13292 # If the user did not use the arguments to specify the items to instantiate,
13293 # then the envvar interface is used. Set only those that are not.
13294 # We use the long form for the default assignment because of an extremely
13295 # bizarre bug on SunOS 4.1.3.
13296 if $ac_need_defaults; then
13297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13302 # Have a temporary directory for convenience. Make it in the build tree
13303 # simply because there is no reason against having it here, and in addition,
13304 # creating and moving files from /tmp can sometimes cause problems.
13305 # Hook for its removal unless debugging.
13306 # Note that there is a small window in which the directory will not be cleaned:
13307 # after its creation but before its name has been assigned to `$tmp'.
13311 trap 'exit_status=$?
13312 : "${ac_tmp:=$tmp}"
13313 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13315 trap 'as_fn_exit 1' 1 2 13 15
13317 # Create a (secure) tmp directory for tmp files.
13320 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13324 tmp=./conf$$-$RANDOM
13325 (umask 077 && mkdir "$tmp")
13326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13329 # Set up the scripts for CONFIG_FILES section.
13330 # No need to generate them if there are no CONFIG_FILES.
13331 # This happens for instance with `./config.status config.h'.
13332 if test -n "$CONFIG_FILES"; then
13335 ac_cr=`echo X | tr X '\015'`
13336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13337 # But we know of no other shell where ac_cr would be empty at this
13338 # point, so we can use a bashism as a fallback.
13339 if test "x$ac_cr" = x; then
13340 eval ac_cr=\$\'\\r\'
13342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13346 ac_cs_awk_cr=$ac_cr
13349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13354 echo "cat >conf$$subs.awk <<_ACEOF" &&
13355 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13357 } >conf$$subs.sh ||
13358 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13361 for ac_last_try in false false false false false :; do
13362 . ./conf$$subs.sh ||
13363 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13365 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13366 if test $ac_delim_n = $ac_delim_num; then
13368 elif $ac_last_try; then
13369 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13374 rm -f conf$$subs.sh
13376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13381 s/^/S["/; s/!.*/"]=/
13391 s/\(.\{148\}\)..*/\1/
13393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13405 s/\(.\{148\}\)..*/\1/
13407 s/["\\]/\\&/g; s/^/"/; s/$/"/
13411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13416 ' <conf$$subs.awk | sed '
13421 ' >>$CONFIG_STATUS || ac_write_fail=1
13422 rm -f conf$$subs.awk
13423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13426 for (key in S) S_is_set[key] = 1
13432 nfields = split(line, field, "@")
13434 len = length(field[1])
13435 for (i = 2; i < nfields; i++) {
13437 keylen = length(key)
13438 if (S_is_set[key]) {
13440 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13441 len += length(value) + length(field[++i])
13452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13454 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13458 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13463 # trailing colons and then remove the whole line if VPATH becomes empty
13464 # (actually we leave an empty line to preserve line numbers).
13465 if test "x$srcdir" = x.; then
13466 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13485 fi # test -n "$CONFIG_FILES"
13487 # Set up the scripts for CONFIG_HEADERS section.
13488 # No need to generate them if there are no CONFIG_HEADERS.
13489 # This happens for instance with `./config.status Makefile'.
13490 if test -n "$CONFIG_HEADERS"; then
13491 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13495 # Transform confdefs.h into an awk script `defines.awk', embedded as
13496 # here-document in config.status, that substitutes the proper values into
13497 # config.h.in to produce config.h.
13499 # Create a delimiter string that does not exist in confdefs.h, to ease
13500 # handling of long lines.
13502 for ac_last_try in false false :; do
13503 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13504 if test -z "$ac_tt"; then
13506 elif $ac_last_try; then
13507 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13509 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13513 # For the awk script, D is an array of macro values keyed by name,
13514 # likewise P contains macro parameters if any. Preserve backslash
13515 # newline sequences.
13517 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13519 s/.\{148\}/&'"$ac_delim"'/g
13522 s/^[ ]*#[ ]*define[ ][ ]*/ /
13529 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13531 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13536 D["\1"]=" \3\\\\\\n"\\/p
13538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13543 s/.\{148\}/&'"$ac_delim"'/g
13548 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13551 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13553 ' <confdefs.h | sed '
13554 s/'"$ac_delim"'/"\\\
13555 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13558 for (key in D) D_is_set[key] = 1
13561 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13563 split(line, arg, " ")
13564 if (arg[1] == "#") {
13568 defundef = substr(arg[1], 2)
13571 split(mac1, mac2, "(") #)
13573 prefix = substr(line, 1, index(line, defundef) - 1)
13574 if (D_is_set[macro]) {
13575 # Preserve the white space surrounding the "#".
13576 print prefix "define", macro P[macro] D[macro]
13579 # Replace #undef with comments. This is necessary, for example,
13580 # in the case of _POSIX_SOURCE, which is predefined and required
13581 # on some systems where configure will not decide to define it.
13582 if (defundef == "undef") {
13583 print "/*", prefix defundef, macro, "*/"
13591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13592 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13593 fi # test -n "$CONFIG_HEADERS"
13596 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13601 :[FHLC]) ac_mode=$ac_tag; continue;;
13603 case $ac_mode$ac_tag in
13605 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13606 :[FH]-) ac_tag=-:-;;
13607 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13624 -) ac_f="$ac_tmp/stdin";;
13625 *) # Look for the file first in the build tree, then in the source tree
13626 # (if the path is not absolute). The absolute path cannot be DOS-style,
13627 # because $ac_f cannot contain `:'.
13631 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13633 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13635 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13636 as_fn_append ac_file_inputs " '$ac_f'"
13639 # Let's still pretend it is `configure' which instantiates (i.e., don't
13640 # use $as_me), people would be surprised to read:
13641 # /* config.h. Generated by config.status. */
13642 configure_input='Generated from '`
13643 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13645 if test x"$ac_file" != x-; then
13646 configure_input="$ac_file. $configure_input"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13648 $as_echo "$as_me: creating $ac_file" >&6;}
13650 # Neutralize special characters interpreted by sed in replacement strings.
13651 case $configure_input in #(
13652 *\&* | *\|* | *\\* )
13653 ac_sed_conf_input=`$as_echo "$configure_input" |
13654 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13655 *) ac_sed_conf_input=$configure_input;;
13659 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13665 ac_dir=`$as_dirname -- "$ac_file" ||
13666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13667 X"$ac_file" : 'X\(//\)[^/]' \| \
13668 X"$ac_file" : 'X\(//\)$' \| \
13669 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13670 $as_echo X"$ac_file" |
13671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13675 /^X\(\/\/\)[^/].*/{
13688 as_dir="$ac_dir"; as_fn_mkdir_p
13692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13694 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13695 # A ".." for each directory in $ac_dir_suffix.
13696 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13697 case $ac_top_builddir_sub in
13698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13702 ac_abs_top_builddir=$ac_pwd
13703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13704 # for backward compatibility:
13705 ac_top_builddir=$ac_top_build_prefix
13708 .) # We are building in place.
13710 ac_top_srcdir=$ac_top_builddir_sub
13711 ac_abs_top_srcdir=$ac_pwd ;;
13712 [\\/]* | ?:[\\/]* ) # Absolute name.
13713 ac_srcdir=$srcdir$ac_dir_suffix;
13714 ac_top_srcdir=$srcdir
13715 ac_abs_top_srcdir=$srcdir ;;
13716 *) # Relative name.
13717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13718 ac_top_srcdir=$ac_top_build_prefix$srcdir
13719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13731 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13732 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13734 ac_MKDIR_P=$MKDIR_P
13736 [\\/$]* | ?:[\\/]* ) ;;
13737 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13742 # If the template does not know about datarootdir, expand it.
13743 # FIXME: This hack should be removed a few years after 2.60.
13744 ac_datarootdir_hack=; ac_datarootdir_seen=
13755 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13756 *datarootdir*) ac_datarootdir_seen=yes;;
13757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13759 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13762 ac_datarootdir_hack='
13763 s&@datadir@&$datadir&g
13764 s&@docdir@&$docdir&g
13765 s&@infodir@&$infodir&g
13766 s&@localedir@&$localedir&g
13767 s&@mandir@&$mandir&g
13768 s&\\\${datarootdir}&$datarootdir&g' ;;
13772 # Neutralize VPATH when `$srcdir' = `.'.
13773 # Shell code in configure.ac might set extrasub.
13774 # FIXME: do we really want to maintain this feature?
13775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13776 ac_sed_extra="$ac_vpsub
13779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13782 s|@configure_input@|$ac_sed_conf_input|;t t
13783 s&@top_builddir@&$ac_top_builddir_sub&;t t
13784 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13785 s&@srcdir@&$ac_srcdir&;t t
13786 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13787 s&@top_srcdir@&$ac_top_srcdir&;t t
13788 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13789 s&@builddir@&$ac_builddir&;t t
13790 s&@abs_builddir@&$ac_abs_builddir&;t t
13791 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13792 s&@INSTALL@&$ac_INSTALL&;t t
13793 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13794 $ac_datarootdir_hack
13796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13797 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13800 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13801 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13802 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13804 which seems to be undefined. Please make sure it is defined" >&5
13805 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13806 which seems to be undefined. Please make sure it is defined" >&2;}
13808 rm -f "$ac_tmp/stdin"
13810 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13811 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13813 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13819 if test x"$ac_file" != x-; then
13821 $as_echo "/* $configure_input */" \
13822 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13823 } >"$ac_tmp/config.h" \
13824 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13825 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13827 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13830 mv "$ac_tmp/config.h" "$ac_file" \
13831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13834 $as_echo "/* $configure_input */" \
13835 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13836 || as_fn_error $? "could not create -" "$LINENO" 5
13838 # Compute "$ac_file"'s index in $config_headers.
13841 for _am_header in $config_headers :; do
13842 case $_am_header in
13843 $_am_arg | $_am_arg:* )
13846 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13849 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13850 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13851 X"$_am_arg" : 'X\(//\)[^/]' \| \
13852 X"$_am_arg" : 'X\(//\)$' \| \
13853 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13854 $as_echo X"$_am_arg" |
13855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13859 /^X\(\/\/\)[^/].*/{
13871 s/.*/./; q'`/stamp-h$_am_stamp_count
13874 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13875 $as_echo "$as_me: executing $ac_file commands" >&6;}
13880 case $ac_file$ac_mode in
13883 # See if we are running on zsh, and set the options which allow our
13884 # commands through without removal of \ escapes.
13885 if test -n "${ZSH_VERSION+set}" ; then
13886 setopt NO_GLOB_SUBST
13889 cfgfile="${ofile}T"
13890 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13893 cat <<_LT_EOF >> "$cfgfile"
13896 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13897 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13898 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13899 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13901 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13902 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13904 # Written by Gordon Matzigkeit, 1996
13906 # This file is part of GNU Libtool.
13908 # GNU Libtool is free software; you can redistribute it and/or
13909 # modify it under the terms of the GNU General Public License as
13910 # published by the Free Software Foundation; either version 2 of
13911 # the License, or (at your option) any later version.
13913 # As a special exception to the GNU General Public License,
13914 # if you distribute this file as part of a program or library that
13915 # is built using GNU Libtool, you may include this file under the
13916 # same distribution terms that you use for the rest of that program.
13918 # GNU Libtool is distributed in the hope that it will be useful,
13919 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13920 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13921 # GNU General Public License for more details.
13923 # You should have received a copy of the GNU General Public License
13924 # along with GNU Libtool; see the file COPYING. If not, a copy
13925 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13926 # obtained by writing to the Free Software Foundation, Inc.,
13927 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13930 # The names of the tagged configurations supported by this script.
13933 # ### BEGIN LIBTOOL CONFIG
13935 # Which release of libtool.m4 was used?
13936 macro_version=$macro_version
13937 macro_revision=$macro_revision
13939 # Whether or not to build shared libraries.
13940 build_libtool_libs=$enable_shared
13942 # Whether or not to build static libraries.
13943 build_old_libs=$enable_static
13945 # What type of objects to build.
13948 # Whether or not to optimize for fast installation.
13949 fast_install=$enable_fast_install
13951 # Shell to use when invoking shell scripts.
13954 # An echo program that protects backslashes.
13957 # The PATH separator for the build system.
13958 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13961 host_alias=$host_alias
13965 # The build system.
13966 build_alias=$build_alias
13970 # A sed program that does not truncate output.
13973 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13974 Xsed="\$SED -e 1s/^X//"
13976 # A grep program that handles long lines.
13982 # A literal string matcher.
13985 # A BSD- or MS-compatible name lister.
13988 # Whether we need soft or hard links.
13991 # What is the maximum length of a command?
13992 max_cmd_len=$max_cmd_len
13994 # Object file suffix (normally "o").
13997 # Executable file suffix (normally "").
14000 # whether the shell understands "unset".
14003 # turn spaces into newlines.
14006 # turn newlines into spaces.
14009 # convert \$build file names to \$host format.
14010 to_host_file_cmd=$lt_cv_to_host_file_cmd
14012 # convert \$build files to toolchain format.
14013 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14015 # An object symbol dumper.
14016 OBJDUMP=$lt_OBJDUMP
14018 # Method to check whether dependent libraries are shared objects.
14019 deplibs_check_method=$lt_deplibs_check_method
14021 # Command to use when deplibs_check_method = "file_magic".
14022 file_magic_cmd=$lt_file_magic_cmd
14024 # How to find potential files when deplibs_check_method = "file_magic".
14025 file_magic_glob=$lt_file_magic_glob
14027 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14028 want_nocaseglob=$lt_want_nocaseglob
14030 # DLL creation program.
14031 DLLTOOL=$lt_DLLTOOL
14033 # Command to associate shared and link libraries.
14034 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14039 # Flags to create an archive.
14040 AR_FLAGS=$lt_AR_FLAGS
14042 # How to feed a file listing to the archiver.
14043 archiver_list_spec=$lt_archiver_list_spec
14045 # A symbol stripping program.
14048 # Commands used to install an old-style archive.
14050 old_postinstall_cmds=$lt_old_postinstall_cmds
14051 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14053 # Whether to use a lock for old archive extraction.
14054 lock_old_archive_extraction=$lock_old_archive_extraction
14059 # LTCC compiler flags.
14060 LTCFLAGS=$lt_CFLAGS
14062 # Take the output of nm and produce a listing of raw symbols and C names.
14063 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14065 # Transform the output of nm in a proper C declaration.
14066 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14068 # Transform the output of nm in a C name address pair.
14069 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14071 # Transform the output of nm in a C name address pair when lib prefix is needed.
14072 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14074 # Specify filename containing input files for \$NM.
14075 nm_file_list_spec=$lt_nm_file_list_spec
14077 # The root where to search for dependent libraries,and in which our libraries should be installed.
14078 lt_sysroot=$lt_sysroot
14080 # The name of the directory that contains temporary libtool files.
14083 # Used to examine libraries when file_magic_cmd begins with "file".
14084 MAGIC_CMD=$MAGIC_CMD
14086 # Must we lock files when doing compilation?
14087 need_locks=$lt_need_locks
14090 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14092 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14093 DSYMUTIL=$lt_DSYMUTIL
14095 # Tool to change global to local symbols on Mac OS X.
14098 # Tool to manipulate fat objects and archives on Mac OS X.
14101 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14104 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14105 OTOOL64=$lt_OTOOL64
14107 # Old archive suffix (normally "a").
14110 # Shared library suffix (normally ".so").
14111 shrext_cmds=$lt_shrext_cmds
14113 # The commands to extract the exported symbol list from a shared archive.
14114 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14116 # Variables whose values should be saved in libtool wrapper scripts and
14117 # restored at link time.
14118 variables_saved_for_relink=$lt_variables_saved_for_relink
14120 # Do we need the "lib" prefix for modules?
14121 need_lib_prefix=$need_lib_prefix
14123 # Do we need a version for libraries?
14124 need_version=$need_version
14126 # Library versioning type.
14127 version_type=$version_type
14129 # Shared library runtime path variable.
14130 runpath_var=$runpath_var
14132 # Shared library path variable.
14133 shlibpath_var=$shlibpath_var
14135 # Is shlibpath searched before the hard-coded library search path?
14136 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14138 # Format of library name prefix.
14139 libname_spec=$lt_libname_spec
14141 # List of archive names. First name is the real one, the rest are links.
14142 # The last name is the one that the linker finds with -lNAME
14143 library_names_spec=$lt_library_names_spec
14145 # The coded name of the library, if different from the real name.
14146 soname_spec=$lt_soname_spec
14148 # Permission mode override for installation of shared libraries.
14149 install_override_mode=$lt_install_override_mode
14151 # Command to use after installation of a shared archive.
14152 postinstall_cmds=$lt_postinstall_cmds
14154 # Command to use after uninstallation of a shared archive.
14155 postuninstall_cmds=$lt_postuninstall_cmds
14157 # Commands used to finish a libtool library installation in a directory.
14158 finish_cmds=$lt_finish_cmds
14160 # As "finish_cmds", except a single script fragment to be evaled but
14162 finish_eval=$lt_finish_eval
14164 # Whether we should hardcode library paths into libraries.
14165 hardcode_into_libs=$hardcode_into_libs
14167 # Compile-time system search path for libraries.
14168 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14170 # Run-time system search path for libraries.
14171 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14173 # Whether dlopen is supported.
14174 dlopen_support=$enable_dlopen
14176 # Whether dlopen of programs is supported.
14177 dlopen_self=$enable_dlopen_self
14179 # Whether dlopen of statically linked programs is supported.
14180 dlopen_self_static=$enable_dlopen_self_static
14182 # Commands to strip libraries.
14183 old_striplib=$lt_old_striplib
14184 striplib=$lt_striplib
14187 # The linker used to build libraries.
14190 # How to create reloadable object files.
14191 reload_flag=$lt_reload_flag
14192 reload_cmds=$lt_reload_cmds
14194 # Commands used to build an old-style archive.
14195 old_archive_cmds=$lt_old_archive_cmds
14197 # A language specific compiler.
14200 # Is the compiler the GNU compiler?
14203 # Compiler flag to turn off builtin functions.
14204 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14206 # Additional compiler flags for building library objects.
14207 pic_flag=$lt_lt_prog_compiler_pic
14209 # How to pass a linker flag through the compiler.
14210 wl=$lt_lt_prog_compiler_wl
14212 # Compiler flag to prevent dynamic linking.
14213 link_static_flag=$lt_lt_prog_compiler_static
14215 # Does compiler simultaneously support -c and -o options?
14216 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14218 # Whether or not to add -lc for building shared libraries.
14219 build_libtool_need_lc=$archive_cmds_need_lc
14221 # Whether or not to disallow shared libs when runtime libs are static.
14222 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14224 # Compiler flag to allow reflexive dlopens.
14225 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14227 # Compiler flag to generate shared objects directly from archives.
14228 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14230 # Whether the compiler copes with passing no objects directly.
14231 compiler_needs_object=$lt_compiler_needs_object
14233 # Create an old-style archive from a shared archive.
14234 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14236 # Create a temporary old-style archive to link instead of a shared archive.
14237 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14239 # Commands used to build a shared archive.
14240 archive_cmds=$lt_archive_cmds
14241 archive_expsym_cmds=$lt_archive_expsym_cmds
14243 # Commands used to build a loadable module if different from building
14244 # a shared archive.
14245 module_cmds=$lt_module_cmds
14246 module_expsym_cmds=$lt_module_expsym_cmds
14248 # Whether we are building with GNU ld or not.
14249 with_gnu_ld=$lt_with_gnu_ld
14251 # Flag that allows shared libraries with undefined symbols to be built.
14252 allow_undefined_flag=$lt_allow_undefined_flag
14254 # Flag that enforces no undefined symbols.
14255 no_undefined_flag=$lt_no_undefined_flag
14257 # Flag to hardcode \$libdir into a binary during linking.
14258 # This must work even if \$libdir does not exist
14259 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14261 # Whether we need a single "-rpath" flag with a separated argument.
14262 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14264 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14265 # DIR into the resulting binary.
14266 hardcode_direct=$hardcode_direct
14268 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14269 # DIR into the resulting binary and the resulting library dependency is
14270 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14271 # library is relocated.
14272 hardcode_direct_absolute=$hardcode_direct_absolute
14274 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14275 # into the resulting binary.
14276 hardcode_minus_L=$hardcode_minus_L
14278 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14279 # into the resulting binary.
14280 hardcode_shlibpath_var=$hardcode_shlibpath_var
14282 # Set to "yes" if building a shared library automatically hardcodes DIR
14283 # into the library and all subsequent libraries and executables linked
14285 hardcode_automatic=$hardcode_automatic
14287 # Set to yes if linker adds runtime paths of dependent libraries
14288 # to runtime path list.
14289 inherit_rpath=$inherit_rpath
14291 # Whether libtool must link a program against all its dependency libraries.
14292 link_all_deplibs=$link_all_deplibs
14294 # Set to "yes" if exported symbols are required.
14295 always_export_symbols=$always_export_symbols
14297 # The commands to list exported symbols.
14298 export_symbols_cmds=$lt_export_symbols_cmds
14300 # Symbols that should not be listed in the preloaded symbols.
14301 exclude_expsyms=$lt_exclude_expsyms
14303 # Symbols that must always be exported.
14304 include_expsyms=$lt_include_expsyms
14306 # Commands necessary for linking programs (against libraries) with templates.
14307 prelink_cmds=$lt_prelink_cmds
14309 # Commands necessary for finishing linking programs.
14310 postlink_cmds=$lt_postlink_cmds
14312 # Specify filename containing input files.
14313 file_list_spec=$lt_file_list_spec
14315 # How to hardcode a shared library path into an executable.
14316 hardcode_action=$hardcode_action
14318 # ### END LIBTOOL CONFIG
14324 cat <<\_LT_EOF >> "$cfgfile"
14325 # AIX sometimes has problems with the GCC collect2 program. For some
14326 # reason, if we set the COLLECT_NAMES environment variable, the problems
14327 # vanish in a puff of smoke.
14328 if test "X${COLLECT_NAMES+set}" != Xset; then
14330 export COLLECT_NAMES
14337 ltmain="$ac_aux_dir/ltmain.sh"
14340 # We use sed instead of cat because bash on DJGPP gets confused if
14341 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14342 # text mode, it properly converts lines to CR/LF. This bash problem
14343 # is reportedly fixed, but why not run on old versions too?
14344 sed '$q' "$ltmain" >> "$cfgfile" \
14345 || (rm -f "$cfgfile"; exit 1)
14347 if test x"$xsi_shell" = xyes; then
14348 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14352 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14353 \ * ) func_dirname_result="${3}" ;;\
14355 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14356 && mv -f "$cfgfile.tmp" "$cfgfile" \
14357 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14358 test 0 -eq $? || _lt_function_replace_fail=:
14361 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14364 \ func_basename_result="${1##*/}"\
14365 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14366 && mv -f "$cfgfile.tmp" "$cfgfile" \
14367 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14368 test 0 -eq $? || _lt_function_replace_fail=:
14371 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14372 func_dirname_and_basename ()\
14375 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14376 \ * ) func_dirname_result="${3}" ;;\
14378 \ func_basename_result="${1##*/}"\
14379 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14380 && mv -f "$cfgfile.tmp" "$cfgfile" \
14381 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14382 test 0 -eq $? || _lt_function_replace_fail=:
14385 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14388 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14389 \ # positional parameters, so assign one to ordinary parameter first.\
14390 \ func_stripname_result=${3}\
14391 \ func_stripname_result=${func_stripname_result#"${1}"}\
14392 \ func_stripname_result=${func_stripname_result%"${2}"}\
14393 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14394 && mv -f "$cfgfile.tmp" "$cfgfile" \
14395 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14396 test 0 -eq $? || _lt_function_replace_fail=:
14399 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14400 func_split_long_opt ()\
14402 \ func_split_long_opt_name=${1%%=*}\
14403 \ func_split_long_opt_arg=${1#*=}\
14404 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14405 && mv -f "$cfgfile.tmp" "$cfgfile" \
14406 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14407 test 0 -eq $? || _lt_function_replace_fail=:
14410 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14411 func_split_short_opt ()\
14413 \ func_split_short_opt_arg=${1#??}\
14414 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14415 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14416 && mv -f "$cfgfile.tmp" "$cfgfile" \
14417 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14418 test 0 -eq $? || _lt_function_replace_fail=:
14421 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14425 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14426 \ *) func_lo2o_result=${1} ;;\
14428 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14429 && mv -f "$cfgfile.tmp" "$cfgfile" \
14430 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14431 test 0 -eq $? || _lt_function_replace_fail=:
14434 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14437 func_xform_result=${1%.*}.lo\
14438 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14439 && mv -f "$cfgfile.tmp" "$cfgfile" \
14440 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14441 test 0 -eq $? || _lt_function_replace_fail=:
14444 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14447 func_arith_result=$(( $* ))\
14448 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14449 && mv -f "$cfgfile.tmp" "$cfgfile" \
14450 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14451 test 0 -eq $? || _lt_function_replace_fail=:
14454 sed -e '/^func_len ()$/,/^} # func_len /c\
14457 func_len_result=${#1}\
14458 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14459 && mv -f "$cfgfile.tmp" "$cfgfile" \
14460 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14461 test 0 -eq $? || _lt_function_replace_fail=:
14465 if test x"$lt_shell_append" = xyes; then
14466 sed -e '/^func_append ()$/,/^} # func_append /c\
14469 eval "${1}+=\\${2}"\
14470 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14471 && mv -f "$cfgfile.tmp" "$cfgfile" \
14472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14473 test 0 -eq $? || _lt_function_replace_fail=:
14476 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14477 func_append_quoted ()\
14479 \ func_quote_for_eval "${2}"\
14480 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14481 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14482 && mv -f "$cfgfile.tmp" "$cfgfile" \
14483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14484 test 0 -eq $? || _lt_function_replace_fail=:
14487 # Save a `func_append' function call where possible by direct use of '+='
14488 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14489 && mv -f "$cfgfile.tmp" "$cfgfile" \
14490 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14491 test 0 -eq $? || _lt_function_replace_fail=:
14493 # Save a `func_append' function call even when '+=' is not available
14494 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14495 && mv -f "$cfgfile.tmp" "$cfgfile" \
14496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14497 test 0 -eq $? || _lt_function_replace_fail=:
14500 if test x"$_lt_function_replace_fail" = x":"; then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14502 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14506 mv -f "$cfgfile" "$ofile" ||
14507 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14511 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14512 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14513 # are listed without --file. Let's play safe and only enable the eval
14514 # if we detect the quoting.
14515 case $CONFIG_FILES in
14516 *\'*) eval set x "$CONFIG_FILES" ;;
14517 *) set x $CONFIG_FILES ;;
14522 # Strip MF so we end up with the name of the file.
14523 mf=`echo "$mf" | sed -e 's/:.*$//'`
14524 # Check whether this is an Automake generated Makefile or not.
14525 # We used to match only the files named 'Makefile.in', but
14526 # some people rename them; so instead we look at the file content.
14527 # Grep'ing the first line is not enough: some people post-process
14528 # each Makefile.in and add a new line on top of each file to say so.
14529 # Grep'ing the whole file is not good either: AIX grep has a line
14530 # limit of 2048, but all sed's we know have understand at least 4000.
14531 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14532 dirpart=`$as_dirname -- "$mf" ||
14533 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14534 X"$mf" : 'X\(//\)[^/]' \| \
14535 X"$mf" : 'X\(//\)$' \| \
14536 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14542 /^X\(\/\/\)[^/].*/{
14558 # Extract the definition of DEPDIR, am__include, and am__quote
14559 # from the Makefile without running 'make'.
14560 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14561 test -z "$DEPDIR" && continue
14562 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14563 test -z "am__include" && continue
14564 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14565 # Find all dependency output files, they are included files with
14566 # $(DEPDIR) in their names. We invoke sed twice because it is the
14567 # simplest approach to changing $(DEPDIR) to its actual value in the
14569 for file in `sed -n "
14570 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14571 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14572 # Make sure the directory exists.
14573 test -f "$dirpart/$file" && continue
14574 fdir=`$as_dirname -- "$file" ||
14575 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14576 X"$file" : 'X\(//\)[^/]' \| \
14577 X"$file" : 'X\(//\)$' \| \
14578 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14579 $as_echo X"$file" |
14580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14584 /^X\(\/\/\)[^/].*/{
14597 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14598 # echo "creating $dirpart/$file"
14599 echo '# dummy' > "$dirpart/$file"
14611 ac_clean_files=$ac_clean_files_save
14613 test $ac_write_fail = 0 ||
14614 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14617 # configure is writing to config.log, and then calls config.status.
14618 # config.status does its own redirection, appending to config.log.
14619 # Unfortunately, on DOS this fails, as config.log is still kept open
14620 # by configure, so config.status won't be able to write to it; its
14621 # output is simply discarded. So we exec the FD to /dev/null,
14622 # effectively closing config.log, so it can be properly (re)opened and
14623 # appended to by config.status. When coming back to configure, we
14624 # need to make the FD available again.
14625 if test "$no_create" != yes; then
14627 ac_config_status_args=
14628 test "$silent" = yes &&
14629 ac_config_status_args="$ac_config_status_args --quiet"
14631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14634 # would make configure fail if this is the last instruction.
14635 $ac_cs_success || as_fn_exit 1
14637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}