2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for zettair 0.9.3patched.
5 # Report bugs to <nick@ndcode.org>.
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 nick@ndcode.org
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='zettair'
592 PACKAGE_TARNAME='zettair'
593 PACKAGE_VERSION='0.9.3patched'
594 PACKAGE_STRING='zettair 0.9.3patched'
595 PACKAGE_BUGREPORT='nick@ndcode.org'
598 ac_unique_file="src/commandline.c"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
704 INSTALL_STRIP_PROGRAM
759 program_transform_name
772 enable_option_checking
775 enable_dependency_tracking
785 ac_precious_vars='build_alias
798 # Initialize some variables set by options.
800 ac_init_version=false
801 ac_unrecognized_opts=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name=s,x,x,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 runstatedir='${localstatedir}/run'
835 includedir='${prefix}/include'
836 oldincludedir='/usr/include'
837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir='${datarootdir}/info'
843 libdir='${exec_prefix}/lib'
844 localedir='${datarootdir}/locale'
845 mandir='${datarootdir}/man'
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\$ac_option
859 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
864 # Accept the important Cygnus configure options, so we can diagnose typos.
866 case $ac_dashdash$ac_option in
870 -bindir | --bindir | --bindi | --bind | --bin | --bi)
872 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
875 -build | --build | --buil | --bui | --bu)
876 ac_prev=build_alias ;;
877 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
878 build_alias=$ac_optarg ;;
880 -cache-file | --cache-file | --cache-fil | --cache-fi \
881 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
882 ac_prev=cache_file ;;
883 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
884 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
885 cache_file=$ac_optarg ;;
888 cache_file=config.cache ;;
890 -datadir | --datadir | --datadi | --datad)
892 -datadir=* | --datadir=* | --datadi=* | --datad=*)
893 datadir=$ac_optarg ;;
895 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
896 | --dataroo | --dataro | --datar)
897 ac_prev=datarootdir ;;
898 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
899 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
900 datarootdir=$ac_optarg ;;
902 -disable-* | --disable-*)
903 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906 as_fn_error $? "invalid feature name: $ac_useropt"
907 ac_useropt_orig=$ac_useropt
908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
914 ac_unrecognized_sep=', ';;
916 eval enable_$ac_useropt=no ;;
918 -docdir | --docdir | --docdi | --doc | --do)
920 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
923 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
925 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
928 -enable-* | --enable-*)
929 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
932 as_fn_error $? "invalid feature name: $ac_useropt"
933 ac_useropt_orig=$ac_useropt
934 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
940 ac_unrecognized_sep=', ';;
942 eval enable_$ac_useropt=\$ac_optarg ;;
944 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
945 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
946 | --exec | --exe | --ex)
947 ac_prev=exec_prefix ;;
948 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
949 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
950 | --exec=* | --exe=* | --ex=*)
951 exec_prefix=$ac_optarg ;;
953 -gas | --gas | --ga | --g)
954 # Obsolete; use --with-gas.
957 -help | --help | --hel | --he | -h)
959 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
960 ac_init_help=recursive ;;
961 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
962 ac_init_help=short ;;
964 -host | --host | --hos | --ho)
965 ac_prev=host_alias ;;
966 -host=* | --host=* | --hos=* | --ho=*)
967 host_alias=$ac_optarg ;;
969 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
971 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
973 htmldir=$ac_optarg ;;
975 -includedir | --includedir | --includedi | --included | --include \
976 | --includ | --inclu | --incl | --inc)
977 ac_prev=includedir ;;
978 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
979 | --includ=* | --inclu=* | --incl=* | --inc=*)
980 includedir=$ac_optarg ;;
982 -infodir | --infodir | --infodi | --infod | --info | --inf)
984 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
985 infodir=$ac_optarg ;;
987 -libdir | --libdir | --libdi | --libd)
989 -libdir=* | --libdir=* | --libdi=* | --libd=*)
992 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
993 | --libexe | --libex | --libe)
994 ac_prev=libexecdir ;;
995 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
996 | --libexe=* | --libex=* | --libe=*)
997 libexecdir=$ac_optarg ;;
999 -localedir | --localedir | --localedi | --localed | --locale)
1000 ac_prev=localedir ;;
1001 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002 localedir=$ac_optarg ;;
1004 -localstatedir | --localstatedir | --localstatedi | --localstated \
1005 | --localstate | --localstat | --localsta | --localst | --locals)
1006 ac_prev=localstatedir ;;
1007 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1008 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1009 localstatedir=$ac_optarg ;;
1011 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1013 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1014 mandir=$ac_optarg ;;
1016 -nfp | --nfp | --nf)
1017 # Obsolete; use --without-fp.
1020 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1021 | --no-cr | --no-c | -n)
1024 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1025 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1028 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1029 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1030 | --oldin | --oldi | --old | --ol | --o)
1031 ac_prev=oldincludedir ;;
1032 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1033 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1034 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1035 oldincludedir=$ac_optarg ;;
1037 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1039 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1040 prefix=$ac_optarg ;;
1042 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1043 | --program-pre | --program-pr | --program-p)
1044 ac_prev=program_prefix ;;
1045 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1046 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1047 program_prefix=$ac_optarg ;;
1049 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1050 | --program-suf | --program-su | --program-s)
1051 ac_prev=program_suffix ;;
1052 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1053 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1054 program_suffix=$ac_optarg ;;
1056 -program-transform-name | --program-transform-name \
1057 | --program-transform-nam | --program-transform-na \
1058 | --program-transform-n | --program-transform- \
1059 | --program-transform | --program-transfor \
1060 | --program-transfo | --program-transf \
1061 | --program-trans | --program-tran \
1062 | --progr-tra | --program-tr | --program-t)
1063 ac_prev=program_transform_name ;;
1064 -program-transform-name=* | --program-transform-name=* \
1065 | --program-transform-nam=* | --program-transform-na=* \
1066 | --program-transform-n=* | --program-transform-=* \
1067 | --program-transform=* | --program-transfor=* \
1068 | --program-transfo=* | --program-transf=* \
1069 | --program-trans=* | --program-tran=* \
1070 | --progr-tra=* | --program-tr=* | --program-t=*)
1071 program_transform_name=$ac_optarg ;;
1073 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1075 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1076 pdfdir=$ac_optarg ;;
1078 -psdir | --psdir | --psdi | --psd | --ps)
1080 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1084 | -silent | --silent | --silen | --sile | --sil)
1087 -runstatedir | --runstatedir | --runstatedi | --runstated \
1088 | --runstate | --runstat | --runsta | --runst | --runs \
1089 | --run | --ru | --r)
1090 ac_prev=runstatedir ;;
1091 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1092 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1093 | --run=* | --ru=* | --r=*)
1094 runstatedir=$ac_optarg ;;
1096 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1098 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1100 sbindir=$ac_optarg ;;
1102 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1103 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1104 | --sharedst | --shareds | --shared | --share | --shar \
1106 ac_prev=sharedstatedir ;;
1107 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1108 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1109 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1111 sharedstatedir=$ac_optarg ;;
1113 -site | --site | --sit)
1115 -site=* | --site=* | --sit=*)
1118 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1120 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1121 srcdir=$ac_optarg ;;
1123 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1124 | --syscon | --sysco | --sysc | --sys | --sy)
1125 ac_prev=sysconfdir ;;
1126 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1127 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1128 sysconfdir=$ac_optarg ;;
1130 -target | --target | --targe | --targ | --tar | --ta | --t)
1131 ac_prev=target_alias ;;
1132 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1133 target_alias=$ac_optarg ;;
1135 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1138 -version | --version | --versio | --versi | --vers | -V)
1139 ac_init_version=: ;;
1142 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145 as_fn_error $? "invalid package name: $ac_useropt"
1146 ac_useropt_orig=$ac_useropt
1147 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1153 ac_unrecognized_sep=', ';;
1155 eval with_$ac_useropt=\$ac_optarg ;;
1157 -without-* | --without-*)
1158 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161 as_fn_error $? "invalid package name: $ac_useropt"
1162 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1169 ac_unrecognized_sep=', ';;
1171 eval with_$ac_useropt=no ;;
1174 # Obsolete; use --with-x.
1177 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1178 | --x-incl | --x-inc | --x-in | --x-i)
1179 ac_prev=x_includes ;;
1180 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1181 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1182 x_includes=$ac_optarg ;;
1184 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1185 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1186 ac_prev=x_libraries ;;
1187 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1188 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1189 x_libraries=$ac_optarg ;;
1191 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1192 Try \`$0 --help' for more information"
1196 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1197 # Reject names that are not valid shell variable names.
1198 case $ac_envvar in #(
1199 '' | [0-9]* | *[!_$as_cr_alnum]* )
1200 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1202 eval $ac_envvar=\$ac_optarg
1203 export $ac_envvar ;;
1206 # FIXME: should be removed in autoconf 3.0.
1207 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1208 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1209 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1210 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1216 if test -n "$ac_prev"; then
1217 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1218 as_fn_error $? "missing argument to $ac_option"
1221 if test -n "$ac_unrecognized_opts"; then
1222 case $enable_option_checking in
1224 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1225 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1229 # Check all directory arguments for consistency.
1230 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1231 datadir sysconfdir sharedstatedir localstatedir includedir \
1232 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1233 libdir localedir mandir runstatedir
1235 eval ac_val=\$$ac_var
1236 # Remove trailing slashes.
1239 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1240 eval $ac_var=\$ac_val;;
1242 # Be sure to have absolute directory names.
1244 [\\/$]* | ?:[\\/]* ) continue;;
1245 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1247 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1250 # There might be people who depend on the old broken behavior: `$host'
1251 # used to hold the argument of --host etc.
1252 # FIXME: To remove some day.
1255 target=$target_alias
1257 # FIXME: To remove some day.
1258 if test "x$host_alias" != x; then
1259 if test "x$build_alias" = x; then
1260 cross_compiling=maybe
1261 elif test "x$build_alias" != "x$host_alias"; then
1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1269 test "$silent" = yes && exec 6>/dev/null
1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1273 ac_ls_di=`ls -di .` &&
1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1275 as_fn_error $? "working directory cannot be determined"
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277 as_fn_error $? "pwd does not report name of working directory"
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282 ac_srcdir_defaulted=yes
1283 # Try the directory containing this script, then the parent directory.
1284 ac_confdir=`$as_dirname -- "$as_myself" ||
1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286 X"$as_myself" : 'X\(//\)[^/]' \| \
1287 X"$as_myself" : 'X\(//\)$' \| \
1288 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1312 ac_srcdir_defaulted=no
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1316 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1320 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 for ac_var in $ac_precious_vars; do
1333 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_env_${ac_var}_value=\$${ac_var}
1335 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1336 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1340 # Report the --help message.
1342 if test "$ac_init_help" = "long"; then
1343 # Omit some internal or obsolete options to make the list less imposing.
1344 # This message is too long to be a string in the A/UX 3.1 sh.
1346 \`configure' configures zettair 0.9.3patched to adapt to many kinds of systems.
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE. See below for descriptions of some of the useful variables.
1353 Defaults for the options are specified in brackets.
1356 -h, --help display this help and exit
1357 --help=short display options specific to this package
1358 --help=recursive display the short help of all the included packages
1359 -V, --version display version information and exit
1360 -q, --quiet, --silent do not print \`checking ...' messages
1361 --cache-file=FILE cache test results in FILE [disabled]
1362 -C, --config-cache alias for \`--cache-file=config.cache'
1363 -n, --no-create do not create output files
1364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366 Installation directories:
1367 --prefix=PREFIX install architecture-independent files in PREFIX
1368 [$ac_default_prefix]
1369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1377 For better control, use the options below.
1379 Fine tuning of the installation directories:
1380 --bindir=DIR user executables [EPREFIX/bin]
1381 --sbindir=DIR system admin executables [EPREFIX/sbin]
1382 --libexecdir=DIR program executables [EPREFIX/libexec]
1383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1386 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1387 --libdir=DIR object code libraries [EPREFIX/lib]
1388 --includedir=DIR C header files [PREFIX/include]
1389 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1390 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1391 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1392 --infodir=DIR info documentation [DATAROOTDIR/info]
1393 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1394 --mandir=DIR man documentation [DATAROOTDIR/man]
1395 --docdir=DIR documentation root [DATAROOTDIR/doc/zettair]
1396 --htmldir=DIR html documentation [DOCDIR]
1397 --dvidir=DIR dvi documentation [DOCDIR]
1398 --pdfdir=DIR pdf documentation [DOCDIR]
1399 --psdir=DIR ps documentation [DOCDIR]
1405 --program-prefix=PREFIX prepend PREFIX to installed program names
1406 --program-suffix=SUFFIX append SUFFIX to installed program names
1407 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1410 --build=BUILD configure for building on BUILD [guessed]
1411 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1412 --target=TARGET configure for building compilers for TARGET [HOST]
1416 if test -n "$ac_init_help"; then
1417 case $ac_init_help in
1418 short | recursive ) echo "Configuration of zettair 0.9.3patched:";;
1423 --disable-option-checking ignore unrecognized --enable/--with options
1424 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1425 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1426 --enable-silent-rules less verbose build output (undo: "make V=1")
1427 --disable-silent-rules verbose build output (undo: "make V=0")
1428 --enable-dependency-tracking
1429 do not reject slow dependency extractors
1430 --disable-dependency-tracking
1431 speeds up one-time build
1432 --enable-shared[=PKGS] build shared libraries [default=yes]
1433 --enable-static[=PKGS] build static libraries [default=yes]
1434 --enable-fast-install[=PKGS]
1435 optimize for fast installation [default=yes]
1436 --disable-libtool-lock avoid locking (might break parallel builds)
1439 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1440 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1441 --with-valgrind=DIR integrate valgrind support for better error detetion
1442 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1444 --with-aix-soname=aix|svr4|both
1445 shared library versioning (aka "SONAME") variant to
1446 provide on AIX, [default=aix].
1447 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1448 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1449 compiler's sysroot if not specified).
1451 Some influential environment variables:
1452 CC C compiler command
1453 CFLAGS C compiler flags
1454 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1455 nonstandard directory <lib dir>
1456 LIBS libraries to pass to the linker, e.g. -l<library>
1457 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1458 you have headers in a nonstandard directory <include dir>
1460 User-defined run-time library search path.
1462 PYTHON the Python interpreter
1464 Use these variables to override the choices made by `configure' or to help
1465 it to find libraries and programs with nonstandard names/locations.
1467 Report bugs to <nick@ndcode.org>.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" ||
1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1530 zettair configure 0.9.3patched
1531 generated by GNU Autoconf 2.69
1533 Copyright (C) 2012 Free Software Foundation, Inc.
1534 This configure script is free software; the Free Software Foundation
1535 gives unlimited permission to copy, distribute and modify it.
1540 ## ------------------------ ##
1541 ## Autoconf initialization. ##
1542 ## ------------------------ ##
1544 # ac_fn_c_try_compile LINENO
1545 # --------------------------
1546 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1547 ac_fn_c_try_compile ()
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 rm -f conftest.$ac_objext
1551 if { { ac_try="$ac_compile"
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_compile") 2>conftest.err
1560 if test -s conftest.err; then
1561 grep -v '^ *+' conftest.err >conftest.er1
1562 cat conftest.er1 >&5
1563 mv -f conftest.er1 conftest.err
1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1566 test $ac_status = 0; } && {
1567 test -z "$ac_c_werror_flag" ||
1568 test ! -s conftest.err
1569 } && test -s conftest.$ac_objext; then :
1572 $as_echo "$as_me: failed program was:" >&5
1573 sed 's/^/| /' conftest.$ac_ext >&5
1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1578 as_fn_set_status $ac_retval
1580 } # ac_fn_c_try_compile
1582 # ac_fn_c_try_link LINENO
1583 # -----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded.
1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588 rm -f conftest.$ac_objext conftest$ac_exeext
1589 if { { ac_try="$ac_link"
1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592 *) ac_try_echo=$ac_try;;
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596 (eval "$ac_link") 2>conftest.err
1598 if test -s conftest.err; then
1599 grep -v '^ *+' conftest.err >conftest.er1
1600 cat conftest.er1 >&5
1601 mv -f conftest.er1 conftest.err
1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1604 test $ac_status = 0; } && {
1605 test -z "$ac_c_werror_flag" ||
1606 test ! -s conftest.err
1607 } && test -s conftest$ac_exeext && {
1608 test "$cross_compiling" = yes ||
1609 test -x conftest$ac_exeext
1613 $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1620 # interfere with the next link command; also delete a directory that is
1621 # left behind by Apple's compiler. We do this before executing the actions.
1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624 as_fn_set_status $ac_retval
1626 } # ac_fn_c_try_link
1628 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1629 # -------------------------------------------------------
1630 # Tests whether HEADER exists and can be compiled using the include files in
1631 # INCLUDES, setting the cache variable VAR accordingly.
1632 ac_fn_c_check_header_compile ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1636 $as_echo_n "checking for $2... " >&6; }
1637 if eval \${$3+:} false; then :
1638 $as_echo_n "(cached) " >&6
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1645 if ac_fn_c_try_compile "$LINENO"; then :
1650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1654 $as_echo "$ac_res" >&6; }
1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657 } # ac_fn_c_check_header_compile
1659 # ac_fn_c_try_cpp LINENO
1660 # ----------------------
1661 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665 if { { ac_try="$ac_cpp conftest.$ac_ext"
1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668 *) ac_try_echo=$ac_try;;
1670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671 $as_echo "$ac_try_echo"; } >&5
1672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1674 if test -s conftest.err; then
1675 grep -v '^ *+' conftest.err >conftest.er1
1676 cat conftest.er1 >&5
1677 mv -f conftest.er1 conftest.err
1679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680 test $ac_status = 0; } > conftest.i && {
1681 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1682 test ! -s conftest.err
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692 as_fn_set_status $ac_retval
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 if { { ac_try="$ac_link"
1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_link") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714 { { case "(($ac_try" in
1715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_try") 2>&5
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; }; }; then :
1726 $as_echo "$as_me: program exited with status $ac_status" >&5
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1730 ac_retval=$ac_status
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_func LINENO FUNC VAR
1739 # ----------------------------------
1740 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1741 ac_fn_c_check_func ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1751 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1753 #define $2 innocuous_$2
1755 /* System header to define __stub macros and hopefully few prototypes,
1756 which can conflict with char $2 (); below.
1757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1758 <limits.h> exists even on freestanding compilers. */
1761 # include <limits.h>
1763 # include <assert.h>
1768 /* Override any GCC internal prototype to avoid an error.
1769 Use char because int might match the return type of a GCC
1770 builtin and then its argument prototype would still apply. */
1775 /* The GNU C library defines this for functions which it implements
1776 to always fail with ENOSYS. Some functions are actually named
1777 something starting with __ and the normal name is an alias. */
1778 #if defined __stub_$2 || defined __stub___$2
1790 if ac_fn_c_try_link "$LINENO"; then :
1795 rm -f core conftest.err conftest.$ac_objext \
1796 conftest$ac_exeext conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803 } # ac_fn_c_check_func
1805 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1806 # -------------------------------------------------------
1807 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1808 # the include files in INCLUDES and setting the cache variable VAR
1810 ac_fn_c_check_header_mongrel ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 if eval \${$3+:} false; then :
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval \${$3+:} false; then :
1817 $as_echo_n "(cached) " >&6
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1823 # Is the header compilable?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1825 $as_echo_n "checking $2 usability... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h. */
1831 if ac_fn_c_try_compile "$LINENO"; then :
1832 ac_header_compiler=yes
1834 ac_header_compiler=no
1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1838 $as_echo "$ac_header_compiler" >&6; }
1840 # Is the header present?
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1842 $as_echo_n "checking $2 presence... " >&6; }
1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1847 if ac_fn_c_try_cpp "$LINENO"; then :
1848 ac_header_preproc=yes
1850 ac_header_preproc=no
1852 rm -f conftest.err conftest.i conftest.$ac_ext
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1854 $as_echo "$ac_header_preproc" >&6; }
1856 # So? What about this header?
1857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1860 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1862 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1866 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1868 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1870 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1872 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1874 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1875 ( $as_echo "## ------------------------------ ##
1876 ## Report this to nick@ndcode.org ##
1877 ## ------------------------------ ##"
1878 ) | sed "s/^/$as_me: WARNING: /" >&2
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1886 eval "$3=\$ac_header_compiler"
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_header_mongrel
1896 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1897 # -------------------------------------------
1898 # Tests whether TYPE exists after having included INCLUDES, setting cache
1899 # variable VAR accordingly.
1900 ac_fn_c_check_type ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1921 if ac_fn_c_try_compile "$LINENO"; then :
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h. */
1934 if ac_fn_c_try_compile "$LINENO"; then :
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 } # ac_fn_c_check_type
1949 cat >config.log <<_ACEOF
1950 This file contains any messages produced by compilers while
1951 running configure, to aid debugging if configure makes a mistake.
1953 It was created by zettair $as_me 0.9.3patched, which was
1954 generated by GNU Autoconf 2.69. Invocation command line was
1966 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1967 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1968 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1969 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1970 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1972 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1973 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1975 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1976 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1977 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1978 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1979 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1980 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1981 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir=.
1990 $as_echo "PATH: $as_dir"
2006 # Keep a trace of the command line.
2007 # Strip out --no-create and --no-recursion so they do not pile up.
2008 # Strip out --silent because we don't want to record it for future runs.
2009 # Also quote any args containing shell meta-characters.
2010 # Make two passes to allow for proper duplicate-argument suppression.
2014 ac_must_keep_next=false
2020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2022 | -silent | --silent | --silen | --sile | --sil)
2025 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2028 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2030 as_fn_append ac_configure_args1 " '$ac_arg'"
2031 if test $ac_must_keep_next = true; then
2032 ac_must_keep_next=false # Got value, back to normal.
2035 *=* | --config-cache | -C | -disable-* | --disable-* \
2036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2038 | -with-* | --with-* | -without-* | --without-* | --x)
2039 case "$ac_configure_args0 " in
2040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2043 -* ) ac_must_keep_next=true ;;
2046 as_fn_append ac_configure_args " '$ac_arg'"
2051 { ac_configure_args0=; unset ac_configure_args0;}
2052 { ac_configure_args1=; unset ac_configure_args1;}
2054 # When interrupted or exit'd, cleanup temporary files, and complete
2055 # config.log. We remove comments because anyway the quotes in there
2056 # would cause problems or look ugly.
2057 # WARNING: Use '\'' to represent an apostrophe within the trap.
2058 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2059 trap 'exit_status=$?
2060 # Save into config.log some information that might help in debugging.
2064 $as_echo "## ---------------- ##
2065 ## Cache variables. ##
2066 ## ---------------- ##"
2068 # The following way of writing the cache mishandles newlines in values,
2070 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2071 eval ac_val=\$$ac_var
2075 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2079 _ | IFS | as_nl) ;; #(
2080 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2081 *) { eval $ac_var=; unset $ac_var;} ;;
2086 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2087 *${as_nl}ac_space=\ *)
2089 "s/'\''/'\''\\\\'\'''\''/g;
2090 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2093 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2100 $as_echo "## ----------------- ##
2101 ## Output variables. ##
2102 ## ----------------- ##"
2104 for ac_var in $ac_subst_vars
2106 eval ac_val=\$$ac_var
2108 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110 $as_echo "$ac_var='\''$ac_val'\''"
2114 if test -n "$ac_subst_files"; then
2115 $as_echo "## ------------------- ##
2116 ## File substitutions. ##
2117 ## ------------------- ##"
2119 for ac_var in $ac_subst_files
2121 eval ac_val=\$$ac_var
2123 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2125 $as_echo "$ac_var='\''$ac_val'\''"
2130 if test -s confdefs.h; then
2131 $as_echo "## ----------- ##
2138 test "$ac_signal" != 0 &&
2139 $as_echo "$as_me: caught signal $ac_signal"
2140 $as_echo "$as_me: exit $exit_status"
2142 rm -f core *.core core.conftest.* &&
2143 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2146 for ac_signal in 1 2 13 15; do
2147 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2151 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2152 rm -f -r conftest* confdefs.h
2154 $as_echo "/* confdefs.h */" > confdefs.h
2156 # Predefined preprocessor variables.
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_NAME "$PACKAGE_NAME"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_STRING "$PACKAGE_STRING"
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_URL "$PACKAGE_URL"
2183 # Let the site file select an alternate cache file if it wants to.
2184 # Prefer an explicitly selected file to automatically selected ones.
2187 if test -n "$CONFIG_SITE"; then
2188 # We do not want a PATH search for config.site.
2189 case $CONFIG_SITE in #((
2190 -*) ac_site_file1=./$CONFIG_SITE;;
2191 */*) ac_site_file1=$CONFIG_SITE;;
2192 *) ac_site_file1=./$CONFIG_SITE;;
2194 elif test "x$prefix" != xNONE; then
2195 ac_site_file1=$prefix/share/config.site
2196 ac_site_file2=$prefix/etc/config.site
2198 ac_site_file1=$ac_default_prefix/share/config.site
2199 ac_site_file2=$ac_default_prefix/etc/config.site
2201 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2203 test "x$ac_site_file" = xNONE && continue
2204 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2206 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2207 sed 's/^/| /' "$ac_site_file" >&5
2209 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2211 as_fn_error $? "failed to load site script $ac_site_file
2212 See \`config.log' for more details" "$LINENO" 5; }
2216 if test -r "$cache_file"; then
2217 # Some versions of bash will fail to source /dev/null (special files
2218 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2219 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2221 $as_echo "$as_me: loading cache $cache_file" >&6;}
2223 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2224 *) . "./$cache_file";;
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2229 $as_echo "$as_me: creating cache $cache_file" >&6;}
2233 # Check that the precious variables saved in the cache have kept the same
2235 ac_cache_corrupted=false
2236 for ac_var in $ac_precious_vars; do
2237 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2238 eval ac_new_set=\$ac_env_${ac_var}_set
2239 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2240 eval ac_new_val=\$ac_env_${ac_var}_value
2241 case $ac_old_set,$ac_new_set in
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2244 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2245 ac_cache_corrupted=: ;;
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2248 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2249 ac_cache_corrupted=: ;;
2252 if test "x$ac_old_val" != "x$ac_new_val"; then
2253 # differences in whitespace do not lead to failure.
2254 ac_old_val_w=`echo x $ac_old_val`
2255 ac_new_val_w=`echo x $ac_new_val`
2256 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2258 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2259 ac_cache_corrupted=:
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2262 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2263 eval $ac_var=\$ac_old_val
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2266 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2268 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2271 # Pass precious variables to config.status.
2272 if test "$ac_new_set" = set; then
2274 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2275 *) ac_arg=$ac_var=$ac_new_val ;;
2277 case " $ac_configure_args " in
2278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2279 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2283 if $ac_cache_corrupted; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2287 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2288 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2290 ## -------------------- ##
2291 ## Main body of script. ##
2292 ## -------------------- ##
2295 ac_cpp='$CPP $CPPFLAGS'
2296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2302 # calculate variables for target system
2304 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2305 if test -f "$ac_dir/install-sh"; then
2307 ac_install_sh="$ac_aux_dir/install-sh -c"
2309 elif test -f "$ac_dir/install.sh"; then
2311 ac_install_sh="$ac_aux_dir/install.sh -c"
2313 elif test -f "$ac_dir/shtool"; then
2315 ac_install_sh="$ac_aux_dir/shtool install -c"
2319 if test -z "$ac_aux_dir"; then
2320 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2323 # These three variables are undocumented and unsupported,
2324 # and are intended to be withdrawn in a future Autoconf release.
2325 # They can cause serious problems if a builder's source tree is in a directory
2326 # whose full name contains unusual characters.
2327 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2328 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2329 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2332 # Make sure we can run config.sub.
2333 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2334 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2337 $as_echo_n "checking build system type... " >&6; }
2338 if ${ac_cv_build+:} false; then :
2339 $as_echo_n "(cached) " >&6
2341 ac_build_alias=$build_alias
2342 test "x$ac_build_alias" = x &&
2343 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2344 test "x$ac_build_alias" = x &&
2345 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2346 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2347 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2351 $as_echo "$ac_cv_build" >&6; }
2352 case $ac_cv_build in
2354 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2357 ac_save_IFS=$IFS; IFS='-'
2363 # Remember, the first character of IFS is used to create $*,
2364 # except with old shells:
2367 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2371 $as_echo_n "checking host system type... " >&6; }
2372 if ${ac_cv_host+:} false; then :
2373 $as_echo_n "(cached) " >&6
2375 if test "x$host_alias" = x; then
2376 ac_cv_host=$ac_cv_build
2378 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2379 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2384 $as_echo "$ac_cv_host" >&6; }
2387 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2390 ac_save_IFS=$IFS; IFS='-'
2396 # Remember, the first character of IFS is used to create $*,
2397 # except with old shells:
2400 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2404 $as_echo_n "checking target system type... " >&6; }
2405 if ${ac_cv_target+:} false; then :
2406 $as_echo_n "(cached) " >&6
2408 if test "x$target_alias" = x; then
2409 ac_cv_target=$ac_cv_host
2411 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2412 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2417 $as_echo "$ac_cv_target" >&6; }
2418 case $ac_cv_target in
2420 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2422 target=$ac_cv_target
2423 ac_save_IFS=$IFS; IFS='-'
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2433 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2436 # The aliases save the names the user supplied, while $host etc.
2437 # will get canonicalized.
2438 test -n "$target_alias" &&
2439 test "$program_prefix$program_suffix$program_transform_name" = \
2441 program_prefix=${target_alias}-
2443 # check for valgrind
2445 # Check whether --with-valgrind was given.
2446 if test "${with_valgrind+set}" = set; then :
2447 withval=$with_valgrind;
2451 if test "x$with_valgrind" != "x"; then
2453 $as_echo "#define WITH_VALGRIND 1" >>confdefs.h
2455 # check in various locations for valgrind headers
2457 # note that we use CHECK_FILES instead of CHECK_HEADERS, because
2458 # CHECK_HEADERS tries to compile the headers, which fails and
2461 if test "x$with_valgrind" != "xyes"; then
2463 # also note that trying to get valgrind_include, HAVE_VALGRIND_H
2464 # and HAVE_MEMCHECK_H defined properly in this ridiculous
2465 # frankenstein of a so-called programming environment is absurdly
2466 # complicated, hence the mess below
2468 if test "x$valgrind_include" == "x"; then
2469 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2471 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2472 if eval \${$as_ac_File+:} false; then :
2473 $as_echo_n "(cached) " >&6
2475 test "$cross_compiling" = yes &&
2476 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2477 if test -r "$path/valgrind.h"; then
2478 eval "$as_ac_File=yes"
2480 eval "$as_ac_File=no"
2483 eval ac_res=\$$as_ac_File
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485 $as_echo "$ac_res" >&6; }
2486 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2487 valgrind_include=$path
2490 if test "x$valgrind_include" != "x"; then
2491 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2493 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2494 if eval \${$as_ac_File+:} false; then :
2495 $as_echo_n "(cached) " >&6
2497 test "$cross_compiling" = yes &&
2498 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2499 if test -r "$path/memcheck.h"; then
2500 eval "$as_ac_File=yes"
2502 eval "$as_ac_File=no"
2505 eval ac_res=\$$as_ac_File
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2507 $as_echo "$ac_res" >&6; }
2508 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2512 if test "x$memcheck" == "xyes"; then
2514 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2518 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2523 path=$with_valgrind/include
2524 if test "x$valgrind_include" == "x"; then
2525 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2527 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2528 if eval \${$as_ac_File+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 test "$cross_compiling" = yes &&
2532 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2533 if test -r "$path/valgrind.h"; then
2534 eval "$as_ac_File=yes"
2536 eval "$as_ac_File=no"
2539 eval ac_res=\$$as_ac_File
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2541 $as_echo "$ac_res" >&6; }
2542 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2543 valgrind_include=$path
2546 if test "x$valgrind_include" != "x"; then
2547 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2549 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2550 if eval \${$as_ac_File+:} false; then :
2551 $as_echo_n "(cached) " >&6
2553 test "$cross_compiling" = yes &&
2554 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2555 if test -r "$path/memcheck.h"; then
2556 eval "$as_ac_File=yes"
2558 eval "$as_ac_File=no"
2561 eval ac_res=\$$as_ac_File
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2563 $as_echo "$ac_res" >&6; }
2564 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2568 if test "x$memcheck" == "xyes"; then
2570 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2574 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2579 path=$with_valgrind/include/valgrind
2580 if test "x$valgrind_include" == "x"; then
2581 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2583 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2584 if eval \${$as_ac_File+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 test "$cross_compiling" = yes &&
2588 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2589 if test -r "$path/valgrind.h"; then
2590 eval "$as_ac_File=yes"
2592 eval "$as_ac_File=no"
2595 eval ac_res=\$$as_ac_File
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2597 $as_echo "$ac_res" >&6; }
2598 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2599 valgrind_include=$path
2602 if test "x$valgrind_include" != "x"; then
2603 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2605 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2606 if eval \${$as_ac_File+:} false; then :
2607 $as_echo_n "(cached) " >&6
2609 test "$cross_compiling" = yes &&
2610 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2611 if test -r "$path/memcheck.h"; then
2612 eval "$as_ac_File=yes"
2614 eval "$as_ac_File=no"
2617 eval ac_res=\$$as_ac_File
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2619 $as_echo "$ac_res" >&6; }
2620 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2624 if test "x$memcheck" == "xyes"; then
2626 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2630 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2635 path=$with_valgrind/valgrind
2636 if test "x$valgrind_include" == "x"; then
2637 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2639 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2640 if eval \${$as_ac_File+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 test "$cross_compiling" = yes &&
2644 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2645 if test -r "$path/valgrind.h"; then
2646 eval "$as_ac_File=yes"
2648 eval "$as_ac_File=no"
2651 eval ac_res=\$$as_ac_File
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2653 $as_echo "$ac_res" >&6; }
2654 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2655 valgrind_include=$path
2658 if test "x$valgrind_include" != "x"; then
2659 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2661 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2662 if eval \${$as_ac_File+:} false; then :
2663 $as_echo_n "(cached) " >&6
2665 test "$cross_compiling" = yes &&
2666 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2667 if test -r "$path/memcheck.h"; then
2668 eval "$as_ac_File=yes"
2670 eval "$as_ac_File=no"
2673 eval ac_res=\$$as_ac_File
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2680 if test "x$memcheck" == "xyes"; then
2682 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2686 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2692 path=/usr/include/valgrind
2693 if test "x$valgrind_include" == "x"; then
2694 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2696 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2697 if eval \${$as_ac_File+:} false; then :
2698 $as_echo_n "(cached) " >&6
2700 test "$cross_compiling" = yes &&
2701 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2702 if test -r "$path/valgrind.h"; then
2703 eval "$as_ac_File=yes"
2705 eval "$as_ac_File=no"
2708 eval ac_res=\$$as_ac_File
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2712 valgrind_include=$path
2715 if test "x$valgrind_include" != "x"; then
2716 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2718 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2719 if eval \${$as_ac_File+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 test "$cross_compiling" = yes &&
2723 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2724 if test -r "$path/memcheck.h"; then
2725 eval "$as_ac_File=yes"
2727 eval "$as_ac_File=no"
2730 eval ac_res=\$$as_ac_File
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732 $as_echo "$ac_res" >&6; }
2733 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2737 if test "x$memcheck" == "xyes"; then
2739 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2743 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2749 if test "x$valgrind_include" == "x"; then
2750 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2752 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2753 if eval \${$as_ac_File+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 test "$cross_compiling" = yes &&
2757 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2758 if test -r "$path/valgrind.h"; then
2759 eval "$as_ac_File=yes"
2761 eval "$as_ac_File=no"
2764 eval ac_res=\$$as_ac_File
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2766 $as_echo "$ac_res" >&6; }
2767 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2768 valgrind_include=$path
2771 if test "x$valgrind_include" != "x"; then
2772 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2774 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2775 if eval \${$as_ac_File+:} false; then :
2776 $as_echo_n "(cached) " >&6
2778 test "$cross_compiling" = yes &&
2779 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2780 if test -r "$path/memcheck.h"; then
2781 eval "$as_ac_File=yes"
2783 eval "$as_ac_File=no"
2786 eval ac_res=\$$as_ac_File
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2793 if test "x$memcheck" == "xyes"; then
2795 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2799 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2804 path=/usr/local/include/
2805 if test "x$valgrind_include" == "x"; then
2806 as_ac_File=`$as_echo "ac_cv_file_$path/valgrind.h" | $as_tr_sh`
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/valgrind.h" >&5
2808 $as_echo_n "checking for $path/valgrind.h... " >&6; }
2809 if eval \${$as_ac_File+:} false; then :
2810 $as_echo_n "(cached) " >&6
2812 test "$cross_compiling" = yes &&
2813 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2814 if test -r "$path/valgrind.h"; then
2815 eval "$as_ac_File=yes"
2817 eval "$as_ac_File=no"
2820 eval ac_res=\$$as_ac_File
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2824 valgrind_include=$path
2827 if test "x$valgrind_include" != "x"; then
2828 as_ac_File=`$as_echo "ac_cv_file_$path/memcheck.h" | $as_tr_sh`
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $path/memcheck.h" >&5
2830 $as_echo_n "checking for $path/memcheck.h... " >&6; }
2831 if eval \${$as_ac_File+:} false; then :
2832 $as_echo_n "(cached) " >&6
2834 test "$cross_compiling" = yes &&
2835 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2836 if test -r "$path/memcheck.h"; then
2837 eval "$as_ac_File=yes"
2839 eval "$as_ac_File=no"
2842 eval ac_res=\$$as_ac_File
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2844 $as_echo "$ac_res" >&6; }
2845 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2849 if test "x$memcheck" == "xyes"; then
2851 $as_echo "#define HAVE_MEMCHECK_H 1" >>confdefs.h
2855 $as_echo "#define HAVE_VALGRIND_H 1" >>confdefs.h
2860 if test "x$valgrind_include" == "x"; then
2861 as_fn_error $? "Can't find valgrind.h include file" "$LINENO" 5
2865 if test "x$valgrind_include" != "x"; then
2866 CPPFLAGS="$CPPFLAGS -I $valgrind_include"
2869 # note that we've switch from config.h.in to config_h.in for
2870 # compatibility with various crappy win32 zip programs :o(
2871 ac_config_headers="$ac_config_headers src/include/config.h:src/include/config_h.in"
2873 #AM_INIT_AUTOMAKE(subdir-objects)
2874 am__api_version='1.15'
2876 # Find a good install program. We prefer a C program (faster),
2877 # so one script is as good as another. But avoid the broken or
2878 # incompatible versions:
2879 # SysV /etc/install, /usr/sbin/install
2880 # SunOS /usr/etc/install
2881 # IRIX /sbin/install
2883 # AmigaOS /C/install, which installs bootblocks on floppy discs
2884 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2885 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2886 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2887 # OS/2's system install, which has a completely different semantic
2888 # ./install, which can be erroneously created by make from ./install.sh.
2889 # Reject install programs that cannot install multiple files.
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2891 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2892 if test -z "$INSTALL"; then
2893 if ${ac_cv_path_install+:} false; then :
2894 $as_echo_n "(cached) " >&6
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 # Account for people who put trailing slashes in PATH elements.
2902 case $as_dir/ in #((
2903 ./ | .// | /[cC]/* | \
2904 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2905 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2908 # OSF1 and SCO ODT 3.0 have their own names for install.
2909 # Don't use installbsd from OSF since it installs stuff as root
2911 for ac_prog in ginstall scoinst install; do
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2914 if test $ac_prog = install &&
2915 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2916 # AIX install. It has an incompatible calling convention.
2918 elif test $ac_prog = install &&
2919 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2920 # program-specific install script used by HP pwplus--don't use.
2923 rm -rf conftest.one conftest.two conftest.dir
2924 echo one > conftest.one
2925 echo two > conftest.two
2927 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2928 test -s conftest.one && test -s conftest.two &&
2929 test -s conftest.dir/conftest.one &&
2930 test -s conftest.dir/conftest.two
2932 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2945 rm -rf conftest.one conftest.two conftest.dir
2948 if test "${ac_cv_path_install+set}" = set; then
2949 INSTALL=$ac_cv_path_install
2951 # As a last resort, use the slow shell script. Don't cache a
2952 # value for INSTALL within a source directory, because that will
2953 # break other packages using the cache if that directory is
2954 # removed, or if the value is a relative name.
2955 INSTALL=$ac_install_sh
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2959 $as_echo "$INSTALL" >&6; }
2961 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2962 # It thinks the first close brace ends the variable substitution.
2963 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2965 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2967 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2970 $as_echo_n "checking whether build environment is sane... " >&6; }
2971 # Reject unsafe characters in $srcdir or the absolute working directory
2972 # name. Accept space and tab only in the latter.
2976 *[\\\"\#\$\&\'\`$am_lf]*)
2977 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2980 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2981 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2984 # Do 'set' in a subshell so we don't clobber the current shell's
2985 # arguments. Must try -L first in case configure is actually a
2986 # symlink; some systems play weird games with the mod time of symlinks
2987 # (eg FreeBSD returns the mod time of the symlink's containing
2991 for am_try in 1 2; do
2992 echo "timestamp, slept: $am_has_slept" > conftest.file
2993 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2994 if test "$*" = "X"; then
2996 set X `ls -t "$srcdir/configure" conftest.file`
2998 if test "$*" != "X $srcdir/configure conftest.file" \
2999 && test "$*" != "X conftest.file $srcdir/configure"; then
3001 # If neither matched, then we have a broken ls. This can happen
3002 # if, for instance, CONFIG_SHELL is bash and it inherits a
3003 # broken ls alias from the environment. This has actually
3004 # happened. Such a system could not be considered "sane".
3005 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3006 alias in your environment" "$LINENO" 5
3008 if test "$2" = conftest.file || test $am_try -eq 2; then
3015 test "$2" = conftest.file
3021 as_fn_error $? "newly created file is older than distributed files!
3022 Check your system clock" "$LINENO" 5
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3025 $as_echo "yes" >&6; }
3026 # If we didn't sleep, we still need to ensure time stamps of config.status and
3027 # generated files are strictly newer.
3029 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3036 test "$program_prefix" != NONE &&
3037 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3038 # Use a double $ so make ignores it.
3039 test "$program_suffix" != NONE &&
3040 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3041 # Double any \ or $.
3042 # By default was `s,x,x', remove it if useless.
3043 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3044 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3046 # Expand $ac_aux_dir to an absolute path.
3047 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3049 if test x"${MISSING+set}" != xset; then
3052 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3054 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3057 # Use eval to expand $SHELL
3058 if eval "$MISSING --is-lightweight"; then
3059 am_missing_run="$MISSING "
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3063 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3066 if test x"${install_sh+set}" != xset; then
3069 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3071 install_sh="\${SHELL} $am_aux_dir/install-sh"
3075 # Installed binaries are usually stripped using 'strip' when the user
3076 # run "make install-strip". However 'strip' might not be the right
3077 # tool to use in cross-compilation environments, therefore Automake
3078 # will honor the 'STRIP' environment variable to overrule this program.
3079 if test "$cross_compiling" != no; then
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3082 set dummy ${ac_tool_prefix}strip; ac_word=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_STRIP+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$STRIP"; then
3089 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 STRIP=$ac_cv_prog_STRIP
3109 if test -n "$STRIP"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3111 $as_echo "$STRIP" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3119 if test -z "$ac_cv_prog_STRIP"; then
3121 # Extract the first word of "strip", so it can be a program name with args.
3122 set dummy strip; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$ac_ct_STRIP"; then
3129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138 ac_cv_prog_ac_ct_STRIP="strip"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3149 if test -n "$ac_ct_STRIP"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3151 $as_echo "$ac_ct_STRIP" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3157 if test "x$ac_ct_STRIP" = x; then
3160 case $cross_compiling:$ac_tool_warned in
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3164 ac_tool_warned=yes ;;
3169 STRIP="$ac_cv_prog_STRIP"
3173 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3176 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3177 if test -z "$MKDIR_P"; then
3178 if ${ac_cv_path_mkdir+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3185 test -z "$as_dir" && as_dir=.
3186 for ac_prog in mkdir gmkdir; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3189 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3190 'mkdir (GNU coreutils) '* | \
3191 'mkdir (coreutils) '* | \
3192 'mkdir (fileutils) '4.1*)
3193 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3203 test -d ./--version && rmdir ./--version
3204 if test "${ac_cv_path_mkdir+set}" = set; then
3205 MKDIR_P="$ac_cv_path_mkdir -p"
3207 # As a last resort, use the slow shell script. Don't cache a
3208 # value for MKDIR_P within a source directory, because that will
3209 # break other packages using the cache if that directory is
3210 # removed, or if the value is a relative name.
3211 MKDIR_P="$ac_install_sh -d"
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3215 $as_echo "$MKDIR_P" >&6; }
3217 for ac_prog in gawk mawk nawk awk
3219 # Extract the first word of "$ac_prog", so it can be a program name with args.
3220 set dummy $ac_prog; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_AWK+:} false; then :
3224 $as_echo_n "(cached) " >&6
3226 if test -n "$AWK"; then
3227 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 test -z "$as_dir" && as_dir=.
3234 for ac_exec_ext in '' $ac_executable_extensions; do
3235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236 ac_cv_prog_AWK="$ac_prog"
3237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 if test -n "$AWK"; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3249 $as_echo "$AWK" >&6; }
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3256 test -n "$AWK" && break
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3260 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3262 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3263 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3264 $as_echo_n "(cached) " >&6
3266 cat >conftest.make <<\_ACEOF
3269 @echo '@@@%%%=$(MAKE)=@@@%%%'
3271 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3272 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3274 eval ac_cv_prog_make_${ac_make}_set=yes;;
3276 eval ac_cv_prog_make_${ac_make}_set=no;;
3280 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3282 $as_echo "yes" >&6; }
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 SET_MAKE="MAKE=${MAKE-make}"
3290 rm -rf .tst 2>/dev/null
3291 mkdir .tst 2>/dev/null
3292 if test -d .tst; then
3297 rmdir .tst 2>/dev/null
3299 # Check whether --enable-silent-rules was given.
3300 if test "${enable_silent_rules+set}" = set; then :
3301 enableval=$enable_silent_rules;
3304 case $enable_silent_rules in # (((
3305 yes) AM_DEFAULT_VERBOSITY=0;;
3306 no) AM_DEFAULT_VERBOSITY=1;;
3307 *) AM_DEFAULT_VERBOSITY=1;;
3309 am_make=${MAKE-make}
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3311 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3312 if ${am_cv_make_support_nested_variables+:} false; then :
3313 $as_echo_n "(cached) " >&6
3315 if $as_echo 'TRUE=$(BAR$(V))
3321 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3322 am_cv_make_support_nested_variables=yes
3324 am_cv_make_support_nested_variables=no
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3328 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3329 if test $am_cv_make_support_nested_variables = yes; then
3331 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3333 AM_V=$AM_DEFAULT_VERBOSITY
3334 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3338 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3339 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3340 # is not polluted with repeated "-I."
3341 am__isrc=' -I$(srcdir)'
3342 # test to see if srcdir already configured
3343 if test -f $srcdir/config.status; then
3344 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3348 # test whether we have cygpath
3349 if test -z "$CYGPATH_W"; then
3350 if (cygpath --version) >/dev/null 2>/dev/null; then
3351 CYGPATH_W='cygpath -w'
3358 # Define the identity of the package.
3360 VERSION='0.9.3patched'
3363 cat >>confdefs.h <<_ACEOF
3364 #define PACKAGE "$PACKAGE"
3368 cat >>confdefs.h <<_ACEOF
3369 #define VERSION "$VERSION"
3372 # Some tools Automake needs.
3374 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3377 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3380 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3383 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3386 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3388 # For better backward compatibility. To be removed once Automake 1.9.x
3389 # dies out for good. For more background, see:
3390 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3391 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3392 mkdir_p='$(MKDIR_P)'
3394 # We need awk for the "check" target (and possibly the TAP driver). The
3395 # system "awk" is bad on some platforms.
3396 # Always define AMTAR for backward compatibility. Yes, it's still used
3397 # in the wild :-( We should find a proper way to deprecate it ...
3401 # We'll loop over all known methods to create a tar archive until one works.
3402 _am_tools='gnutar pax cpio none'
3404 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3411 # POSIX will say in a future version that running "rm -f" with no argument
3412 # is OK; and we want to be able to make that assumption in our Makefile
3413 # recipes. So use an aggressive probe to check that the usage we want is
3414 # actually supported "in the wild" to an acceptable degree.
3415 # See automake bug#10828.
3416 # To make any issue more visible, cause the running configure to be aborted
3417 # by default if the 'rm' program in use doesn't match our expectations; the
3418 # user can still override this though.
3419 if rm -f && rm -fr && rm -rf; then : OK; else
3423 Your 'rm' program seems unable to run without file operands specified
3424 on the command line, even when the '-f' option is present. This is contrary
3425 to the behaviour of most rm programs out there, and not conforming with
3426 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3428 Please tell bug-automake@gnu.org about your system, including the value
3429 of your $PATH and any error possibly output before this message. This
3430 can help us improve future automake versions.
3433 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3434 echo 'Configuration will proceed anyway, since you have set the' >&2
3435 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3439 Aborting the configuration process, to ensure you take notice of the issue.
3441 You can download and install GNU coreutils to get an 'rm' implementation
3442 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3444 If you want to complete the configuration process using your problematic
3445 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3446 to "yes", and re-run configure.
3449 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3456 # figure out which OS specific include directory should be used (FIXME)
3469 osinclude=freebsd ;;
3484 # export variable for use in makefile
3485 OSINCLUDE=$osinclude
3488 # checks for programs
3489 DEPDIR="${am__leading_dot}deps"
3491 ac_config_commands="$ac_config_commands depfiles"
3494 am_make=${MAKE-make}
3495 cat > confinc << 'END'
3497 @echo this is the am__doit target
3500 # If we don't find an include directive, just comment out the code.
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3502 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3506 # First try GNU make style include.
3507 echo "include confinc" > confmf
3508 # Ignore all kinds of additional output from 'make'.
3509 case `$am_make -s -f confmf 2> /dev/null` in #(
3510 *the\ am__doit\ target*)
3516 # Now try BSD make style include.
3517 if test "$am__include" = "#"; then
3518 echo '.include "confinc"' > confmf
3519 case `$am_make -s -f confmf 2> /dev/null` in #(
3520 *the\ am__doit\ target*)
3521 am__include=.include
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3530 $as_echo "$_am_result" >&6; }
3531 rm -f confinc confmf
3533 # Check whether --enable-dependency-tracking was given.
3534 if test "${enable_dependency_tracking+set}" = set; then :
3535 enableval=$enable_dependency_tracking;
3538 if test "x$enable_dependency_tracking" != xno; then
3539 am_depcomp="$ac_aux_dir/depcomp"
3543 if test "x$enable_dependency_tracking" != xno; then
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_CC+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC="$CC" # Let the user override the test.
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3596 if test -z "$ac_cv_prog_CC"; then
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_ac_ct_CC="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3634 if test "x$ac_ct_CC" = x; then
3637 case $cross_compiling:$ac_tool_warned in
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned=yes ;;
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}cc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_CC+:} false; then :
3656 $as_echo_n "(cached) " >&6
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test.
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_CC="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected=yes
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy $ac_cv_prog_CC
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog in cl.exe
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$CC" && break
3790 if test -z "$CC"; then
3792 for ac_prog in cl.exe
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_CC="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$ac_ct_CC" && break
3834 if test "x$ac_ct_CC" = x; then
3837 case $cross_compiling:$ac_tool_warned in
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned=yes ;;
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error $? "no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details" "$LINENO" 5; }
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3859 for ac_option in --version -v -V -qversion; do
3860 { { ac_try="$ac_compiler $ac_option >&5"
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3869 if test -s conftest.err; then
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3875 rm -f conftest.er1 conftest.err
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 ac_clean_files_save=$ac_clean_files
3892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3893 # Try to create an executable without -o first, disregard a.out.
3894 # It will help us diagnose broken compilers, and finding out an intuition
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3897 $as_echo_n "checking whether the C compiler works... " >&6; }
3898 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3900 # The possible output files:
3901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3904 for ac_file in $ac_files
3907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3908 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3913 if { { ac_try="$ac_link_default"
3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_link_default") 2>&5
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }; then :
3924 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3926 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3927 # so that the user can short-circuit this test for compilers unknown to
3929 for ac_file in $ac_files ''
3931 test -f "$ac_file" || continue
3933 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3936 # We found the default executable, but exeext='' is most
3940 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3942 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3944 # We set ac_cv_exeext here because the later test for it is not
3945 # safe: cross compilers may not add the suffix if given an `-o'
3946 # argument, so we may need to know it at that point already.
3947 # Even if this section looks crufty: it has the advantage of
3954 test "$ac_cv_exeext" = no && ac_cv_exeext=
3959 if test -z "$ac_file"; then :
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 $as_echo "$as_me: failed program was:" >&5
3963 sed 's/^/| /' conftest.$ac_ext >&5
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error 77 "C compiler cannot create executables
3968 See \`config.log' for more details" "$LINENO" 5; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3971 $as_echo "yes" >&6; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3974 $as_echo_n "checking for C compiler default output file name... " >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3976 $as_echo "$ac_file" >&6; }
3977 ac_exeext=$ac_cv_exeext
3979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3980 ac_clean_files=$ac_clean_files_save
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3982 $as_echo_n "checking for suffix of executables... " >&6; }
3983 if { { ac_try="$ac_link"
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990 (eval "$ac_link") 2>&5
3992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993 test $ac_status = 0; }; then :
3994 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3995 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3996 # work properly (i.e., refer to `conftest.exe'), while it won't with
3998 for ac_file in conftest.exe conftest conftest.*; do
3999 test -f "$ac_file" || continue
4001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4002 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4011 See \`config.log' for more details" "$LINENO" 5; }
4013 rm -f conftest conftest$ac_cv_exeext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4015 $as_echo "$ac_cv_exeext" >&6; }
4017 rm -f conftest.$ac_ext
4018 EXEEXT=$ac_cv_exeext
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4026 FILE *f = fopen ("conftest.out", "w");
4027 return ferror (f) || fclose (f) != 0;
4033 ac_clean_files="$ac_clean_files conftest.out"
4034 # Check that the compiler produces executables we can run. If not, either
4035 # the compiler is broken, or we cross compile.
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4037 $as_echo_n "checking whether we are cross compiling... " >&6; }
4038 if test "$cross_compiling" != yes; then
4039 { { ac_try="$ac_link"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_link") 2>&5
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }
4050 if { ac_try='./conftest$ac_cv_exeext'
4051 { { case "(($ac_try" in
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_try") 2>&5
4059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060 test $ac_status = 0; }; }; then
4063 if test "$cross_compiling" = maybe; then
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot run C compiled programs.
4069 If you meant to cross compile, use \`--host'.
4070 See \`config.log' for more details" "$LINENO" 5; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4075 $as_echo "$cross_compiling" >&6; }
4077 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4078 ac_clean_files=$ac_clean_files_save
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4080 $as_echo_n "checking for suffix of object files... " >&6; }
4081 if ${ac_cv_objext+:} false; then :
4082 $as_echo_n "(cached) " >&6
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4095 rm -f conftest.o conftest.obj
4096 if { { ac_try="$ac_compile"
4098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099 *) ac_try_echo=$ac_try;;
4101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_compile") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; then :
4107 for ac_file in conftest.o conftest.obj conftest.*; do
4108 test -f "$ac_file" || continue;
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4111 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4116 $as_echo "$as_me: failed program was:" >&5
4117 sed 's/^/| /' conftest.$ac_ext >&5
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $? "cannot compute suffix of object files: cannot compile
4122 See \`config.log' for more details" "$LINENO" 5; }
4124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4127 $as_echo "$ac_cv_objext" >&6; }
4128 OBJEXT=$ac_cv_objext
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4132 if ${ac_cv_c_compiler_gnu+:} false; then :
4133 $as_echo_n "(cached) " >&6
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4149 if ac_fn_c_try_compile "$LINENO"; then :
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4159 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4160 if test $ac_compiler_gnu = yes; then
4165 ac_test_CFLAGS=${CFLAGS+set}
4166 ac_save_CFLAGS=$CFLAGS
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4168 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4169 if ${ac_cv_prog_cc_g+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 ac_save_c_werror_flag=$ac_c_werror_flag
4173 ac_c_werror_flag=yes
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_c_werror_flag=$ac_save_c_werror_flag
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4218 if ac_fn_c_try_compile "$LINENO"; then :
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4229 $as_echo "$ac_cv_prog_cc_g" >&6; }
4230 if test "$ac_test_CFLAGS" = set; then
4231 CFLAGS=$ac_save_CFLAGS
4232 elif test $ac_cv_prog_cc_g = yes; then
4233 if test "$GCC" = yes; then
4239 if test "$GCC" = yes; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4246 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4247 if ${ac_cv_prog_cc_c89+:} false; then :
4248 $as_echo_n "(cached) " >&6
4250 ac_cv_prog_cc_c89=no
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4271 s = g (p, va_arg (v,int));
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4277 function prototypes and stuff, but not '\xHH' hex character constants.
4278 These don't provoke an error unfortunately, instead are silently treated
4279 as 'x'. The following induces an error, until -std is added to get
4280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4281 array size at least. It's necessary to write '\x00'==0 to get something
4282 that's true only with -std. */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286 inside strings and character constants. */
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307 CC="$ac_save_CC $ac_arg"
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_c89=$ac_arg
4311 rm -f core conftest.err conftest.$ac_objext
4312 test "x$ac_cv_prog_cc_c89" != "xno" && break
4314 rm -f conftest.$ac_ext
4319 case "x$ac_cv_prog_cc_c89" in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4327 CC="$CC $ac_cv_prog_cc_c89"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4347 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4348 if ${am_cv_prog_cc_c_o+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4362 # Make sure it works both with $CC and with simple cc.
4363 # Following AC_PROG_CC_C_O, we do the test twice because some
4364 # compilers refuse to overwrite an existing .o file with -o,
4365 # though they will create one.
4366 am_cv_prog_cc_c_o=yes
4368 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4369 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } \
4373 && test -f conftest2.$ac_objext; then
4376 am_cv_prog_cc_c_o=no
4380 rm -f core conftest*
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4384 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4385 if test "$am_cv_prog_cc_c_o" != yes; then
4386 # Losing compiler, so override with the script.
4387 # FIXME: It is wrong to rewrite CC.
4388 # But if we don't then we get into trouble of one sort or another.
4389 # A longer-term fix would be to have automake use am__CC in this case,
4390 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4391 CC="$am_aux_dir/compile $CC"
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4400 depcc="$CC" am_compiler_list=
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4403 $as_echo_n "checking dependency style of $depcc... " >&6; }
4404 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4405 $as_echo_n "(cached) " >&6
4407 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4408 # We make a subdir and do the tests there. Otherwise we can end up
4409 # making bogus files that we don't know about and never remove. For
4410 # instance it was reported that on HP-UX the gcc test will end up
4411 # making a dummy file named 'D' -- because '-MD' means "put the output
4415 # Copy depcomp to subdir because otherwise we won't find it if we're
4416 # using a relative directory.
4417 cp "$am_depcomp" conftest.dir
4419 # We will build objects and dependencies in a subdirectory because
4420 # it helps to detect inapplicable dependency modes. For instance
4421 # both Tru64's cc and ICC support -MD to output dependencies as a
4422 # side effect of compilation, but ICC will put the dependencies in
4423 # the current directory while Tru64 will put them in the object
4427 am_cv_CC_dependencies_compiler_type=none
4428 if test "$am_compiler_list" = ""; then
4429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4432 case " $depcc " in #(
4433 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4436 for depmode in $am_compiler_list; do
4437 # Setup a source with many dependencies, because some compilers
4438 # like to wrap large dependency lists on column 80 (with \), and
4439 # we should not choose a depcomp mode which is confused by this.
4441 # We need to recreate these files for each test, as the compiler may
4442 # overwrite some of them when testing with obscure command lines.
4443 # This happens at least with the AIX C compiler.
4445 for i in 1 2 3 4 5 6; do
4446 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4447 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4448 # Solaris 10 /bin/sh.
4449 echo '/* dummy */' > sub/conftst$i.h
4451 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4453 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4454 # mode. It turns out that the SunPro C++ compiler does not properly
4455 # handle '-M -o', and we need to detect this. Also, some Intel
4456 # versions had trouble with output in subdirs.
4457 am__obj=sub/conftest.${OBJEXT-o}
4458 am__minus_obj="-o $am__obj"
4461 # This depmode causes a compiler race in universal mode.
4462 test "$am__universal" = false || continue
4465 # After this tag, mechanisms are not by side-effect, so they'll
4466 # only be used when explicitly requested.
4467 if test "x$enable_dependency_tracking" = xyes; then
4473 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4474 # This compiler won't grok '-c -o', but also, the minuso test has
4475 # not run yet. These depmodes are late enough in the game, and
4476 # so weak that their functioning should not be impacted.
4477 am__obj=conftest.${OBJEXT-o}
4482 if depmode=$depmode \
4483 source=sub/conftest.c object=$am__obj \
4484 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4485 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4486 >/dev/null 2>conftest.err &&
4487 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4488 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4489 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4490 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4491 # icc doesn't choke on unknown options, it will just issue warnings
4492 # or remarks (even with -Werror). So we grep stderr for any message
4493 # that says an option was ignored or not supported.
4494 # When given -MP, icc 7.0 and 7.1 complain thusly:
4495 # icc: Command line warning: ignoring option '-M'; no argument required
4496 # The diagnosis changed in icc 8.0:
4497 # icc: Command line remark: option '-MP' not supported
4498 if (grep 'ignoring option' conftest.err ||
4499 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4500 am_cv_CC_dependencies_compiler_type=$depmode
4509 am_cv_CC_dependencies_compiler_type=none
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4514 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4515 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4518 test "x$enable_dependency_tracking" != xno \
4519 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4521 am__fastdepCC_FALSE='#'
4523 am__fastdepCC_TRUE='#'
4524 am__fastdepCC_FALSE=
4528 # support subdir objects for automake
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4534 if test -n "$ac_tool_prefix"; then
4535 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4536 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if ${ac_cv_prog_CC+:} false; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$CC"; then
4543 ac_cv_prog_CC="$CC" # Let the user override the test.
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir=.
4550 for ac_exec_ext in '' $ac_executable_extensions; do
4551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4552 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$CC"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4565 $as_echo "$CC" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4573 if test -z "$ac_cv_prog_CC"; then
4575 # Extract the first word of "gcc", so it can be a program name with args.
4576 set dummy gcc; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -n "$ac_ct_CC"; then
4583 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 ac_cv_prog_ac_ct_CC="gcc"
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4603 if test -n "$ac_ct_CC"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4605 $as_echo "$ac_ct_CC" >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4611 if test "x$ac_ct_CC" = x; then
4614 case $cross_compiling:$ac_tool_warned in
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4626 if test -z "$CC"; then
4627 if test -n "$ac_tool_prefix"; then
4628 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4629 set dummy ${ac_tool_prefix}cc; ac_word=$2
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4631 $as_echo_n "checking for $ac_word... " >&6; }
4632 if ${ac_cv_prog_CC+:} false; then :
4633 $as_echo_n "(cached) " >&6
4635 if test -n "$CC"; then
4636 ac_cv_prog_CC="$CC" # Let the user override the test.
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_CC="${ac_tool_prefix}cc"
4646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 if test -n "$CC"; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4658 $as_echo "$CC" >&6; }
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4667 if test -z "$CC"; then
4668 # Extract the first word of "cc", so it can be a program name with args.
4669 set dummy cc; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if ${ac_cv_prog_CC+:} false; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$CC"; then
4676 ac_cv_prog_CC="$CC" # Let the user override the test.
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4683 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4686 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4687 ac_prog_rejected=yes
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 if test $ac_prog_rejected = yes; then
4699 # We found a bogon in the path, so make sure we never use it.
4700 set dummy $ac_cv_prog_CC
4702 if test $# != 0; then
4703 # We chose a different compiler from the bogus one.
4704 # However, it has the same basename, so the bogon will be chosen
4705 # first if we set CC to just the basename; use the full file name.
4707 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4713 if test -n "$CC"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4715 $as_echo "$CC" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4723 if test -z "$CC"; then
4724 if test -n "$ac_tool_prefix"; then
4725 for ac_prog in cl.exe
4727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4728 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730 $as_echo_n "checking for $ac_word... " >&6; }
4731 if ${ac_cv_prog_CC+:} false; then :
4732 $as_echo_n "(cached) " >&6
4734 if test -n "$CC"; then
4735 ac_cv_prog_CC="$CC" # Let the user override the test.
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir=.
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 if test -n "$CC"; then
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4757 $as_echo "$CC" >&6; }
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4764 test -n "$CC" && break
4767 if test -z "$CC"; then
4769 for ac_prog in cl.exe
4771 # Extract the first word of "$ac_prog", so it can be a program name with args.
4772 set dummy $ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$ac_ct_CC"; then
4779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_ac_ct_CC="$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4799 if test -n "$ac_ct_CC"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4801 $as_echo "$ac_ct_CC" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 test -n "$ac_ct_CC" && break
4811 if test "x$ac_ct_CC" = x; then
4814 case $cross_compiling:$ac_tool_warned in
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4818 ac_tool_warned=yes ;;
4827 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4829 as_fn_error $? "no acceptable C compiler found in \$PATH
4830 See \`config.log' for more details" "$LINENO" 5; }
4832 # Provide some information about the compiler.
4833 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4836 for ac_option in --version -v -V -qversion; do
4837 { { ac_try="$ac_compiler $ac_option >&5"
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4843 $as_echo "$ac_try_echo"; } >&5
4844 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4846 if test -s conftest.err; then
4848 ... rest of stderr output deleted ...
4849 10q' conftest.err >conftest.er1
4850 cat conftest.er1 >&5
4852 rm -f conftest.er1 conftest.err
4853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4854 test $ac_status = 0; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4859 if ${ac_cv_c_compiler_gnu+:} false; then :
4860 $as_echo_n "(cached) " >&6
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4876 if ac_fn_c_try_compile "$LINENO"; then :
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4887 if test $ac_compiler_gnu = yes; then
4892 ac_test_CFLAGS=${CFLAGS+set}
4893 ac_save_CFLAGS=$CFLAGS
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4896 if ${ac_cv_prog_cc_g+:} false; then :
4897 $as_echo_n "(cached) " >&6
4899 ac_save_c_werror_flag=$ac_c_werror_flag
4900 ac_c_werror_flag=yes
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4914 if ac_fn_c_try_compile "$LINENO"; then :
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4929 if ac_fn_c_try_compile "$LINENO"; then :
4932 ac_c_werror_flag=$ac_save_c_werror_flag
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4945 if ac_fn_c_try_compile "$LINENO"; then :
4948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 ac_c_werror_flag=$ac_save_c_werror_flag
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4956 $as_echo "$ac_cv_prog_cc_g" >&6; }
4957 if test "$ac_test_CFLAGS" = set; then
4958 CFLAGS=$ac_save_CFLAGS
4959 elif test $ac_cv_prog_cc_g = yes; then
4960 if test "$GCC" = yes; then
4966 if test "$GCC" = yes; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4974 if ${ac_cv_prog_cc_c89+:} false; then :
4975 $as_echo_n "(cached) " >&6
4977 ac_cv_prog_cc_c89=no
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4985 struct buf { int x; };
4986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4987 static char *e (p, i)
4993 static char *f (char * (*g) (char **, int), char **p, ...)
4998 s = g (p, va_arg (v,int));
5003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5004 function prototypes and stuff, but not '\xHH' hex character constants.
5005 These don't provoke an error unfortunately, instead are silently treated
5006 as 'x'. The following induces an error, until -std is added to get
5007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5008 array size at least. It's necessary to write '\x00'==0 to get something
5009 that's true only with -std. */
5010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5013 inside strings and character constants. */
5015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5017 int test (int i, double x);
5018 struct s1 {int (*f) (int a);};
5019 struct s2 {int (*f) (double a);};
5020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5026 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5034 CC="$ac_save_CC $ac_arg"
5035 if ac_fn_c_try_compile "$LINENO"; then :
5036 ac_cv_prog_cc_c89=$ac_arg
5038 rm -f core conftest.err conftest.$ac_objext
5039 test "x$ac_cv_prog_cc_c89" != "xno" && break
5041 rm -f conftest.$ac_ext
5046 case "x$ac_cv_prog_cc_c89" in
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5049 $as_echo "none needed" >&6; } ;;
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5052 $as_echo "unsupported" >&6; } ;;
5054 CC="$CC $ac_cv_prog_cc_c89"
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5056 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5058 if test "x$ac_cv_prog_cc_c89" != xno; then :
5063 ac_cpp='$CPP $CPPFLAGS'
5064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5069 ac_cpp='$CPP $CPPFLAGS'
5070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5074 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5075 if ${am_cv_prog_cc_c_o+:} false; then :
5076 $as_echo_n "(cached) " >&6
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5089 # Make sure it works both with $CC and with simple cc.
5090 # Following AC_PROG_CC_C_O, we do the test twice because some
5091 # compilers refuse to overwrite an existing .o file with -o,
5092 # though they will create one.
5093 am_cv_prog_cc_c_o=yes
5095 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5096 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); } \
5100 && test -f conftest2.$ac_objext; then
5103 am_cv_prog_cc_c_o=no
5107 rm -f core conftest*
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5111 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5112 if test "$am_cv_prog_cc_c_o" != yes; then
5113 # Losing compiler, so override with the script.
5114 # FIXME: It is wrong to rewrite CC.
5115 # But if we don't then we get into trouble of one sort or another.
5116 # A longer-term fix would be to have automake use am__CC in this case,
5117 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5118 CC="$am_aux_dir/compile $CC"
5121 ac_cpp='$CPP $CPPFLAGS'
5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5127 depcc="$CC" am_compiler_list=
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5130 $as_echo_n "checking dependency style of $depcc... " >&6; }
5131 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5132 $as_echo_n "(cached) " >&6
5134 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5135 # We make a subdir and do the tests there. Otherwise we can end up
5136 # making bogus files that we don't know about and never remove. For
5137 # instance it was reported that on HP-UX the gcc test will end up
5138 # making a dummy file named 'D' -- because '-MD' means "put the output
5142 # Copy depcomp to subdir because otherwise we won't find it if we're
5143 # using a relative directory.
5144 cp "$am_depcomp" conftest.dir
5146 # We will build objects and dependencies in a subdirectory because
5147 # it helps to detect inapplicable dependency modes. For instance
5148 # both Tru64's cc and ICC support -MD to output dependencies as a
5149 # side effect of compilation, but ICC will put the dependencies in
5150 # the current directory while Tru64 will put them in the object
5154 am_cv_CC_dependencies_compiler_type=none
5155 if test "$am_compiler_list" = ""; then
5156 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5159 case " $depcc " in #(
5160 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5163 for depmode in $am_compiler_list; do
5164 # Setup a source with many dependencies, because some compilers
5165 # like to wrap large dependency lists on column 80 (with \), and
5166 # we should not choose a depcomp mode which is confused by this.
5168 # We need to recreate these files for each test, as the compiler may
5169 # overwrite some of them when testing with obscure command lines.
5170 # This happens at least with the AIX C compiler.
5172 for i in 1 2 3 4 5 6; do
5173 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5174 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5175 # Solaris 10 /bin/sh.
5176 echo '/* dummy */' > sub/conftst$i.h
5178 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5180 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5181 # mode. It turns out that the SunPro C++ compiler does not properly
5182 # handle '-M -o', and we need to detect this. Also, some Intel
5183 # versions had trouble with output in subdirs.
5184 am__obj=sub/conftest.${OBJEXT-o}
5185 am__minus_obj="-o $am__obj"
5188 # This depmode causes a compiler race in universal mode.
5189 test "$am__universal" = false || continue
5192 # After this tag, mechanisms are not by side-effect, so they'll
5193 # only be used when explicitly requested.
5194 if test "x$enable_dependency_tracking" = xyes; then
5200 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5201 # This compiler won't grok '-c -o', but also, the minuso test has
5202 # not run yet. These depmodes are late enough in the game, and
5203 # so weak that their functioning should not be impacted.
5204 am__obj=conftest.${OBJEXT-o}
5209 if depmode=$depmode \
5210 source=sub/conftest.c object=$am__obj \
5211 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5212 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5213 >/dev/null 2>conftest.err &&
5214 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5215 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5216 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5217 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5218 # icc doesn't choke on unknown options, it will just issue warnings
5219 # or remarks (even with -Werror). So we grep stderr for any message
5220 # that says an option was ignored or not supported.
5221 # When given -MP, icc 7.0 and 7.1 complain thusly:
5222 # icc: Command line warning: ignoring option '-M'; no argument required
5223 # The diagnosis changed in icc 8.0:
5224 # icc: Command line remark: option '-MP' not supported
5225 if (grep 'ignoring option' conftest.err ||
5226 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5227 am_cv_CC_dependencies_compiler_type=$depmode
5236 am_cv_CC_dependencies_compiler_type=none
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5241 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5242 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5245 test "x$enable_dependency_tracking" != xno \
5246 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5248 am__fastdepCC_FALSE='#'
5250 am__fastdepCC_TRUE='#'
5251 am__fastdepCC_FALSE=
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5258 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5263 macro_version='2.4.6'
5264 macro_revision='2.4.6'
5278 ltmain=$ac_aux_dir/ltmain.sh
5280 # Backslashify metacharacters that are still active within
5281 # double-quoted strings.
5282 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5284 # Same as above, but do not quote variable references.
5285 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5287 # Sed substitution to delay expansion of an escaped shell variable in a
5288 # double_quote_subst'ed string.
5289 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5291 # Sed substitution to delay expansion of an escaped single quote.
5292 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5294 # Sed substitution to avoid accidental globbing in evaled expressions
5295 no_glob_subst='s/\*/\\\*/g'
5297 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5299 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5302 $as_echo_n "checking how to print strings... " >&6; }
5303 # Test print first, because it will be a builtin if present.
5304 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5305 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5307 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5310 # Use this function as a fallback that always works.
5311 func_fallback_echo ()
5313 eval 'cat <<_LTECHO_EOF
5317 ECHO='func_fallback_echo'
5320 # func_echo_all arg...
5321 # Invoke $ECHO with all args, space-separated.
5328 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5329 $as_echo "printf" >&6; } ;;
5330 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5331 $as_echo "print -r" >&6; } ;;
5332 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5333 $as_echo "cat" >&6; } ;;
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5350 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5351 if ${ac_cv_path_SED+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5355 for ac_i in 1 2 3 4 5 6 7; do
5356 ac_script="$ac_script$as_nl$ac_script"
5358 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5359 { ac_script=; unset ac_script;}
5360 if test -z "$SED"; then
5361 ac_path_SED_found=false
5362 # Loop through the user's path and test for each of PROGNAME-LIST
5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir=.
5368 for ac_prog in sed gsed; do
5369 for ac_exec_ext in '' $ac_executable_extensions; do
5370 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5371 as_fn_executable_p "$ac_path_SED" || continue
5372 # Check for GNU ac_path_SED and select it if it is found.
5373 # Check for GNU $ac_path_SED
5374 case `"$ac_path_SED" --version 2>&1` in
5376 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5379 $as_echo_n 0123456789 >"conftest.in"
5382 cat "conftest.in" "conftest.in" >"conftest.tmp"
5383 mv "conftest.tmp" "conftest.in"
5384 cp "conftest.in" "conftest.nl"
5385 $as_echo '' >> "conftest.nl"
5386 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5388 as_fn_arith $ac_count + 1 && ac_count=$as_val
5389 if test $ac_count -gt ${ac_path_SED_max-0}; then
5390 # Best one so far, save it but keep looking for a better one
5391 ac_cv_path_SED="$ac_path_SED"
5392 ac_path_SED_max=$ac_count
5394 # 10*(2^10) chars as input seems more than enough
5395 test $ac_count -gt 10 && break
5397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5400 $ac_path_SED_found && break 3
5405 if test -z "$ac_cv_path_SED"; then
5406 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5414 $as_echo "$ac_cv_path_SED" >&6; }
5415 SED="$ac_cv_path_SED"
5418 test -z "$SED" && SED=sed
5419 Xsed="$SED -e 1s/^X//"
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -z "$GREP"; then
5437 ac_path_GREP_found=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5443 test -z "$as_dir" && as_dir=.
5444 for ac_prog in grep ggrep; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5447 as_fn_executable_p "$ac_path_GREP" || continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449 # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5455 $as_echo_n 0123456789 >"conftest.in"
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'GREP' >> "conftest.nl"
5462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464 as_fn_arith $ac_count + 1 && ac_count=$as_val
5465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_GREP="$ac_path_GREP"
5468 ac_path_GREP_max=$ac_count
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5476 $ac_path_GREP_found && break 3
5481 if test -z "$ac_cv_path_GREP"; then
5482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5485 ac_cv_path_GREP=$GREP
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491 GREP="$ac_cv_path_GREP"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5500 then ac_cv_path_EGREP="$GREP -E"
5502 if test -z "$EGREP"; then
5503 ac_path_EGREP_found=false
5504 # Loop through the user's path and test for each of PROGNAME-LIST
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5509 test -z "$as_dir" && as_dir=.
5510 for ac_prog in egrep; do
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5513 as_fn_executable_p "$ac_path_EGREP" || continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515 # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5521 $as_echo_n 0123456789 >"conftest.in"
5524 cat "conftest.in" "conftest.in" >"conftest.tmp"
5525 mv "conftest.tmp" "conftest.in"
5526 cp "conftest.in" "conftest.nl"
5527 $as_echo 'EGREP' >> "conftest.nl"
5528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530 as_fn_arith $ac_count + 1 && ac_count=$as_val
5531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532 # Best one so far, save it but keep looking for a better one
5533 ac_cv_path_EGREP="$ac_path_EGREP"
5534 ac_path_EGREP_max=$ac_count
5536 # 10*(2^10) chars as input seems more than enough
5537 test $ac_count -gt 10 && break
5539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5542 $ac_path_EGREP_found && break 3
5547 if test -z "$ac_cv_path_EGREP"; then
5548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5551 ac_cv_path_EGREP=$EGREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558 EGREP="$ac_cv_path_EGREP"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5562 $as_echo_n "checking for fgrep... " >&6; }
5563 if ${ac_cv_path_FGREP+:} false; then :
5564 $as_echo_n "(cached) " >&6
5566 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5567 then ac_cv_path_FGREP="$GREP -F"
5569 if test -z "$FGREP"; then
5570 ac_path_FGREP_found=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5576 test -z "$as_dir" && as_dir=.
5577 for ac_prog in fgrep; do
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5580 as_fn_executable_p "$ac_path_FGREP" || continue
5581 # Check for GNU ac_path_FGREP and select it if it is found.
5582 # Check for GNU $ac_path_FGREP
5583 case `"$ac_path_FGREP" --version 2>&1` in
5585 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5588 $as_echo_n 0123456789 >"conftest.in"
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'FGREP' >> "conftest.nl"
5595 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5596 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5597 as_fn_arith $ac_count + 1 && ac_count=$as_val
5598 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_FGREP="$ac_path_FGREP"
5601 ac_path_FGREP_max=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5606 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5609 $ac_path_FGREP_found && break 3
5614 if test -z "$ac_cv_path_FGREP"; then
5615 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 ac_cv_path_FGREP=$FGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5624 $as_echo "$ac_cv_path_FGREP" >&6; }
5625 FGREP="$ac_cv_path_FGREP"
5628 test -z "$GREP" && GREP=grep
5648 # Check whether --with-gnu-ld was given.
5649 if test "${with_gnu_ld+set}" = set; then :
5650 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5656 if test yes = "$GCC"; then
5657 # Check if gcc -print-prog-name=ld gives a path.
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5659 $as_echo_n "checking for ld used by $CC... " >&6; }
5662 # gcc leaves a trailing carriage return, which upsets mingw
5663 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5665 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5668 # Accept absolute paths.
5670 re_direlt='/[^/][^/]*/\.\./'
5671 # Canonicalize the pathname of ld
5672 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5673 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5674 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5676 test -z "$LD" && LD=$ac_prog
5679 # If it fails, then pretend we aren't using GCC.
5683 # If it is relative, then search for the first ld in PATH.
5687 elif test yes = "$with_gnu_ld"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5689 $as_echo_n "checking for GNU ld... " >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5692 $as_echo_n "checking for non-GNU ld... " >&6; }
5694 if ${lt_cv_path_LD+:} false; then :
5695 $as_echo_n "(cached) " >&6
5697 if test -z "$LD"; then
5698 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5699 for ac_dir in $PATH; do
5701 test -z "$ac_dir" && ac_dir=.
5702 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5703 lt_cv_path_LD=$ac_dir/$ac_prog
5704 # Check to see if the program is GNU ld. I'd rather use --version,
5705 # but apparently some variants of GNU ld only accept -v.
5706 # Break only if it was the GNU/non-GNU ld that we prefer.
5707 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5708 *GNU* | *'with BFD'*)
5709 test no != "$with_gnu_ld" && break
5712 test yes != "$with_gnu_ld" && break
5719 lt_cv_path_LD=$LD # Let the user override the test with a path.
5724 if test -n "$LD"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5726 $as_echo "$LD" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5731 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5733 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5734 if ${lt_cv_prog_gnu_ld+:} false; then :
5735 $as_echo_n "(cached) " >&6
5737 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5738 case `$LD -v 2>&1 </dev/null` in
5739 *GNU* | *'with BFD'*)
5740 lt_cv_prog_gnu_ld=yes
5743 lt_cv_prog_gnu_ld=no
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5748 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5749 with_gnu_ld=$lt_cv_prog_gnu_ld
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5760 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5761 if ${lt_cv_path_NM+:} false; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$NM"; then
5765 # Let the user override the test.
5768 lt_nm_to_check=${ac_tool_prefix}nm
5769 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5770 lt_nm_to_check="$lt_nm_to_check nm"
5772 for lt_tmp_nm in $lt_nm_to_check; do
5773 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5774 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5776 test -z "$ac_dir" && ac_dir=.
5777 tmp_nm=$ac_dir/$lt_tmp_nm
5778 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5779 # Check to see if the nm accepts a BSD-compat flag.
5780 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5781 # nm: unknown option "B" ignored
5782 # Tru64's nm complains that /dev/null is an invalid object file
5783 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5785 mingw*) lt_bad_file=conftest.nm/nofile ;;
5786 *) lt_bad_file=/dev/null ;;
5788 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5789 *$lt_bad_file* | *'Invalid file or object type'*)
5790 lt_cv_path_NM="$tmp_nm -B"
5794 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5796 lt_cv_path_NM="$tmp_nm -p"
5800 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5801 continue # so that we can try to find one that supports BSD flags
5810 : ${lt_cv_path_NM=no}
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5814 $as_echo "$lt_cv_path_NM" >&6; }
5815 if test no != "$lt_cv_path_NM"; then
5818 # Didn't find any BSD compatible name lister, look for dumpbin.
5819 if test -n "$DUMPBIN"; then :
5820 # Let the user override the test.
5822 if test -n "$ac_tool_prefix"; then
5823 for ac_prog in dumpbin "link -dump"
5825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_prog_DUMPBIN+:} false; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -n "$DUMPBIN"; then
5833 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 DUMPBIN=$ac_cv_prog_DUMPBIN
5853 if test -n "$DUMPBIN"; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5855 $as_echo "$DUMPBIN" >&6; }
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858 $as_echo "no" >&6; }
5862 test -n "$DUMPBIN" && break
5865 if test -z "$DUMPBIN"; then
5866 ac_ct_DUMPBIN=$DUMPBIN
5867 for ac_prog in dumpbin "link -dump"
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$ac_ct_DUMPBIN"; then
5877 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5897 if test -n "$ac_ct_DUMPBIN"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5899 $as_echo "$ac_ct_DUMPBIN" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ac_ct_DUMPBIN" && break
5909 if test "x$ac_ct_DUMPBIN" = x; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5918 DUMPBIN=$ac_ct_DUMPBIN
5922 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5924 DUMPBIN="$DUMPBIN -symbols -headers"
5932 if test : != "$DUMPBIN"; then
5936 test -z "$NM" && NM=nm
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5944 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5945 if ${lt_cv_nm_interface+:} false; then :
5946 $as_echo_n "(cached) " >&6
5948 lt_cv_nm_interface="BSD nm"
5949 echo "int some_variable = 0;" > conftest.$ac_ext
5950 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5951 (eval "$ac_compile" 2>conftest.err)
5952 cat conftest.err >&5
5953 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5954 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5955 cat conftest.err >&5
5956 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5957 cat conftest.out >&5
5958 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5959 lt_cv_nm_interface="MS dumpbin"
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5964 $as_echo "$lt_cv_nm_interface" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5967 $as_echo_n "checking whether ln -s works... " >&6; }
5969 if test "$LN_S" = "ln -s"; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5971 $as_echo "yes" >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5974 $as_echo "no, using $LN_S" >&6; }
5977 # find the maximum length of command line arguments
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5979 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5980 if ${lt_cv_sys_max_cmd_len+:} false; then :
5981 $as_echo_n "(cached) " >&6
5988 # On DJGPP, this test can blow up pretty badly due to problems in libc
5989 # (any single argument exceeding 2000 bytes causes a buffer overrun
5990 # during glob expansion). Even if it were fixed, the result of this
5991 # check would be larger than it should be.
5992 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5996 # Under GNU Hurd, this test is not required because there is
5997 # no limit to the length of command line arguments.
5998 # Libtool will interpret -1 as no limit whatsoever
5999 lt_cv_sys_max_cmd_len=-1;
6002 cygwin* | mingw* | cegcc*)
6003 # On Win9x/ME, this test blows up -- it succeeds, but takes
6004 # about 5 minutes as the teststring grows exponentially.
6005 # Worse, since 9x/ME are not pre-emptively multitasking,
6006 # you end up with a "frozen" computer, even though with patience
6007 # the test eventually succeeds (with a max line length of 256k).
6008 # Instead, let's just punt: use the minimum linelength reported by
6009 # all of the supported platforms: 8192 (on NT/2K/XP).
6010 lt_cv_sys_max_cmd_len=8192;
6014 # On MiNT this can take a long time and run out of memory.
6015 lt_cv_sys_max_cmd_len=8192;
6019 # On AmigaOS with pdksh, this test takes hours, literally.
6020 # So we just punt and use a minimum line length of 8192.
6021 lt_cv_sys_max_cmd_len=8192;
6024 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6025 # This has been around since 386BSD, at least. Likely further.
6026 if test -x /sbin/sysctl; then
6027 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6028 elif test -x /usr/sbin/sysctl; then
6029 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6031 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6033 # And add a safety zone
6034 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6035 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6039 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6040 lt_cv_sys_max_cmd_len=196608
6044 # The test takes a long time on OS/2.
6045 lt_cv_sys_max_cmd_len=8192
6049 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6050 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6051 # nice to cause kernel panics so lets avoid the loop below.
6052 # First set a reasonable default.
6053 lt_cv_sys_max_cmd_len=16384
6055 if test -x /sbin/sysconfig; then
6056 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6057 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6062 lt_cv_sys_max_cmd_len=102400
6064 sysv5* | sco5v6* | sysv4.2uw2*)
6065 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6066 if test -n "$kargmax"; then
6067 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6069 lt_cv_sys_max_cmd_len=32768
6073 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6074 if test -n "$lt_cv_sys_max_cmd_len" && \
6075 test undefined != "$lt_cv_sys_max_cmd_len"; then
6076 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6077 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6079 # Make teststring a little bigger before we do anything with it.
6080 # a 1K string should be a reasonable start.
6081 for i in 1 2 3 4 5 6 7 8; do
6082 teststring=$teststring$teststring
6084 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6085 # If test is not a shell built-in, we'll probably end up computing a
6086 # maximum length that is only half of the actual maximum length, but
6088 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6089 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6090 test 17 != "$i" # 1/2 MB should be enough
6093 teststring=$teststring$teststring
6095 # Only check the string length outside the loop.
6096 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6098 # Add a significant safety factor because C++ compilers can tack on
6099 # massive amounts of additional arguments before passing them to the
6100 # linker. It appears as though 1/2 is a usable value.
6101 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6108 if test -n "$lt_cv_sys_max_cmd_len"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6110 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6113 $as_echo "none" >&6; }
6115 max_cmd_len=$lt_cv_sys_max_cmd_len
6126 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6136 # test EBCDIC or ASCII
6137 case `echo X|tr X '\101'` in
6138 A) # ASCII based system
6139 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6140 lt_SP2NL='tr \040 \012'
6141 lt_NL2SP='tr \015\012 \040\040'
6143 *) # EBCDIC based system
6144 lt_SP2NL='tr \100 \n'
6145 lt_NL2SP='tr \r\n \100\100'
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6158 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6159 if ${lt_cv_to_host_file_cmd+:} false; then :
6160 $as_echo_n "(cached) " >&6
6165 *-*-mingw* ) # actually msys
6166 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6169 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6171 * ) # otherwise, assume *nix
6172 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6178 *-*-mingw* ) # actually msys
6179 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6182 lt_cv_to_host_file_cmd=func_convert_file_noop
6184 * ) # otherwise, assume *nix
6185 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6189 * ) # unhandled hosts (and "normal" native builds)
6190 lt_cv_to_host_file_cmd=func_convert_file_noop
6196 to_host_file_cmd=$lt_cv_to_host_file_cmd
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6198 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6205 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6206 if ${lt_cv_to_tool_file_cmd+:} false; then :
6207 $as_echo_n "(cached) " >&6
6209 #assume ordinary cross tools, or native build.
6210 lt_cv_to_tool_file_cmd=func_convert_file_noop
6214 *-*-mingw* ) # actually msys
6215 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6223 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6225 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6232 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6233 if ${lt_cv_ld_reload_flag+:} false; then :
6234 $as_echo_n "(cached) " >&6
6236 lt_cv_ld_reload_flag='-r'
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6239 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6240 reload_flag=$lt_cv_ld_reload_flag
6241 case $reload_flag in
6243 *) reload_flag=" $reload_flag" ;;
6245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6247 cygwin* | mingw* | pw32* | cegcc*)
6248 if test yes != "$GCC"; then
6253 if test yes = "$GCC"; then
6254 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6256 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6269 if test -n "$ac_tool_prefix"; then
6270 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6271 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_OBJDUMP+:} false; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$OBJDUMP"; then
6278 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 OBJDUMP=$ac_cv_prog_OBJDUMP
6298 if test -n "$OBJDUMP"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6300 $as_echo "$OBJDUMP" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6308 if test -z "$ac_cv_prog_OBJDUMP"; then
6309 ac_ct_OBJDUMP=$OBJDUMP
6310 # Extract the first word of "objdump", so it can be a program name with args.
6311 set dummy objdump; ac_word=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6315 $as_echo_n "(cached) " >&6
6317 if test -n "$ac_ct_OBJDUMP"; then
6318 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6327 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6338 if test -n "$ac_ct_OBJDUMP"; then
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6340 $as_echo "$ac_ct_OBJDUMP" >&6; }
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 $as_echo "no" >&6; }
6346 if test "x$ac_ct_OBJDUMP" = x; then
6349 case $cross_compiling:$ac_tool_warned in
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353 ac_tool_warned=yes ;;
6355 OBJDUMP=$ac_ct_OBJDUMP
6358 OBJDUMP="$ac_cv_prog_OBJDUMP"
6361 test -z "$OBJDUMP" && OBJDUMP=objdump
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6372 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6373 if ${lt_cv_deplibs_check_method+:} false; then :
6374 $as_echo_n "(cached) " >&6
6376 lt_cv_file_magic_cmd='$MAGIC_CMD'
6377 lt_cv_file_magic_test_file=
6378 lt_cv_deplibs_check_method='unknown'
6379 # Need to set the preceding variable on all platforms that support
6380 # interlibrary dependencies.
6381 # 'none' -- dependencies not supported.
6382 # 'unknown' -- same as none, but documents that we really don't know.
6383 # 'pass_all' -- all dependencies passed with no checks.
6384 # 'test_compile' -- check by making test program.
6385 # 'file_magic [[regex]]' -- check by looking for files in library path
6386 # that responds to the $file_magic_cmd with a given extended regex.
6387 # If you have 'file' or equivalent on your system and you're not sure
6388 # whether 'pass_all' will *always* work, you probably want this one.
6392 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6400 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6401 lt_cv_file_magic_cmd='/usr/bin/file -L'
6402 lt_cv_file_magic_test_file=/shlib/libc.so
6406 # func_win32_libid is a shell function defined in ltmain.sh
6407 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6408 lt_cv_file_magic_cmd='func_win32_libid'
6412 # Base MSYS/MinGW do not provide the 'file' command needed by
6413 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6414 # unless we find 'file', for example because we are cross-compiling.
6415 if ( file / ) >/dev/null 2>&1; then
6416 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6417 lt_cv_file_magic_cmd='func_win32_libid'
6419 # Keep this pattern in sync with the one in func_win32_libid.
6420 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6421 lt_cv_file_magic_cmd='$OBJDUMP -f'
6426 # use the weaker test based on 'objdump'. See mingw*.
6427 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6428 lt_cv_file_magic_cmd='$OBJDUMP -f'
6431 darwin* | rhapsody*)
6432 lt_cv_deplibs_check_method=pass_all
6435 freebsd* | dragonfly*)
6436 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6439 # Not sure whether the presence of OpenBSD here was a mistake.
6440 # Let's accept both of them until this is cleared up.
6441 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6442 lt_cv_file_magic_cmd=/usr/bin/file
6443 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6447 lt_cv_deplibs_check_method=pass_all
6452 lt_cv_deplibs_check_method=pass_all
6455 hpux10.20* | hpux11*)
6456 lt_cv_file_magic_cmd=/usr/bin/file
6459 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6460 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6463 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]'
6464 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6467 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6468 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6474 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6475 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6478 irix5* | irix6* | nonstopux*)
6480 *-32|*"-32 ") libmagic=32-bit;;
6481 *-n32|*"-n32 ") libmagic=N32;;
6482 *-64|*"-64 ") libmagic=64-bit;;
6483 *) libmagic=never-match;;
6485 lt_cv_deplibs_check_method=pass_all
6488 # This must be glibc/ELF.
6489 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6490 lt_cv_deplibs_check_method=pass_all
6493 netbsd* | netbsdelf*-gnu)
6494 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6495 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6497 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6502 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6503 lt_cv_file_magic_cmd=/usr/bin/file
6504 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6508 lt_cv_deplibs_check_method=pass_all
6512 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6513 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6515 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6519 osf3* | osf4* | osf5*)
6520 lt_cv_deplibs_check_method=pass_all
6524 lt_cv_deplibs_check_method=pass_all
6528 lt_cv_deplibs_check_method=pass_all
6531 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6532 lt_cv_deplibs_check_method=pass_all
6536 case $host_vendor in
6538 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]'
6539 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6542 lt_cv_deplibs_check_method=pass_all
6545 lt_cv_file_magic_cmd='/bin/file'
6546 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6549 lt_cv_file_magic_cmd='/bin/file'
6550 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6551 lt_cv_file_magic_test_file=/lib/libc.so
6554 lt_cv_deplibs_check_method=pass_all
6557 lt_cv_deplibs_check_method=pass_all
6563 lt_cv_deplibs_check_method=pass_all
6566 lt_cv_deplibs_check_method=pass_all
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6572 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6576 if test "$build" = "$host"; then
6579 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6582 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6588 file_magic_cmd=$lt_cv_file_magic_cmd
6589 deplibs_check_method=$lt_cv_deplibs_check_method
6590 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6613 if test -n "$ac_tool_prefix"; then
6614 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6615 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_DLLTOOL+:} false; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$DLLTOOL"; then
6622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 DLLTOOL=$ac_cv_prog_DLLTOOL
6642 if test -n "$DLLTOOL"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6644 $as_echo "$DLLTOOL" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6652 if test -z "$ac_cv_prog_DLLTOOL"; then
6653 ac_ct_DLLTOOL=$DLLTOOL
6654 # Extract the first word of "dlltool", so it can be a program name with args.
6655 set dummy dlltool; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$ac_ct_DLLTOOL"; then
6662 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir=.
6669 for ac_exec_ext in '' $ac_executable_extensions; do
6670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6671 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6682 if test -n "$ac_ct_DLLTOOL"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6684 $as_echo "$ac_ct_DLLTOOL" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6690 if test "x$ac_ct_DLLTOOL" = x; then
6693 case $cross_compiling:$ac_tool_warned in
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned=yes ;;
6699 DLLTOOL=$ac_ct_DLLTOOL
6702 DLLTOOL="$ac_cv_prog_DLLTOOL"
6705 test -z "$DLLTOOL" && DLLTOOL=dlltool
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6717 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6718 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6719 $as_echo_n "(cached) " >&6
6721 lt_cv_sharedlib_from_linklib_cmd='unknown'
6724 cygwin* | mingw* | pw32* | cegcc*)
6725 # two different shell functions defined in ltmain.sh;
6726 # decide which one to use based on capabilities of $DLLTOOL
6727 case `$DLLTOOL --help 2>&1` in
6728 *--identify-strict*)
6729 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6732 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6737 # fallback: assume linklib IS sharedlib
6738 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6744 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6745 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6746 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6755 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_AR+:} false; then :
6763 $as_echo_n "(cached) " >&6
6765 if test -n "$AR"; then
6766 ac_cv_prog_AR="$AR" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 if test -n "$AR"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6788 $as_echo "$AR" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6795 test -n "$AR" && break
6798 if test -z "$AR"; then
6802 # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$ac_ct_AR"; then
6810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_ac_ct_AR="$ac_prog"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6830 if test -n "$ac_ct_AR"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6832 $as_echo "$ac_ct_AR" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6839 test -n "$ac_ct_AR" && break
6842 if test "x$ac_ct_AR" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6869 $as_echo_n "checking for archiver @FILE support... " >&6; }
6870 if ${lt_cv_ar_at_file+:} false; then :
6871 $as_echo_n "(cached) " >&6
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886 echo conftest.$ac_objext > conftest.lst
6887 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6889 (eval $lt_ar_try) 2>&5
6891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892 test $ac_status = 0; }
6893 if test 0 -eq "$ac_status"; then
6894 # Ensure the archiver fails upon bogus file names.
6895 rm -f conftest.$ac_objext libconftest.a
6896 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6897 (eval $lt_ar_try) 2>&5
6899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6900 test $ac_status = 0; }
6901 if test 0 -ne "$ac_status"; then
6905 rm -f conftest.* libconftest.a
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6912 $as_echo "$lt_cv_ar_at_file" >&6; }
6914 if test no = "$lt_cv_ar_at_file"; then
6917 archiver_list_spec=$lt_cv_ar_at_file
6926 if test -n "$ac_tool_prefix"; then
6927 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_STRIP+:} false; then :
6932 $as_echo_n "(cached) " >&6
6934 if test -n "$STRIP"; then
6935 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6944 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 STRIP=$ac_cv_prog_STRIP
6955 if test -n "$STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6957 $as_echo "$STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6965 if test -z "$ac_cv_prog_STRIP"; then
6967 # Extract the first word of "strip", so it can be a program name with args.
6968 set dummy strip; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$ac_ct_STRIP"; then
6975 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984 ac_cv_prog_ac_ct_STRIP="strip"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6995 if test -n "$ac_ct_STRIP"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6997 $as_echo "$ac_ct_STRIP" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7003 if test "x$ac_ct_STRIP" = x; then
7006 case $cross_compiling:$ac_tool_warned in
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7015 STRIP="$ac_cv_prog_STRIP"
7018 test -z "$STRIP" && STRIP=:
7025 if test -n "$ac_tool_prefix"; then
7026 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_RANLIB+:} false; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$RANLIB"; then
7034 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 RANLIB=$ac_cv_prog_RANLIB
7054 if test -n "$RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7056 $as_echo "$RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7064 if test -z "$ac_cv_prog_RANLIB"; then
7065 ac_ct_RANLIB=$RANLIB
7066 # Extract the first word of "ranlib", so it can be a program name with args.
7067 set dummy ranlib; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$ac_ct_RANLIB"; then
7074 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7083 ac_cv_prog_ac_ct_RANLIB="ranlib"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7094 if test -n "$ac_ct_RANLIB"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7096 $as_echo "$ac_ct_RANLIB" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7102 if test "x$ac_ct_RANLIB" = x; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned=yes ;;
7111 RANLIB=$ac_ct_RANLIB
7114 RANLIB="$ac_cv_prog_RANLIB"
7117 test -z "$RANLIB" && RANLIB=:
7124 # Determine commands to create old-style static archives.
7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7126 old_postinstall_cmds='chmod 644 $oldlib'
7127 old_postuninstall_cmds=
7129 if test -n "$RANLIB"; then
7132 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7135 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7138 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7143 lock_old_archive_extraction=yes ;;
7145 lock_old_archive_extraction=no ;;
7186 # If no C compiler was specified, use CC.
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192 # Allow CC to be a program name with arguments.
7196 # Check for command to grab the raw symbol name followed by C symbol from nm.
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7198 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7199 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7200 $as_echo_n "(cached) " >&6
7203 # These are sane defaults that work on at least a few old systems.
7204 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7206 # Character class describing NM global symbol codes.
7207 symcode='[BCDEGRST]'
7209 # Regexp to match symbols that can be accessed directly from C.
7210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7212 # Define system-specific variables.
7217 cygwin* | mingw* | pw32* | cegcc*)
7218 symcode='[ABCDGISTW]'
7221 if test ia64 = "$host_cpu"; then
7222 symcode='[ABCDEGRST]'
7226 symcode='[BCDEGRST]'
7229 symcode='[BCDEGQRST]'
7240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7248 # If we're using GNU nm, then use its standard symbol codes.
7249 case `$NM -V 2>&1` in
7250 *GNU* | *'with BFD'*)
7251 symcode='[ABCDGIRSTW]' ;;
7254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7255 # Gets list of data symbols to import.
7256 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7257 # Adjust the below global symbol transforms to fixup imported variables.
7258 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7259 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7260 lt_c_name_lib_hook="\
7261 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7262 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7264 # Disable hooks by default.
7265 lt_cv_sys_global_symbol_to_import=
7271 # Transform an extracted symbol line into a proper C declaration.
7272 # Some systems (esp. on ia64) link data and code symbols differently,
7273 # so use this general approach.
7274 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7276 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7277 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7279 # Transform an extracted symbol line into symbol name and symbol address
7280 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7282 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7283 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7285 # Transform an extracted symbol line into symbol name with lib prefix and
7287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7288 $lt_c_name_lib_hook\
7289 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7290 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7291 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7293 # Handle CRLF in mingw tool chain
7297 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7301 # Try without a prefix underscore, then with it.
7302 for ac_symprfx in "" "_"; do
7304 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7305 symxfrm="\\1 $ac_symprfx\\2 \\2"
7307 # Write the raw and C identifiers.
7308 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7309 # Fake it for dumpbin and say T for any non-static function,
7310 # D for any global variable and I for any imported variable.
7311 # Also find C++ and __fastcall symbols from MSVC++,
7312 # which start with @ or ?.
7313 lt_cv_sys_global_symbol_pipe="$AWK '"\
7314 " {last_section=section; section=\$ 3};"\
7315 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7316 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7317 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7318 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7319 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7320 " \$ 0!~/External *\|/{next};"\
7321 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7322 " {if(hide[section]) next};"\
7323 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7324 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7325 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7326 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7327 " ' prfx=^$ac_symprfx"
7329 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7331 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7333 # Check to see that the pipe works correctly.
7337 cat > conftest.$ac_ext <<_LT_EOF
7342 void nm_test_func(void);
7343 void nm_test_func(void){}
7347 int main(){nm_test_var='a';nm_test_func();return(0);}
7350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7351 (eval $ac_compile) 2>&5
7353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7354 test $ac_status = 0; }; then
7355 # Now try to grab the symbols.
7357 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7358 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7361 test $ac_status = 0; } && test -s "$nlist"; then
7362 # Try sorting and uniquifying the output.
7363 if sort "$nlist" | uniq > "$nlist"T; then
7364 mv -f "$nlist"T "$nlist"
7369 # Make sure that we snagged all the symbols we need.
7370 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7371 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7372 cat <<_LT_EOF > conftest.$ac_ext
7373 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7374 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7375 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7376 relocations are performed -- see ld's documentation on pseudo-relocs. */
7377 # define LT_DLSYM_CONST
7378 #elif defined __osf__
7379 /* This system does not cope well with relocations in const data. */
7380 # define LT_DLSYM_CONST
7382 # define LT_DLSYM_CONST const
7390 # Now generate the symbol file.
7391 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7393 cat <<_LT_EOF >> conftest.$ac_ext
7395 /* The mapping between symbol names and symbols. */
7396 LT_DLSYM_CONST struct {
7400 lt__PROGRAM__LTX_preloaded_symbols[] =
7402 { "@PROGRAM@", (void *) 0 },
7404 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7405 cat <<\_LT_EOF >> conftest.$ac_ext
7409 /* This works around a problem in FreeBSD linker */
7410 #ifdef FREEBSD_WORKAROUND
7411 static const void *lt_preloaded_setup() {
7412 return lt__PROGRAM__LTX_preloaded_symbols;
7420 # Now try linking the two files.
7421 mv conftest.$ac_objext conftstm.$ac_objext
7422 lt_globsym_save_LIBS=$LIBS
7423 lt_globsym_save_CFLAGS=$CFLAGS
7424 LIBS=conftstm.$ac_objext
7425 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7427 (eval $ac_link) 2>&5
7429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7430 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7433 LIBS=$lt_globsym_save_LIBS
7434 CFLAGS=$lt_globsym_save_CFLAGS
7436 echo "cannot find nm_test_func in $nlist" >&5
7439 echo "cannot find nm_test_var in $nlist" >&5
7442 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7445 echo "$progname: failed program was:" >&5
7446 cat conftest.$ac_ext >&5
7448 rm -rf conftest* conftst*
7450 # Do not use the global_symbol_pipe unless it works.
7451 if test yes = "$pipe_works"; then
7454 lt_cv_sys_global_symbol_pipe=
7460 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7461 lt_cv_sys_global_symbol_to_cdecl=
7463 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7465 $as_echo "failed" >&6; }
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7468 $as_echo "ok" >&6; }
7471 # Response file support.
7472 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7473 nm_file_list_spec='@'
7474 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7475 nm_file_list_spec='@'
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7515 $as_echo_n "checking for sysroot... " >&6; }
7517 # Check whether --with-sysroot was given.
7518 if test "${with_sysroot+set}" = set; then :
7519 withval=$with_sysroot;
7526 case $with_sysroot in #(
7528 if test yes = "$GCC"; then
7529 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7533 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7539 $as_echo "$with_sysroot" >&6; }
7540 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7545 $as_echo "${lt_sysroot:-no}" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7552 $as_echo_n "checking for a working dd... " >&6; }
7553 if ${ac_cv_path_lt_DD+:} false; then :
7554 $as_echo_n "(cached) " >&6
7556 printf 0123456789abcdef0123456789abcdef >conftest.i
7557 cat conftest.i conftest.i >conftest2.i
7559 if test -z "$lt_DD"; then
7560 ac_path_lt_DD_found=false
7561 # Loop through the user's path and test for each of PROGNAME-LIST
7562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 test -z "$as_dir" && as_dir=.
7567 for ac_prog in dd; do
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7570 as_fn_executable_p "$ac_path_lt_DD" || continue
7571 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7572 cmp -s conftest.i conftest.out \
7573 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7575 $ac_path_lt_DD_found && break 3
7580 if test -z "$ac_cv_path_lt_DD"; then
7584 ac_cv_path_lt_DD=$lt_DD
7587 rm -f conftest.i conftest2.i conftest.out
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7590 $as_echo "$ac_cv_path_lt_DD" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7594 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7595 if ${lt_cv_truncate_bin+:} false; then :
7596 $as_echo_n "(cached) " >&6
7598 printf 0123456789abcdef0123456789abcdef >conftest.i
7599 cat conftest.i conftest.i >conftest2.i
7601 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7602 cmp -s conftest.i conftest.out \
7603 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7605 rm -f conftest.i conftest2.i conftest.out
7606 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7609 $as_echo "$lt_cv_truncate_bin" >&6; }
7617 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7620 for cc_temp in $*""; do
7622 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7623 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7628 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7631 # Check whether --enable-libtool-lock was given.
7632 if test "${enable_libtool_lock+set}" = set; then :
7633 enableval=$enable_libtool_lock;
7636 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7638 # Some flags need to be propagated to the compiler or linker for good
7642 # Find out what ABI is being produced by ac_compile, and set mode
7643 # options accordingly.
7644 echo 'int i;' > conftest.$ac_ext
7645 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7646 (eval $ac_compile) 2>&5
7648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649 test $ac_status = 0; }; then
7650 case `/usr/bin/file conftest.$ac_objext` in
7662 # Find out what ABI is being produced by ac_compile, and set linker
7663 # options accordingly.
7664 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7666 (eval $ac_compile) 2>&5
7668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7669 test $ac_status = 0; }; then
7670 if test yes = "$lt_cv_prog_gnu_ld"; then
7671 case `/usr/bin/file conftest.$ac_objext` in
7673 LD="${LD-ld} -melf32bsmip"
7676 LD="${LD-ld} -melf32bmipn32"
7679 LD="${LD-ld} -melf64bmip"
7683 case `/usr/bin/file conftest.$ac_objext` in
7700 # Find out what ABI is being produced by ac_compile, and set linker
7701 # options accordingly.
7702 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7704 (eval $ac_compile) 2>&5
7706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707 test $ac_status = 0; }; then
7709 case `/usr/bin/file conftest.$ac_objext` in
7717 case `/usr/bin/file conftest.$ac_objext` in
7719 emul="${emul}btsmip"
7722 emul="${emul}ltsmip"
7725 case `/usr/bin/file conftest.$ac_objext` in
7730 LD="${LD-ld} -m $emul"
7735 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7736 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7737 # Find out what ABI is being produced by ac_compile, and set linker
7738 # options accordingly. Note that the listed cases only cover the
7739 # situations where additional linker options are needed (such as when
7740 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7741 # vice versa); the common cases where no linker options are needed do
7742 # not appear in the list.
7743 echo 'int i;' > conftest.$ac_ext
7744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7745 (eval $ac_compile) 2>&5
7747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7748 test $ac_status = 0; }; then
7749 case `/usr/bin/file conftest.o` in
7752 x86_64-*kfreebsd*-gnu)
7753 LD="${LD-ld} -m elf_i386_fbsd"
7756 case `/usr/bin/file conftest.o` in
7758 LD="${LD-ld} -m elf32_x86_64"
7761 LD="${LD-ld} -m elf_i386"
7765 powerpc64le-*linux*)
7766 LD="${LD-ld} -m elf32lppclinux"
7769 LD="${LD-ld} -m elf32ppclinux"
7772 LD="${LD-ld} -m elf_s390"
7775 LD="${LD-ld} -m elf32_sparc"
7781 x86_64-*kfreebsd*-gnu)
7782 LD="${LD-ld} -m elf_x86_64_fbsd"
7785 LD="${LD-ld} -m elf_x86_64"
7788 LD="${LD-ld} -m elf64lppc"
7791 LD="${LD-ld} -m elf64ppc"
7793 s390*-*linux*|s390*-*tpf*)
7794 LD="${LD-ld} -m elf64_s390"
7797 LD="${LD-ld} -m elf64_sparc"
7807 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7809 CFLAGS="$CFLAGS -belf"
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7811 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7812 if ${lt_cv_cc_needs_belf+:} false; then :
7813 $as_echo_n "(cached) " >&6
7816 ac_cpp='$CPP $CPPFLAGS'
7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7822 /* end confdefs.h. */
7832 if ac_fn_c_try_link "$LINENO"; then :
7833 lt_cv_cc_needs_belf=yes
7835 lt_cv_cc_needs_belf=no
7837 rm -f core conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7840 ac_cpp='$CPP $CPPFLAGS'
7841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7847 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7848 if test yes != "$lt_cv_cc_needs_belf"; then
7849 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7854 # Find out what ABI is being produced by ac_compile, and set linker
7855 # options accordingly.
7856 echo 'int i;' > conftest.$ac_ext
7857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7858 (eval $ac_compile) 2>&5
7860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7861 test $ac_status = 0; }; then
7862 case `/usr/bin/file conftest.o` in
7864 case $lt_cv_prog_gnu_ld in
7867 i?86-*-solaris*|x86_64-*-solaris*)
7868 LD="${LD-ld} -m elf_x86_64"
7871 LD="${LD-ld} -m elf64_sparc"
7874 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7875 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7880 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7892 need_locks=$enable_libtool_lock
7894 if test -n "$ac_tool_prefix"; then
7895 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7896 set dummy ${ac_tool_prefix}mt; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$MANIFEST_TOOL"; then
7903 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7923 if test -n "$MANIFEST_TOOL"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7925 $as_echo "$MANIFEST_TOOL" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7933 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7934 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7935 # Extract the first word of "mt", so it can be a program name with args.
7936 set dummy mt; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -n "$ac_ct_MANIFEST_TOOL"; then
7943 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7963 if test -n "$ac_ct_MANIFEST_TOOL"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7965 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7971 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7974 case $cross_compiling:$ac_tool_warned in
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7978 ac_tool_warned=yes ;;
7980 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7983 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7986 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7988 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7989 if ${lt_cv_path_mainfest_tool+:} false; then :
7990 $as_echo_n "(cached) " >&6
7992 lt_cv_path_mainfest_tool=no
7993 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7994 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7995 cat conftest.err >&5
7996 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7997 lt_cv_path_mainfest_tool=yes
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8002 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8003 if test yes != "$lt_cv_path_mainfest_tool"; then
8013 rhapsody* | darwin*)
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8022 if test -n "$DSYMUTIL"; then
8023 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8043 if test -n "$DSYMUTIL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8045 $as_echo "$DSYMUTIL" >&6; }
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_DSYMUTIL"; then
8054 ac_ct_DSYMUTIL=$DSYMUTIL
8055 # Extract the first word of "dsymutil", so it can be a program name with args.
8056 set dummy dsymutil; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8060 $as_echo_n "(cached) " >&6
8062 if test -n "$ac_ct_DSYMUTIL"; then
8063 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8083 if test -n "$ac_ct_DSYMUTIL"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8085 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_DSYMUTIL" = x; then
8094 case $cross_compiling:$ac_tool_warned in
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8100 DSYMUTIL=$ac_ct_DSYMUTIL
8103 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8106 if test -n "$ac_tool_prefix"; then
8107 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_NMEDIT+:} false; then :
8112 $as_echo_n "(cached) " >&6
8114 if test -n "$NMEDIT"; then
8115 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8134 NMEDIT=$ac_cv_prog_NMEDIT
8135 if test -n "$NMEDIT"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8137 $as_echo "$NMEDIT" >&6; }
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8145 if test -z "$ac_cv_prog_NMEDIT"; then
8146 ac_ct_NMEDIT=$NMEDIT
8147 # Extract the first word of "nmedit", so it can be a program name with args.
8148 set dummy nmedit; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8152 $as_echo_n "(cached) " >&6
8154 if test -n "$ac_ct_NMEDIT"; then
8155 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8174 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8175 if test -n "$ac_ct_NMEDIT"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8177 $as_echo "$ac_ct_NMEDIT" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8183 if test "x$ac_ct_NMEDIT" = x; then
8186 case $cross_compiling:$ac_tool_warned in
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190 ac_tool_warned=yes ;;
8192 NMEDIT=$ac_ct_NMEDIT
8195 NMEDIT="$ac_cv_prog_NMEDIT"
8198 if test -n "$ac_tool_prefix"; then
8199 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_LIPO+:} false; then :
8204 $as_echo_n "(cached) " >&6
8206 if test -n "$LIPO"; then
8207 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 LIPO=$ac_cv_prog_LIPO
8227 if test -n "$LIPO"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8229 $as_echo "$LIPO" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8237 if test -z "$ac_cv_prog_LIPO"; then
8239 # Extract the first word of "lipo", so it can be a program name with args.
8240 set dummy lipo; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8244 $as_echo_n "(cached) " >&6
8246 if test -n "$ac_ct_LIPO"; then
8247 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_ac_ct_LIPO="lipo"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8267 if test -n "$ac_ct_LIPO"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8269 $as_echo "$ac_ct_LIPO" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8275 if test "x$ac_ct_LIPO" = x; then
8278 case $cross_compiling:$ac_tool_warned in
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8287 LIPO="$ac_cv_prog_LIPO"
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}otool; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_OTOOL+:} false; then :
8296 $as_echo_n "(cached) " >&6
8298 if test -n "$OTOOL"; then
8299 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 OTOOL=$ac_cv_prog_OTOOL
8319 if test -n "$OTOOL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8321 $as_echo "$OTOOL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8329 if test -z "$ac_cv_prog_OTOOL"; then
8331 # Extract the first word of "otool", so it can be a program name with args.
8332 set dummy otool; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8336 $as_echo_n "(cached) " >&6
8338 if test -n "$ac_ct_OTOOL"; then
8339 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348 ac_cv_prog_ac_ct_OTOOL="otool"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8359 if test -n "$ac_ct_OTOOL"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8361 $as_echo "$ac_ct_OTOOL" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8367 if test "x$ac_ct_OTOOL" = x; then
8370 case $cross_compiling:$ac_tool_warned in
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8379 OTOOL="$ac_cv_prog_OTOOL"
8382 if test -n "$ac_tool_prefix"; then
8383 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_OTOOL64+:} false; then :
8388 $as_echo_n "(cached) " >&6
8390 if test -n "$OTOOL64"; then
8391 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 OTOOL64=$ac_cv_prog_OTOOL64
8411 if test -n "$OTOOL64"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8413 $as_echo "$OTOOL64" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8421 if test -z "$ac_cv_prog_OTOOL64"; then
8422 ac_ct_OTOOL64=$OTOOL64
8423 # Extract the first word of "otool64", so it can be a program name with args.
8424 set dummy otool64; ac_word=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8428 $as_echo_n "(cached) " >&6
8430 if test -n "$ac_ct_OTOOL64"; then
8431 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir=.
8438 for ac_exec_ext in '' $ac_executable_extensions; do
8439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8440 ac_cv_prog_ac_ct_OTOOL64="otool64"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8450 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8451 if test -n "$ac_ct_OTOOL64"; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8453 $as_echo "$ac_ct_OTOOL64" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8459 if test "x$ac_ct_OTOOL64" = x; then
8462 case $cross_compiling:$ac_tool_warned in
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466 ac_tool_warned=yes ;;
8468 OTOOL64=$ac_ct_OTOOL64
8471 OTOOL64="$ac_cv_prog_OTOOL64"
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8501 $as_echo_n "checking for -single_module linker flag... " >&6; }
8502 if ${lt_cv_apple_cc_single_mod+:} false; then :
8503 $as_echo_n "(cached) " >&6
8505 lt_cv_apple_cc_single_mod=no
8506 if test -z "$LT_MULTI_MODULE"; then
8507 # By default we will add the -single_module flag. You can override
8508 # by either setting the environment variable LT_MULTI_MODULE
8509 # non-empty at configure time, or by adding -multi_module to the
8511 rm -rf libconftest.dylib*
8512 echo "int foo(void){return 1;}" > conftest.c
8513 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8514 -dynamiclib -Wl,-single_module conftest.c" >&5
8515 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8516 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8518 # If there is a non-empty error log, and "single_module"
8519 # appears in it, assume the flag caused a linker warning
8520 if test -s conftest.err && $GREP single_module conftest.err; then
8521 cat conftest.err >&5
8522 # Otherwise, if the output was created with a 0 exit code from
8523 # the compiler, it worked.
8524 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8525 lt_cv_apple_cc_single_mod=yes
8527 cat conftest.err >&5
8529 rm -rf libconftest.dylib*
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8534 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8537 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8538 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8539 $as_echo_n "(cached) " >&6
8541 lt_cv_ld_exported_symbols_list=no
8542 save_LDFLAGS=$LDFLAGS
8543 echo "_main" > conftest.sym
8544 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8556 if ac_fn_c_try_link "$LINENO"; then :
8557 lt_cv_ld_exported_symbols_list=yes
8559 lt_cv_ld_exported_symbols_list=no
8561 rm -f core conftest.err conftest.$ac_objext \
8562 conftest$ac_exeext conftest.$ac_ext
8563 LDFLAGS=$save_LDFLAGS
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8567 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8570 $as_echo_n "checking for -force_load linker flag... " >&6; }
8571 if ${lt_cv_ld_force_load+:} false; then :
8572 $as_echo_n "(cached) " >&6
8574 lt_cv_ld_force_load=no
8575 cat > conftest.c << _LT_EOF
8576 int forced_loaded() { return 2;}
8578 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8579 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8580 echo "$AR cru libconftest.a conftest.o" >&5
8581 $AR cru libconftest.a conftest.o 2>&5
8582 echo "$RANLIB libconftest.a" >&5
8583 $RANLIB libconftest.a 2>&5
8584 cat > conftest.c << _LT_EOF
8585 int main() { return 0;}
8587 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8588 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8590 if test -s conftest.err && $GREP force_load conftest.err; then
8591 cat conftest.err >&5
8592 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8593 lt_cv_ld_force_load=yes
8595 cat conftest.err >&5
8597 rm -f conftest.err libconftest.a conftest conftest.c
8598 rm -rf conftest.dSYM
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8602 $as_echo "$lt_cv_ld_force_load" >&6; }
8604 rhapsody* | darwin1.[012])
8605 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8607 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8608 darwin*) # darwin 5.x on
8609 # if running on 10.5 or later, the deployment target defaults
8610 # to the OS version, if on x86, and 10.4, the deployment
8611 # target defaults to 10.4. Don't you love it?
8612 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8613 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8614 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8616 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8618 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8622 if test yes = "$lt_cv_apple_cc_single_mod"; then
8623 _lt_dar_single_mod='$single_module'
8625 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8626 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8628 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8630 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8631 _lt_dsymutil='~$DSYMUTIL $lib || :'
8638 # func_munge_path_list VARIABLE PATH
8639 # -----------------------------------
8640 # VARIABLE is name of variable containing _space_ separated list of
8641 # directories to be munged by the contents of PATH, which is string
8644 # string "DIR[ DIR]" will be prepended to VARIABLE
8646 # string "DIR[ DIR]" will be appended to VARIABLE
8647 # "DIRP[:DIRP]::[DIRA:]DIRA"
8648 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8649 # "DIRA[ DIRA]" will be appended to VARIABLE
8651 # VARIABLE will be replaced by "DIR[ DIR]"
8652 func_munge_path_list ()
8658 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8661 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8664 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8665 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8668 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8674 ac_cpp='$CPP $CPPFLAGS'
8675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8679 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8680 # On Suns, sometimes $CPP names a directory.
8681 if test -n "$CPP" && test -d "$CPP"; then
8684 if test -z "$CPP"; then
8685 if ${ac_cv_prog_CPP+:} false; then :
8686 $as_echo_n "(cached) " >&6
8688 # Double quotes because CPP needs to be expanded
8689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8692 for ac_c_preproc_warn_flag in '' yes
8694 # Use a header file that comes with gcc, so configuring glibc
8695 # with a fresh cross-compiler works.
8696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8697 # <limits.h> exists even on freestanding compilers.
8698 # On the NeXT, cc -E runs the code through the compiler's parser,
8699 # not just through cpp. "Syntax error" is here to catch this case.
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8703 # include <limits.h>
8705 # include <assert.h>
8709 if ac_fn_c_try_cpp "$LINENO"; then :
8712 # Broken: fails on valid input.
8715 rm -f conftest.err conftest.i conftest.$ac_ext
8717 # OK, works on sane cases. Now check whether nonexistent headers
8718 # can be detected and how.
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 #include <ac_nonexistent.h>
8723 if ac_fn_c_try_cpp "$LINENO"; then :
8724 # Broken: success on invalid input.
8727 # Passes both tests.
8731 rm -f conftest.err conftest.i conftest.$ac_ext
8734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8735 rm -f conftest.i conftest.err conftest.$ac_ext
8736 if $ac_preproc_ok; then :
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8749 $as_echo "$CPP" >&6; }
8751 for ac_c_preproc_warn_flag in '' yes
8753 # Use a header file that comes with gcc, so configuring glibc
8754 # with a fresh cross-compiler works.
8755 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8756 # <limits.h> exists even on freestanding compilers.
8757 # On the NeXT, cc -E runs the code through the compiler's parser,
8758 # not just through cpp. "Syntax error" is here to catch this case.
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8762 # include <limits.h>
8764 # include <assert.h>
8768 if ac_fn_c_try_cpp "$LINENO"; then :
8771 # Broken: fails on valid input.
8774 rm -f conftest.err conftest.i conftest.$ac_ext
8776 # OK, works on sane cases. Now check whether nonexistent headers
8777 # can be detected and how.
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 #include <ac_nonexistent.h>
8782 if ac_fn_c_try_cpp "$LINENO"; then :
8783 # Broken: success on invalid input.
8786 # Passes both tests.
8790 rm -f conftest.err conftest.i conftest.$ac_ext
8793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8794 rm -f conftest.i conftest.err conftest.$ac_ext
8795 if $ac_preproc_ok; then :
8798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8800 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8801 See \`config.log' for more details" "$LINENO" 5; }
8805 ac_cpp='$CPP $CPPFLAGS'
8806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8812 $as_echo_n "checking for ANSI C header files... " >&6; }
8813 if ${ac_cv_header_stdc+:} false; then :
8814 $as_echo_n "(cached) " >&6
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8831 if ac_fn_c_try_compile "$LINENO"; then :
8832 ac_cv_header_stdc=yes
8834 ac_cv_header_stdc=no
8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8838 if test $ac_cv_header_stdc = yes; then
8839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8846 $EGREP "memchr" >/dev/null 2>&1; then :
8849 ac_cv_header_stdc=no
8855 if test $ac_cv_header_stdc = yes; then
8856 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8858 /* end confdefs.h. */
8862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8863 $EGREP "free" >/dev/null 2>&1; then :
8866 ac_cv_header_stdc=no
8872 if test $ac_cv_header_stdc = yes; then
8873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8874 if test "$cross_compiling" = yes; then :
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8881 #if ((' ' & 0x0FF) == 0x020)
8882 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8883 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8885 # define ISLOWER(c) \
8886 (('a' <= (c) && (c) <= 'i') \
8887 || ('j' <= (c) && (c) <= 'r') \
8888 || ('s' <= (c) && (c) <= 'z'))
8889 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8892 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8897 for (i = 0; i < 256; i++)
8898 if (XOR (islower (i), ISLOWER (i))
8899 || toupper (i) != TOUPPER (i))
8904 if ac_fn_c_try_run "$LINENO"; then :
8907 ac_cv_header_stdc=no
8909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8910 conftest.$ac_objext conftest.beam conftest.$ac_ext
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8916 $as_echo "$ac_cv_header_stdc" >&6; }
8917 if test $ac_cv_header_stdc = yes; then
8919 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8923 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8924 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8925 inttypes.h stdint.h unistd.h
8927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8928 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8931 cat >>confdefs.h <<_ACEOF
8932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8940 for ac_header in dlfcn.h
8942 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8944 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8945 cat >>confdefs.h <<_ACEOF
8946 #define HAVE_DLFCN_H 1
8967 # Check whether --enable-shared was given.
8968 if test "${enable_shared+set}" = set; then :
8969 enableval=$enable_shared; p=${PACKAGE-default}
8971 yes) enable_shared=yes ;;
8972 no) enable_shared=no ;;
8975 # Look at the argument we got. We use all the common list separators.
8976 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8977 for pkg in $enableval; do
8979 if test "X$pkg" = "X$p"; then
8998 # Check whether --enable-static was given.
8999 if test "${enable_static+set}" = set; then :
9000 enableval=$enable_static; p=${PACKAGE-default}
9002 yes) enable_static=yes ;;
9003 no) enable_static=no ;;
9006 # Look at the argument we got. We use all the common list separators.
9007 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9008 for pkg in $enableval; do
9010 if test "X$pkg" = "X$p"; then
9030 # Check whether --with-pic was given.
9031 if test "${with_pic+set}" = set; then :
9032 withval=$with_pic; lt_p=${PACKAGE-default}
9034 yes|no) pic_mode=$withval ;;
9037 # Look at the argument we got. We use all the common list separators.
9038 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9039 for lt_pkg in $withval; do
9041 if test "X$lt_pkg" = "X$lt_p"; then
9059 # Check whether --enable-fast-install was given.
9060 if test "${enable_fast_install+set}" = set; then :
9061 enableval=$enable_fast_install; p=${PACKAGE-default}
9063 yes) enable_fast_install=yes ;;
9064 no) enable_fast_install=no ;;
9066 enable_fast_install=no
9067 # Look at the argument we got. We use all the common list separators.
9068 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9069 for pkg in $enableval; do
9071 if test "X$pkg" = "X$p"; then
9072 enable_fast_install=yes
9079 enable_fast_install=yes
9089 shared_archive_member_spec=
9090 case $host,$enable_shared in
9091 power*-*-aix[5-9]*,yes)
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9093 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9095 # Check whether --with-aix-soname was given.
9096 if test "${with_aix_soname+set}" = set; then :
9097 withval=$with_aix_soname; case $withval in
9101 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9104 lt_cv_with_aix_soname=$with_aix_soname
9106 if ${lt_cv_with_aix_soname+:} false; then :
9107 $as_echo_n "(cached) " >&6
9109 lt_cv_with_aix_soname=aix
9112 with_aix_soname=$lt_cv_with_aix_soname
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9116 $as_echo "$with_aix_soname" >&6; }
9117 if test aix != "$with_aix_soname"; then
9118 # For the AIX way of multilib, we name the shared archive member
9119 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9120 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9121 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9122 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9123 if test 64 = "${OBJECT_MODE-32}"; then
9124 shared_archive_member_spec=shr_64
9126 shared_archive_member_spec=shr
9144 # This can be used to rebuild libtool when needed
9145 LIBTOOL_DEPS=$ltmain
9147 # Always use our own libtool.
9148 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9179 test -z "$LN_S" && LN_S="ln -s"
9194 if test -n "${ZSH_VERSION+set}"; then
9195 setopt NO_GLOB_SUBST
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9199 $as_echo_n "checking for objdir... " >&6; }
9200 if ${lt_cv_objdir+:} false; then :
9201 $as_echo_n "(cached) " >&6
9203 rm -f .libs 2>/dev/null
9204 mkdir .libs 2>/dev/null
9205 if test -d .libs; then
9208 # MS-DOS does not allow filenames that begin with a dot.
9211 rmdir .libs 2>/dev/null
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9214 $as_echo "$lt_cv_objdir" >&6; }
9215 objdir=$lt_cv_objdir
9221 cat >>confdefs.h <<_ACEOF
9222 #define LT_OBJDIR "$lt_cv_objdir/"
9230 # AIX sometimes has problems with the GCC collect2 program. For some
9231 # reason, if we set the COLLECT_NAMES environment variable, the problems
9232 # vanish in a puff of smoke.
9233 if test set != "${COLLECT_NAMES+set}"; then
9235 export COLLECT_NAMES
9242 can_build_shared=yes
9244 # All known linkers require a '.a' archive for static linking (except MSVC,
9245 # which needs '.lib').
9248 with_gnu_ld=$lt_cv_prog_gnu_ld
9253 # Set sane defaults for various variables
9254 test -z "$CC" && CC=cc
9255 test -z "$LTCC" && LTCC=$CC
9256 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9257 test -z "$LD" && LD=ld
9258 test -z "$ac_objext" && ac_objext=o
9260 func_cc_basename $compiler
9261 cc_basename=$func_cc_basename_result
9264 # Only perform the check for file, if the check method requires it
9265 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9266 case $deplibs_check_method in
9268 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9270 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9271 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9272 $as_echo_n "(cached) " >&6
9276 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9279 lt_save_MAGIC_CMD=$MAGIC_CMD
9280 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9281 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9282 for ac_dir in $ac_dummy; do
9284 test -z "$ac_dir" && ac_dir=.
9285 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9286 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9287 if test -n "$file_magic_test_file"; then
9288 case $deplibs_check_method in
9290 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9291 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9292 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9293 $EGREP "$file_magic_regex" > /dev/null; then
9298 *** Warning: the command libtool uses to detect shared libraries,
9299 *** $file_magic_cmd, produces output that libtool cannot recognize.
9300 *** The result is that libtool may fail to recognize shared libraries
9301 *** as such. This will affect the creation of libtool libraries that
9302 *** depend on shared libraries, but programs linked with such libtool
9303 *** libraries will work regardless of this problem. Nevertheless, you
9304 *** may want to report the problem to your system manager and/or to
9305 *** bug-libtool@gnu.org
9315 MAGIC_CMD=$lt_save_MAGIC_CMD
9320 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9321 if test -n "$MAGIC_CMD"; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9323 $as_echo "$MAGIC_CMD" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 $as_echo "no" >&6; }
9333 if test -z "$lt_cv_path_MAGIC_CMD"; then
9334 if test -n "$ac_tool_prefix"; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9336 $as_echo_n "checking for file... " >&6; }
9337 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9338 $as_echo_n "(cached) " >&6
9342 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9345 lt_save_MAGIC_CMD=$MAGIC_CMD
9346 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9347 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9348 for ac_dir in $ac_dummy; do
9350 test -z "$ac_dir" && ac_dir=.
9351 if test -f "$ac_dir/file"; then
9352 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9353 if test -n "$file_magic_test_file"; then
9354 case $deplibs_check_method in
9356 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9357 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9358 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9359 $EGREP "$file_magic_regex" > /dev/null; then
9364 *** Warning: the command libtool uses to detect shared libraries,
9365 *** $file_magic_cmd, produces output that libtool cannot recognize.
9366 *** The result is that libtool may fail to recognize shared libraries
9367 *** as such. This will affect the creation of libtool libraries that
9368 *** depend on shared libraries, but programs linked with such libtool
9369 *** libraries will work regardless of this problem. Nevertheless, you
9370 *** may want to report the problem to your system manager and/or to
9371 *** bug-libtool@gnu.org
9381 MAGIC_CMD=$lt_save_MAGIC_CMD
9386 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9387 if test -n "$MAGIC_CMD"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9389 $as_echo "$MAGIC_CMD" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9405 # Use C for the default configuration in the libtool script
9409 ac_cpp='$CPP $CPPFLAGS'
9410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9415 # Source file extension for C test sources.
9418 # Object file extension for compiled C test sources.
9422 # Code to be used in simple compile tests
9423 lt_simple_compile_test_code="int some_variable = 0;"
9425 # Code to be used in simple link tests
9426 lt_simple_link_test_code='int main(){return(0);}'
9434 # If no C compiler was specified, use CC.
9437 # If no C compiler flags were specified, use CFLAGS.
9438 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9440 # Allow CC to be a program name with arguments.
9443 # Save the default compiler, since it gets overwritten when the other
9444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9445 compiler_DEFAULT=$CC
9447 # save warnings/boilerplate of simple test code
9448 ac_outfile=conftest.$ac_objext
9449 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9451 _lt_compiler_boilerplate=`cat conftest.err`
9454 ac_outfile=conftest.$ac_objext
9455 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9457 _lt_linker_boilerplate=`cat conftest.err`
9462 ## There is no encapsulation within the following macros, do not change
9463 ## the running order or otherwise move them around unless you know exactly
9464 ## what you are doing...
9465 if test -n "$compiler"; then
9467 lt_prog_compiler_no_builtin_flag=
9469 if test yes = "$GCC"; then
9470 case $cc_basename in
9472 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9474 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9478 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9479 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9480 $as_echo_n "(cached) " >&6
9482 lt_cv_prog_compiler_rtti_exceptions=no
9483 ac_outfile=conftest.$ac_objext
9484 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9485 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9486 # Insert the option either (1) after the last *FLAGS variable, or
9487 # (2) before a word containing "conftest.", or (3) at the end.
9488 # Note that $ac_compile itself does not contain backslashes and begins
9489 # with a dollar sign (not a hyphen), so the echo should work correctly.
9490 # The option is referenced via a variable to avoid confusing sed.
9491 lt_compile=`echo "$ac_compile" | $SED \
9492 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9494 -e 's:$: $lt_compiler_flag:'`
9495 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9496 (eval "$lt_compile" 2>conftest.err)
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 if (exit $ac_status) && test -s "$ac_outfile"; then
9501 # The compiler can only warn and ignore the option if not recognized
9502 # So say no if there are warnings other than the usual output.
9503 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9505 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9506 lt_cv_prog_compiler_rtti_exceptions=yes
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9513 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9515 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9516 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9528 lt_prog_compiler_wl=
9529 lt_prog_compiler_pic=
9530 lt_prog_compiler_static=
9533 if test yes = "$GCC"; then
9534 lt_prog_compiler_wl='-Wl,'
9535 lt_prog_compiler_static='-static'
9539 # All AIX code is PIC.
9540 if test ia64 = "$host_cpu"; then
9541 # AIX 5 now supports IA64 processor
9542 lt_prog_compiler_static='-Bstatic'
9544 lt_prog_compiler_pic='-fPIC'
9550 # see comment about AmigaOS4 .so support
9551 lt_prog_compiler_pic='-fPIC'
9554 # FIXME: we need at least 68020 code to build shared libraries, but
9555 # adding the '-m68020' flag to GCC prevents building anything better,
9557 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9562 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9563 # PIC is the default for these OSes.
9566 mingw* | cygwin* | pw32* | os2* | cegcc*)
9567 # This hack is so that the source file can tell whether it is being
9568 # built for inclusion in a dll (and should export symbols for example).
9569 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9570 # (--disable-auto-import) libraries
9571 lt_prog_compiler_pic='-DDLL_EXPORT'
9574 lt_prog_compiler_static='$wl-static'
9579 darwin* | rhapsody*)
9580 # PIC is the default on this platform
9581 # Common symbols not allowed in MH_DYLIB files
9582 lt_prog_compiler_pic='-fno-common'
9586 # PIC is the default for Haiku.
9587 # The "-static" flag exists, but is broken.
9588 lt_prog_compiler_static=
9592 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9593 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9594 # sets the default TLS model and affects inlining.
9600 lt_prog_compiler_pic='-fPIC'
9606 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9607 # Instead, we relocate shared libraries at runtime.
9611 # Just because we use GCC doesn't mean we suddenly get shared libraries
9612 # on systems that don't support them.
9613 lt_prog_compiler_can_build_shared=no
9618 # QNX uses GNU C++, but need to define -shared option too, otherwise
9620 lt_prog_compiler_pic='-fPIC -shared'
9624 if test -d /usr/nec; then
9625 lt_prog_compiler_pic=-Kconform_pic
9630 lt_prog_compiler_pic='-fPIC'
9634 case $cc_basename in
9635 nvcc*) # Cuda Compiler Driver 2.2
9636 lt_prog_compiler_wl='-Xlinker '
9637 if test -n "$lt_prog_compiler_pic"; then
9638 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9643 # PORTME Check for flag to pass linker flags through the system compiler.
9646 lt_prog_compiler_wl='-Wl,'
9647 if test ia64 = "$host_cpu"; then
9648 # AIX 5 now supports IA64 processor
9649 lt_prog_compiler_static='-Bstatic'
9651 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9655 darwin* | rhapsody*)
9656 # PIC is the default on this platform
9657 # Common symbols not allowed in MH_DYLIB files
9658 lt_prog_compiler_pic='-fno-common'
9659 case $cc_basename in
9661 # NAG Fortran compiler
9662 lt_prog_compiler_wl='-Wl,-Wl,,'
9663 lt_prog_compiler_pic='-PIC'
9664 lt_prog_compiler_static='-Bstatic'
9669 mingw* | cygwin* | pw32* | os2* | cegcc*)
9670 # This hack is so that the source file can tell whether it is being
9671 # built for inclusion in a dll (and should export symbols for example).
9672 lt_prog_compiler_pic='-DDLL_EXPORT'
9675 lt_prog_compiler_static='$wl-static'
9680 hpux9* | hpux10* | hpux11*)
9681 lt_prog_compiler_wl='-Wl,'
9682 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9689 lt_prog_compiler_pic='+Z'
9692 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9693 lt_prog_compiler_static='$wl-a ${wl}archive'
9696 irix5* | irix6* | nonstopux*)
9697 lt_prog_compiler_wl='-Wl,'
9698 # PIC (with -KPIC) is the default.
9699 lt_prog_compiler_static='-non_shared'
9702 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9703 case $cc_basename in
9704 # old Intel for x86_64, which still supported -KPIC.
9706 lt_prog_compiler_wl='-Wl,'
9707 lt_prog_compiler_pic='-KPIC'
9708 lt_prog_compiler_static='-static'
9710 # icc used to be incompatible with GCC.
9711 # ICC 10 doesn't accept -KPIC any more.
9713 lt_prog_compiler_wl='-Wl,'
9714 lt_prog_compiler_pic='-fPIC'
9715 lt_prog_compiler_static='-static'
9717 # Lahey Fortran 8.1.
9719 lt_prog_compiler_wl='-Wl,'
9720 lt_prog_compiler_pic='--shared'
9721 lt_prog_compiler_static='--static'
9724 # NAG Fortran compiler
9725 lt_prog_compiler_wl='-Wl,-Wl,,'
9726 lt_prog_compiler_pic='-PIC'
9727 lt_prog_compiler_static='-Bstatic'
9730 # Fabrice Bellard et al's Tiny C Compiler
9731 lt_prog_compiler_wl='-Wl,'
9732 lt_prog_compiler_pic='-fPIC'
9733 lt_prog_compiler_static='-static'
9735 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9736 # Portland Group compilers (*not* the Pentium gcc compiler,
9737 # which looks to be a dead project)
9738 lt_prog_compiler_wl='-Wl,'
9739 lt_prog_compiler_pic='-fpic'
9740 lt_prog_compiler_static='-Bstatic'
9743 lt_prog_compiler_wl='-Wl,'
9744 # All Alpha code is PIC.
9745 lt_prog_compiler_static='-non_shared'
9747 xl* | bgxl* | bgf* | mpixl*)
9748 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9749 lt_prog_compiler_wl='-Wl,'
9750 lt_prog_compiler_pic='-qpic'
9751 lt_prog_compiler_static='-qstaticlink'
9754 case `$CC -V 2>&1 | sed 5q` in
9755 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9756 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9757 lt_prog_compiler_pic='-KPIC'
9758 lt_prog_compiler_static='-Bstatic'
9759 lt_prog_compiler_wl=''
9761 *Sun\ F* | *Sun*Fortran*)
9762 lt_prog_compiler_pic='-KPIC'
9763 lt_prog_compiler_static='-Bstatic'
9764 lt_prog_compiler_wl='-Qoption ld '
9768 lt_prog_compiler_pic='-KPIC'
9769 lt_prog_compiler_static='-Bstatic'
9770 lt_prog_compiler_wl='-Wl,'
9772 *Intel*\ [CF]*Compiler*)
9773 lt_prog_compiler_wl='-Wl,'
9774 lt_prog_compiler_pic='-fPIC'
9775 lt_prog_compiler_static='-static'
9778 lt_prog_compiler_wl='-Wl,'
9779 lt_prog_compiler_pic='-fpic'
9780 lt_prog_compiler_static='-Bstatic'
9788 lt_prog_compiler_pic='-KPIC'
9789 lt_prog_compiler_static='-Bstatic'
9793 # QNX uses GNU C++, but need to define -shared option too, otherwise
9795 lt_prog_compiler_pic='-fPIC -shared'
9798 osf3* | osf4* | osf5*)
9799 lt_prog_compiler_wl='-Wl,'
9800 # All OSF/1 code is PIC.
9801 lt_prog_compiler_static='-non_shared'
9805 lt_prog_compiler_static='-non_shared'
9809 lt_prog_compiler_pic='-KPIC'
9810 lt_prog_compiler_static='-Bstatic'
9811 case $cc_basename in
9812 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9813 lt_prog_compiler_wl='-Qoption ld ';;
9815 lt_prog_compiler_wl='-Wl,';;
9820 lt_prog_compiler_wl='-Qoption ld '
9821 lt_prog_compiler_pic='-PIC'
9822 lt_prog_compiler_static='-Bstatic'
9825 sysv4 | sysv4.2uw2* | sysv4.3*)
9826 lt_prog_compiler_wl='-Wl,'
9827 lt_prog_compiler_pic='-KPIC'
9828 lt_prog_compiler_static='-Bstatic'
9832 if test -d /usr/nec; then
9833 lt_prog_compiler_pic='-Kconform_pic'
9834 lt_prog_compiler_static='-Bstatic'
9838 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9839 lt_prog_compiler_wl='-Wl,'
9840 lt_prog_compiler_pic='-KPIC'
9841 lt_prog_compiler_static='-Bstatic'
9845 lt_prog_compiler_wl='-Wl,'
9846 lt_prog_compiler_can_build_shared=no
9850 lt_prog_compiler_pic='-pic'
9851 lt_prog_compiler_static='-Bstatic'
9855 lt_prog_compiler_can_build_shared=no
9861 # For platforms that do not support PIC, -DPIC is meaningless:
9863 lt_prog_compiler_pic=
9866 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9871 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9872 if ${lt_cv_prog_compiler_pic+:} false; then :
9873 $as_echo_n "(cached) " >&6
9875 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9878 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9879 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9882 # Check to make sure the PIC flag actually works.
9884 if test -n "$lt_prog_compiler_pic"; then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9886 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9887 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9888 $as_echo_n "(cached) " >&6
9890 lt_cv_prog_compiler_pic_works=no
9891 ac_outfile=conftest.$ac_objext
9892 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9893 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9894 # Insert the option either (1) after the last *FLAGS variable, or
9895 # (2) before a word containing "conftest.", or (3) at the end.
9896 # Note that $ac_compile itself does not contain backslashes and begins
9897 # with a dollar sign (not a hyphen), so the echo should work correctly.
9898 # The option is referenced via a variable to avoid confusing sed.
9899 lt_compile=`echo "$ac_compile" | $SED \
9900 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9901 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9902 -e 's:$: $lt_compiler_flag:'`
9903 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9904 (eval "$lt_compile" 2>conftest.err)
9906 cat conftest.err >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 if (exit $ac_status) && test -s "$ac_outfile"; then
9909 # The compiler can only warn and ignore the option if not recognized
9910 # So say no if there are warnings other than the usual output.
9911 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9912 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9913 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9914 lt_cv_prog_compiler_pic_works=yes
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9921 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9923 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9924 case $lt_prog_compiler_pic in
9926 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9929 lt_prog_compiler_pic=
9930 lt_prog_compiler_can_build_shared=no
9946 # Check to make sure the static flag actually works.
9948 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9950 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9951 if ${lt_cv_prog_compiler_static_works+:} false; then :
9952 $as_echo_n "(cached) " >&6
9954 lt_cv_prog_compiler_static_works=no
9955 save_LDFLAGS=$LDFLAGS
9956 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9957 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9958 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9959 # The linker can only warn and ignore the option if not recognized
9960 # So say no if there are warnings
9961 if test -s conftest.err; then
9962 # Append any errors to the config.log.
9963 cat conftest.err 1>&5
9964 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9965 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9966 if diff conftest.exp conftest.er2 >/dev/null; then
9967 lt_cv_prog_compiler_static_works=yes
9970 lt_cv_prog_compiler_static_works=yes
9974 LDFLAGS=$save_LDFLAGS
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9978 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9980 if test yes = "$lt_cv_prog_compiler_static_works"; then
9983 lt_prog_compiler_static=
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9993 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9994 if ${lt_cv_prog_compiler_c_o+:} false; then :
9995 $as_echo_n "(cached) " >&6
9997 lt_cv_prog_compiler_c_o=no
9998 $RM -r conftest 2>/dev/null
10002 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10004 lt_compiler_flag="-o out/conftest2.$ac_objext"
10005 # Insert the option either (1) after the last *FLAGS variable, or
10006 # (2) before a word containing "conftest.", or (3) at the end.
10007 # Note that $ac_compile itself does not contain backslashes and begins
10008 # with a dollar sign (not a hyphen), so the echo should work correctly.
10009 lt_compile=`echo "$ac_compile" | $SED \
10010 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10011 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10012 -e 's:$: $lt_compiler_flag:'`
10013 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10014 (eval "$lt_compile" 2>out/conftest.err)
10016 cat out/conftest.err >&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10020 # The compiler can only warn and ignore the option if not recognized
10021 # So say no if there are warnings
10022 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10023 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10024 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10025 lt_cv_prog_compiler_c_o=yes
10030 # SGI C++ compiler will create directory out/ii_files/ for
10031 # template instantiation
10032 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10033 $RM out/* && rmdir out
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10040 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10048 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10049 if ${lt_cv_prog_compiler_c_o+:} false; then :
10050 $as_echo_n "(cached) " >&6
10052 lt_cv_prog_compiler_c_o=no
10053 $RM -r conftest 2>/dev/null
10057 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10059 lt_compiler_flag="-o out/conftest2.$ac_objext"
10060 # Insert the option either (1) after the last *FLAGS variable, or
10061 # (2) before a word containing "conftest.", or (3) at the end.
10062 # Note that $ac_compile itself does not contain backslashes and begins
10063 # with a dollar sign (not a hyphen), so the echo should work correctly.
10064 lt_compile=`echo "$ac_compile" | $SED \
10065 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10066 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10067 -e 's:$: $lt_compiler_flag:'`
10068 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10069 (eval "$lt_compile" 2>out/conftest.err)
10071 cat out/conftest.err >&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10075 # The compiler can only warn and ignore the option if not recognized
10076 # So say no if there are warnings
10077 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10078 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10079 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10080 lt_cv_prog_compiler_c_o=yes
10085 # SGI C++ compiler will create directory out/ii_files/ for
10086 # template instantiation
10087 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10088 $RM out/* && rmdir out
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10095 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10100 hard_links=nottested
10101 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10102 # do not overwrite the value of need_locks provided by the user
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10104 $as_echo_n "checking if we can lock with hard links... " >&6; }
10107 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10109 ln conftest.a conftest.b 2>&5 || hard_links=no
10110 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10112 $as_echo "$hard_links" >&6; }
10113 if test no = "$hard_links"; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10115 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10131 allow_undefined_flag=
10132 always_export_symbols=no
10134 archive_expsym_cmds=
10135 compiler_needs_object=no
10136 enable_shared_with_static_runtimes=no
10137 export_dynamic_flag_spec=
10138 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10139 hardcode_automatic=no
10141 hardcode_direct_absolute=no
10142 hardcode_libdir_flag_spec=
10143 hardcode_libdir_separator=
10144 hardcode_minus_L=no
10145 hardcode_shlibpath_var=unsupported
10147 link_all_deplibs=unknown
10149 module_expsym_cmds=
10150 old_archive_from_new_cmds=
10151 old_archive_from_expsyms_cmds=
10152 thread_safe_flag_spec=
10153 whole_archive_flag_spec=
10154 # include_expsyms should be a list of space-separated symbols to be *always*
10155 # included in the symbol list
10157 # exclude_expsyms can be an extended regexp of symbols to exclude
10158 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10159 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10160 # as well as any symbol that contains 'd'.
10161 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10162 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10163 # platforms (ab)use it in PIC code, but their linkers get confused if
10164 # the symbol is explicitly referenced. Since portable code cannot
10165 # rely on this symbol name, it's probably fine to never include it in
10166 # preloaded symbol tables.
10167 # Exclude shared library initialization/finalization symbols.
10168 extract_expsyms_cmds=
10171 cygwin* | mingw* | pw32* | cegcc*)
10172 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10173 # When not using gcc, we currently assume that we are using
10174 # Microsoft Visual C++.
10175 if test yes != "$GCC"; then
10180 # we just hope/assume this is gcc and not c89 (= MSVC++)
10183 openbsd* | bitrig*)
10186 linux* | k*bsd*-gnu | gnu*)
10187 link_all_deplibs=no
10193 # On some targets, GNU ld is compatible enough with the native linker
10194 # that we're better off using the native interface for both.
10195 lt_use_gnu_ld_interface=no
10196 if test yes = "$with_gnu_ld"; then
10199 # The AIX port of GNU ld has always aspired to compatibility
10200 # with the native linker. However, as the warning in the GNU ld
10201 # block says, versions before 2.19.5* couldn't really create working
10202 # shared libraries, regardless of the interface used.
10203 case `$LD -v 2>&1` in
10204 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10205 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10206 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10208 lt_use_gnu_ld_interface=yes
10213 lt_use_gnu_ld_interface=yes
10218 if test yes = "$lt_use_gnu_ld_interface"; then
10219 # If archive_cmds runs LD, not CC, wlarc should be empty
10222 # Set some defaults for GNU ld with shared library support. These
10223 # are reset later if shared libraries are not supported. Putting them
10224 # here allows them to be overridden if necessary.
10225 runpath_var=LD_RUN_PATH
10226 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10227 export_dynamic_flag_spec='$wl--export-dynamic'
10228 # ancient GNU ld didn't support --whole-archive et. al.
10229 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10230 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10232 whole_archive_flag_spec=
10234 supports_anon_versioning=no
10235 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10236 *GNU\ gold*) supports_anon_versioning=yes ;;
10237 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10238 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10239 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10240 *\ 2.11.*) ;; # other 2.11 versions
10241 *) supports_anon_versioning=yes ;;
10244 # See if GNU ld supports shared libraries.
10247 # On AIX/PPC, the GNU linker is very broken
10248 if test ia64 != "$host_cpu"; then
10252 *** Warning: the GNU linker, at least up to release 2.19, is reported
10253 *** to be unable to reliably create shared libraries on AIX.
10254 *** Therefore, libtool is disabling shared libraries support. If you
10255 *** really care for shared libraries, you may want to install binutils
10256 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10257 *** You will then need to restart the configuration process.
10266 # see comment about AmigaOS4 .so support
10267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10268 archive_expsym_cmds=''
10271 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)'
10272 hardcode_libdir_flag_spec='-L$libdir'
10273 hardcode_minus_L=yes
10279 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10280 allow_undefined_flag=unsupported
10281 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10282 # support --undefined. This deserves some investigation. FIXME
10283 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10289 cygwin* | mingw* | pw32* | cegcc*)
10290 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10291 # as there is no search path for DLLs.
10292 hardcode_libdir_flag_spec='-L$libdir'
10293 export_dynamic_flag_spec='$wl--export-all-symbols'
10294 allow_undefined_flag=unsupported
10295 always_export_symbols=no
10296 enable_shared_with_static_runtimes=yes
10297 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'
10298 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10300 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10302 # If the export-symbols file already is a .def file, use it as
10303 # is; otherwise, prepend EXPORTS...
10304 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10305 cp $export_symbols $output_objdir/$soname.def;
10307 echo EXPORTS > $output_objdir/$soname.def;
10308 cat $export_symbols >> $output_objdir/$soname.def;
10310 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10318 link_all_deplibs=yes
10322 hardcode_libdir_flag_spec='-L$libdir'
10323 hardcode_minus_L=yes
10324 allow_undefined_flag=unsupported
10326 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10327 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10328 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10329 $ECHO EXPORTS >> $output_objdir/$libname.def~
10330 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10331 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10332 emximp -o $lib $output_objdir/$libname.def'
10333 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10334 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10335 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10336 $ECHO EXPORTS >> $output_objdir/$libname.def~
10337 prefix_cmds="$SED"~
10338 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10339 prefix_cmds="$prefix_cmds -e 1d";
10341 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10342 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10343 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10344 emximp -o $lib $output_objdir/$libname.def'
10345 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10346 enable_shared_with_static_runtimes=yes
10351 hardcode_shlibpath_var=no
10352 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10353 export_dynamic_flag_spec='$wl-E'
10354 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10355 # Instead, shared libraries are loaded at an image base (0x10000000 by
10356 # default) and relocated if they conflict, which is a slow very memory
10357 # consuming and fragmenting process. To avoid this, we pick a random,
10358 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10359 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10360 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10361 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'
10364 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10366 if test linux-dietlibc = "$host_os"; then
10367 case $cc_basename in
10368 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10371 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10372 && test no = "$tmp_diet"
10374 tmp_addflag=' $pic_flag'
10375 tmp_sharedflag='-shared'
10376 case $cc_basename,$host_cpu in
10377 pgcc*) # Portland Group C compiler
10378 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'
10379 tmp_addflag=' $pic_flag'
10381 pgf77* | pgf90* | pgf95* | pgfortran*)
10382 # Portland Group f77 and f90 compilers
10383 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'
10384 tmp_addflag=' $pic_flag -Mnomain' ;;
10385 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10386 tmp_addflag=' -i_dynamic' ;;
10387 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10388 tmp_addflag=' -i_dynamic -nofor_main' ;;
10389 ifc* | ifort*) # Intel Fortran compiler
10390 tmp_addflag=' -nofor_main' ;;
10391 lf95*) # Lahey Fortran 8.1
10392 whole_archive_flag_spec=
10393 tmp_sharedflag='--shared' ;;
10394 nagfor*) # NAGFOR 5.3
10395 tmp_sharedflag='-Wl,-shared' ;;
10396 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10397 tmp_sharedflag='-qmkshrobj'
10399 nvcc*) # Cuda Compiler Driver 2.2
10400 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'
10401 compiler_needs_object=yes
10404 case `$CC -V 2>&1 | sed 5q` in
10405 *Sun\ C*) # Sun C 5.9
10406 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'
10407 compiler_needs_object=yes
10408 tmp_sharedflag='-G' ;;
10409 *Sun\ F*) # Sun Fortran 8.3
10410 tmp_sharedflag='-G' ;;
10412 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10414 if test yes = "$supports_anon_versioning"; then
10415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10417 echo "local: *; };" >> $output_objdir/$libname.ver~
10418 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10421 case $cc_basename in
10423 export_dynamic_flag_spec='-rdynamic'
10425 xlf* | bgf* | bgxlf* | mpixlf*)
10426 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10427 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10428 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10429 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10430 if test yes = "$supports_anon_versioning"; then
10431 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10432 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10433 echo "local: *; };" >> $output_objdir/$libname.ver~
10434 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10443 netbsd* | netbsdelf*-gnu)
10444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10445 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10448 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10449 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10454 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10458 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10459 *** create shared libraries on Solaris systems. Therefore, libtool
10460 *** is disabling shared libraries support. We urge you to upgrade GNU
10461 *** binutils to release 2.9.1 or newer. Another option is to modify
10462 *** your PATH or compiler configuration so that the native linker is
10463 *** used, and then restart.
10466 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10467 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10468 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10474 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10475 case `$LD -v 2>&1` in
10476 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10480 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10481 *** reliably create shared libraries on SCO systems. Therefore, libtool
10482 *** is disabling shared libraries support. We urge you to upgrade GNU
10483 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10484 *** your PATH or compiler configuration so that the native linker is
10485 *** used, and then restart.
10490 # For security reasons, it is highly recommended that you always
10491 # use absolute paths for naming shared libraries, and exclude the
10492 # DT_RUNPATH tag from executables and libraries. But doing so
10493 # requires that you compile everything twice, which is a pain.
10494 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10495 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10506 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10508 hardcode_direct=yes
10509 hardcode_shlibpath_var=no
10513 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10514 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10515 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10522 if test no = "$ld_shlibs"; then
10524 hardcode_libdir_flag_spec=
10525 export_dynamic_flag_spec=
10526 whole_archive_flag_spec=
10529 # PORTME fill in a description of your system's linker (not GNU ld)
10532 allow_undefined_flag=unsupported
10533 always_export_symbols=yes
10534 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'
10535 # Note: this linker hardcodes the directories in LIBPATH if there
10536 # are no directories specified by -L.
10537 hardcode_minus_L=yes
10538 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10539 # Neither direct hardcoding nor static linking is supported with a
10541 hardcode_direct=unsupported
10546 if test ia64 = "$host_cpu"; then
10547 # On IA64, the linker does run time linking by default, so we don't
10548 # have to do anything special.
10549 aix_use_runtimelinking=no
10550 exp_sym_flag='-Bexport'
10553 # If we're using GNU nm, then we don't want the "-C" option.
10554 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10555 # Without the "-l" option, or with the "-B" option, AIX nm treats
10556 # weak defined symbols like other global defined symbols, whereas
10557 # GNU nm marks them as "W".
10558 # While the 'weak' keyword is ignored in the Export File, we need
10559 # it in the Import File for the 'aix-soname' feature, so we have
10560 # to replace the "-B" option with "-P" for AIX nm.
10561 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10562 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10564 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10566 aix_use_runtimelinking=no
10568 # Test if we are trying to use run time linking or normal
10569 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10570 # have runtime linking enabled, and use it for executables.
10571 # For shared libraries, we enable/disable runtime linking
10572 # depending on the kind of the shared library created -
10573 # when "with_aix_soname,aix_use_runtimelinking" is:
10574 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10575 # "aix,yes" lib.so shared, rtl:yes, for executables
10576 # lib.a static archive
10577 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10578 # lib.a(lib.so.V) shared, rtl:no, for executables
10579 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10580 # lib.a(lib.so.V) shared, rtl:no
10581 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10582 # lib.a static archive
10583 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10584 for ld_flag in $LDFLAGS; do
10585 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10586 aix_use_runtimelinking=yes
10590 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10591 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10592 # so we don't have lib.a shared libs to link our executables.
10593 # We have to force runtime linking in this case.
10594 aix_use_runtimelinking=yes
10595 LDFLAGS="$LDFLAGS -Wl,-brtl"
10600 exp_sym_flag='-bexport'
10601 no_entry_flag='-bnoentry'
10604 # When large executables or shared objects are built, AIX ld can
10605 # have problems creating the table of contents. If linking a library
10606 # or program results in "error TOC overflow" add -mminimal-toc to
10607 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10608 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10611 hardcode_direct=yes
10612 hardcode_direct_absolute=yes
10613 hardcode_libdir_separator=':'
10614 link_all_deplibs=yes
10615 file_list_spec='$wl-f,'
10616 case $with_aix_soname,$aix_use_runtimelinking in
10617 aix,*) ;; # traditional, no import file
10618 svr4,* | *,yes) # use import file
10619 # The Import File defines what to hardcode.
10621 hardcode_direct_absolute=no
10625 if test yes = "$GCC"; then
10626 case $host_os in aix4.[012]|aix4.[012].*)
10627 # We only want to do this on AIX 4.2 and lower, the check
10628 # below for broken collect2 doesn't work under 4.3+
10629 collect2name=`$CC -print-prog-name=collect2`
10630 if test -f "$collect2name" &&
10631 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10633 # We have reworked collect2
10636 # We have old collect2
10637 hardcode_direct=unsupported
10638 # It fails to find uninstalled libraries when the uninstalled
10639 # path is not listed in the libpath. Setting hardcode_minus_L
10640 # to unsupported forces relinking
10641 hardcode_minus_L=yes
10642 hardcode_libdir_flag_spec='-L$libdir'
10643 hardcode_libdir_separator=
10647 shared_flag='-shared'
10648 if test yes = "$aix_use_runtimelinking"; then
10649 shared_flag="$shared_flag "'$wl-G'
10651 # Need to ensure runtime linking is disabled for the traditional
10652 # shared library, or the linker may eventually find shared libraries
10653 # /with/ Import File - we do not want to mix them.
10654 shared_flag_aix='-shared'
10655 shared_flag_svr4='-shared $wl-G'
10658 if test ia64 = "$host_cpu"; then
10659 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10660 # chokes on -Wl,-G. The following line is correct:
10663 if test yes = "$aix_use_runtimelinking"; then
10664 shared_flag='$wl-G'
10666 shared_flag='$wl-bM:SRE'
10668 shared_flag_aix='$wl-bM:SRE'
10669 shared_flag_svr4='$wl-G'
10673 export_dynamic_flag_spec='$wl-bexpall'
10674 # It seems that -bexpall does not export symbols beginning with
10675 # underscore (_), so it is better to generate a list of symbols to export.
10676 always_export_symbols=yes
10677 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10678 # Warning - without using the other runtime loading flags (-brtl),
10679 # -berok will link without error, but may produce a broken library.
10680 allow_undefined_flag='-berok'
10681 # Determine the default libpath from the value encoded in an
10682 # empty executable.
10683 if test set = "${lt_cv_aix_libpath+set}"; then
10684 aix_libpath=$lt_cv_aix_libpath
10686 if ${lt_cv_aix_libpath_+:} false; then :
10687 $as_echo_n "(cached) " >&6
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10700 if ac_fn_c_try_link "$LINENO"; then :
10702 lt_aix_libpath_sed='
10703 /Import File Strings/,/^$/ {
10705 s/^0 *\([^ ]*\) *$/\1/
10709 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10710 # Check for a 64-bit object if we didn't find anything.
10711 if test -z "$lt_cv_aix_libpath_"; then
10712 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 if test -z "$lt_cv_aix_libpath_"; then
10718 lt_cv_aix_libpath_=/usr/lib:/lib
10723 aix_libpath=$lt_cv_aix_libpath_
10726 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10727 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10729 if test ia64 = "$host_cpu"; then
10730 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10731 allow_undefined_flag="-z nodefs"
10732 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"
10734 # Determine the default libpath from the value encoded in an
10735 # empty executable.
10736 if test set = "${lt_cv_aix_libpath+set}"; then
10737 aix_libpath=$lt_cv_aix_libpath
10739 if ${lt_cv_aix_libpath_+:} false; then :
10740 $as_echo_n "(cached) " >&6
10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10753 if ac_fn_c_try_link "$LINENO"; then :
10755 lt_aix_libpath_sed='
10756 /Import File Strings/,/^$/ {
10758 s/^0 *\([^ ]*\) *$/\1/
10762 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10763 # Check for a 64-bit object if we didn't find anything.
10764 if test -z "$lt_cv_aix_libpath_"; then
10765 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10768 rm -f core conftest.err conftest.$ac_objext \
10769 conftest$ac_exeext conftest.$ac_ext
10770 if test -z "$lt_cv_aix_libpath_"; then
10771 lt_cv_aix_libpath_=/usr/lib:/lib
10776 aix_libpath=$lt_cv_aix_libpath_
10779 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10780 # Warning - without using the other run time loading flags,
10781 # -berok will link without error, but may produce a broken library.
10782 no_undefined_flag=' $wl-bernotok'
10783 allow_undefined_flag=' $wl-berok'
10784 if test yes = "$with_gnu_ld"; then
10785 # We only use this code for GNU lds that support --whole-archive.
10786 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10788 # Exported symbols can be pulled into shared objects from archives
10789 whole_archive_flag_spec='$convenience'
10791 archive_cmds_need_lc=yes
10792 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10793 # -brtl affects multiple linker settings, -berok does not and is overridden later
10794 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10795 if test svr4 != "$with_aix_soname"; then
10796 # This is similar to how AIX traditionally builds its shared libraries.
10797 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10799 if test aix != "$with_aix_soname"; then
10800 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10802 # used by -dlpreopen to get the symbols
10803 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10805 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10813 # see comment about AmigaOS4 .so support
10814 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10815 archive_expsym_cmds=''
10818 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)'
10819 hardcode_libdir_flag_spec='-L$libdir'
10820 hardcode_minus_L=yes
10826 export_dynamic_flag_spec=-rdynamic
10829 cygwin* | mingw* | pw32* | cegcc*)
10830 # When not using gcc, we currently assume that we are using
10831 # Microsoft Visual C++.
10832 # hardcode_libdir_flag_spec is actually meaningless, as there is
10833 # no search path for DLLs.
10834 case $cc_basename in
10837 hardcode_libdir_flag_spec=' '
10838 allow_undefined_flag=unsupported
10839 always_export_symbols=yes
10841 # Tell ltmain to make .lib files, not .a files.
10843 # Tell ltmain to make .dll files, not .so files.
10845 # FIXME: Setting linknames here is a bad hack.
10846 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10847 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10848 cp "$export_symbols" "$output_objdir/$soname.def";
10849 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10851 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10853 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10855 # The linker will not automatically build a static lib if we build a DLL.
10856 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10857 enable_shared_with_static_runtimes=yes
10858 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10859 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10861 old_postinstall_cmds='chmod 644 $oldlib'
10862 postlink_cmds='lt_outputfile="@OUTPUT@"~
10863 lt_tool_outputfile="@TOOL_OUTPUT@"~
10864 case $lt_outputfile in
10867 lt_outputfile=$lt_outputfile.exe
10868 lt_tool_outputfile=$lt_tool_outputfile.exe
10871 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10872 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10873 $RM "$lt_outputfile.manifest";
10877 # Assume MSVC wrapper
10878 hardcode_libdir_flag_spec=' '
10879 allow_undefined_flag=unsupported
10880 # Tell ltmain to make .lib files, not .a files.
10882 # Tell ltmain to make .dll files, not .so files.
10884 # FIXME: Setting linknames here is a bad hack.
10885 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10886 # The linker will automatically build a .lib file if we build a DLL.
10887 old_archive_from_new_cmds='true'
10888 # FIXME: Should let the user specify the lib program.
10889 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10890 enable_shared_with_static_runtimes=yes
10895 darwin* | rhapsody*)
10898 archive_cmds_need_lc=no
10900 hardcode_automatic=yes
10901 hardcode_shlibpath_var=unsupported
10902 if test yes = "$lt_cv_ld_force_load"; then
10903 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\"`'
10906 whole_archive_flag_spec=''
10908 link_all_deplibs=yes
10909 allow_undefined_flag=$_lt_dar_allow_undefined
10910 case $cc_basename in
10911 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10912 *) _lt_dar_can_shared=$GCC ;;
10914 if test yes = "$_lt_dar_can_shared"; then
10915 output_verbose_link_cmd=func_echo_all
10916 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10917 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10918 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"
10919 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"
10928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10929 hardcode_libdir_flag_spec='-L$libdir'
10930 hardcode_shlibpath_var=no
10933 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10934 # support. Future versions do this automatically, but an explicit c++rt0.o
10935 # does not break anything, and helps significantly (at the cost of a little
10938 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10939 hardcode_libdir_flag_spec='-R$libdir'
10940 hardcode_direct=yes
10941 hardcode_shlibpath_var=no
10944 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10946 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10947 hardcode_direct=yes
10948 hardcode_minus_L=yes
10949 hardcode_shlibpath_var=no
10952 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10953 freebsd* | dragonfly*)
10954 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10955 hardcode_libdir_flag_spec='-R$libdir'
10956 hardcode_direct=yes
10957 hardcode_shlibpath_var=no
10961 if test yes = "$GCC"; then
10962 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10964 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10966 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10967 hardcode_libdir_separator=:
10968 hardcode_direct=yes
10970 # hardcode_minus_L: Not really in the search PATH,
10971 # but as the default location of the library.
10972 hardcode_minus_L=yes
10973 export_dynamic_flag_spec='$wl-E'
10977 if test yes,no = "$GCC,$with_gnu_ld"; then
10978 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10982 if test no = "$with_gnu_ld"; then
10983 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10984 hardcode_libdir_separator=:
10985 hardcode_direct=yes
10986 hardcode_direct_absolute=yes
10987 export_dynamic_flag_spec='$wl-E'
10988 # hardcode_minus_L: Not really in the search PATH,
10989 # but as the default location of the library.
10990 hardcode_minus_L=yes
10995 if test yes,no = "$GCC,$with_gnu_ld"; then
10998 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11001 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11004 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11013 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11017 # Older versions of the 11.00 compiler do not understand -b yet
11018 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11020 $as_echo_n "checking if $CC understands -b... " >&6; }
11021 if ${lt_cv_prog_compiler__b+:} false; then :
11022 $as_echo_n "(cached) " >&6
11024 lt_cv_prog_compiler__b=no
11025 save_LDFLAGS=$LDFLAGS
11026 LDFLAGS="$LDFLAGS -b"
11027 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11028 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11029 # The linker can only warn and ignore the option if not recognized
11030 # So say no if there are warnings
11031 if test -s conftest.err; then
11032 # Append any errors to the config.log.
11033 cat conftest.err 1>&5
11034 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11035 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11036 if diff conftest.exp conftest.er2 >/dev/null; then
11037 lt_cv_prog_compiler__b=yes
11040 lt_cv_prog_compiler__b=yes
11044 LDFLAGS=$save_LDFLAGS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11048 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11050 if test yes = "$lt_cv_prog_compiler__b"; then
11051 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11053 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11059 if test no = "$with_gnu_ld"; then
11060 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11061 hardcode_libdir_separator=:
11066 hardcode_shlibpath_var=no
11069 hardcode_direct=yes
11070 hardcode_direct_absolute=yes
11071 export_dynamic_flag_spec='$wl-E'
11073 # hardcode_minus_L: Not really in the search PATH,
11074 # but as the default location of the library.
11075 hardcode_minus_L=yes
11081 irix5* | irix6* | nonstopux*)
11082 if test yes = "$GCC"; then
11083 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'
11084 # Try to use the -exported_symbol ld option, if it does not
11085 # work, assume that -exports_file does not work either and
11086 # implicitly export all symbols.
11087 # This should be the same for all languages, so no per-tag cache variable.
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11089 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11090 if ${lt_cv_irix_exported_symbol+:} false; then :
11091 $as_echo_n "(cached) " >&6
11093 save_LDFLAGS=$LDFLAGS
11094 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 int foo (void) { return 0; }
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 lt_cv_irix_exported_symbol=yes
11102 lt_cv_irix_exported_symbol=no
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11106 LDFLAGS=$save_LDFLAGS
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11109 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11110 if test yes = "$lt_cv_irix_exported_symbol"; then
11111 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'
11113 link_all_deplibs=no
11115 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'
11116 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'
11118 archive_cmds_need_lc='no'
11119 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11120 hardcode_libdir_separator=:
11122 link_all_deplibs=yes
11126 case $cc_basename in
11128 # Fabrice Bellard et al's Tiny C Compiler
11130 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11135 netbsd* | netbsdelf*-gnu)
11136 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11137 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11139 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11141 hardcode_libdir_flag_spec='-R$libdir'
11142 hardcode_direct=yes
11143 hardcode_shlibpath_var=no
11147 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11148 hardcode_direct=yes
11149 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11150 hardcode_libdir_separator=:
11151 hardcode_shlibpath_var=no
11157 openbsd* | bitrig*)
11158 if test -f /usr/libexec/ld.so; then
11159 hardcode_direct=yes
11160 hardcode_shlibpath_var=no
11161 hardcode_direct_absolute=yes
11162 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11163 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11164 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11165 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11166 export_dynamic_flag_spec='$wl-E'
11168 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11169 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11177 hardcode_libdir_flag_spec='-L$libdir'
11178 hardcode_minus_L=yes
11179 allow_undefined_flag=unsupported
11181 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11182 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11183 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11184 $ECHO EXPORTS >> $output_objdir/$libname.def~
11185 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11186 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11187 emximp -o $lib $output_objdir/$libname.def'
11188 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11189 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11190 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11191 $ECHO EXPORTS >> $output_objdir/$libname.def~
11192 prefix_cmds="$SED"~
11193 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11194 prefix_cmds="$prefix_cmds -e 1d";
11196 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11197 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11198 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11199 emximp -o $lib $output_objdir/$libname.def'
11200 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11201 enable_shared_with_static_runtimes=yes
11205 if test yes = "$GCC"; then
11206 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11207 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'
11209 allow_undefined_flag=' -expect_unresolved \*'
11210 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'
11212 archive_cmds_need_lc='no'
11213 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11214 hardcode_libdir_separator=:
11217 osf4* | osf5*) # as osf3* with the addition of -msym flag
11218 if test yes = "$GCC"; then
11219 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11220 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'
11221 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11223 allow_undefined_flag=' -expect_unresolved \*'
11224 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'
11225 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~
11226 $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'
11228 # Both c and cxx compiler support -rpath directly
11229 hardcode_libdir_flag_spec='-rpath $libdir'
11231 archive_cmds_need_lc='no'
11232 hardcode_libdir_separator=:
11236 no_undefined_flag=' -z defs'
11237 if test yes = "$GCC"; then
11239 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11240 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11241 $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'
11243 case `$CC -V 2>&1` in
11246 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11247 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11248 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11252 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11253 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11254 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11258 hardcode_libdir_flag_spec='-R$libdir'
11259 hardcode_shlibpath_var=no
11261 solaris2.[0-5] | solaris2.[0-5].*) ;;
11263 # The compiler driver will combine and reorder linker options,
11264 # but understands '-z linker_flag'. GCC discards it without '$wl',
11265 # but is careful enough not to reorder.
11266 # Supported since Solaris 2.6 (maybe 2.5.1?)
11267 if test yes = "$GCC"; then
11268 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11270 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11274 link_all_deplibs=yes
11278 if test sequent = "$host_vendor"; then
11279 # Use $CC to link under sequent, because it throws in some extra .o
11280 # files that make .init and .fini sections work.
11281 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11283 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11285 hardcode_libdir_flag_spec='-L$libdir'
11286 hardcode_direct=yes
11287 hardcode_minus_L=yes
11288 hardcode_shlibpath_var=no
11292 case $host_vendor in
11294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11295 hardcode_direct=yes # is this really true???
11298 ## LD is ld it makes a PLAMLIB
11299 ## CC just makes a GrossModule.
11300 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11301 reload_cmds='$CC -r -o $output$reload_objs'
11305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11306 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11309 runpath_var='LD_RUN_PATH'
11310 hardcode_shlibpath_var=no
11314 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11315 hardcode_shlibpath_var=no
11316 export_dynamic_flag_spec='-Bexport'
11320 if test -d /usr/nec; then
11321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11322 hardcode_shlibpath_var=no
11323 runpath_var=LD_RUN_PATH
11324 hardcode_runpath_var=yes
11329 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11330 no_undefined_flag='$wl-z,text'
11331 archive_cmds_need_lc=no
11332 hardcode_shlibpath_var=no
11333 runpath_var='LD_RUN_PATH'
11335 if test yes = "$GCC"; then
11336 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11337 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11339 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11340 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11344 sysv5* | sco3.2v5* | sco5v6*)
11345 # Note: We CANNOT use -z defs as we might desire, because we do not
11346 # link with -lc, and that would cause any symbols used from libc to
11347 # always be unresolved, which means just about no library would
11348 # ever link correctly. If we're not using GNU ld we use -z text
11349 # though, which does catch some bad symbols but isn't as heavy-handed
11351 no_undefined_flag='$wl-z,text'
11352 allow_undefined_flag='$wl-z,nodefs'
11353 archive_cmds_need_lc=no
11354 hardcode_shlibpath_var=no
11355 hardcode_libdir_flag_spec='$wl-R,$libdir'
11356 hardcode_libdir_separator=':'
11357 link_all_deplibs=yes
11358 export_dynamic_flag_spec='$wl-Bexport'
11359 runpath_var='LD_RUN_PATH'
11361 if test yes = "$GCC"; then
11362 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11363 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11365 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11366 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11371 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11372 hardcode_libdir_flag_spec='-L$libdir'
11373 hardcode_shlibpath_var=no
11381 if test sni = "$host_vendor"; then
11383 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11384 export_dynamic_flag_spec='$wl-Blargedynsym'
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11391 $as_echo "$ld_shlibs" >&6; }
11392 test no = "$ld_shlibs" && can_build_shared=no
11394 with_gnu_ld=$with_gnu_ld
11411 # Do we need to explicitly link libc?
11413 case "x$archive_cmds_need_lc" in
11415 # Assume -lc should be added
11416 archive_cmds_need_lc=yes
11418 if test yes,yes = "$GCC,$enable_shared"; then
11419 case $archive_cmds in
11421 # FIXME: we may have to deal with multi-command sequences.
11424 # Test whether the compiler implicitly links with -lc since on some
11425 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11426 # to ld, don't add -lc before -lgcc.
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11428 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11429 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11430 $as_echo_n "(cached) " >&6
11433 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11436 (eval $ac_compile) 2>&5
11438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11439 test $ac_status = 0; } 2>conftest.err; then
11442 libobjs=conftest.$ac_objext
11444 wl=$lt_prog_compiler_wl
11445 pic_flag=$lt_prog_compiler_pic
11451 lt_save_allow_undefined_flag=$allow_undefined_flag
11452 allow_undefined_flag=
11453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11454 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457 test $ac_status = 0; }
11459 lt_cv_archive_cmds_need_lc=no
11461 lt_cv_archive_cmds_need_lc=yes
11463 allow_undefined_flag=$lt_save_allow_undefined_flag
11465 cat conftest.err 1>&5
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11471 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11472 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11631 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11633 if test yes = "$GCC"; then
11635 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11636 *) lt_awk_arg='/^libraries:/' ;;
11639 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11640 *) lt_sed_strip_eq='s|=/|/|g' ;;
11642 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11643 case $lt_search_path_spec in
11645 # if the path contains ";" then we assume it to be the separator
11646 # otherwise default to the standard path separator (i.e. ":") - it is
11647 # assumed that no part of a normal pathname contains ";" but that should
11648 # okay in the real world where ";" in dirpaths is itself problematic.
11649 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11652 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11655 # Ok, now we have the path, separated by spaces, we can step through it
11656 # and add multilib dir if necessary...
11657 lt_tmp_lt_search_path_spec=
11658 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11659 # ...but if some path component already ends with the multilib dir we assume
11660 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11661 case "$lt_multi_os_dir; $lt_search_path_spec " in
11662 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11666 for lt_sys_path in $lt_search_path_spec; do
11667 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11668 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11669 elif test -n "$lt_multi_os_dir"; then
11670 test -d "$lt_sys_path" && \
11671 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11674 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11675 BEGIN {RS = " "; FS = "/|\n";} {
11678 for (lt_i = NF; lt_i > 0; lt_i--) {
11679 if ($lt_i != "" && $lt_i != ".") {
11680 if ($lt_i == "..") {
11683 if (lt_count == 0) {
11684 lt_foo = "/" $lt_i lt_foo;
11691 if (lt_foo != "") { lt_freq[lt_foo]++; }
11692 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11694 # AWK program above erroneously prepends '/' to C:/dos/paths
11697 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11698 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11700 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11702 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11704 library_names_spec=
11705 libname_spec='lib$name'
11709 postuninstall_cmds=
11713 shlibpath_overrides_runpath=unknown
11715 dynamic_linker="$host_os ld.so"
11716 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11717 need_lib_prefix=unknown
11718 hardcode_into_libs=no
11720 # when you set need_version to no, make sure it does not cause -set_version
11721 # flags to be left without arguments
11722 need_version=unknown
11728 version_type=linux # correct to gnu/linux during the next big refactor
11729 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11730 shlibpath_var=LIBPATH
11732 # AIX 3 has no versioning support, so we append a major version to the name.
11733 soname_spec='$libname$release$shared_ext$major'
11737 version_type=linux # correct to gnu/linux during the next big refactor
11740 hardcode_into_libs=yes
11741 if test ia64 = "$host_cpu"; then
11742 # AIX 5 supports IA64
11743 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11744 shlibpath_var=LD_LIBRARY_PATH
11746 # With GCC up to 2.95.x, collect2 would create an import file
11747 # for dependence libraries. The import file would start with
11748 # the line '#! .'. This would cause the generated library to
11749 # depend on '.', always an invalid library. This was fixed in
11750 # development snapshots of GCC prior to 3.0.
11752 aix4 | aix4.[01] | aix4.[01].*)
11753 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11755 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11758 can_build_shared=no
11762 # Using Import Files as archive members, it is possible to support
11763 # filename-based versioning of shared library archives on AIX. While
11764 # this would work for both with and without runtime linking, it will
11765 # prevent static linking of such archives. So we do filename-based
11766 # shared library versioning with .so extension only, which is used
11767 # when both runtime linking and shared linking is enabled.
11768 # Unfortunately, runtime linking may impact performance, so we do
11769 # not want this to be the default eventually. Also, we use the
11770 # versioned .so libs for executables only if there is the -brtl
11771 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11772 # To allow for filename-based versioning support, we need to create
11773 # libNAME.so.V as an archive file, containing:
11774 # *) an Import File, referring to the versioned filename of the
11775 # archive as well as the shared archive member, telling the
11776 # bitwidth (32 or 64) of that shared object, and providing the
11777 # list of exported symbols of that shared object, eventually
11778 # decorated with the 'weak' keyword
11779 # *) the shared object with the F_LOADONLY flag set, to really avoid
11780 # it being seen by the linker.
11781 # At run time we better use the real file rather than another symlink,
11782 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11784 case $with_aix_soname,$aix_use_runtimelinking in
11785 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11786 # soname into executable. Probably we can add versioning support to
11787 # collect2, so additional links can be useful in future.
11788 aix,yes) # traditional libtool
11789 dynamic_linker='AIX unversionable lib.so'
11790 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11791 # instead of lib<name>.a to let people know that these are not
11792 # typical AIX shared libraries.
11793 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11795 aix,no) # traditional AIX only
11796 dynamic_linker='AIX lib.a(lib.so.V)'
11797 # We preserve .a as extension for shared libraries through AIX4.2
11798 # and later when we are not doing run time linking.
11799 library_names_spec='$libname$release.a $libname.a'
11800 soname_spec='$libname$release$shared_ext$major'
11802 svr4,*) # full svr4 only
11803 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11804 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11805 # We do not specify a path in Import Files, so LIBPATH fires.
11806 shlibpath_overrides_runpath=yes
11808 *,yes) # both, prefer svr4
11809 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11810 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11811 # unpreferred sharedlib libNAME.a needs extra handling
11812 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11813 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11814 # We do not specify a path in Import Files, so LIBPATH fires.
11815 shlibpath_overrides_runpath=yes
11817 *,no) # both, prefer aix
11818 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11819 library_names_spec='$libname$release.a $libname.a'
11820 soname_spec='$libname$release$shared_ext$major'
11821 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11822 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11823 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11826 shlibpath_var=LIBPATH
11833 # Since July 2007 AmigaOS4 officially supports .so libraries.
11834 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11838 library_names_spec='$libname.ixlibrary $libname.a'
11839 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11840 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11846 library_names_spec='$libname$shared_ext'
11847 dynamic_linker="$host_os ld.so"
11848 shlibpath_var=LIBRARY_PATH
11852 version_type=linux # correct to gnu/linux during the next big refactor
11854 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855 soname_spec='$libname$release$shared_ext$major'
11856 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11857 shlibpath_var=LD_LIBRARY_PATH
11858 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11859 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11860 # the default ld.so.conf also contains /usr/contrib/lib and
11861 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11862 # libtool to hard-code these into programs
11865 cygwin* | mingw* | pw32* | cegcc*)
11866 version_type=windows
11871 case $GCC,$cc_basename in
11874 library_names_spec='$libname.dll.a'
11875 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11876 postinstall_cmds='base_file=`basename \$file`~
11877 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11878 dldir=$destdir/`dirname \$dlpath`~
11879 test -d \$dldir || mkdir -p \$dldir~
11880 $install_prog $dir/$dlname \$dldir/$dlname~
11881 chmod a+x \$dldir/$dlname~
11882 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11883 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11885 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11886 dlpath=$dir/\$dldll~
11888 shlibpath_overrides_runpath=yes
11892 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11893 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11895 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11898 # MinGW DLLs use traditional 'lib' prefix
11899 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11902 # pw32 DLLs use 'pw' prefix rather than 'lib'
11903 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11906 dynamic_linker='Win32 ld.exe'
11911 libname_spec='$name'
11912 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11913 library_names_spec='$libname.dll.lib'
11917 sys_lib_search_path_spec=
11920 for lt_path in $LIB
11923 # Let DOS variable expansion print the short 8.3 style file name.
11924 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11925 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11928 # Convert to MSYS style.
11929 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11932 # Convert to unix form, then to dos form, then back to unix form
11933 # but this time dos style (no spaces!) so that the unix form looks
11934 # like /cygdrive/c/PROGRA~1:/cygdr...
11935 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11936 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11937 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11940 sys_lib_search_path_spec=$LIB
11941 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11942 # It is most probably a Windows format PATH.
11943 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11945 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11947 # FIXME: find the short name or the path components, as spaces are
11948 # common. (e.g. "Program Files" -> "PROGRA~1")
11952 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11953 postinstall_cmds='base_file=`basename \$file`~
11954 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11955 dldir=$destdir/`dirname \$dlpath`~
11956 test -d \$dldir || mkdir -p \$dldir~
11957 $install_prog $dir/$dlname \$dldir/$dlname'
11958 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11959 dlpath=$dir/\$dldll~
11961 shlibpath_overrides_runpath=yes
11962 dynamic_linker='Win32 link.exe'
11966 # Assume MSVC wrapper
11967 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11968 dynamic_linker='Win32 ld.exe'
11971 # FIXME: first we should search . and the directory the executable is in
11975 darwin* | rhapsody*)
11976 dynamic_linker="$host_os dyld"
11977 version_type=darwin
11980 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11981 soname_spec='$libname$release$major$shared_ext'
11982 shlibpath_overrides_runpath=yes
11983 shlibpath_var=DYLD_LIBRARY_PATH
11984 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11986 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11987 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11991 version_type=linux # correct to gnu/linux during the next big refactor
11994 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11995 soname_spec='$libname$release$shared_ext$major'
11996 shlibpath_var=LD_LIBRARY_PATH
11999 freebsd* | dragonfly*)
12000 # DragonFly does not have aout. When/if they implement a new
12001 # versioning mechanism, adjust this.
12002 if test -x /usr/bin/objformat; then
12003 objformat=`/usr/bin/objformat`
12006 freebsd[23].*) objformat=aout ;;
12007 *) objformat=elf ;;
12010 version_type=freebsd-$objformat
12011 case $version_type in
12013 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12014 soname_spec='$libname$release$shared_ext$major'
12019 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12023 shlibpath_var=LD_LIBRARY_PATH
12026 shlibpath_overrides_runpath=yes
12028 freebsd3.[01]* | freebsdelf3.[01]*)
12029 shlibpath_overrides_runpath=yes
12030 hardcode_into_libs=yes
12032 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12033 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12034 shlibpath_overrides_runpath=no
12035 hardcode_into_libs=yes
12037 *) # from 4.6 on, and DragonFly
12038 shlibpath_overrides_runpath=yes
12039 hardcode_into_libs=yes
12045 version_type=linux # correct to gnu/linux during the next big refactor
12048 dynamic_linker="$host_os runtime_loader"
12049 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12050 soname_spec='$libname$release$shared_ext$major'
12051 shlibpath_var=LIBRARY_PATH
12052 shlibpath_overrides_runpath=no
12053 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12054 hardcode_into_libs=yes
12057 hpux9* | hpux10* | hpux11*)
12058 # Give a soname corresponding to the major version so that dld.sl refuses to
12059 # link against other versions.
12066 hardcode_into_libs=yes
12067 dynamic_linker="$host_os dld.so"
12068 shlibpath_var=LD_LIBRARY_PATH
12069 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12070 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12071 soname_spec='$libname$release$shared_ext$major'
12072 if test 32 = "$HPUX_IA64_MODE"; then
12073 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12074 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12076 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12077 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12082 hardcode_into_libs=yes
12083 dynamic_linker="$host_os dld.sl"
12084 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12086 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12087 soname_spec='$libname$release$shared_ext$major'
12088 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12093 dynamic_linker="$host_os dld.sl"
12094 shlibpath_var=SHLIB_PATH
12095 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12096 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12097 soname_spec='$libname$release$shared_ext$major'
12100 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12101 postinstall_cmds='chmod 555 $lib'
12102 # or fails outright, so override atomically:
12103 install_override_mode=555
12107 version_type=linux # correct to gnu/linux during the next big refactor
12110 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12111 soname_spec='$libname$release$shared_ext$major'
12112 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12113 shlibpath_var=LD_LIBRARY_PATH
12114 shlibpath_overrides_runpath=no
12115 hardcode_into_libs=yes
12118 irix5* | irix6* | nonstopux*)
12120 nonstopux*) version_type=nonstopux ;;
12122 if test yes = "$lt_cv_prog_gnu_ld"; then
12123 version_type=linux # correct to gnu/linux during the next big refactor
12130 soname_spec='$libname$release$shared_ext$major'
12131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12133 irix5* | nonstopux*)
12134 libsuff= shlibsuff=
12137 case $LD in # libtool.m4 will add one of these switches to LD
12138 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12139 libsuff= shlibsuff= libmagic=32-bit;;
12140 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12141 libsuff=32 shlibsuff=N32 libmagic=N32;;
12142 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12143 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12144 *) libsuff= shlibsuff= libmagic=never-match;;
12148 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12149 shlibpath_overrides_runpath=no
12150 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12151 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12152 hardcode_into_libs=yes
12155 # No shared lib support for Linux oldld, aout, or coff.
12156 linux*oldld* | linux*aout* | linux*coff*)
12161 version_type=none # Android doesn't support versioned libraries.
12164 library_names_spec='$libname$release$shared_ext'
12165 soname_spec='$libname$release$shared_ext'
12167 shlibpath_var=LD_LIBRARY_PATH
12168 shlibpath_overrides_runpath=yes
12170 # This implies no fast_install, which is unacceptable.
12171 # Some rework will be needed to allow for fast_install
12172 # before this can be enabled.
12173 hardcode_into_libs=yes
12175 dynamic_linker='Android linker'
12176 # Don't embed -rpath directories since the linker doesn't support them.
12177 hardcode_libdir_flag_spec='-L$libdir'
12180 # This must be glibc/ELF.
12181 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12182 version_type=linux # correct to gnu/linux during the next big refactor
12185 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12186 soname_spec='$libname$release$shared_ext$major'
12187 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12188 shlibpath_var=LD_LIBRARY_PATH
12189 shlibpath_overrides_runpath=no
12191 # Some binutils ld are patched to set DT_RUNPATH
12192 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12193 $as_echo_n "(cached) " >&6
12195 lt_cv_shlibpath_overrides_runpath=no
12196 save_LDFLAGS=$LDFLAGS
12197 save_libdir=$libdir
12198 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12199 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12213 lt_cv_shlibpath_overrides_runpath=yes
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 LDFLAGS=$save_LDFLAGS
12219 libdir=$save_libdir
12223 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12225 # This implies no fast_install, which is unacceptable.
12226 # Some rework will be needed to allow for fast_install
12227 # before this can be enabled.
12228 hardcode_into_libs=yes
12230 # Ideally, we could use ldconfig to report *all* directores which are
12231 # searched for libraries, however this is still not possible. Aside from not
12232 # being certain /sbin/ldconfig is available, command
12233 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12234 # even though it is searched at run-time. Try to do the best guess by
12235 # appending ld.so.conf contents (and includes) to the search path.
12236 if test -f /etc/ld.so.conf; then
12237 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' ' '`
12238 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12241 # We used to test for /lib/ld.so.1 and disable shared libraries on
12242 # powerpc, because MkLinux only supported shared libraries with the
12243 # GNU dynamic linker. Since this was broken with cross compilers,
12244 # most powerpc-linux boxes support dynamic linking these days and
12245 # people can always --disable-shared, the test was removed, and we
12246 # assume the GNU/Linux dynamic linker is in use.
12247 dynamic_linker='GNU/Linux ld.so'
12254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12255 soname_spec='${libname}${release}${shared_ext}$major'
12256 shlibpath_var=LD_LIBRARY_PATH
12257 shlibpath_overrides_runpath=no
12258 hardcode_into_libs=yes
12259 dynamic_linker='NetBSD ld.elf_so'
12266 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12267 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12268 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12269 dynamic_linker='NetBSD (a.out) ld.so'
12271 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12272 soname_spec='$libname$release$shared_ext$major'
12273 dynamic_linker='NetBSD ld.elf_so'
12275 shlibpath_var=LD_LIBRARY_PATH
12276 shlibpath_overrides_runpath=yes
12277 hardcode_into_libs=yes
12281 version_type=linux # correct to gnu/linux during the next big refactor
12282 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12283 shlibpath_var=LD_LIBRARY_PATH
12284 shlibpath_overrides_runpath=yes
12291 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12292 soname_spec='$libname$release$shared_ext$major'
12293 shlibpath_var=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath=no
12295 hardcode_into_libs=yes
12296 dynamic_linker='ldqnx.so'
12299 openbsd* | bitrig*)
12301 sys_lib_dlsearch_path_spec=/usr/lib
12303 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12308 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12309 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12310 shlibpath_var=LD_LIBRARY_PATH
12311 shlibpath_overrides_runpath=yes
12315 libname_spec='$name'
12316 version_type=windows
12320 # OS/2 can only load a DLL with a base name of 8 characters or less.
12321 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12322 v=$($ECHO $release$versuffix | tr -d .-);
12323 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12324 $ECHO $n$v`$shared_ext'
12325 library_names_spec='${libname}_dll.$libext'
12326 dynamic_linker='OS/2 ld.exe'
12327 shlibpath_var=BEGINLIBPATH
12328 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12329 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12330 postinstall_cmds='base_file=`basename \$file`~
12331 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12332 dldir=$destdir/`dirname \$dlpath`~
12333 test -d \$dldir || mkdir -p \$dldir~
12334 $install_prog $dir/$dlname \$dldir/$dlname~
12335 chmod a+x \$dldir/$dlname~
12336 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12337 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12339 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12340 dlpath=$dir/\$dldll~
12344 osf3* | osf4* | osf5*)
12348 soname_spec='$libname$release$shared_ext$major'
12349 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12350 shlibpath_var=LD_LIBRARY_PATH
12351 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12352 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12360 version_type=linux # correct to gnu/linux during the next big refactor
12363 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12364 soname_spec='$libname$release$shared_ext$major'
12365 shlibpath_var=LD_LIBRARY_PATH
12366 shlibpath_overrides_runpath=yes
12367 hardcode_into_libs=yes
12368 # ldd complains unless libraries are executable
12369 postinstall_cmds='chmod +x $lib'
12374 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12375 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12376 shlibpath_var=LD_LIBRARY_PATH
12377 shlibpath_overrides_runpath=yes
12378 if test yes = "$with_gnu_ld"; then
12385 version_type=linux # correct to gnu/linux during the next big refactor
12386 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12387 soname_spec='$libname$release$shared_ext$major'
12388 shlibpath_var=LD_LIBRARY_PATH
12389 case $host_vendor in
12391 shlibpath_overrides_runpath=no
12393 runpath_var=LD_RUN_PATH
12401 shlibpath_overrides_runpath=no
12402 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12408 if test -d /usr/nec; then
12409 version_type=linux # correct to gnu/linux during the next big refactor
12410 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12411 soname_spec='$libname$shared_ext.$major'
12412 shlibpath_var=LD_LIBRARY_PATH
12416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12420 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12421 soname_spec='$libname$release$shared_ext$major'
12422 shlibpath_var=LD_LIBRARY_PATH
12423 shlibpath_overrides_runpath=yes
12424 hardcode_into_libs=yes
12425 if test yes = "$with_gnu_ld"; then
12426 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12428 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12431 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12435 sys_lib_dlsearch_path_spec='/usr/lib'
12439 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12440 version_type=linux # correct to gnu/linux during the next big refactor
12443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12444 shlibpath_var=LD_LIBRARY_PATH
12445 shlibpath_overrides_runpath=no
12446 hardcode_into_libs=yes
12450 version_type=linux # correct to gnu/linux during the next big refactor
12451 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12452 soname_spec='$libname$release$shared_ext$major'
12453 shlibpath_var=LD_LIBRARY_PATH
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12461 $as_echo "$dynamic_linker" >&6; }
12462 test no = "$dynamic_linker" && can_build_shared=no
12464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12465 if test yes = "$GCC"; then
12466 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12469 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12470 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12473 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12474 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12477 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12478 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12480 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12481 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12483 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12484 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12583 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12585 if test -n "$hardcode_libdir_flag_spec" ||
12586 test -n "$runpath_var" ||
12587 test yes = "$hardcode_automatic"; then
12589 # We can hardcode non-existent directories.
12590 if test no != "$hardcode_direct" &&
12591 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12592 # have to relink, otherwise we might link with an installed library
12593 # when we should be linking with a yet-to-be-installed one
12594 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12595 test no != "$hardcode_minus_L"; then
12596 # Linking always hardcodes the temporary library directory.
12597 hardcode_action=relink
12599 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12600 hardcode_action=immediate
12603 # We cannot hardcode anything, or else we can only hardcode existing
12605 hardcode_action=unsupported
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12608 $as_echo "$hardcode_action" >&6; }
12610 if test relink = "$hardcode_action" ||
12611 test yes = "$inherit_rpath"; then
12612 # Fast installation is not supported
12613 enable_fast_install=no
12614 elif test yes = "$shlibpath_overrides_runpath" ||
12615 test no = "$enable_shared"; then
12616 # Fast installation is not necessary
12617 enable_fast_install=needless
12625 if test yes != "$enable_dlopen"; then
12626 enable_dlopen=unknown
12627 enable_dlopen_self=unknown
12628 enable_dlopen_self_static=unknown
12635 lt_cv_dlopen=load_add_on
12637 lt_cv_dlopen_self=yes
12640 mingw* | pw32* | cegcc*)
12641 lt_cv_dlopen=LoadLibrary
12646 lt_cv_dlopen=dlopen
12651 # if libdl is installed we need to link against it
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12653 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12654 if ${ac_cv_lib_dl_dlopen+:} false; then :
12655 $as_echo_n "(cached) " >&6
12657 ac_check_lib_save_LIBS=$LIBS
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h. */
12662 /* Override any GCC internal prototype to avoid an error.
12663 Use char because int might match the return type of a GCC
12664 builtin and then its argument prototype would still apply. */
12677 if ac_fn_c_try_link "$LINENO"; then :
12678 ac_cv_lib_dl_dlopen=yes
12680 ac_cv_lib_dl_dlopen=no
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_lib_save_LIBS
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12687 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12688 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12689 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12694 lt_cv_dlopen_self=yes
12701 # Don't try to run any link tests for TPF. We know it's impossible
12702 # because TPF is a cross-compiler, and we know how we open DSOs.
12703 lt_cv_dlopen=dlopen
12705 lt_cv_dlopen_self=no
12709 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12710 if test "x$ac_cv_func_shl_load" = xyes; then :
12711 lt_cv_dlopen=shl_load
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12714 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12715 if ${ac_cv_lib_dld_shl_load+:} false; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS=$LIBS
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12733 return shl_load ();
12738 if ac_fn_c_try_link "$LINENO"; then :
12739 ac_cv_lib_dld_shl_load=yes
12741 ac_cv_lib_dld_shl_load=no
12743 rm -f core conftest.err conftest.$ac_objext \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12748 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12749 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12750 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12752 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12753 if test "x$ac_cv_func_dlopen" = xyes; then :
12754 lt_cv_dlopen=dlopen
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12757 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12758 if ${ac_cv_lib_dl_dlopen+:} false; then :
12759 $as_echo_n "(cached) " >&6
12761 ac_check_lib_save_LIBS=$LIBS
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_dl_dlopen=yes
12784 ac_cv_lib_dl_dlopen=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12791 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12792 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12793 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12796 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12797 if ${ac_cv_lib_svld_dlopen+:} false; then :
12798 $as_echo_n "(cached) " >&6
12800 ac_check_lib_save_LIBS=$LIBS
12801 LIBS="-lsvld $LIBS"
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12820 if ac_fn_c_try_link "$LINENO"; then :
12821 ac_cv_lib_svld_dlopen=yes
12823 ac_cv_lib_svld_dlopen=no
12825 rm -f core conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12830 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12831 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12832 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12835 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12836 if ${ac_cv_lib_dld_dld_link+:} false; then :
12837 $as_echo_n "(cached) " >&6
12839 ac_check_lib_save_LIBS=$LIBS
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12854 return dld_link ();
12859 if ac_fn_c_try_link "$LINENO"; then :
12860 ac_cv_lib_dld_dld_link=yes
12862 ac_cv_lib_dld_dld_link=no
12864 rm -f core conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_lib_save_LIBS
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12869 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12870 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12871 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12892 if test no = "$lt_cv_dlopen"; then
12898 case $lt_cv_dlopen in
12900 save_CPPFLAGS=$CPPFLAGS
12901 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12903 save_LDFLAGS=$LDFLAGS
12904 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12907 LIBS="$lt_cv_dlopen_libs $LIBS"
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12910 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12911 if ${lt_cv_dlopen_self+:} false; then :
12912 $as_echo_n "(cached) " >&6
12914 if test yes = "$cross_compiling"; then :
12915 lt_cv_dlopen_self=cross
12917 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12918 lt_status=$lt_dlunknown
12919 cat > conftest.$ac_ext <<_LT_EOF
12920 #line $LINENO "configure"
12921 #include "confdefs.h"
12930 # define LT_DLGLOBAL RTLD_GLOBAL
12933 # define LT_DLGLOBAL DL_GLOBAL
12935 # define LT_DLGLOBAL 0
12939 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12940 find out it does not work in some platform. */
12941 #ifndef LT_DLLAZY_OR_NOW
12943 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12946 # define LT_DLLAZY_OR_NOW DL_LAZY
12949 # define LT_DLLAZY_OR_NOW RTLD_NOW
12952 # define LT_DLLAZY_OR_NOW DL_NOW
12954 # define LT_DLLAZY_OR_NOW 0
12961 /* When -fvisibility=hidden is used, assume the code has been annotated
12962 correspondingly for the symbols needed. */
12963 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12964 int fnord () __attribute__((visibility("default")));
12967 int fnord () { return 42; }
12970 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12971 int status = $lt_dlunknown;
12975 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12978 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12979 else puts (dlerror ());
12981 /* dlclose (self); */
12989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12990 (eval $ac_link) 2>&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12993 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12994 (./conftest; exit; ) >&5 2>/dev/null
12996 case x$lt_status in
12997 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12998 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12999 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13002 # compilation failed
13003 lt_cv_dlopen_self=no
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13011 $as_echo "$lt_cv_dlopen_self" >&6; }
13013 if test yes = "$lt_cv_dlopen_self"; then
13014 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13016 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13017 if ${lt_cv_dlopen_self_static+:} false; then :
13018 $as_echo_n "(cached) " >&6
13020 if test yes = "$cross_compiling"; then :
13021 lt_cv_dlopen_self_static=cross
13023 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13024 lt_status=$lt_dlunknown
13025 cat > conftest.$ac_ext <<_LT_EOF
13026 #line $LINENO "configure"
13027 #include "confdefs.h"
13036 # define LT_DLGLOBAL RTLD_GLOBAL
13039 # define LT_DLGLOBAL DL_GLOBAL
13041 # define LT_DLGLOBAL 0
13045 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13046 find out it does not work in some platform. */
13047 #ifndef LT_DLLAZY_OR_NOW
13049 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13052 # define LT_DLLAZY_OR_NOW DL_LAZY
13055 # define LT_DLLAZY_OR_NOW RTLD_NOW
13058 # define LT_DLLAZY_OR_NOW DL_NOW
13060 # define LT_DLLAZY_OR_NOW 0
13067 /* When -fvisibility=hidden is used, assume the code has been annotated
13068 correspondingly for the symbols needed. */
13069 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13070 int fnord () __attribute__((visibility("default")));
13073 int fnord () { return 42; }
13076 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13077 int status = $lt_dlunknown;
13081 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13084 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13085 else puts (dlerror ());
13087 /* dlclose (self); */
13095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13096 (eval $ac_link) 2>&5
13098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13099 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13100 (./conftest; exit; ) >&5 2>/dev/null
13102 case x$lt_status in
13103 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13104 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13105 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13108 # compilation failed
13109 lt_cv_dlopen_self_static=no
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13117 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13120 CPPFLAGS=$save_CPPFLAGS
13121 LDFLAGS=$save_LDFLAGS
13126 case $lt_cv_dlopen_self in
13127 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13128 *) enable_dlopen_self=unknown ;;
13131 case $lt_cv_dlopen_self_static in
13132 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13133 *) enable_dlopen_self_static=unknown ;;
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13156 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13157 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13158 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13159 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13161 $as_echo "yes" >&6; }
13163 # FIXME - insert some real tests, host_os isn't really good enough
13166 if test -n "$STRIP"; then
13167 striplib="$STRIP -x"
13168 old_striplib="$STRIP -S"
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13170 $as_echo "yes" >&6; }
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13173 $as_echo "no" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13194 # Report what library types will actually be built
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13196 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13198 $as_echo "$can_build_shared" >&6; }
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13201 $as_echo_n "checking whether to build shared libraries... " >&6; }
13202 test no = "$can_build_shared" && enable_shared=no
13204 # On AIX, shared libraries and static libraries use the same namespace, and
13205 # are all built from PIC.
13208 test yes = "$enable_shared" && enable_static=no
13209 if test -n "$RANLIB"; then
13210 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13211 postinstall_cmds='$RANLIB $lib'
13216 if test ia64 != "$host_cpu"; then
13217 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13218 yes,aix,yes) ;; # shared object as lib.so file only
13219 yes,svr4,*) ;; # shared object as lib.so archive member only
13220 yes,*) enable_static=no ;; # shared object in lib.a archive as well
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13226 $as_echo "$enable_shared" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13229 $as_echo_n "checking whether to build static libraries... " >&6; }
13230 # Make sure either enable_shared or enable_static is yes.
13231 test yes = "$enable_shared" || enable_static=yes
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13233 $as_echo "$enable_static" >&6; }
13240 ac_cpp='$CPP $CPPFLAGS'
13241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13261 ac_config_commands="$ac_config_commands libtool"
13266 # Only expand once:
13275 if test -n "$PYTHON"; then
13276 # If the user set $PYTHON, use it and don't search something else.
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.2" >&5
13278 $as_echo_n "checking whether $PYTHON version is >= 2.2... " >&6; }
13280 # split strings by '.' and convert to numeric. Append some zeros
13281 # because we need at least 4 digits for the hex conversion.
13282 # map returns an iterator in Python 3.0 and a list in 2.x
13283 minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0]
13285 # xrange is not present in Python 3.0 and range returns an iterator
13286 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13287 sys.exit(sys.hexversion < minverhex)"
13288 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13289 ($PYTHON -c "$prog") >&5 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; then :
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13294 $as_echo "yes" >&6; }
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
13300 am_display_PYTHON=$PYTHON
13302 # Otherwise, try each interpreter until we find one that satisfies
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2" >&5
13305 $as_echo_n "checking for a Python interpreter with version >= 2.2... " >&6; }
13306 if ${am_cv_pathless_PYTHON+:} false; then :
13307 $as_echo_n "(cached) " >&6
13310 for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
13311 test "$am_cv_pathless_PYTHON" = none && break
13313 # split strings by '.' and convert to numeric. Append some zeros
13314 # because we need at least 4 digits for the hex conversion.
13315 # map returns an iterator in Python 3.0 and a list in 2.x
13316 minver = list(map(int, '2.2'.split('.'))) + [0, 0, 0]
13318 # xrange is not present in Python 3.0 and range returns an iterator
13319 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13320 sys.exit(sys.hexversion < minverhex)"
13321 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13322 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; then :
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13331 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13332 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13333 if test "$am_cv_pathless_PYTHON" = none; then
13336 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13337 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13339 $as_echo_n "checking for $ac_word... " >&6; }
13340 if ${ac_cv_path_PYTHON+:} false; then :
13341 $as_echo_n "(cached) " >&6
13345 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13349 for as_dir in $PATH
13352 test -z "$as_dir" && as_dir=.
13353 for ac_exec_ext in '' $ac_executable_extensions; do
13354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13355 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13366 PYTHON=$ac_cv_path_PYTHON
13367 if test -n "$PYTHON"; then
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13369 $as_echo "$PYTHON" >&6; }
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13372 $as_echo "no" >&6; }
13377 am_display_PYTHON=$am_cv_pathless_PYTHON
13381 if test "$PYTHON" = :; then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13387 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13388 if ${am_cv_python_version+:} false; then :
13389 $as_echo_n "(cached) " >&6
13391 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13394 $as_echo "$am_cv_python_version" >&6; }
13395 PYTHON_VERSION=$am_cv_python_version
13399 PYTHON_PREFIX='${prefix}'
13401 PYTHON_EXEC_PREFIX='${exec_prefix}'
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13406 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13407 if ${am_cv_python_platform+:} false; then :
13408 $as_echo_n "(cached) " >&6
13410 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13413 $as_echo "$am_cv_python_platform" >&6; }
13414 PYTHON_PLATFORM=$am_cv_python_platform
13417 # Just factor out some code duplication.
13418 am_python_setup_sysconfig="\
13420 # Prefer sysconfig over distutils.sysconfig, for better compatibility
13421 # with python 3.x. See automake bug#10227.
13424 except ImportError:
13425 can_use_sysconfig = 0
13427 can_use_sysconfig = 1
13428 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
13429 # <https://github.com/pypa/virtualenv/issues/118>
13431 from platform import python_implementation
13432 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
13433 can_use_sysconfig = 0
13434 except ImportError:
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13439 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13440 if ${am_cv_python_pythondir+:} false; then :
13441 $as_echo_n "(cached) " >&6
13443 if test "x$prefix" = xNONE
13445 am_py_prefix=$ac_default_prefix
13447 am_py_prefix=$prefix
13449 am_cv_python_pythondir=`$PYTHON -c "
13450 $am_python_setup_sysconfig
13451 if can_use_sysconfig:
13452 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
13454 from distutils import sysconfig
13455 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
13456 sys.stdout.write(sitedir)"`
13457 case $am_cv_python_pythondir in
13459 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13460 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13463 case $am_py_prefix in
13466 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13474 $as_echo "$am_cv_python_pythondir" >&6; }
13475 pythondir=$am_cv_python_pythondir
13479 pkgpythondir=\${pythondir}/$PACKAGE
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13483 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13484 if ${am_cv_python_pyexecdir+:} false; then :
13485 $as_echo_n "(cached) " >&6
13487 if test "x$exec_prefix" = xNONE
13489 am_py_exec_prefix=$am_py_prefix
13491 am_py_exec_prefix=$exec_prefix
13493 am_cv_python_pyexecdir=`$PYTHON -c "
13494 $am_python_setup_sysconfig
13495 if can_use_sysconfig:
13496 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
13498 from distutils import sysconfig
13499 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
13500 sys.stdout.write(sitedir)"`
13501 case $am_cv_python_pyexecdir in
13502 $am_py_exec_prefix*)
13503 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13504 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13507 case $am_py_exec_prefix in
13510 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13518 $as_echo "$am_cv_python_pyexecdir" >&6; }
13519 pyexecdir=$am_cv_python_pyexecdir
13523 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13529 # need python2.2+ for build
13530 if test "$PYTHON" != :; then
13532 HAVE_PYTHON_FALSE='#'
13534 HAVE_PYTHON_TRUE='#'
13539 # Checks for header files.
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13541 $as_echo_n "checking for ANSI C header files... " >&6; }
13542 if ${ac_cv_header_stdc+:} false; then :
13543 $as_echo_n "(cached) " >&6
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13547 #include <stdlib.h>
13548 #include <stdarg.h>
13549 #include <string.h>
13560 if ac_fn_c_try_compile "$LINENO"; then :
13561 ac_cv_header_stdc=yes
13563 ac_cv_header_stdc=no
13565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13567 if test $ac_cv_header_stdc = yes; then
13568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #include <string.h>
13574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13575 $EGREP "memchr" >/dev/null 2>&1; then :
13578 ac_cv_header_stdc=no
13584 if test $ac_cv_header_stdc = yes; then
13585 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13587 /* end confdefs.h. */
13588 #include <stdlib.h>
13591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13592 $EGREP "free" >/dev/null 2>&1; then :
13595 ac_cv_header_stdc=no
13601 if test $ac_cv_header_stdc = yes; then
13602 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13603 if test "$cross_compiling" = yes; then :
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 #include <stdlib.h>
13610 #if ((' ' & 0x0FF) == 0x020)
13611 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13612 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13614 # define ISLOWER(c) \
13615 (('a' <= (c) && (c) <= 'i') \
13616 || ('j' <= (c) && (c) <= 'r') \
13617 || ('s' <= (c) && (c) <= 'z'))
13618 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13621 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13626 for (i = 0; i < 256; i++)
13627 if (XOR (islower (i), ISLOWER (i))
13628 || toupper (i) != TOUPPER (i))
13633 if ac_fn_c_try_run "$LINENO"; then :
13636 ac_cv_header_stdc=no
13638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13639 conftest.$ac_objext conftest.beam conftest.$ac_ext
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13645 $as_echo "$ac_cv_header_stdc" >&6; }
13646 if test $ac_cv_header_stdc = yes; then
13648 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13652 for ac_header in fcntl.h float.h limits.h memory.h stdlib.h string.h strings.h sys/time.h unistd.h
13654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13655 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13657 cat >>confdefs.h <<_ACEOF
13658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13666 # determine endian-ness of target compiler (sets WORDS_BIGENDIAN if true)
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13668 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13669 if ${ac_cv_c_bigendian+:} false; then :
13670 $as_echo_n "(cached) " >&6
13672 ac_cv_c_bigendian=unknown
13673 # See if we're dealing with a universal compiler.
13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13676 #ifndef __APPLE_CC__
13677 not a universal capable compiler
13682 if ac_fn_c_try_compile "$LINENO"; then :
13684 # Check for potential -arch flags. It is not universal unless
13685 # there are at least two -arch flags with different values.
13688 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13689 if test -n "$ac_prev"; then
13691 i?86 | x86_64 | ppc | ppc64)
13692 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13695 ac_cv_c_bigendian=universal
13701 elif test "x$ac_word" = "x-arch"; then
13706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13707 if test $ac_cv_c_bigendian = unknown; then
13708 # See if sys/param.h defines the BYTE_ORDER macro.
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13711 #include <sys/types.h>
13712 #include <sys/param.h>
13717 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13718 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13720 bogus endian macros
13727 if ac_fn_c_try_compile "$LINENO"; then :
13728 # It does; now see whether it defined to BIG_ENDIAN or not.
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 #include <sys/types.h>
13732 #include <sys/param.h>
13737 #if BYTE_ORDER != BIG_ENDIAN
13745 if ac_fn_c_try_compile "$LINENO"; then :
13746 ac_cv_c_bigendian=yes
13748 ac_cv_c_bigendian=no
13750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13754 if test $ac_cv_c_bigendian = unknown; then
13755 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13758 #include <limits.h>
13763 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13764 bogus endian macros
13771 if ac_fn_c_try_compile "$LINENO"; then :
13772 # It does; now see whether it defined to _BIG_ENDIAN or not.
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 #include <limits.h>
13780 #ifndef _BIG_ENDIAN
13788 if ac_fn_c_try_compile "$LINENO"; then :
13789 ac_cv_c_bigendian=yes
13791 ac_cv_c_bigendian=no
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13797 if test $ac_cv_c_bigendian = unknown; then
13798 # Compile a test program.
13799 if test "$cross_compiling" = yes; then :
13800 # Try to guess by grepping values from an object file.
13801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802 /* end confdefs.h. */
13803 short int ascii_mm[] =
13804 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13805 short int ascii_ii[] =
13806 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13807 int use_ascii (int i) {
13808 return ascii_mm[i] + ascii_ii[i];
13810 short int ebcdic_ii[] =
13811 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13812 short int ebcdic_mm[] =
13813 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13814 int use_ebcdic (int i) {
13815 return ebcdic_mm[i] + ebcdic_ii[i];
13822 return use_ascii (foo) == use_ebcdic (foo);
13827 if ac_fn_c_try_compile "$LINENO"; then :
13828 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13829 ac_cv_c_bigendian=yes
13831 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13832 if test "$ac_cv_c_bigendian" = unknown; then
13833 ac_cv_c_bigendian=no
13835 # finding both strings is unlikely to happen, but who knows?
13836 ac_cv_c_bigendian=unknown
13840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 $ac_includes_default
13849 /* Are we little or big endian? From Harbison&Steele. */
13853 char c[sizeof (long int)];
13856 return u.c[sizeof (long int) - 1] == 1;
13862 if ac_fn_c_try_run "$LINENO"; then :
13863 ac_cv_c_bigendian=no
13865 ac_cv_c_bigendian=yes
13867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13868 conftest.$ac_objext conftest.beam conftest.$ac_ext
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13874 $as_echo "$ac_cv_c_bigendian" >&6; }
13875 case $ac_cv_c_bigendian in #(
13877 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13883 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13887 as_fn_error $? "unknown endianness
13888 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13892 ac_fn_c_check_type "$LINENO" "uint_fast32_t" "ac_cv_type_uint_fast32_t" "$ac_includes_default"
13893 if test "x$ac_cv_type_uint_fast32_t" = xyes; then :
13897 cat >>confdefs.h <<_ACEOF
13898 #define uint_fast32_t unsigned long int
13903 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
13904 if test "x$ac_cv_type_uint32_t" = xyes; then :
13908 cat >>confdefs.h <<_ACEOF
13909 #define uint32_t unsigned long int
13914 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
13915 if test "x$ac_cv_type_uint16_t" = xyes; then :
13919 cat >>confdefs.h <<_ACEOF
13920 #define uint16_t unsigned short int
13925 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
13926 if test "x$ac_cv_type_uint8_t" = xyes; then :
13930 cat >>confdefs.h <<_ACEOF
13931 #define uint8_t unsigned char
13937 # Checks for typedefs, structures, and compiler characteristics.
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13939 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13940 if ${ac_cv_c_const+:} false; then :
13941 $as_echo_n "(cached) " >&6
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13950 #ifndef __cplusplus
13951 /* Ultrix mips cc rejects this sort of thing. */
13952 typedef int charset[2];
13953 const charset cs = { 0, 0 };
13954 /* SunOS 4.1.1 cc rejects this. */
13955 char const *const *pcpcc;
13957 /* NEC SVR4.0.2 mips cc rejects this. */
13958 struct point {int x, y;};
13959 static struct point const zero = {0,0};
13960 /* AIX XL C 1.02.0.0 rejects this.
13961 It does not let you subtract one const X* pointer from another in
13962 an arm of an if-expression whose if-part is not a constant
13964 const char *g = "string";
13965 pcpcc = &g + (g ? g-g : 0);
13966 /* HPUX 7.0 cc rejects these. */
13968 ppc = (char**) pcpcc;
13969 pcpcc = (char const *const *) ppc;
13970 { /* SCO 3.2v4 cc rejects this sort of thing. */
13973 char const *s = 0 ? (char *) 0 : (char const *) 0;
13978 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13979 int x[] = {25, 17};
13980 const int *foo = &x[0];
13983 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13984 typedef const int *iptr;
13988 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
13989 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13990 struct s { int j; const int *ap[3]; } bx;
13991 struct s *b = &bx; b->j = 5;
13993 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13994 const int foo = 10;
13995 if (!foo) return 0;
13997 return !cs[0] && !zero.x;
14004 if ac_fn_c_try_compile "$LINENO"; then :
14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14012 $as_echo "$ac_cv_c_const" >&6; }
14013 if test $ac_cv_c_const = no; then
14015 $as_echo "#define const /**/" >>confdefs.h
14019 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14020 if test "x$ac_cv_type_size_t" = xyes; then :
14024 cat >>confdefs.h <<_ACEOF
14025 #define size_t unsigned int
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14031 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14032 if ${ac_cv_header_time+:} false; then :
14033 $as_echo_n "(cached) " >&6
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 #include <sys/types.h>
14038 #include <sys/time.h>
14044 if ((struct tm *) 0)
14050 if ac_fn_c_try_compile "$LINENO"; then :
14051 ac_cv_header_time=yes
14053 ac_cv_header_time=no
14055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14058 $as_echo "$ac_cv_header_time" >&6; }
14059 if test $ac_cv_header_time = yes; then
14061 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14066 # Checks for library functions.
14067 for ac_header in stdlib.h
14069 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14070 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14071 cat >>confdefs.h <<_ACEOF
14072 #define HAVE_STDLIB_H 1
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
14080 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
14081 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
14082 $as_echo_n "(cached) " >&6
14084 if test "$cross_compiling" = yes; then :
14085 ac_cv_func_malloc_0_nonnull=no
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14089 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
14090 # include <stdlib.h>
14098 return ! malloc (0);
14103 if ac_fn_c_try_run "$LINENO"; then :
14104 ac_cv_func_malloc_0_nonnull=yes
14106 ac_cv_func_malloc_0_nonnull=no
14108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14109 conftest.$ac_objext conftest.beam conftest.$ac_ext
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
14114 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
14115 if test $ac_cv_func_malloc_0_nonnull = yes; then :
14117 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
14120 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
14122 case " $LIBOBJS " in
14123 *" malloc.$ac_objext "* ) ;;
14124 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
14129 $as_echo "#define malloc rpl_malloc" >>confdefs.h
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
14135 $as_echo_n "checking for working memcmp... " >&6; }
14136 if ${ac_cv_func_memcmp_working+:} false; then :
14137 $as_echo_n "(cached) " >&6
14139 if test "$cross_compiling" = yes; then :
14140 ac_cv_func_memcmp_working=no
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14144 $ac_includes_default
14149 /* Some versions of memcmp are not 8-bit clean. */
14150 char c0 = '\100', c1 = '\200', c2 = '\201';
14151 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
14154 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
14155 or more and with at least one buffer not starting on a 4-byte boundary.
14156 William Lewis provided this test program. */
14161 for (i = 0; i < 4; i++)
14165 strcpy (a, "--------01111111");
14166 strcpy (b, "--------10000000");
14167 if (memcmp (a, b, 16) >= 0)
14177 if ac_fn_c_try_run "$LINENO"; then :
14178 ac_cv_func_memcmp_working=yes
14180 ac_cv_func_memcmp_working=no
14182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14183 conftest.$ac_objext conftest.beam conftest.$ac_ext
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
14188 $as_echo "$ac_cv_func_memcmp_working" >&6; }
14189 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
14190 *" memcmp.$ac_objext "* ) ;;
14191 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
14196 for ac_header in stdlib.h
14198 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14199 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14200 cat >>confdefs.h <<_ACEOF
14201 #define HAVE_STDLIB_H 1
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
14209 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
14210 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
14211 $as_echo_n "(cached) " >&6
14213 if test "$cross_compiling" = yes; then :
14214 ac_cv_func_realloc_0_nonnull=no
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14218 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
14219 # include <stdlib.h>
14227 return ! realloc (0, 0);
14232 if ac_fn_c_try_run "$LINENO"; then :
14233 ac_cv_func_realloc_0_nonnull=yes
14235 ac_cv_func_realloc_0_nonnull=no
14237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14238 conftest.$ac_objext conftest.beam conftest.$ac_ext
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
14243 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
14244 if test $ac_cv_func_realloc_0_nonnull = yes; then :
14246 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
14249 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
14251 case " $LIBOBJS " in
14252 *" realloc.$ac_objext "* ) ;;
14253 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
14258 $as_echo "#define realloc rpl_realloc" >>confdefs.h
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
14264 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
14265 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
14266 $as_echo_n "(cached) " >&6
14268 rm -f conftest.sym conftest.file
14269 echo >conftest.file
14270 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
14271 if test "$cross_compiling" = yes; then :
14272 ac_cv_func_lstat_dereferences_slashed_symlink=no
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14276 $ac_includes_default
14281 /* Linux will dereference the symlink and fail, as required by POSIX.
14282 That is better in the sense that it means we will not
14283 have to compile and use the lstat wrapper. */
14284 return lstat ("conftest.sym/", &sbuf) == 0;
14289 if ac_fn_c_try_run "$LINENO"; then :
14290 ac_cv_func_lstat_dereferences_slashed_symlink=yes
14292 ac_cv_func_lstat_dereferences_slashed_symlink=no
14294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14295 conftest.$ac_objext conftest.beam conftest.$ac_ext
14299 # If the `ln -s' command failed, then we probably don't even
14300 # have an lstat function.
14301 ac_cv_func_lstat_dereferences_slashed_symlink=no
14303 rm -f conftest.sym conftest.file
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
14307 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
14309 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
14311 cat >>confdefs.h <<_ACEOF
14312 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
14316 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
14317 case " $LIBOBJS " in
14318 *" lstat.$ac_objext "* ) ;;
14319 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
14326 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
14327 if ${ac_cv_func_stat_empty_string_bug+:} false; then :
14328 $as_echo_n "(cached) " >&6
14330 if test "$cross_compiling" = yes; then :
14331 ac_cv_func_stat_empty_string_bug=yes
14333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14334 /* end confdefs.h. */
14335 $ac_includes_default
14340 return stat ("", &sbuf) == 0;
14345 if ac_fn_c_try_run "$LINENO"; then :
14346 ac_cv_func_stat_empty_string_bug=no
14348 ac_cv_func_stat_empty_string_bug=yes
14350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14351 conftest.$ac_objext conftest.beam conftest.$ac_ext
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
14356 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
14357 if test $ac_cv_func_stat_empty_string_bug = yes; then
14358 case " $LIBOBJS " in
14359 *" stat.$ac_objext "* ) ;;
14360 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
14365 cat >>confdefs.h <<_ACEOF
14366 #define HAVE_STAT_EMPTY_STRING_BUG 1
14371 for ac_func in getcwd gettimeofday memmove memset strcasecmp strchr strerror strncasecmp strrchr strtol
14373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14375 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14376 cat >>confdefs.h <<_ACEOF
14377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14384 # check for libraries that we use
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
14386 $as_echo_n "checking for deflate in -lz... " >&6; }
14387 if ${ac_cv_lib_z_deflate+:} false; then :
14388 $as_echo_n "(cached) " >&6
14390 ac_check_lib_save_LIBS=$LIBS
14392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14393 /* end confdefs.h. */
14395 /* Override any GCC internal prototype to avoid an error.
14396 Use char because int might match the return type of a GCC
14397 builtin and then its argument prototype would still apply. */
14410 if ac_fn_c_try_link "$LINENO"; then :
14411 ac_cv_lib_z_deflate=yes
14413 ac_cv_lib_z_deflate=no
14415 rm -f core conftest.err conftest.$ac_objext \
14416 conftest$ac_exeext conftest.$ac_ext
14417 LIBS=$ac_check_lib_save_LIBS
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
14420 $as_echo "$ac_cv_lib_z_deflate" >&6; }
14421 if test "x$ac_cv_lib_z_deflate" = xyes; then :
14422 cat >>confdefs.h <<_ACEOF
14423 #define HAVE_LIBZ 1
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
14431 $as_echo_n "checking for sqrt in -lm... " >&6; }
14432 if ${ac_cv_lib_m_sqrt+:} false; then :
14433 $as_echo_n "(cached) " >&6
14435 ac_check_lib_save_LIBS=$LIBS
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14440 /* Override any GCC internal prototype to avoid an error.
14441 Use char because int might match the return type of a GCC
14442 builtin and then its argument prototype would still apply. */
14455 if ac_fn_c_try_link "$LINENO"; then :
14456 ac_cv_lib_m_sqrt=yes
14458 ac_cv_lib_m_sqrt=no
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 LIBS=$ac_check_lib_save_LIBS
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
14465 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
14466 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
14467 cat >>confdefs.h <<_ACEOF
14468 #define HAVE_LIBM 1
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lmx" >&5
14476 $as_echo_n "checking for sqrtf in -lmx... " >&6; }
14477 if ${ac_cv_lib_mx_sqrtf+:} false; then :
14478 $as_echo_n "(cached) " >&6
14480 ac_check_lib_save_LIBS=$LIBS
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14485 /* Override any GCC internal prototype to avoid an error.
14486 Use char because int might match the return type of a GCC
14487 builtin and then its argument prototype would still apply. */
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_lib_mx_sqrtf=yes
14503 ac_cv_lib_mx_sqrtf=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mx_sqrtf" >&5
14510 $as_echo "$ac_cv_lib_mx_sqrtf" >&6; }
14511 if test "x$ac_cv_lib_mx_sqrtf" = xyes; then :
14512 cat >>confdefs.h <<_ACEOF
14513 #define HAVE_LIBMX 1
14519 # mx contains the floating point functions on darwin
14521 # failed, look for sqrtf in libm
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
14523 $as_echo_n "checking for sqrtf in -lm... " >&6; }
14524 if ${ac_cv_lib_m_sqrtf+:} false; then :
14525 $as_echo_n "(cached) " >&6
14527 ac_check_lib_save_LIBS=$LIBS
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14547 if ac_fn_c_try_link "$LINENO"; then :
14548 ac_cv_lib_m_sqrtf=yes
14550 ac_cv_lib_m_sqrtf=no
14552 rm -f core conftest.err conftest.$ac_objext \
14553 conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_lib_save_LIBS
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
14557 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
14558 if test "x$ac_cv_lib_m_sqrtf" = xyes; then :
14559 # on success, do nothing (prevents -lm being added twice)
14562 # define away sqrtf and friends in the firstinclude file, since we
14563 # can't find them. Filter out previous #define's first.
14564 echo "reconfiguring to use double functions instead of float functions"
14565 cat src/include/$osinclude/firstinclude.h | grep -v "define sqrtf" | grep -v "define logf" | grep -v "define ldexpf" | grep -v "define frexpf" > firstinclude.h
14566 echo "#ifndef sqrtf /* define sqrtf */" >> firstinclude.h
14567 echo "#define sqrtf sqrt" >> firstinclude.h
14568 echo "#endif /* define sqrtf */" >> firstinclude.h
14569 echo "#ifndef logf /* define logf */" >> firstinclude.h
14570 echo "#define logf log" >> firstinclude.h
14571 echo "#endif /* define logf */" >> firstinclude.h
14572 echo "#ifndef ldexpf /* define ldexpf */" >> firstinclude.h
14573 echo "#define ldexpf ldexp" >> firstinclude.h
14574 echo "#endif /* define ldexpf */" >> firstinclude.h
14575 echo "#ifndef frexpf /* define frexpf */" >> firstinclude.h
14576 echo "#define frexpf frexp" >> firstinclude.h
14577 echo "#endif /* define frexpf */" >> firstinclude.h
14578 mv firstinclude.h src/include/$osinclude/firstinclude.h
14585 ac_config_files="$ac_config_files Makefile"
14587 cat >confcache <<\_ACEOF
14588 # This file is a shell script that caches the results of configure
14589 # tests run on this system so they can be shared between configure
14590 # scripts and configure runs, see configure's option --config-cache.
14591 # It is not useful on other systems. If it contains results you don't
14592 # want to keep, you may remove or edit it.
14594 # config.status only pays attention to the cache file if you give it
14595 # the --recheck option to rerun configure.
14597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14599 # following values.
14603 # The following way of writing the cache mishandles newlines in values,
14604 # but we know of no workaround that is simple, portable, and efficient.
14605 # So, we kill variables containing newlines.
14606 # Ultrix sh set writes to stderr and can't be redirected directly,
14607 # and sets the high bit in the cache file unless we assign to the vars.
14609 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14610 eval ac_val=\$$ac_var
14614 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14618 _ | IFS | as_nl) ;; #(
14619 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14620 *) { eval $ac_var=; unset $ac_var;} ;;
14626 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14627 *${as_nl}ac_space=\ *)
14628 # `set' does not quote correctly, so add quotes: double-quote
14629 # substitution turns \\\\ into \\, and sed turns \\ into \.
14632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14635 # `set' quotes correctly as required by POSIX, so do not add quotes.
14636 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14647 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14649 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14650 if test -w "$cache_file"; then
14651 if test "x$cache_file" != "x/dev/null"; then
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14653 $as_echo "$as_me: updating cache $cache_file" >&6;}
14654 if test ! -f "$cache_file" || test -h "$cache_file"; then
14655 cat confcache >"$cache_file"
14657 case $cache_file in #(
14659 mv -f confcache "$cache_file"$$ &&
14660 mv -f "$cache_file"$$ "$cache_file" ;; #(
14662 mv -f confcache "$cache_file" ;;
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14673 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14674 # Let make expand exec_prefix.
14675 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14677 DEFS=-DHAVE_CONFIG_H
14681 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14682 # 1. Remove the extension, and $U if already installed.
14683 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14684 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14685 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14686 # will be set to the directory where LIBOBJS objects are built.
14687 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14688 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14690 LIBOBJS=$ac_libobjs
14692 LTLIBOBJS=$ac_ltlibobjs
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14696 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14697 if test -n "$am_sleep_pid"; then
14698 # Hide warnings about reused PIDs.
14699 wait $am_sleep_pid 2>/dev/null
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14702 $as_echo "done" >&6; }
14703 if test -n "$EXEEXT"; then
14705 am__EXEEXT_FALSE='#'
14707 am__EXEEXT_TRUE='#'
14711 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14712 as_fn_error $? "conditional \"AMDEP\" was never defined.
14713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14715 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14716 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14720 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14723 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
14724 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
14725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14729 : "${CONFIG_STATUS=./config.status}"
14731 ac_clean_files_save=$ac_clean_files
14732 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14734 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14736 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14738 # Generated by $as_me.
14739 # Run this file to recreate the current configuration.
14740 # Compiler output produced by configure, useful for debugging
14741 # configure, is in config.log if it exists.
14744 ac_cs_recheck=false
14747 SHELL=\${CONFIG_SHELL-$SHELL}
14750 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14751 ## -------------------- ##
14752 ## M4sh Initialization. ##
14753 ## -------------------- ##
14755 # Be more Bourne compatible
14756 DUALCASE=1; export DUALCASE # for MKS sh
14757 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14760 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14761 # is contrary to our usage. Disable this feature.
14762 alias -g '${1+"$@"}'='"$@"'
14763 setopt NO_GLOB_SUBST
14765 case `(set -o) 2>/dev/null` in #(
14777 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14778 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14779 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14781 # Prefer a ksh shell builtin over an external printf program on Solaris,
14782 # but without wasting forks for bash or zsh.
14783 if test -z "$BASH_VERSION$ZSH_VERSION" \
14784 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14785 as_echo='print -r --'
14786 as_echo_n='print -rn --'
14787 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14788 as_echo='printf %s\n'
14789 as_echo_n='printf %s'
14791 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14792 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14793 as_echo_n='/usr/ucb/echo -n'
14795 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14796 as_echo_n_body='eval
14800 expr "X$arg" : "X\\(.*\\)$as_nl";
14801 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14803 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14805 export as_echo_n_body
14806 as_echo_n='sh -c $as_echo_n_body as_echo'
14808 export as_echo_body
14809 as_echo='sh -c $as_echo_body as_echo'
14812 # The user is always right.
14813 if test "${PATH_SEPARATOR+set}" != set; then
14815 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14816 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14823 # We need space, tab and new line, in precisely that order. Quoting is
14824 # there to prevent editors from complaining about space-tab.
14825 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14826 # splitting by setting IFS to empty value.)
14829 # Find who we are. Look in the path if we contain no directory separator.
14832 *[\\/]* ) as_myself=$0 ;;
14833 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14834 for as_dir in $PATH
14837 test -z "$as_dir" && as_dir=.
14838 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14844 # We did not find ourselves, most probably we were run as `sh COMMAND'
14845 # in which case we are not to be found in the path.
14846 if test "x$as_myself" = x; then
14849 if test ! -f "$as_myself"; then
14850 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14854 # Unset variables that we do not need and which cause bugs (e.g. in
14855 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14856 # suppresses any "Segmentation fault" message there. '((' could
14857 # trigger a bug in pdksh 5.2.14.
14858 for as_var in BASH_ENV ENV MAIL MAILPATH
14859 do eval test x\${$as_var+set} = xset \
14860 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14873 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14876 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14877 # ----------------------------------------
14878 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14879 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14880 # script with STATUS, using 1 if that was 0.
14883 as_status=$1; test $as_status -eq 0 && as_status=1
14885 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14886 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14888 $as_echo "$as_me: error: $2" >&2
14889 as_fn_exit $as_status
14893 # as_fn_set_status STATUS
14894 # -----------------------
14895 # Set $? to STATUS, without forking.
14896 as_fn_set_status ()
14899 } # as_fn_set_status
14901 # as_fn_exit STATUS
14902 # -----------------
14903 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14907 as_fn_set_status $1
14913 # Portably unset VAR.
14916 { eval $1=; unset $1;}
14918 as_unset=as_fn_unset
14919 # as_fn_append VAR VALUE
14920 # ----------------------
14921 # Append the text in VALUE to the end of the definition contained in VAR. Take
14922 # advantage of any shell optimizations that allow amortized linear growth over
14923 # repeated appends, instead of the typical quadratic growth present in naive
14925 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14926 eval 'as_fn_append ()
14937 # as_fn_arith ARG...
14938 # ------------------
14939 # Perform arithmetic evaluation on the ARGs, and store the result in the
14940 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14941 # must be portable across $(()) and expr.
14942 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14943 eval 'as_fn_arith ()
14950 as_val=`expr "$@" || test $? -eq 1`
14955 if expr a : '\(a\)' >/dev/null 2>&1 &&
14956 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14962 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14963 as_basename=basename
14968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14974 as_me=`$as_basename -- "$0" ||
14975 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14976 X"$0" : 'X\(//\)$' \| \
14977 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14979 sed '/^.*\/\([^/][^/]*\)\/*$/{
14993 # Avoid depending upon Character Ranges.
14994 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14995 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14996 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14997 as_cr_digits='0123456789'
14998 as_cr_alnum=$as_cr_Letters$as_cr_digits
15000 ECHO_C= ECHO_N= ECHO_T=
15001 case `echo -n x` in #(((((
15003 case `echo 'xy\c'` in
15004 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15006 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15013 rm -f conf$$ conf$$.exe conf$$.file
15014 if test -d conf$$.dir; then
15015 rm -f conf$$.dir/conf$$.file
15018 mkdir conf$$.dir 2>/dev/null
15020 if (echo >conf$$.file) 2>/dev/null; then
15021 if ln -s conf$$.file conf$$ 2>/dev/null; then
15023 # ... but there are two gotchas:
15024 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15025 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15026 # In both cases, we have to default to `cp -pR'.
15027 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15029 elif ln conf$$.file conf$$ 2>/dev/null; then
15037 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15038 rmdir conf$$.dir 2>/dev/null
15043 # Create "$as_dir" as a directory, including parents if necessary.
15048 -*) as_dir=./$as_dir;;
15050 test -d "$as_dir" || eval $as_mkdir_p || {
15054 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15055 *) as_qdir=$as_dir;;
15057 as_dirs="'$as_qdir' $as_dirs"
15058 as_dir=`$as_dirname -- "$as_dir" ||
15059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15060 X"$as_dir" : 'X\(//\)[^/]' \| \
15061 X"$as_dir" : 'X\(//\)$' \| \
15062 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15063 $as_echo X"$as_dir" |
15064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15068 /^X\(\/\/\)[^/].*/{
15081 test -d "$as_dir" && break
15083 test -z "$as_dirs" || eval "mkdir $as_dirs"
15084 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15088 if mkdir -p . 2>/dev/null; then
15089 as_mkdir_p='mkdir -p "$as_dir"'
15091 test -d ./-p && rmdir ./-p
15096 # as_fn_executable_p FILE
15097 # -----------------------
15098 # Test if FILE is an executable regular file.
15099 as_fn_executable_p ()
15101 test -f "$1" && test -x "$1"
15102 } # as_fn_executable_p
15103 as_test_x='test -x'
15104 as_executable_p=as_fn_executable_p
15106 # Sed expression to map a string onto a valid CPP name.
15107 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15109 # Sed expression to map a string onto a valid variable name.
15110 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15114 ## ----------------------------------- ##
15115 ## Main body of $CONFIG_STATUS script. ##
15116 ## ----------------------------------- ##
15118 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15121 # Save the log message, to keep $0 and so on meaningful, and to
15122 # report actual input values of CONFIG_FILES etc. instead of their
15123 # values after options handling.
15125 This file was extended by zettair $as_me 0.9.3patched, which was
15126 generated by GNU Autoconf 2.69. Invocation command line was
15128 CONFIG_FILES = $CONFIG_FILES
15129 CONFIG_HEADERS = $CONFIG_HEADERS
15130 CONFIG_LINKS = $CONFIG_LINKS
15131 CONFIG_COMMANDS = $CONFIG_COMMANDS
15134 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15139 case $ac_config_files in *"
15140 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15143 case $ac_config_headers in *"
15144 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 # Files that config.status was made for.
15150 config_files="$ac_config_files"
15151 config_headers="$ac_config_headers"
15152 config_commands="$ac_config_commands"
15156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15158 \`$as_me' instantiates files and other configuration actions
15159 from templates according to the current configuration. Unless the files
15160 and actions are specified as TAGs, all are instantiated by default.
15162 Usage: $0 [OPTION]... [TAG]...
15164 -h, --help print this help, then exit
15165 -V, --version print version number and configuration settings, then exit
15166 --config print configuration, then exit
15167 -q, --quiet, --silent
15168 do not print progress messages
15169 -d, --debug don't remove temporary files
15170 --recheck update $as_me by reconfiguring in the same conditions
15171 --file=FILE[:TEMPLATE]
15172 instantiate the configuration file FILE
15173 --header=FILE[:TEMPLATE]
15174 instantiate the configuration header FILE
15176 Configuration files:
15179 Configuration headers:
15182 Configuration commands:
15185 Report bugs to <nick@ndcode.org>."
15188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15189 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15191 zettair config.status 0.9.3patched
15192 configured by $0, generated by GNU Autoconf 2.69,
15193 with options \\"\$ac_cs_config\\"
15195 Copyright (C) 2012 Free Software Foundation, Inc.
15196 This config.status script is free software; the Free Software Foundation
15197 gives unlimited permission to copy, distribute and modify it."
15204 test -n "\$AWK" || AWK=awk
15207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15208 # The default lists apply if the user does not specify any file.
15214 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15215 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15219 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15231 # Handling of the options.
15232 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15234 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15235 $as_echo "$ac_cs_version"; exit ;;
15236 --config | --confi | --conf | --con | --co | --c )
15237 $as_echo "$ac_cs_config"; exit ;;
15238 --debug | --debu | --deb | --de | --d | -d )
15240 --file | --fil | --fi | --f )
15243 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15244 '') as_fn_error $? "missing file argument" ;;
15246 as_fn_append CONFIG_FILES " '$ac_optarg'"
15247 ac_need_defaults=false;;
15248 --header | --heade | --head | --hea )
15251 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15253 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15254 ac_need_defaults=false;;
15256 # Conflict between --help and --header
15257 as_fn_error $? "ambiguous option: \`$1'
15258 Try \`$0 --help' for more information.";;
15259 --help | --hel | -h )
15260 $as_echo "$ac_cs_usage"; exit ;;
15261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15262 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15265 # This is an error.
15266 -*) as_fn_error $? "unrecognized option: \`$1'
15267 Try \`$0 --help' for more information." ;;
15269 *) as_fn_append ac_config_targets " $1"
15270 ac_need_defaults=false ;;
15276 ac_configure_extra_args=
15278 if $ac_cs_silent; then
15280 ac_configure_extra_args="$ac_configure_extra_args --silent"
15284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15285 if \$ac_cs_recheck; then
15286 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15288 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15289 CONFIG_SHELL='$SHELL'
15290 export CONFIG_SHELL
15295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15299 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15300 ## Running $as_me. ##
15306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15310 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15313 # The HP-UX ksh and POSIX shell print the target directory to stdout
15314 # if CDPATH is set.
15315 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15317 sed_quote_subst='$sed_quote_subst'
15318 double_quote_subst='$double_quote_subst'
15319 delay_variable_subst='$delay_variable_subst'
15320 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15321 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15322 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15323 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15324 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15325 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15326 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15327 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15328 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15329 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15330 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15331 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15332 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15333 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15334 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15335 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15336 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15337 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15338 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15339 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15340 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15341 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15342 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15343 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15344 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15345 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15346 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15347 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15348 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15349 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15350 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15351 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15352 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15353 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15354 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15355 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15356 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15357 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15358 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15359 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15360 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15361 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15362 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15363 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15364 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15365 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15366 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15367 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15368 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15369 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15370 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15371 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15372 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15373 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15374 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15375 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15376 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15377 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15378 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"`'
15379 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15380 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15381 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15382 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15386 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15387 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15391 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15392 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15393 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15394 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15395 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15396 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15397 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15398 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15399 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15400 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15401 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15402 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15403 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15404 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15405 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15406 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15407 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15408 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15409 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15410 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15411 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15412 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15413 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15414 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15423 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15424 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15425 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15426 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15427 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15428 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15447 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15448 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15449 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15450 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15451 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15452 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15453 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15454 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15457 LTCFLAGS='$LTCFLAGS'
15458 compiler='$compiler_DEFAULT'
15460 # A function that is used when there is no print builtin or printf.
15461 func_fallback_echo ()
15463 eval 'cat <<_LTECHO_EOF
15468 # Quote evaled strings.
15483 deplibs_check_method \
15488 sharedlib_from_linklib_cmd \
15491 archiver_list_spec \
15497 lt_cv_sys_global_symbol_pipe \
15498 lt_cv_sys_global_symbol_to_cdecl \
15499 lt_cv_sys_global_symbol_to_import \
15500 lt_cv_sys_global_symbol_to_c_name_address \
15501 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15502 lt_cv_nm_interface \
15503 nm_file_list_spec \
15504 lt_cv_truncate_bin \
15505 lt_prog_compiler_no_builtin_flag \
15506 lt_prog_compiler_pic \
15507 lt_prog_compiler_wl \
15508 lt_prog_compiler_static \
15509 lt_cv_prog_compiler_c_o \
15518 export_dynamic_flag_spec \
15519 whole_archive_flag_spec \
15520 compiler_needs_object \
15522 allow_undefined_flag \
15523 no_undefined_flag \
15524 hardcode_libdir_flag_spec \
15525 hardcode_libdir_separator \
15529 variables_saved_for_relink \
15531 library_names_spec \
15533 install_override_mode \
15537 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15538 *[\\\\\\\`\\"\\\$]*)
15539 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15542 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15547 # Double-quote double-evaled strings.
15548 for var in reload_cmds \
15549 old_postinstall_cmds \
15550 old_postuninstall_cmds \
15552 extract_expsyms_cmds \
15553 old_archive_from_new_cmds \
15554 old_archive_from_expsyms_cmds \
15556 archive_expsym_cmds \
15558 module_expsym_cmds \
15559 export_symbols_cmds \
15563 postuninstall_cmds \
15565 sys_lib_search_path_spec \
15566 configure_time_dlsearch_path \
15567 configure_time_lt_sys_library_path; do
15568 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15569 *[\\\\\\\`\\"\\\$]*)
15570 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15573 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15578 ac_aux_dir='$ac_aux_dir'
15580 # See if we are running on zsh, and set the options that allow our
15581 # commands through without removal of \ escapes INIT.
15582 if test -n "\${ZSH_VERSION+set}"; then
15583 setopt NO_GLOB_SUBST
15597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15599 # Handling of arguments.
15600 for ac_config_target in $ac_config_targets
15602 case $ac_config_target in
15603 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config_h.in" ;;
15604 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15605 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15606 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15608 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15613 # If the user did not use the arguments to specify the items to instantiate,
15614 # then the envvar interface is used. Set only those that are not.
15615 # We use the long form for the default assignment because of an extremely
15616 # bizarre bug on SunOS 4.1.3.
15617 if $ac_need_defaults; then
15618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15620 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15623 # Have a temporary directory for convenience. Make it in the build tree
15624 # simply because there is no reason against having it here, and in addition,
15625 # creating and moving files from /tmp can sometimes cause problems.
15626 # Hook for its removal unless debugging.
15627 # Note that there is a small window in which the directory will not be cleaned:
15628 # after its creation but before its name has been assigned to `$tmp'.
15632 trap 'exit_status=$?
15633 : "${ac_tmp:=$tmp}"
15634 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15636 trap 'as_fn_exit 1' 1 2 13 15
15638 # Create a (secure) tmp directory for tmp files.
15641 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15645 tmp=./conf$$-$RANDOM
15646 (umask 077 && mkdir "$tmp")
15647 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15650 # Set up the scripts for CONFIG_FILES section.
15651 # No need to generate them if there are no CONFIG_FILES.
15652 # This happens for instance with `./config.status config.h'.
15653 if test -n "$CONFIG_FILES"; then
15656 ac_cr=`echo X | tr X '\015'`
15657 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15658 # But we know of no other shell where ac_cr would be empty at this
15659 # point, so we can use a bashism as a fallback.
15660 if test "x$ac_cr" = x; then
15661 eval ac_cr=\$\'\\r\'
15663 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15664 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15667 ac_cs_awk_cr=$ac_cr
15670 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15675 echo "cat >conf$$subs.awk <<_ACEOF" &&
15676 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15678 } >conf$$subs.sh ||
15679 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15680 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15682 for ac_last_try in false false false false false :; do
15683 . ./conf$$subs.sh ||
15684 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15686 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15687 if test $ac_delim_n = $ac_delim_num; then
15689 elif $ac_last_try; then
15690 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15692 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15695 rm -f conf$$subs.sh
15697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15698 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15702 s/^/S["/; s/!.*/"]=/
15712 s/\(.\{148\}\)..*/\1/
15714 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15719 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15726 s/\(.\{148\}\)..*/\1/
15728 s/["\\]/\\&/g; s/^/"/; s/$/"/
15732 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15737 ' <conf$$subs.awk | sed '
15742 ' >>$CONFIG_STATUS || ac_write_fail=1
15743 rm -f conf$$subs.awk
15744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15746 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15747 for (key in S) S_is_set[key] = 1
15753 nfields = split(line, field, "@")
15755 len = length(field[1])
15756 for (i = 2; i < nfields; i++) {
15758 keylen = length(key)
15759 if (S_is_set[key]) {
15761 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15762 len += length(value) + length(field[++i])
15773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15774 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15775 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15778 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15779 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15782 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15783 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15784 # trailing colons and then remove the whole line if VPATH becomes empty
15785 # (actually we leave an empty line to preserve line numbers).
15786 if test "x$srcdir" = x.; then
15787 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15805 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15806 fi # test -n "$CONFIG_FILES"
15808 # Set up the scripts for CONFIG_HEADERS section.
15809 # No need to generate them if there are no CONFIG_HEADERS.
15810 # This happens for instance with `./config.status Makefile'.
15811 if test -n "$CONFIG_HEADERS"; then
15812 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15816 # Transform confdefs.h into an awk script `defines.awk', embedded as
15817 # here-document in config.status, that substitutes the proper values into
15818 # config.h.in to produce config.h.
15820 # Create a delimiter string that does not exist in confdefs.h, to ease
15821 # handling of long lines.
15823 for ac_last_try in false false :; do
15824 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15825 if test -z "$ac_tt"; then
15827 elif $ac_last_try; then
15828 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15834 # For the awk script, D is an array of macro values keyed by name,
15835 # likewise P contains macro parameters if any. Preserve backslash
15836 # newline sequences.
15838 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15840 s/.\{148\}/&'"$ac_delim"'/g
15843 s/^[ ]*#[ ]*define[ ][ ]*/ /
15850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15852 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15856 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15857 D["\1"]=" \3\\\\\\n"\\/p
15859 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15864 s/.\{148\}/&'"$ac_delim"'/g
15869 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15872 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15874 ' <confdefs.h | sed '
15875 s/'"$ac_delim"'/"\\\
15876 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15879 for (key in D) D_is_set[key] = 1
15882 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15884 split(line, arg, " ")
15885 if (arg[1] == "#") {
15889 defundef = substr(arg[1], 2)
15892 split(mac1, mac2, "(") #)
15894 prefix = substr(line, 1, index(line, defundef) - 1)
15895 if (D_is_set[macro]) {
15896 # Preserve the white space surrounding the "#".
15897 print prefix "define", macro P[macro] D[macro]
15900 # Replace #undef with comments. This is necessary, for example,
15901 # in the case of _POSIX_SOURCE, which is predefined and required
15902 # on some systems where configure will not decide to define it.
15903 if (defundef == "undef") {
15904 print "/*", prefix defundef, macro, "*/"
15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15913 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15914 fi # test -n "$CONFIG_HEADERS"
15917 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15922 :[FHLC]) ac_mode=$ac_tag; continue;;
15924 case $ac_mode$ac_tag in
15926 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15927 :[FH]-) ac_tag=-:-;;
15928 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15945 -) ac_f="$ac_tmp/stdin";;
15946 *) # Look for the file first in the build tree, then in the source tree
15947 # (if the path is not absolute). The absolute path cannot be DOS-style,
15948 # because $ac_f cannot contain `:'.
15952 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15954 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15956 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15957 as_fn_append ac_file_inputs " '$ac_f'"
15960 # Let's still pretend it is `configure' which instantiates (i.e., don't
15961 # use $as_me), people would be surprised to read:
15962 # /* config.h. Generated by config.status. */
15963 configure_input='Generated from '`
15964 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15966 if test x"$ac_file" != x-; then
15967 configure_input="$ac_file. $configure_input"
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15969 $as_echo "$as_me: creating $ac_file" >&6;}
15971 # Neutralize special characters interpreted by sed in replacement strings.
15972 case $configure_input in #(
15973 *\&* | *\|* | *\\* )
15974 ac_sed_conf_input=`$as_echo "$configure_input" |
15975 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15976 *) ac_sed_conf_input=$configure_input;;
15980 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15981 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15986 ac_dir=`$as_dirname -- "$ac_file" ||
15987 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15988 X"$ac_file" : 'X\(//\)[^/]' \| \
15989 X"$ac_file" : 'X\(//\)$' \| \
15990 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15991 $as_echo X"$ac_file" |
15992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15996 /^X\(\/\/\)[^/].*/{
16009 as_dir="$ac_dir"; as_fn_mkdir_p
16013 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16015 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16016 # A ".." for each directory in $ac_dir_suffix.
16017 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16018 case $ac_top_builddir_sub in
16019 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16020 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16023 ac_abs_top_builddir=$ac_pwd
16024 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16025 # for backward compatibility:
16026 ac_top_builddir=$ac_top_build_prefix
16029 .) # We are building in place.
16031 ac_top_srcdir=$ac_top_builddir_sub
16032 ac_abs_top_srcdir=$ac_pwd ;;
16033 [\\/]* | ?:[\\/]* ) # Absolute name.
16034 ac_srcdir=$srcdir$ac_dir_suffix;
16035 ac_top_srcdir=$srcdir
16036 ac_abs_top_srcdir=$srcdir ;;
16037 *) # Relative name.
16038 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16039 ac_top_srcdir=$ac_top_build_prefix$srcdir
16040 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16042 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16052 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16053 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16055 ac_MKDIR_P=$MKDIR_P
16057 [\\/$]* | ?:[\\/]* ) ;;
16058 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063 # If the template does not know about datarootdir, expand it.
16064 # FIXME: This hack should be removed a few years after 2.60.
16065 ac_datarootdir_hack=; ac_datarootdir_seen=
16076 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16077 *datarootdir*) ac_datarootdir_seen=yes;;
16078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16080 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 ac_datarootdir_hack='
16084 s&@datadir@&$datadir&g
16085 s&@docdir@&$docdir&g
16086 s&@infodir@&$infodir&g
16087 s&@localedir@&$localedir&g
16088 s&@mandir@&$mandir&g
16089 s&\\\${datarootdir}&$datarootdir&g' ;;
16093 # Neutralize VPATH when `$srcdir' = `.'.
16094 # Shell code in configure.ac might set extrasub.
16095 # FIXME: do we really want to maintain this feature?
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 ac_sed_extra="$ac_vpsub
16100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16103 s|@configure_input@|$ac_sed_conf_input|;t t
16104 s&@top_builddir@&$ac_top_builddir_sub&;t t
16105 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16106 s&@srcdir@&$ac_srcdir&;t t
16107 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16108 s&@top_srcdir@&$ac_top_srcdir&;t t
16109 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16110 s&@builddir@&$ac_builddir&;t t
16111 s&@abs_builddir@&$ac_abs_builddir&;t t
16112 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16113 s&@INSTALL@&$ac_INSTALL&;t t
16114 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16115 $ac_datarootdir_hack
16117 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16118 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16120 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16121 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16122 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16123 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16125 which seems to be undefined. Please make sure it is defined" >&5
16126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16127 which seems to be undefined. Please make sure it is defined" >&2;}
16129 rm -f "$ac_tmp/stdin"
16131 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16132 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16140 if test x"$ac_file" != x-; then
16142 $as_echo "/* $configure_input */" \
16143 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16144 } >"$ac_tmp/config.h" \
16145 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16146 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16148 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16151 mv "$ac_tmp/config.h" "$ac_file" \
16152 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16155 $as_echo "/* $configure_input */" \
16156 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16157 || as_fn_error $? "could not create -" "$LINENO" 5
16159 # Compute "$ac_file"'s index in $config_headers.
16162 for _am_header in $config_headers :; do
16163 case $_am_header in
16164 $_am_arg | $_am_arg:* )
16167 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16170 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16171 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16172 X"$_am_arg" : 'X\(//\)[^/]' \| \
16173 X"$_am_arg" : 'X\(//\)$' \| \
16174 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16175 $as_echo X"$_am_arg" |
16176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16180 /^X\(\/\/\)[^/].*/{
16192 s/.*/./; q'`/stamp-h$_am_stamp_count
16195 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16196 $as_echo "$as_me: executing $ac_file commands" >&6;}
16201 case $ac_file$ac_mode in
16202 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16203 # Older Autoconf quotes --file arguments for eval, but not when files
16204 # are listed without --file. Let's play safe and only enable the eval
16205 # if we detect the quoting.
16206 case $CONFIG_FILES in
16207 *\'*) eval set x "$CONFIG_FILES" ;;
16208 *) set x $CONFIG_FILES ;;
16213 # Strip MF so we end up with the name of the file.
16214 mf=`echo "$mf" | sed -e 's/:.*$//'`
16215 # Check whether this is an Automake generated Makefile or not.
16216 # We used to match only the files named 'Makefile.in', but
16217 # some people rename them; so instead we look at the file content.
16218 # Grep'ing the first line is not enough: some people post-process
16219 # each Makefile.in and add a new line on top of each file to say so.
16220 # Grep'ing the whole file is not good either: AIX grep has a line
16221 # limit of 2048, but all sed's we know have understand at least 4000.
16222 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16223 dirpart=`$as_dirname -- "$mf" ||
16224 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16225 X"$mf" : 'X\(//\)[^/]' \| \
16226 X"$mf" : 'X\(//\)$' \| \
16227 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16233 /^X\(\/\/\)[^/].*/{
16249 # Extract the definition of DEPDIR, am__include, and am__quote
16250 # from the Makefile without running 'make'.
16251 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16252 test -z "$DEPDIR" && continue
16253 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16254 test -z "$am__include" && continue
16255 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16256 # Find all dependency output files, they are included files with
16257 # $(DEPDIR) in their names. We invoke sed twice because it is the
16258 # simplest approach to changing $(DEPDIR) to its actual value in the
16260 for file in `sed -n "
16261 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16262 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16263 # Make sure the directory exists.
16264 test -f "$dirpart/$file" && continue
16265 fdir=`$as_dirname -- "$file" ||
16266 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16267 X"$file" : 'X\(//\)[^/]' \| \
16268 X"$file" : 'X\(//\)$' \| \
16269 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16270 $as_echo X"$file" |
16271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16275 /^X\(\/\/\)[^/].*/{
16288 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16289 # echo "creating $dirpart/$file"
16290 echo '# dummy' > "$dirpart/$file"
16297 # See if we are running on zsh, and set the options that allow our
16298 # commands through without removal of \ escapes.
16299 if test -n "${ZSH_VERSION+set}"; then
16300 setopt NO_GLOB_SUBST
16304 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16307 cat <<_LT_EOF >> "$cfgfile"
16309 # Generated automatically by $as_me ($PACKAGE) $VERSION
16310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16312 # Provide generalized library-building support services.
16313 # Written by Gordon Matzigkeit, 1996
16315 # Copyright (C) 2014 Free Software Foundation, Inc.
16316 # This is free software; see the source for copying conditions. There is NO
16317 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16319 # GNU Libtool is free software; you can redistribute it and/or modify
16320 # it under the terms of the GNU General Public License as published by
16321 # the Free Software Foundation; either version 2 of of the License, or
16322 # (at your option) any later version.
16324 # As a special exception to the GNU General Public License, if you
16325 # distribute this file as part of a program or library that is built
16326 # using GNU Libtool, you may include this file under the same
16327 # distribution terms that you use for the rest of that program.
16329 # GNU Libtool is distributed in the hope that it will be useful, but
16330 # WITHOUT ANY WARRANTY; without even the implied warranty of
16331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16332 # GNU General Public License for more details.
16334 # You should have received a copy of the GNU General Public License
16335 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16338 # The names of the tagged configurations supported by this script.
16341 # Configured defaults for sys_lib_dlsearch_path munging.
16342 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16344 # ### BEGIN LIBTOOL CONFIG
16346 # Which release of libtool.m4 was used?
16347 macro_version=$macro_version
16348 macro_revision=$macro_revision
16350 # Whether or not to build shared libraries.
16351 build_libtool_libs=$enable_shared
16353 # Whether or not to build static libraries.
16354 build_old_libs=$enable_static
16356 # What type of objects to build.
16359 # Whether or not to optimize for fast installation.
16360 fast_install=$enable_fast_install
16362 # Shared archive member basename,for filename based shared library versioning on AIX.
16363 shared_archive_member_spec=$shared_archive_member_spec
16365 # Shell to use when invoking shell scripts.
16368 # An echo program that protects backslashes.
16371 # The PATH separator for the build system.
16372 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16375 host_alias=$host_alias
16379 # The build system.
16380 build_alias=$build_alias
16384 # A sed program that does not truncate output.
16387 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16388 Xsed="\$SED -e 1s/^X//"
16390 # A grep program that handles long lines.
16396 # A literal string matcher.
16399 # A BSD- or MS-compatible name lister.
16402 # Whether we need soft or hard links.
16405 # What is the maximum length of a command?
16406 max_cmd_len=$max_cmd_len
16408 # Object file suffix (normally "o").
16411 # Executable file suffix (normally "").
16414 # whether the shell understands "unset".
16417 # turn spaces into newlines.
16420 # turn newlines into spaces.
16423 # convert \$build file names to \$host format.
16424 to_host_file_cmd=$lt_cv_to_host_file_cmd
16426 # convert \$build files to toolchain format.
16427 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16429 # An object symbol dumper.
16430 OBJDUMP=$lt_OBJDUMP
16432 # Method to check whether dependent libraries are shared objects.
16433 deplibs_check_method=$lt_deplibs_check_method
16435 # Command to use when deplibs_check_method = "file_magic".
16436 file_magic_cmd=$lt_file_magic_cmd
16438 # How to find potential files when deplibs_check_method = "file_magic".
16439 file_magic_glob=$lt_file_magic_glob
16441 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16442 want_nocaseglob=$lt_want_nocaseglob
16444 # DLL creation program.
16445 DLLTOOL=$lt_DLLTOOL
16447 # Command to associate shared and link libraries.
16448 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16453 # Flags to create an archive.
16454 AR_FLAGS=$lt_AR_FLAGS
16456 # How to feed a file listing to the archiver.
16457 archiver_list_spec=$lt_archiver_list_spec
16459 # A symbol stripping program.
16462 # Commands used to install an old-style archive.
16464 old_postinstall_cmds=$lt_old_postinstall_cmds
16465 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16467 # Whether to use a lock for old archive extraction.
16468 lock_old_archive_extraction=$lock_old_archive_extraction
16473 # LTCC compiler flags.
16474 LTCFLAGS=$lt_CFLAGS
16476 # Take the output of nm and produce a listing of raw symbols and C names.
16477 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16479 # Transform the output of nm in a proper C declaration.
16480 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16482 # Transform the output of nm into a list of symbols to manually relocate.
16483 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16485 # Transform the output of nm in a C name address pair.
16486 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16488 # Transform the output of nm in a C name address pair when lib prefix is needed.
16489 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16491 # The name lister interface.
16492 nm_interface=$lt_lt_cv_nm_interface
16494 # Specify filename containing input files for \$NM.
16495 nm_file_list_spec=$lt_nm_file_list_spec
16497 # The root where to search for dependent libraries,and where our libraries should be installed.
16498 lt_sysroot=$lt_sysroot
16500 # Command to truncate a binary pipe.
16501 lt_truncate_bin=$lt_lt_cv_truncate_bin
16503 # The name of the directory that contains temporary libtool files.
16506 # Used to examine libraries when file_magic_cmd begins with "file".
16507 MAGIC_CMD=$MAGIC_CMD
16509 # Must we lock files when doing compilation?
16510 need_locks=$lt_need_locks
16513 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16515 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16516 DSYMUTIL=$lt_DSYMUTIL
16518 # Tool to change global to local symbols on Mac OS X.
16521 # Tool to manipulate fat objects and archives on Mac OS X.
16524 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16527 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16528 OTOOL64=$lt_OTOOL64
16530 # Old archive suffix (normally "a").
16533 # Shared library suffix (normally ".so").
16534 shrext_cmds=$lt_shrext_cmds
16536 # The commands to extract the exported symbol list from a shared archive.
16537 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16539 # Variables whose values should be saved in libtool wrapper scripts and
16540 # restored at link time.
16541 variables_saved_for_relink=$lt_variables_saved_for_relink
16543 # Do we need the "lib" prefix for modules?
16544 need_lib_prefix=$need_lib_prefix
16546 # Do we need a version for libraries?
16547 need_version=$need_version
16549 # Library versioning type.
16550 version_type=$version_type
16552 # Shared library runtime path variable.
16553 runpath_var=$runpath_var
16555 # Shared library path variable.
16556 shlibpath_var=$shlibpath_var
16558 # Is shlibpath searched before the hard-coded library search path?
16559 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16561 # Format of library name prefix.
16562 libname_spec=$lt_libname_spec
16564 # List of archive names. First name is the real one, the rest are links.
16565 # The last name is the one that the linker finds with -lNAME
16566 library_names_spec=$lt_library_names_spec
16568 # The coded name of the library, if different from the real name.
16569 soname_spec=$lt_soname_spec
16571 # Permission mode override for installation of shared libraries.
16572 install_override_mode=$lt_install_override_mode
16574 # Command to use after installation of a shared archive.
16575 postinstall_cmds=$lt_postinstall_cmds
16577 # Command to use after uninstallation of a shared archive.
16578 postuninstall_cmds=$lt_postuninstall_cmds
16580 # Commands used to finish a libtool library installation in a directory.
16581 finish_cmds=$lt_finish_cmds
16583 # As "finish_cmds", except a single script fragment to be evaled but
16585 finish_eval=$lt_finish_eval
16587 # Whether we should hardcode library paths into libraries.
16588 hardcode_into_libs=$hardcode_into_libs
16590 # Compile-time system search path for libraries.
16591 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16593 # Detected run-time system search path for libraries.
16594 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16596 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16597 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16599 # Whether dlopen is supported.
16600 dlopen_support=$enable_dlopen
16602 # Whether dlopen of programs is supported.
16603 dlopen_self=$enable_dlopen_self
16605 # Whether dlopen of statically linked programs is supported.
16606 dlopen_self_static=$enable_dlopen_self_static
16608 # Commands to strip libraries.
16609 old_striplib=$lt_old_striplib
16610 striplib=$lt_striplib
16613 # The linker used to build libraries.
16616 # How to create reloadable object files.
16617 reload_flag=$lt_reload_flag
16618 reload_cmds=$lt_reload_cmds
16620 # Commands used to build an old-style archive.
16621 old_archive_cmds=$lt_old_archive_cmds
16623 # A language specific compiler.
16626 # Is the compiler the GNU compiler?
16629 # Compiler flag to turn off builtin functions.
16630 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16632 # Additional compiler flags for building library objects.
16633 pic_flag=$lt_lt_prog_compiler_pic
16635 # How to pass a linker flag through the compiler.
16636 wl=$lt_lt_prog_compiler_wl
16638 # Compiler flag to prevent dynamic linking.
16639 link_static_flag=$lt_lt_prog_compiler_static
16641 # Does compiler simultaneously support -c and -o options?
16642 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16644 # Whether or not to add -lc for building shared libraries.
16645 build_libtool_need_lc=$archive_cmds_need_lc
16647 # Whether or not to disallow shared libs when runtime libs are static.
16648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16650 # Compiler flag to allow reflexive dlopens.
16651 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16653 # Compiler flag to generate shared objects directly from archives.
16654 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16656 # Whether the compiler copes with passing no objects directly.
16657 compiler_needs_object=$lt_compiler_needs_object
16659 # Create an old-style archive from a shared archive.
16660 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16662 # Create a temporary old-style archive to link instead of a shared archive.
16663 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16665 # Commands used to build a shared archive.
16666 archive_cmds=$lt_archive_cmds
16667 archive_expsym_cmds=$lt_archive_expsym_cmds
16669 # Commands used to build a loadable module if different from building
16670 # a shared archive.
16671 module_cmds=$lt_module_cmds
16672 module_expsym_cmds=$lt_module_expsym_cmds
16674 # Whether we are building with GNU ld or not.
16675 with_gnu_ld=$lt_with_gnu_ld
16677 # Flag that allows shared libraries with undefined symbols to be built.
16678 allow_undefined_flag=$lt_allow_undefined_flag
16680 # Flag that enforces no undefined symbols.
16681 no_undefined_flag=$lt_no_undefined_flag
16683 # Flag to hardcode \$libdir into a binary during linking.
16684 # This must work even if \$libdir does not exist
16685 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16687 # Whether we need a single "-rpath" flag with a separated argument.
16688 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16690 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16691 # DIR into the resulting binary.
16692 hardcode_direct=$hardcode_direct
16694 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16695 # DIR into the resulting binary and the resulting library dependency is
16696 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16697 # library is relocated.
16698 hardcode_direct_absolute=$hardcode_direct_absolute
16700 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16701 # into the resulting binary.
16702 hardcode_minus_L=$hardcode_minus_L
16704 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16705 # into the resulting binary.
16706 hardcode_shlibpath_var=$hardcode_shlibpath_var
16708 # Set to "yes" if building a shared library automatically hardcodes DIR
16709 # into the library and all subsequent libraries and executables linked
16711 hardcode_automatic=$hardcode_automatic
16713 # Set to yes if linker adds runtime paths of dependent libraries
16714 # to runtime path list.
16715 inherit_rpath=$inherit_rpath
16717 # Whether libtool must link a program against all its dependency libraries.
16718 link_all_deplibs=$link_all_deplibs
16720 # Set to "yes" if exported symbols are required.
16721 always_export_symbols=$always_export_symbols
16723 # The commands to list exported symbols.
16724 export_symbols_cmds=$lt_export_symbols_cmds
16726 # Symbols that should not be listed in the preloaded symbols.
16727 exclude_expsyms=$lt_exclude_expsyms
16729 # Symbols that must always be exported.
16730 include_expsyms=$lt_include_expsyms
16732 # Commands necessary for linking programs (against libraries) with templates.
16733 prelink_cmds=$lt_prelink_cmds
16735 # Commands necessary for finishing linking programs.
16736 postlink_cmds=$lt_postlink_cmds
16738 # Specify filename containing input files.
16739 file_list_spec=$lt_file_list_spec
16741 # How to hardcode a shared library path into an executable.
16742 hardcode_action=$hardcode_action
16744 # ### END LIBTOOL CONFIG
16748 cat <<'_LT_EOF' >> "$cfgfile"
16750 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16752 # func_munge_path_list VARIABLE PATH
16753 # -----------------------------------
16754 # VARIABLE is name of variable containing _space_ separated list of
16755 # directories to be munged by the contents of PATH, which is string
16758 # string "DIR[ DIR]" will be prepended to VARIABLE
16760 # string "DIR[ DIR]" will be appended to VARIABLE
16761 # "DIRP[:DIRP]::[DIRA:]DIRA"
16762 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16763 # "DIRA[ DIRA]" will be appended to VARIABLE
16765 # VARIABLE will be replaced by "DIR[ DIR]"
16766 func_munge_path_list ()
16772 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16775 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16778 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16779 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16782 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16788 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
16789 func_cc_basename ()
16791 for cc_temp in $*""; do
16793 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16794 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16799 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16803 # ### END FUNCTIONS SHARED WITH CONFIGURE
16809 cat <<\_LT_EOF >> "$cfgfile"
16810 # AIX sometimes has problems with the GCC collect2 program. For some
16811 # reason, if we set the COLLECT_NAMES environment variable, the problems
16812 # vanish in a puff of smoke.
16813 if test set != "${COLLECT_NAMES+set}"; then
16815 export COLLECT_NAMES
16822 ltmain=$ac_aux_dir/ltmain.sh
16825 # We use sed instead of cat because bash on DJGPP gets confused if
16826 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16827 # text mode, it properly converts lines to CR/LF. This bash problem
16828 # is reportedly fixed, but why not run on old versions too?
16829 sed '$q' "$ltmain" >> "$cfgfile" \
16830 || (rm -f "$cfgfile"; exit 1)
16832 mv -f "$cfgfile" "$ofile" ||
16833 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16844 ac_clean_files=$ac_clean_files_save
16846 test $ac_write_fail = 0 ||
16847 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16850 # configure is writing to config.log, and then calls config.status.
16851 # config.status does its own redirection, appending to config.log.
16852 # Unfortunately, on DOS this fails, as config.log is still kept open
16853 # by configure, so config.status won't be able to write to it; its
16854 # output is simply discarded. So we exec the FD to /dev/null,
16855 # effectively closing config.log, so it can be properly (re)opened and
16856 # appended to by config.status. When coming back to configure, we
16857 # need to make the FD available again.
16858 if test "$no_create" != yes; then
16860 ac_config_status_args=
16861 test "$silent" = yes &&
16862 ac_config_status_args="$ac_config_status_args --quiet"
16864 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16866 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16867 # would make configure fail if this is the last instruction.
16868 $ac_cs_success || as_fn_exit 1
16870 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16872 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16875 ac_config_files="$ac_config_files setup.py"
16877 cat >confcache <<\_ACEOF
16878 # This file is a shell script that caches the results of configure
16879 # tests run on this system so they can be shared between configure
16880 # scripts and configure runs, see configure's option --config-cache.
16881 # It is not useful on other systems. If it contains results you don't
16882 # want to keep, you may remove or edit it.
16884 # config.status only pays attention to the cache file if you give it
16885 # the --recheck option to rerun configure.
16887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16889 # following values.
16893 # The following way of writing the cache mishandles newlines in values,
16894 # but we know of no workaround that is simple, portable, and efficient.
16895 # So, we kill variables containing newlines.
16896 # Ultrix sh set writes to stderr and can't be redirected directly,
16897 # and sets the high bit in the cache file unless we assign to the vars.
16899 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16900 eval ac_val=\$$ac_var
16904 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16908 _ | IFS | as_nl) ;; #(
16909 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16910 *) { eval $ac_var=; unset $ac_var;} ;;
16916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16917 *${as_nl}ac_space=\ *)
16918 # `set' does not quote correctly, so add quotes: double-quote
16919 # substitution turns \\\\ into \\, and sed turns \\ into \.
16922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16925 # `set' quotes correctly as required by POSIX, so do not add quotes.
16926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16940 if test -w "$cache_file"; then
16941 if test "x$cache_file" != "x/dev/null"; then
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16943 $as_echo "$as_me: updating cache $cache_file" >&6;}
16944 if test ! -f "$cache_file" || test -h "$cache_file"; then
16945 cat confcache >"$cache_file"
16947 case $cache_file in #(
16949 mv -f confcache "$cache_file"$$ &&
16950 mv -f "$cache_file"$$ "$cache_file" ;; #(
16952 mv -f confcache "$cache_file" ;;
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16963 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16964 # Let make expand exec_prefix.
16965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16967 DEFS=-DHAVE_CONFIG_H
16971 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16972 # 1. Remove the extension, and $U if already installed.
16973 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16974 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16975 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16976 # will be set to the directory where LIBOBJS objects are built.
16977 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16978 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16980 LIBOBJS=$ac_libobjs
16982 LTLIBOBJS=$ac_ltlibobjs
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16986 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16987 if test -n "$am_sleep_pid"; then
16988 # Hide warnings about reused PIDs.
16989 wait $am_sleep_pid 2>/dev/null
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16992 $as_echo "done" >&6; }
16993 if test -n "$EXEEXT"; then
16995 am__EXEEXT_FALSE='#'
16997 am__EXEEXT_TRUE='#'
17001 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17002 as_fn_error $? "conditional \"AMDEP\" was never defined.
17003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17005 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17006 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17009 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17010 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17013 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17014 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17018 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
17019 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
17020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17023 : "${CONFIG_STATUS=./config.status}"
17025 ac_clean_files_save=$ac_clean_files
17026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17028 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17030 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17032 # Generated by $as_me.
17033 # Run this file to recreate the current configuration.
17034 # Compiler output produced by configure, useful for debugging
17035 # configure, is in config.log if it exists.
17038 ac_cs_recheck=false
17041 SHELL=\${CONFIG_SHELL-$SHELL}
17044 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17045 ## -------------------- ##
17046 ## M4sh Initialization. ##
17047 ## -------------------- ##
17049 # Be more Bourne compatible
17050 DUALCASE=1; export DUALCASE # for MKS sh
17051 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17054 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17055 # is contrary to our usage. Disable this feature.
17056 alias -g '${1+"$@"}'='"$@"'
17057 setopt NO_GLOB_SUBST
17059 case `(set -o) 2>/dev/null` in #(
17071 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17072 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17073 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17074 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17075 # Prefer a ksh shell builtin over an external printf program on Solaris,
17076 # but without wasting forks for bash or zsh.
17077 if test -z "$BASH_VERSION$ZSH_VERSION" \
17078 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17079 as_echo='print -r --'
17080 as_echo_n='print -rn --'
17081 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17082 as_echo='printf %s\n'
17083 as_echo_n='printf %s'
17085 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17086 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17087 as_echo_n='/usr/ucb/echo -n'
17089 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17090 as_echo_n_body='eval
17094 expr "X$arg" : "X\\(.*\\)$as_nl";
17095 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17097 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17099 export as_echo_n_body
17100 as_echo_n='sh -c $as_echo_n_body as_echo'
17102 export as_echo_body
17103 as_echo='sh -c $as_echo_body as_echo'
17106 # The user is always right.
17107 if test "${PATH_SEPARATOR+set}" != set; then
17109 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17110 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17117 # We need space, tab and new line, in precisely that order. Quoting is
17118 # there to prevent editors from complaining about space-tab.
17119 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17120 # splitting by setting IFS to empty value.)
17123 # Find who we are. Look in the path if we contain no directory separator.
17126 *[\\/]* ) as_myself=$0 ;;
17127 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17128 for as_dir in $PATH
17131 test -z "$as_dir" && as_dir=.
17132 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17138 # We did not find ourselves, most probably we were run as `sh COMMAND'
17139 # in which case we are not to be found in the path.
17140 if test "x$as_myself" = x; then
17143 if test ! -f "$as_myself"; then
17144 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17148 # Unset variables that we do not need and which cause bugs (e.g. in
17149 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17150 # suppresses any "Segmentation fault" message there. '((' could
17151 # trigger a bug in pdksh 5.2.14.
17152 for as_var in BASH_ENV ENV MAIL MAILPATH
17153 do eval test x\${$as_var+set} = xset \
17154 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17167 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17170 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17171 # ----------------------------------------
17172 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17173 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17174 # script with STATUS, using 1 if that was 0.
17177 as_status=$1; test $as_status -eq 0 && as_status=1
17179 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17180 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17182 $as_echo "$as_me: error: $2" >&2
17183 as_fn_exit $as_status
17187 # as_fn_set_status STATUS
17188 # -----------------------
17189 # Set $? to STATUS, without forking.
17190 as_fn_set_status ()
17193 } # as_fn_set_status
17195 # as_fn_exit STATUS
17196 # -----------------
17197 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17201 as_fn_set_status $1
17207 # Portably unset VAR.
17210 { eval $1=; unset $1;}
17212 as_unset=as_fn_unset
17213 # as_fn_append VAR VALUE
17214 # ----------------------
17215 # Append the text in VALUE to the end of the definition contained in VAR. Take
17216 # advantage of any shell optimizations that allow amortized linear growth over
17217 # repeated appends, instead of the typical quadratic growth present in naive
17219 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17220 eval 'as_fn_append ()
17231 # as_fn_arith ARG...
17232 # ------------------
17233 # Perform arithmetic evaluation on the ARGs, and store the result in the
17234 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17235 # must be portable across $(()) and expr.
17236 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17237 eval 'as_fn_arith ()
17244 as_val=`expr "$@" || test $? -eq 1`
17249 if expr a : '\(a\)' >/dev/null 2>&1 &&
17250 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17256 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17257 as_basename=basename
17262 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17268 as_me=`$as_basename -- "$0" ||
17269 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17270 X"$0" : 'X\(//\)$' \| \
17271 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17273 sed '/^.*\/\([^/][^/]*\)\/*$/{
17287 # Avoid depending upon Character Ranges.
17288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17291 as_cr_digits='0123456789'
17292 as_cr_alnum=$as_cr_Letters$as_cr_digits
17294 ECHO_C= ECHO_N= ECHO_T=
17295 case `echo -n x` in #(((((
17297 case `echo 'xy\c'` in
17298 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17300 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17307 rm -f conf$$ conf$$.exe conf$$.file
17308 if test -d conf$$.dir; then
17309 rm -f conf$$.dir/conf$$.file
17312 mkdir conf$$.dir 2>/dev/null
17314 if (echo >conf$$.file) 2>/dev/null; then
17315 if ln -s conf$$.file conf$$ 2>/dev/null; then
17317 # ... but there are two gotchas:
17318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17320 # In both cases, we have to default to `cp -pR'.
17321 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17323 elif ln conf$$.file conf$$ 2>/dev/null; then
17331 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17332 rmdir conf$$.dir 2>/dev/null
17337 # Create "$as_dir" as a directory, including parents if necessary.
17342 -*) as_dir=./$as_dir;;
17344 test -d "$as_dir" || eval $as_mkdir_p || {
17348 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17349 *) as_qdir=$as_dir;;
17351 as_dirs="'$as_qdir' $as_dirs"
17352 as_dir=`$as_dirname -- "$as_dir" ||
17353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17354 X"$as_dir" : 'X\(//\)[^/]' \| \
17355 X"$as_dir" : 'X\(//\)$' \| \
17356 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17357 $as_echo X"$as_dir" |
17358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17362 /^X\(\/\/\)[^/].*/{
17375 test -d "$as_dir" && break
17377 test -z "$as_dirs" || eval "mkdir $as_dirs"
17378 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17382 if mkdir -p . 2>/dev/null; then
17383 as_mkdir_p='mkdir -p "$as_dir"'
17385 test -d ./-p && rmdir ./-p
17390 # as_fn_executable_p FILE
17391 # -----------------------
17392 # Test if FILE is an executable regular file.
17393 as_fn_executable_p ()
17395 test -f "$1" && test -x "$1"
17396 } # as_fn_executable_p
17397 as_test_x='test -x'
17398 as_executable_p=as_fn_executable_p
17400 # Sed expression to map a string onto a valid CPP name.
17401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17403 # Sed expression to map a string onto a valid variable name.
17404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17408 ## ----------------------------------- ##
17409 ## Main body of $CONFIG_STATUS script. ##
17410 ## ----------------------------------- ##
17412 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17415 # Save the log message, to keep $0 and so on meaningful, and to
17416 # report actual input values of CONFIG_FILES etc. instead of their
17417 # values after options handling.
17419 This file was extended by zettair $as_me 0.9.3patched, which was
17420 generated by GNU Autoconf 2.69. Invocation command line was
17422 CONFIG_FILES = $CONFIG_FILES
17423 CONFIG_HEADERS = $CONFIG_HEADERS
17424 CONFIG_LINKS = $CONFIG_LINKS
17425 CONFIG_COMMANDS = $CONFIG_COMMANDS
17428 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17433 case $ac_config_files in *"
17434 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17437 case $ac_config_headers in *"
17438 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17443 # Files that config.status was made for.
17444 config_files="$ac_config_files"
17445 config_headers="$ac_config_headers"
17446 config_commands="$ac_config_commands"
17450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17452 \`$as_me' instantiates files and other configuration actions
17453 from templates according to the current configuration. Unless the files
17454 and actions are specified as TAGs, all are instantiated by default.
17456 Usage: $0 [OPTION]... [TAG]...
17458 -h, --help print this help, then exit
17459 -V, --version print version number and configuration settings, then exit
17460 --config print configuration, then exit
17461 -q, --quiet, --silent
17462 do not print progress messages
17463 -d, --debug don't remove temporary files
17464 --recheck update $as_me by reconfiguring in the same conditions
17465 --file=FILE[:TEMPLATE]
17466 instantiate the configuration file FILE
17467 --header=FILE[:TEMPLATE]
17468 instantiate the configuration header FILE
17470 Configuration files:
17473 Configuration headers:
17476 Configuration commands:
17479 Report bugs to <nick@ndcode.org>."
17482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17483 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17485 zettair config.status 0.9.3patched
17486 configured by $0, generated by GNU Autoconf 2.69,
17487 with options \\"\$ac_cs_config\\"
17489 Copyright (C) 2012 Free Software Foundation, Inc.
17490 This config.status script is free software; the Free Software Foundation
17491 gives unlimited permission to copy, distribute and modify it."
17498 test -n "\$AWK" || AWK=awk
17501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17502 # The default lists apply if the user does not specify any file.
17508 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17509 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17513 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17525 # Handling of the options.
17526 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17528 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17529 $as_echo "$ac_cs_version"; exit ;;
17530 --config | --confi | --conf | --con | --co | --c )
17531 $as_echo "$ac_cs_config"; exit ;;
17532 --debug | --debu | --deb | --de | --d | -d )
17534 --file | --fil | --fi | --f )
17537 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17538 '') as_fn_error $? "missing file argument" ;;
17540 as_fn_append CONFIG_FILES " '$ac_optarg'"
17541 ac_need_defaults=false;;
17542 --header | --heade | --head | --hea )
17545 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17547 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17548 ac_need_defaults=false;;
17550 # Conflict between --help and --header
17551 as_fn_error $? "ambiguous option: \`$1'
17552 Try \`$0 --help' for more information.";;
17553 --help | --hel | -h )
17554 $as_echo "$ac_cs_usage"; exit ;;
17555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17556 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17559 # This is an error.
17560 -*) as_fn_error $? "unrecognized option: \`$1'
17561 Try \`$0 --help' for more information." ;;
17563 *) as_fn_append ac_config_targets " $1"
17564 ac_need_defaults=false ;;
17570 ac_configure_extra_args=
17572 if $ac_cs_silent; then
17574 ac_configure_extra_args="$ac_configure_extra_args --silent"
17578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17579 if \$ac_cs_recheck; then
17580 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17582 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17583 CONFIG_SHELL='$SHELL'
17584 export CONFIG_SHELL
17589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17593 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17594 ## Running $as_me. ##
17600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17604 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17607 # The HP-UX ksh and POSIX shell print the target directory to stdout
17608 # if CDPATH is set.
17609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17611 sed_quote_subst='$sed_quote_subst'
17612 double_quote_subst='$double_quote_subst'
17613 delay_variable_subst='$delay_variable_subst'
17614 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17615 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17616 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17617 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17618 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17619 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17620 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17621 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17622 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17623 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17624 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17625 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17626 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17627 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17628 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17629 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17630 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17631 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17632 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17633 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17634 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17635 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17636 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17637 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17638 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17639 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17640 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17641 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17642 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17643 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17644 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17645 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17646 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17647 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17648 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17649 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17650 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17651 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17652 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17653 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17654 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17655 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17656 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17657 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17658 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17659 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17660 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17661 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17662 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17663 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17664 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17665 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17666 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17667 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17668 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17669 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17670 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17671 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17672 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"`'
17673 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17674 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17675 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17676 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17677 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17678 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17679 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17680 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17681 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17683 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17684 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17685 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17686 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17687 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17688 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17689 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17690 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17691 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17692 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17693 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17694 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17695 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17696 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17697 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17698 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17699 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17700 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17701 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17702 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17703 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17704 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17705 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17706 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17707 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17708 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17709 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17710 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17711 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17712 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17713 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17714 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17715 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17716 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17717 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17718 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17719 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17720 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17721 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17722 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17723 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17724 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17725 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17726 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17727 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17728 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17729 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17730 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17731 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17732 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17733 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17734 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17735 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17736 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17737 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17738 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17739 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17740 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17741 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17742 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17743 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17744 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17745 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17746 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17747 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17748 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17751 LTCFLAGS='$LTCFLAGS'
17752 compiler='$compiler_DEFAULT'
17754 # A function that is used when there is no print builtin or printf.
17755 func_fallback_echo ()
17757 eval 'cat <<_LTECHO_EOF
17762 # Quote evaled strings.
17777 deplibs_check_method \
17782 sharedlib_from_linklib_cmd \
17785 archiver_list_spec \
17791 lt_cv_sys_global_symbol_pipe \
17792 lt_cv_sys_global_symbol_to_cdecl \
17793 lt_cv_sys_global_symbol_to_import \
17794 lt_cv_sys_global_symbol_to_c_name_address \
17795 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17796 lt_cv_nm_interface \
17797 nm_file_list_spec \
17798 lt_cv_truncate_bin \
17799 lt_prog_compiler_no_builtin_flag \
17800 lt_prog_compiler_pic \
17801 lt_prog_compiler_wl \
17802 lt_prog_compiler_static \
17803 lt_cv_prog_compiler_c_o \
17812 export_dynamic_flag_spec \
17813 whole_archive_flag_spec \
17814 compiler_needs_object \
17816 allow_undefined_flag \
17817 no_undefined_flag \
17818 hardcode_libdir_flag_spec \
17819 hardcode_libdir_separator \
17823 variables_saved_for_relink \
17825 library_names_spec \
17827 install_override_mode \
17831 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17832 *[\\\\\\\`\\"\\\$]*)
17833 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17836 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17841 # Double-quote double-evaled strings.
17842 for var in reload_cmds \
17843 old_postinstall_cmds \
17844 old_postuninstall_cmds \
17846 extract_expsyms_cmds \
17847 old_archive_from_new_cmds \
17848 old_archive_from_expsyms_cmds \
17850 archive_expsym_cmds \
17852 module_expsym_cmds \
17853 export_symbols_cmds \
17857 postuninstall_cmds \
17859 sys_lib_search_path_spec \
17860 configure_time_dlsearch_path \
17861 configure_time_lt_sys_library_path; do
17862 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17863 *[\\\\\\\`\\"\\\$]*)
17864 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17867 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17872 ac_aux_dir='$ac_aux_dir'
17874 # See if we are running on zsh, and set the options that allow our
17875 # commands through without removal of \ escapes INIT.
17876 if test -n "\${ZSH_VERSION+set}"; then
17877 setopt NO_GLOB_SUBST
17886 ac_aux_dir='$ac_aux_dir'
17892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17894 # Handling of arguments.
17895 for ac_config_target in $ac_config_targets
17897 case $ac_config_target in
17898 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h:src/include/config_h.in" ;;
17899 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17900 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17901 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17902 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
17904 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17909 # If the user did not use the arguments to specify the items to instantiate,
17910 # then the envvar interface is used. Set only those that are not.
17911 # We use the long form for the default assignment because of an extremely
17912 # bizarre bug on SunOS 4.1.3.
17913 if $ac_need_defaults; then
17914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17919 # Have a temporary directory for convenience. Make it in the build tree
17920 # simply because there is no reason against having it here, and in addition,
17921 # creating and moving files from /tmp can sometimes cause problems.
17922 # Hook for its removal unless debugging.
17923 # Note that there is a small window in which the directory will not be cleaned:
17924 # after its creation but before its name has been assigned to `$tmp'.
17928 trap 'exit_status=$?
17929 : "${ac_tmp:=$tmp}"
17930 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17932 trap 'as_fn_exit 1' 1 2 13 15
17934 # Create a (secure) tmp directory for tmp files.
17937 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17941 tmp=./conf$$-$RANDOM
17942 (umask 077 && mkdir "$tmp")
17943 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17946 # Set up the scripts for CONFIG_FILES section.
17947 # No need to generate them if there are no CONFIG_FILES.
17948 # This happens for instance with `./config.status config.h'.
17949 if test -n "$CONFIG_FILES"; then
17952 ac_cr=`echo X | tr X '\015'`
17953 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17954 # But we know of no other shell where ac_cr would be empty at this
17955 # point, so we can use a bashism as a fallback.
17956 if test "x$ac_cr" = x; then
17957 eval ac_cr=\$\'\\r\'
17959 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17960 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17963 ac_cs_awk_cr=$ac_cr
17966 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17971 echo "cat >conf$$subs.awk <<_ACEOF" &&
17972 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17974 } >conf$$subs.sh ||
17975 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17976 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17978 for ac_last_try in false false false false false :; do
17979 . ./conf$$subs.sh ||
17980 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17982 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17983 if test $ac_delim_n = $ac_delim_num; then
17985 elif $ac_last_try; then
17986 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17988 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17991 rm -f conf$$subs.sh
17993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17994 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17998 s/^/S["/; s/!.*/"]=/
18008 s/\(.\{148\}\)..*/\1/
18010 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18022 s/\(.\{148\}\)..*/\1/
18024 s/["\\]/\\&/g; s/^/"/; s/$/"/
18028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18033 ' <conf$$subs.awk | sed '
18038 ' >>$CONFIG_STATUS || ac_write_fail=1
18039 rm -f conf$$subs.awk
18040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18042 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18043 for (key in S) S_is_set[key] = 1
18049 nfields = split(line, field, "@")
18051 len = length(field[1])
18052 for (i = 2; i < nfields; i++) {
18054 keylen = length(key)
18055 if (S_is_set[key]) {
18057 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18058 len += length(value) + length(field[++i])
18069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18070 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18071 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18074 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18075 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18078 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18079 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18080 # trailing colons and then remove the whole line if VPATH becomes empty
18081 # (actually we leave an empty line to preserve line numbers).
18082 if test "x$srcdir" = x.; then
18083 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18102 fi # test -n "$CONFIG_FILES"
18104 # Set up the scripts for CONFIG_HEADERS section.
18105 # No need to generate them if there are no CONFIG_HEADERS.
18106 # This happens for instance with `./config.status Makefile'.
18107 if test -n "$CONFIG_HEADERS"; then
18108 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18112 # Transform confdefs.h into an awk script `defines.awk', embedded as
18113 # here-document in config.status, that substitutes the proper values into
18114 # config.h.in to produce config.h.
18116 # Create a delimiter string that does not exist in confdefs.h, to ease
18117 # handling of long lines.
18119 for ac_last_try in false false :; do
18120 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18121 if test -z "$ac_tt"; then
18123 elif $ac_last_try; then
18124 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18126 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18130 # For the awk script, D is an array of macro values keyed by name,
18131 # likewise P contains macro parameters if any. Preserve backslash
18132 # newline sequences.
18134 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18136 s/.\{148\}/&'"$ac_delim"'/g
18139 s/^[ ]*#[ ]*define[ ][ ]*/ /
18146 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18148 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18152 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18153 D["\1"]=" \3\\\\\\n"\\/p
18155 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18160 s/.\{148\}/&'"$ac_delim"'/g
18165 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18168 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18170 ' <confdefs.h | sed '
18171 s/'"$ac_delim"'/"\\\
18172 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18175 for (key in D) D_is_set[key] = 1
18178 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18180 split(line, arg, " ")
18181 if (arg[1] == "#") {
18185 defundef = substr(arg[1], 2)
18188 split(mac1, mac2, "(") #)
18190 prefix = substr(line, 1, index(line, defundef) - 1)
18191 if (D_is_set[macro]) {
18192 # Preserve the white space surrounding the "#".
18193 print prefix "define", macro P[macro] D[macro]
18196 # Replace #undef with comments. This is necessary, for example,
18197 # in the case of _POSIX_SOURCE, which is predefined and required
18198 # on some systems where configure will not decide to define it.
18199 if (defundef == "undef") {
18200 print "/*", prefix defundef, macro, "*/"
18208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18209 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18210 fi # test -n "$CONFIG_HEADERS"
18213 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18218 :[FHLC]) ac_mode=$ac_tag; continue;;
18220 case $ac_mode$ac_tag in
18222 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18223 :[FH]-) ac_tag=-:-;;
18224 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18241 -) ac_f="$ac_tmp/stdin";;
18242 *) # Look for the file first in the build tree, then in the source tree
18243 # (if the path is not absolute). The absolute path cannot be DOS-style,
18244 # because $ac_f cannot contain `:'.
18248 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18250 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18252 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18253 as_fn_append ac_file_inputs " '$ac_f'"
18256 # Let's still pretend it is `configure' which instantiates (i.e., don't
18257 # use $as_me), people would be surprised to read:
18258 # /* config.h. Generated by config.status. */
18259 configure_input='Generated from '`
18260 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18262 if test x"$ac_file" != x-; then
18263 configure_input="$ac_file. $configure_input"
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18265 $as_echo "$as_me: creating $ac_file" >&6;}
18267 # Neutralize special characters interpreted by sed in replacement strings.
18268 case $configure_input in #(
18269 *\&* | *\|* | *\\* )
18270 ac_sed_conf_input=`$as_echo "$configure_input" |
18271 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18272 *) ac_sed_conf_input=$configure_input;;
18276 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18277 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18282 ac_dir=`$as_dirname -- "$ac_file" ||
18283 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18284 X"$ac_file" : 'X\(//\)[^/]' \| \
18285 X"$ac_file" : 'X\(//\)$' \| \
18286 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18287 $as_echo X"$ac_file" |
18288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18292 /^X\(\/\/\)[^/].*/{
18305 as_dir="$ac_dir"; as_fn_mkdir_p
18309 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18311 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18312 # A ".." for each directory in $ac_dir_suffix.
18313 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18314 case $ac_top_builddir_sub in
18315 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18316 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18319 ac_abs_top_builddir=$ac_pwd
18320 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18321 # for backward compatibility:
18322 ac_top_builddir=$ac_top_build_prefix
18325 .) # We are building in place.
18327 ac_top_srcdir=$ac_top_builddir_sub
18328 ac_abs_top_srcdir=$ac_pwd ;;
18329 [\\/]* | ?:[\\/]* ) # Absolute name.
18330 ac_srcdir=$srcdir$ac_dir_suffix;
18331 ac_top_srcdir=$srcdir
18332 ac_abs_top_srcdir=$srcdir ;;
18333 *) # Relative name.
18334 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18335 ac_top_srcdir=$ac_top_build_prefix$srcdir
18336 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18338 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18348 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18349 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18351 ac_MKDIR_P=$MKDIR_P
18353 [\\/$]* | ?:[\\/]* ) ;;
18354 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18359 # If the template does not know about datarootdir, expand it.
18360 # FIXME: This hack should be removed a few years after 2.60.
18361 ac_datarootdir_hack=; ac_datarootdir_seen=
18372 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18373 *datarootdir*) ac_datarootdir_seen=yes;;
18374 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18376 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18379 ac_datarootdir_hack='
18380 s&@datadir@&$datadir&g
18381 s&@docdir@&$docdir&g
18382 s&@infodir@&$infodir&g
18383 s&@localedir@&$localedir&g
18384 s&@mandir@&$mandir&g
18385 s&\\\${datarootdir}&$datarootdir&g' ;;
18389 # Neutralize VPATH when `$srcdir' = `.'.
18390 # Shell code in configure.ac might set extrasub.
18391 # FIXME: do we really want to maintain this feature?
18392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18393 ac_sed_extra="$ac_vpsub
18396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18399 s|@configure_input@|$ac_sed_conf_input|;t t
18400 s&@top_builddir@&$ac_top_builddir_sub&;t t
18401 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18402 s&@srcdir@&$ac_srcdir&;t t
18403 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18404 s&@top_srcdir@&$ac_top_srcdir&;t t
18405 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18406 s&@builddir@&$ac_builddir&;t t
18407 s&@abs_builddir@&$ac_abs_builddir&;t t
18408 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18409 s&@INSTALL@&$ac_INSTALL&;t t
18410 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18411 $ac_datarootdir_hack
18413 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18414 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18416 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18417 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18418 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18419 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18421 which seems to be undefined. Please make sure it is defined" >&5
18422 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18423 which seems to be undefined. Please make sure it is defined" >&2;}
18425 rm -f "$ac_tmp/stdin"
18427 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18428 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18436 if test x"$ac_file" != x-; then
18438 $as_echo "/* $configure_input */" \
18439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18440 } >"$ac_tmp/config.h" \
18441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18442 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18444 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18447 mv "$ac_tmp/config.h" "$ac_file" \
18448 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18451 $as_echo "/* $configure_input */" \
18452 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18453 || as_fn_error $? "could not create -" "$LINENO" 5
18455 # Compute "$ac_file"'s index in $config_headers.
18458 for _am_header in $config_headers :; do
18459 case $_am_header in
18460 $_am_arg | $_am_arg:* )
18463 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18466 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18467 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18468 X"$_am_arg" : 'X\(//\)[^/]' \| \
18469 X"$_am_arg" : 'X\(//\)$' \| \
18470 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18471 $as_echo X"$_am_arg" |
18472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18476 /^X\(\/\/\)[^/].*/{
18488 s/.*/./; q'`/stamp-h$_am_stamp_count
18491 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18492 $as_echo "$as_me: executing $ac_file commands" >&6;}
18497 case $ac_file$ac_mode in
18498 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18499 # Older Autoconf quotes --file arguments for eval, but not when files
18500 # are listed without --file. Let's play safe and only enable the eval
18501 # if we detect the quoting.
18502 case $CONFIG_FILES in
18503 *\'*) eval set x "$CONFIG_FILES" ;;
18504 *) set x $CONFIG_FILES ;;
18509 # Strip MF so we end up with the name of the file.
18510 mf=`echo "$mf" | sed -e 's/:.*$//'`
18511 # Check whether this is an Automake generated Makefile or not.
18512 # We used to match only the files named 'Makefile.in', but
18513 # some people rename them; so instead we look at the file content.
18514 # Grep'ing the first line is not enough: some people post-process
18515 # each Makefile.in and add a new line on top of each file to say so.
18516 # Grep'ing the whole file is not good either: AIX grep has a line
18517 # limit of 2048, but all sed's we know have understand at least 4000.
18518 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18519 dirpart=`$as_dirname -- "$mf" ||
18520 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18521 X"$mf" : 'X\(//\)[^/]' \| \
18522 X"$mf" : 'X\(//\)$' \| \
18523 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18529 /^X\(\/\/\)[^/].*/{
18545 # Extract the definition of DEPDIR, am__include, and am__quote
18546 # from the Makefile without running 'make'.
18547 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18548 test -z "$DEPDIR" && continue
18549 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18550 test -z "$am__include" && continue
18551 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18552 # Find all dependency output files, they are included files with
18553 # $(DEPDIR) in their names. We invoke sed twice because it is the
18554 # simplest approach to changing $(DEPDIR) to its actual value in the
18556 for file in `sed -n "
18557 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18558 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18559 # Make sure the directory exists.
18560 test -f "$dirpart/$file" && continue
18561 fdir=`$as_dirname -- "$file" ||
18562 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18563 X"$file" : 'X\(//\)[^/]' \| \
18564 X"$file" : 'X\(//\)$' \| \
18565 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18566 $as_echo X"$file" |
18567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18571 /^X\(\/\/\)[^/].*/{
18584 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18585 # echo "creating $dirpart/$file"
18586 echo '# dummy' > "$dirpart/$file"
18593 # See if we are running on zsh, and set the options that allow our
18594 # commands through without removal of \ escapes.
18595 if test -n "${ZSH_VERSION+set}"; then
18596 setopt NO_GLOB_SUBST
18600 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18603 cat <<_LT_EOF >> "$cfgfile"
18605 # Generated automatically by $as_me ($PACKAGE) $VERSION
18606 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18608 # Provide generalized library-building support services.
18609 # Written by Gordon Matzigkeit, 1996
18611 # Copyright (C) 2014 Free Software Foundation, Inc.
18612 # This is free software; see the source for copying conditions. There is NO
18613 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18615 # GNU Libtool is free software; you can redistribute it and/or modify
18616 # it under the terms of the GNU General Public License as published by
18617 # the Free Software Foundation; either version 2 of of the License, or
18618 # (at your option) any later version.
18620 # As a special exception to the GNU General Public License, if you
18621 # distribute this file as part of a program or library that is built
18622 # using GNU Libtool, you may include this file under the same
18623 # distribution terms that you use for the rest of that program.
18625 # GNU Libtool is distributed in the hope that it will be useful, but
18626 # WITHOUT ANY WARRANTY; without even the implied warranty of
18627 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18628 # GNU General Public License for more details.
18630 # You should have received a copy of the GNU General Public License
18631 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18634 # The names of the tagged configurations supported by this script.
18637 # Configured defaults for sys_lib_dlsearch_path munging.
18638 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18640 # ### BEGIN LIBTOOL CONFIG
18642 # Which release of libtool.m4 was used?
18643 macro_version=$macro_version
18644 macro_revision=$macro_revision
18646 # Whether or not to build shared libraries.
18647 build_libtool_libs=$enable_shared
18649 # Whether or not to build static libraries.
18650 build_old_libs=$enable_static
18652 # What type of objects to build.
18655 # Whether or not to optimize for fast installation.
18656 fast_install=$enable_fast_install
18658 # Shared archive member basename,for filename based shared library versioning on AIX.
18659 shared_archive_member_spec=$shared_archive_member_spec
18661 # Shell to use when invoking shell scripts.
18664 # An echo program that protects backslashes.
18667 # The PATH separator for the build system.
18668 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18671 host_alias=$host_alias
18675 # The build system.
18676 build_alias=$build_alias
18680 # A sed program that does not truncate output.
18683 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18684 Xsed="\$SED -e 1s/^X//"
18686 # A grep program that handles long lines.
18692 # A literal string matcher.
18695 # A BSD- or MS-compatible name lister.
18698 # Whether we need soft or hard links.
18701 # What is the maximum length of a command?
18702 max_cmd_len=$max_cmd_len
18704 # Object file suffix (normally "o").
18707 # Executable file suffix (normally "").
18710 # whether the shell understands "unset".
18713 # turn spaces into newlines.
18716 # turn newlines into spaces.
18719 # convert \$build file names to \$host format.
18720 to_host_file_cmd=$lt_cv_to_host_file_cmd
18722 # convert \$build files to toolchain format.
18723 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18725 # An object symbol dumper.
18726 OBJDUMP=$lt_OBJDUMP
18728 # Method to check whether dependent libraries are shared objects.
18729 deplibs_check_method=$lt_deplibs_check_method
18731 # Command to use when deplibs_check_method = "file_magic".
18732 file_magic_cmd=$lt_file_magic_cmd
18734 # How to find potential files when deplibs_check_method = "file_magic".
18735 file_magic_glob=$lt_file_magic_glob
18737 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18738 want_nocaseglob=$lt_want_nocaseglob
18740 # DLL creation program.
18741 DLLTOOL=$lt_DLLTOOL
18743 # Command to associate shared and link libraries.
18744 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18749 # Flags to create an archive.
18750 AR_FLAGS=$lt_AR_FLAGS
18752 # How to feed a file listing to the archiver.
18753 archiver_list_spec=$lt_archiver_list_spec
18755 # A symbol stripping program.
18758 # Commands used to install an old-style archive.
18760 old_postinstall_cmds=$lt_old_postinstall_cmds
18761 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18763 # Whether to use a lock for old archive extraction.
18764 lock_old_archive_extraction=$lock_old_archive_extraction
18769 # LTCC compiler flags.
18770 LTCFLAGS=$lt_CFLAGS
18772 # Take the output of nm and produce a listing of raw symbols and C names.
18773 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18775 # Transform the output of nm in a proper C declaration.
18776 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18778 # Transform the output of nm into a list of symbols to manually relocate.
18779 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18781 # Transform the output of nm in a C name address pair.
18782 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18784 # Transform the output of nm in a C name address pair when lib prefix is needed.
18785 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18787 # The name lister interface.
18788 nm_interface=$lt_lt_cv_nm_interface
18790 # Specify filename containing input files for \$NM.
18791 nm_file_list_spec=$lt_nm_file_list_spec
18793 # The root where to search for dependent libraries,and where our libraries should be installed.
18794 lt_sysroot=$lt_sysroot
18796 # Command to truncate a binary pipe.
18797 lt_truncate_bin=$lt_lt_cv_truncate_bin
18799 # The name of the directory that contains temporary libtool files.
18802 # Used to examine libraries when file_magic_cmd begins with "file".
18803 MAGIC_CMD=$MAGIC_CMD
18805 # Must we lock files when doing compilation?
18806 need_locks=$lt_need_locks
18809 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18811 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18812 DSYMUTIL=$lt_DSYMUTIL
18814 # Tool to change global to local symbols on Mac OS X.
18817 # Tool to manipulate fat objects and archives on Mac OS X.
18820 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18823 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18824 OTOOL64=$lt_OTOOL64
18826 # Old archive suffix (normally "a").
18829 # Shared library suffix (normally ".so").
18830 shrext_cmds=$lt_shrext_cmds
18832 # The commands to extract the exported symbol list from a shared archive.
18833 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18835 # Variables whose values should be saved in libtool wrapper scripts and
18836 # restored at link time.
18837 variables_saved_for_relink=$lt_variables_saved_for_relink
18839 # Do we need the "lib" prefix for modules?
18840 need_lib_prefix=$need_lib_prefix
18842 # Do we need a version for libraries?
18843 need_version=$need_version
18845 # Library versioning type.
18846 version_type=$version_type
18848 # Shared library runtime path variable.
18849 runpath_var=$runpath_var
18851 # Shared library path variable.
18852 shlibpath_var=$shlibpath_var
18854 # Is shlibpath searched before the hard-coded library search path?
18855 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18857 # Format of library name prefix.
18858 libname_spec=$lt_libname_spec
18860 # List of archive names. First name is the real one, the rest are links.
18861 # The last name is the one that the linker finds with -lNAME
18862 library_names_spec=$lt_library_names_spec
18864 # The coded name of the library, if different from the real name.
18865 soname_spec=$lt_soname_spec
18867 # Permission mode override for installation of shared libraries.
18868 install_override_mode=$lt_install_override_mode
18870 # Command to use after installation of a shared archive.
18871 postinstall_cmds=$lt_postinstall_cmds
18873 # Command to use after uninstallation of a shared archive.
18874 postuninstall_cmds=$lt_postuninstall_cmds
18876 # Commands used to finish a libtool library installation in a directory.
18877 finish_cmds=$lt_finish_cmds
18879 # As "finish_cmds", except a single script fragment to be evaled but
18881 finish_eval=$lt_finish_eval
18883 # Whether we should hardcode library paths into libraries.
18884 hardcode_into_libs=$hardcode_into_libs
18886 # Compile-time system search path for libraries.
18887 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18889 # Detected run-time system search path for libraries.
18890 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18892 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18893 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18895 # Whether dlopen is supported.
18896 dlopen_support=$enable_dlopen
18898 # Whether dlopen of programs is supported.
18899 dlopen_self=$enable_dlopen_self
18901 # Whether dlopen of statically linked programs is supported.
18902 dlopen_self_static=$enable_dlopen_self_static
18904 # Commands to strip libraries.
18905 old_striplib=$lt_old_striplib
18906 striplib=$lt_striplib
18909 # The linker used to build libraries.
18912 # How to create reloadable object files.
18913 reload_flag=$lt_reload_flag
18914 reload_cmds=$lt_reload_cmds
18916 # Commands used to build an old-style archive.
18917 old_archive_cmds=$lt_old_archive_cmds
18919 # A language specific compiler.
18922 # Is the compiler the GNU compiler?
18925 # Compiler flag to turn off builtin functions.
18926 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18928 # Additional compiler flags for building library objects.
18929 pic_flag=$lt_lt_prog_compiler_pic
18931 # How to pass a linker flag through the compiler.
18932 wl=$lt_lt_prog_compiler_wl
18934 # Compiler flag to prevent dynamic linking.
18935 link_static_flag=$lt_lt_prog_compiler_static
18937 # Does compiler simultaneously support -c and -o options?
18938 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18940 # Whether or not to add -lc for building shared libraries.
18941 build_libtool_need_lc=$archive_cmds_need_lc
18943 # Whether or not to disallow shared libs when runtime libs are static.
18944 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18946 # Compiler flag to allow reflexive dlopens.
18947 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18949 # Compiler flag to generate shared objects directly from archives.
18950 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18952 # Whether the compiler copes with passing no objects directly.
18953 compiler_needs_object=$lt_compiler_needs_object
18955 # Create an old-style archive from a shared archive.
18956 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18958 # Create a temporary old-style archive to link instead of a shared archive.
18959 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18961 # Commands used to build a shared archive.
18962 archive_cmds=$lt_archive_cmds
18963 archive_expsym_cmds=$lt_archive_expsym_cmds
18965 # Commands used to build a loadable module if different from building
18966 # a shared archive.
18967 module_cmds=$lt_module_cmds
18968 module_expsym_cmds=$lt_module_expsym_cmds
18970 # Whether we are building with GNU ld or not.
18971 with_gnu_ld=$lt_with_gnu_ld
18973 # Flag that allows shared libraries with undefined symbols to be built.
18974 allow_undefined_flag=$lt_allow_undefined_flag
18976 # Flag that enforces no undefined symbols.
18977 no_undefined_flag=$lt_no_undefined_flag
18979 # Flag to hardcode \$libdir into a binary during linking.
18980 # This must work even if \$libdir does not exist
18981 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18983 # Whether we need a single "-rpath" flag with a separated argument.
18984 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18986 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18987 # DIR into the resulting binary.
18988 hardcode_direct=$hardcode_direct
18990 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18991 # DIR into the resulting binary and the resulting library dependency is
18992 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18993 # library is relocated.
18994 hardcode_direct_absolute=$hardcode_direct_absolute
18996 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18997 # into the resulting binary.
18998 hardcode_minus_L=$hardcode_minus_L
19000 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19001 # into the resulting binary.
19002 hardcode_shlibpath_var=$hardcode_shlibpath_var
19004 # Set to "yes" if building a shared library automatically hardcodes DIR
19005 # into the library and all subsequent libraries and executables linked
19007 hardcode_automatic=$hardcode_automatic
19009 # Set to yes if linker adds runtime paths of dependent libraries
19010 # to runtime path list.
19011 inherit_rpath=$inherit_rpath
19013 # Whether libtool must link a program against all its dependency libraries.
19014 link_all_deplibs=$link_all_deplibs
19016 # Set to "yes" if exported symbols are required.
19017 always_export_symbols=$always_export_symbols
19019 # The commands to list exported symbols.
19020 export_symbols_cmds=$lt_export_symbols_cmds
19022 # Symbols that should not be listed in the preloaded symbols.
19023 exclude_expsyms=$lt_exclude_expsyms
19025 # Symbols that must always be exported.
19026 include_expsyms=$lt_include_expsyms
19028 # Commands necessary for linking programs (against libraries) with templates.
19029 prelink_cmds=$lt_prelink_cmds
19031 # Commands necessary for finishing linking programs.
19032 postlink_cmds=$lt_postlink_cmds
19034 # Specify filename containing input files.
19035 file_list_spec=$lt_file_list_spec
19037 # How to hardcode a shared library path into an executable.
19038 hardcode_action=$hardcode_action
19040 # ### END LIBTOOL CONFIG
19044 cat <<'_LT_EOF' >> "$cfgfile"
19046 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
19048 # func_munge_path_list VARIABLE PATH
19049 # -----------------------------------
19050 # VARIABLE is name of variable containing _space_ separated list of
19051 # directories to be munged by the contents of PATH, which is string
19054 # string "DIR[ DIR]" will be prepended to VARIABLE
19056 # string "DIR[ DIR]" will be appended to VARIABLE
19057 # "DIRP[:DIRP]::[DIRA:]DIRA"
19058 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
19059 # "DIRA[ DIRA]" will be appended to VARIABLE
19061 # VARIABLE will be replaced by "DIR[ DIR]"
19062 func_munge_path_list ()
19068 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
19071 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
19074 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
19075 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
19078 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
19084 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19085 func_cc_basename ()
19087 for cc_temp in $*""; do
19089 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19090 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19095 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19099 # ### END FUNCTIONS SHARED WITH CONFIGURE
19105 cat <<\_LT_EOF >> "$cfgfile"
19106 # AIX sometimes has problems with the GCC collect2 program. For some
19107 # reason, if we set the COLLECT_NAMES environment variable, the problems
19108 # vanish in a puff of smoke.
19109 if test set != "${COLLECT_NAMES+set}"; then
19111 export COLLECT_NAMES
19118 ltmain=$ac_aux_dir/ltmain.sh
19121 # We use sed instead of cat because bash on DJGPP gets confused if
19122 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19123 # text mode, it properly converts lines to CR/LF. This bash problem
19124 # is reportedly fixed, but why not run on old versions too?
19125 sed '$q' "$ltmain" >> "$cfgfile" \
19126 || (rm -f "$cfgfile"; exit 1)
19128 mv -f "$cfgfile" "$ofile" ||
19129 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19140 ac_clean_files=$ac_clean_files_save
19142 test $ac_write_fail = 0 ||
19143 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19146 # configure is writing to config.log, and then calls config.status.
19147 # config.status does its own redirection, appending to config.log.
19148 # Unfortunately, on DOS this fails, as config.log is still kept open
19149 # by configure, so config.status won't be able to write to it; its
19150 # output is simply discarded. So we exec the FD to /dev/null,
19151 # effectively closing config.log, so it can be properly (re)opened and
19152 # appended to by config.status. When coming back to configure, we
19153 # need to make the FD available again.
19154 if test "$no_create" != yes; then
19156 ac_config_status_args=
19157 test "$silent" = yes &&
19158 ac_config_status_args="$ac_config_status_args --quiet"
19160 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19162 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19163 # would make configure fail if this is the last instruction.
19164 $ac_cs_success || as_fn_exit 1
19166 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19168 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19172 # Nick (recommended by libtoolize)