2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for fastq-tools 0.6.
5 # Report bugs to <dcjones@cs.washington.edu >.
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
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: dcjones@cs.washington.edu about your system, including
279 $0: any error possibly output before this message. Then
280 $0: install a modern shell, or manually run the script
281 $0: under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='fastq-tools'
592 PACKAGE_TARNAME='fastq-tools'
593 PACKAGE_VERSION='0.6'
594 PACKAGE_STRING='fastq-tools 0.6'
595 PACKAGE_BUGREPORT='dcjones@cs.washington.edu '
598 # Factoring default headers for most tests.
599 ac_includes_default="\
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
611 # ifdef HAVE_STDLIB_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
634 ac_subst_vars='am__EXEEXT_FALSE
699 INSTALL_STRIP_PROGRAM
741 program_transform_name
754 enable_option_checking
756 enable_dependency_tracking
766 ac_precious_vars='build_alias
777 # Initialize some variables set by options.
779 ac_init_version=false
780 ac_unrecognized_opts=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name=s,x,x,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 includedir='${prefix}/include'
814 oldincludedir='/usr/include'
815 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir='${datarootdir}/info'
821 libdir='${exec_prefix}/lib'
822 localedir='${datarootdir}/locale'
823 mandir='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\$ac_option
837 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884 as_fn_error $? "invalid feature name: $ac_useropt"
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
894 eval enable_$ac_useropt=no ;;
896 -docdir | --docdir | --docdi | --doc | --do)
898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906 -enable-* | --enable-*)
907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908 # Reject names that are not valid shell variable names.
909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910 as_fn_error $? "invalid feature name: $ac_useropt"
911 ac_useropt_orig=$ac_useropt
912 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913 case $ac_user_opts in
917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918 ac_unrecognized_sep=', ';;
920 eval enable_$ac_useropt=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114 as_fn_error $? "invalid package name: $ac_useropt"
1115 ac_useropt_orig=$ac_useropt
1116 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117 case $ac_user_opts in
1121 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122 ac_unrecognized_sep=', ';;
1124 eval with_$ac_useropt=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130 as_fn_error $? "invalid package name: $ac_useropt"
1131 ac_useropt_orig=$ac_useropt
1132 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138 ac_unrecognized_sep=', ';;
1140 eval with_$ac_useropt=no ;;
1143 # Obsolete; use --with-x.
1146 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147 | --x-incl | --x-inc | --x-in | --x-i)
1148 ac_prev=x_includes ;;
1149 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151 x_includes=$ac_optarg ;;
1153 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155 ac_prev=x_libraries ;;
1156 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158 x_libraries=$ac_optarg ;;
1160 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information"
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 case $ac_envvar in #(
1168 '' | [0-9]* | *[!_$as_cr_alnum]* )
1169 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1171 eval $ac_envvar=\$ac_optarg
1172 export $ac_envvar ;;
1175 # FIXME: should be removed in autoconf 3.0.
1176 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185 if test -n "$ac_prev"; then
1186 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187 as_fn_error $? "missing argument to $ac_option"
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1194 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1198 # Check all directory arguments for consistency.
1199 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200 datadir sysconfdir sharedstatedir localstatedir includedir \
1201 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202 libdir localedir mandir
1204 eval ac_val=\$$ac_var
1205 # Remove trailing slashes.
1208 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209 eval $ac_var=\$ac_val;;
1211 # Be sure to have absolute directory names.
1213 [\\/$]* | ?:[\\/]* ) continue;;
1214 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1224 target=$target_alias
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228 if test "x$build_alias" = x; then
1229 cross_compiling=maybe
1230 elif test "x$build_alias" != "x$host_alias"; then
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238 test "$silent" = yes && exec 6>/dev/null
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244 as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 as_fn_error $? "pwd does not report name of working directory"
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 for ac_var in $ac_precious_vars; do
1302 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303 eval ac_env_${ac_var}_value=\$${ac_var}
1304 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1309 # Report the --help message.
1311 if test "$ac_init_help" = "long"; then
1312 # Omit some internal or obsolete options to make the list less imposing.
1313 # This message is too long to be a string in the A/UX 3.1 sh.
1315 \`configure' configures fastq-tools 0.6 to adapt to many kinds of systems.
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE. See below for descriptions of some of the useful variables.
1322 Defaults for the options are specified in brackets.
1325 -h, --help display this help and exit
1326 --help=short display options specific to this package
1327 --help=recursive display the short help of all the included packages
1328 -V, --version display version information and exit
1329 -q, --quiet, --silent do not print \`checking ...' messages
1330 --cache-file=FILE cache test results in FILE [disabled]
1331 -C, --config-cache alias for \`--cache-file=config.cache'
1332 -n, --no-create do not create output files
1333 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335 Installation directories:
1336 --prefix=PREFIX install architecture-independent files in PREFIX
1337 [$ac_default_prefix]
1338 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1346 For better control, use the options below.
1348 Fine tuning of the installation directories:
1349 --bindir=DIR user executables [EPREFIX/bin]
1350 --sbindir=DIR system admin executables [EPREFIX/sbin]
1351 --libexecdir=DIR program executables [EPREFIX/libexec]
1352 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1353 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1354 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1355 --libdir=DIR object code libraries [EPREFIX/lib]
1356 --includedir=DIR C header files [PREFIX/include]
1357 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1358 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1359 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1360 --infodir=DIR info documentation [DATAROOTDIR/info]
1361 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1362 --mandir=DIR man documentation [DATAROOTDIR/man]
1363 --docdir=DIR documentation root [DATAROOTDIR/doc/fastq-tools]
1364 --htmldir=DIR html documentation [DOCDIR]
1365 --dvidir=DIR dvi documentation [DOCDIR]
1366 --pdfdir=DIR pdf documentation [DOCDIR]
1367 --psdir=DIR ps documentation [DOCDIR]
1373 --program-prefix=PREFIX prepend PREFIX to installed program names
1374 --program-suffix=SUFFIX append SUFFIX to installed program names
1375 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1378 --build=BUILD configure for building on BUILD [guessed]
1379 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive ) echo "Configuration of fastq-tools 0.6:";;
1390 --disable-option-checking ignore unrecognized --enable/--with options
1391 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1392 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1393 --enable-silent-rules less verbose build output (undo: "make V=1")
1394 --disable-silent-rules verbose build output (undo: "make V=0")
1395 --enable-dependency-tracking
1396 do not reject slow dependency extractors
1397 --disable-dependency-tracking
1398 speeds up one-time build
1399 --enable-debug enable debugging info (default is no)
1400 --enable-shared[=PKGS] build shared libraries [default=yes]
1401 --enable-static[=PKGS] build static libraries [default=yes]
1402 --enable-fast-install[=PKGS]
1403 optimize for fast installation [default=yes]
1404 --disable-libtool-lock avoid locking (might break parallel builds)
1407 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1408 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1409 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1411 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1412 --with-sysroot=DIR Search for dependent libraries within DIR
1413 (or the compiler's sysroot if not specified).
1415 Some influential environment variables:
1416 CC C compiler command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1419 nonstandard directory <lib dir>
1420 LIBS libraries to pass to the linker, e.g. -l<library>
1421 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1422 you have headers in a nonstandard directory <include dir>
1425 Use these variables to override the choices made by `configure' or to help
1426 it to find libraries and programs with nonstandard names/locations.
1428 Report bugs to <dcjones@cs.washington.edu >.
1433 if test "$ac_init_help" = "recursive"; then
1434 # If there are subdirs, report their specific --help.
1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436 test -d "$ac_dir" ||
1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1445 # A ".." for each directory in $ac_dir_suffix.
1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1447 case $ac_top_builddir_sub in
1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452 ac_abs_top_builddir=$ac_pwd
1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1454 # for backward compatibility:
1455 ac_top_builddir=$ac_top_build_prefix
1458 .) # We are building in place.
1460 ac_top_srcdir=$ac_top_builddir_sub
1461 ac_abs_top_srcdir=$ac_pwd ;;
1462 [\\/]* | ?:[\\/]* ) # Absolute name.
1463 ac_srcdir=$srcdir$ac_dir_suffix;
1464 ac_top_srcdir=$srcdir
1465 ac_abs_top_srcdir=$srcdir ;;
1467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1468 ac_top_srcdir=$ac_top_build_prefix$srcdir
1469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1473 cd "$ac_dir" || { ac_status=$?; continue; }
1474 # Check for guested configure.
1475 if test -f "$ac_srcdir/configure.gnu"; then
1477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1478 elif test -f "$ac_srcdir/configure"; then
1480 $SHELL "$ac_srcdir/configure" --help=recursive
1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 cd "$ac_pwd" || { ac_status=$?; break; }
1488 test -n "$ac_init_help" && exit $ac_status
1489 if $ac_init_version; then
1491 fastq-tools configure 0.6
1492 generated by GNU Autoconf 2.69
1494 Copyright (C) 2012 Free Software Foundation, Inc.
1495 This configure script is free software; the Free Software Foundation
1496 gives unlimited permission to copy, distribute and modify it.
1501 ## ------------------------ ##
1502 ## Autoconf initialization. ##
1503 ## ------------------------ ##
1505 # ac_fn_c_try_compile LINENO
1506 # --------------------------
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_compile ()
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 rm -f conftest.$ac_objext
1512 if { { ac_try="$ac_compile"
1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1515 *) ac_try_echo=$ac_try;;
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1518 $as_echo "$ac_try_echo"; } >&5
1519 (eval "$ac_compile") 2>conftest.err
1521 if test -s conftest.err; then
1522 grep -v '^ *+' conftest.err >conftest.er1
1523 cat conftest.er1 >&5
1524 mv -f conftest.er1 conftest.err
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1527 test $ac_status = 0; } && {
1528 test -z "$ac_c_werror_flag" ||
1529 test ! -s conftest.err
1530 } && test -s conftest.$ac_objext; then :
1533 $as_echo "$as_me: failed program was:" >&5
1534 sed 's/^/| /' conftest.$ac_ext >&5
1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1539 as_fn_set_status $ac_retval
1541 } # ac_fn_c_try_compile
1543 # ac_fn_c_try_cpp LINENO
1544 # ----------------------
1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_cpp conftest.$ac_ext"
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1558 if test -s conftest.err; then
1559 grep -v '^ *+' conftest.err >conftest.er1
1560 cat conftest.er1 >&5
1561 mv -f conftest.er1 conftest.err
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1564 test $ac_status = 0; } > conftest.i && {
1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1566 test ! -s conftest.err
1570 $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1576 as_fn_set_status $ac_retval
1580 # ac_fn_c_try_run LINENO
1581 # ----------------------
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1583 # that executables *can* be run.
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1587 if { { ac_try="$ac_link"
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_link") 2>&5
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1598 { { case "(($ac_try" in
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600 *) ac_try_echo=$ac_try;;
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603 $as_echo "$ac_try_echo"; } >&5
1604 (eval "$ac_try") 2>&5
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1607 test $ac_status = 0; }; }; then :
1610 $as_echo "$as_me: program exited with status $ac_status" >&5
1611 $as_echo "$as_me: failed program was:" >&5
1612 sed 's/^/| /' conftest.$ac_ext >&5
1614 ac_retval=$ac_status
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 } # ac_fn_c_check_header_compile
1653 # ac_fn_c_find_uintX_t LINENO BITS VAR
1654 # ------------------------------------
1655 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1657 ac_fn_c_find_uintX_t ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1661 $as_echo_n "checking for uint$2_t... " >&6; }
1662 if eval \${$3+:} false; then :
1663 $as_echo_n "(cached) " >&6
1666 # Order is important - never check a type that is potentially smaller
1667 # than half of the expected target width.
1668 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1669 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1671 /* end confdefs.h. */
1672 $ac_includes_default
1676 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1678 return test_array [0];
1684 if ac_fn_c_try_compile "$LINENO"; then :
1689 eval "$3=\$ac_type" ;;
1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1693 if eval test \"x\$"$3"\" = x"no"; then :
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; }
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 } # ac_fn_c_find_uintX_t
1707 # ac_fn_c_find_intX_t LINENO BITS VAR
1708 # -----------------------------------
1709 # Finds a signed integer type with width BITS, setting cache variable VAR
1711 ac_fn_c_find_intX_t ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1715 $as_echo_n "checking for int$2_t... " >&6; }
1716 if eval \${$3+:} false; then :
1717 $as_echo_n "(cached) " >&6
1720 # Order is important - never check a type that is potentially smaller
1721 # than half of the expected target width.
1722 for ac_type in int$2_t 'int' 'long int' \
1723 'long long int' 'short int' 'signed char'; do
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1726 $ac_includes_default
1727 enum { N = $2 / 2 - 1 };
1731 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1733 return test_array [0];
1739 if ac_fn_c_try_compile "$LINENO"; then :
1740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1741 /* end confdefs.h. */
1742 $ac_includes_default
1743 enum { N = $2 / 2 - 1 };
1747 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1748 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1750 return test_array [0];
1756 if ac_fn_c_try_compile "$LINENO"; then :
1763 eval "$3=\$ac_type" ;;
1766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 if eval test \"x\$"$3"\" = x"no"; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 } # ac_fn_c_find_intX_t
1783 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1784 # -------------------------------------------
1785 # Tests whether TYPE exists after having included INCLUDES, setting cache
1786 # variable VAR accordingly.
1787 ac_fn_c_check_type ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval \${$3+:} false; then :
1793 $as_echo_n "(cached) " >&6
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1808 if ac_fn_c_try_compile "$LINENO"; then :
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1821 if ac_fn_c_try_compile "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 } # ac_fn_c_check_type
1837 # ac_fn_c_try_link LINENO
1838 # -----------------------
1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 rm -f conftest.$ac_objext conftest$ac_exeext
1844 if { { ac_try="$ac_link"
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_link") 2>conftest.err
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } && {
1860 test -z "$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 } && test -s conftest$ac_exeext && {
1863 test "$cross_compiling" = yes ||
1864 test -x conftest$ac_exeext
1868 $as_echo "$as_me: failed program was:" >&5
1869 sed 's/^/| /' conftest.$ac_ext >&5
1873 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875 # interfere with the next link command; also delete a directory that is
1876 # left behind by Apple's compiler. We do this before executing the actions.
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879 as_fn_set_status $ac_retval
1881 } # ac_fn_c_try_link
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if eval \${$3+:} false; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link "$LINENO"; then :
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext 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_func
1950 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1951 # -------------------------------------------------------
1952 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1953 # the include files in INCLUDES and setting the cache variable VAR
1955 ac_fn_c_check_header_mongrel ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if eval \${$3+:} false; then :
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if eval \${$3+:} false; then :
1962 $as_echo_n "(cached) " >&6
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1968 # Is the header compilable?
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1970 $as_echo_n "checking $2 usability... " >&6; }
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 ac_header_compiler=yes
1979 ac_header_compiler=no
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1983 $as_echo "$ac_header_compiler" >&6; }
1985 # Is the header present?
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1987 $as_echo_n "checking $2 presence... " >&6; }
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1992 if ac_fn_c_try_cpp "$LINENO"; then :
1993 ac_header_preproc=yes
1995 ac_header_preproc=no
1997 rm -f conftest.err conftest.i conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1999 $as_echo "$ac_header_preproc" >&6; }
2001 # So? What about this header?
2002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2005 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2011 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2013 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2015 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2017 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2019 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2020 ( $as_echo "## ----------------------------------------- ##
2021 ## Report this to dcjones@cs.washington.edu ##
2022 ## ----------------------------------------- ##"
2023 ) | sed "s/^/$as_me: WARNING: /" >&2
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if eval \${$3+:} false; then :
2029 $as_echo_n "(cached) " >&6
2031 eval "$3=\$ac_header_compiler"
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2039 } # ac_fn_c_check_header_mongrel
2040 cat >config.log <<_ACEOF
2041 This file contains any messages produced by compilers while
2042 running configure, to aid debugging if configure makes a mistake.
2044 It was created by fastq-tools $as_me 0.6, which was
2045 generated by GNU Autoconf 2.69. Invocation command line was
2057 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2058 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2059 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2060 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2061 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2063 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2064 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2066 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2067 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2068 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2069 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2070 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2071 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2072 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 $as_echo "PATH: $as_dir"
2097 # Keep a trace of the command line.
2098 # Strip out --no-create and --no-recursion so they do not pile up.
2099 # Strip out --silent because we don't want to record it for future runs.
2100 # Also quote any args containing shell meta-characters.
2101 # Make two passes to allow for proper duplicate-argument suppression.
2105 ac_must_keep_next=false
2111 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2113 | -silent | --silent | --silen | --sile | --sil)
2116 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2119 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2121 as_fn_append ac_configure_args1 " '$ac_arg'"
2122 if test $ac_must_keep_next = true; then
2123 ac_must_keep_next=false # Got value, back to normal.
2126 *=* | --config-cache | -C | -disable-* | --disable-* \
2127 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2128 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2129 | -with-* | --with-* | -without-* | --without-* | --x)
2130 case "$ac_configure_args0 " in
2131 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134 -* ) ac_must_keep_next=true ;;
2137 as_fn_append ac_configure_args " '$ac_arg'"
2142 { ac_configure_args0=; unset ac_configure_args0;}
2143 { ac_configure_args1=; unset ac_configure_args1;}
2145 # When interrupted or exit'd, cleanup temporary files, and complete
2146 # config.log. We remove comments because anyway the quotes in there
2147 # would cause problems or look ugly.
2148 # WARNING: Use '\'' to represent an apostrophe within the trap.
2149 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2150 trap 'exit_status=$?
2151 # Save into config.log some information that might help in debugging.
2155 $as_echo "## ---------------- ##
2156 ## Cache variables. ##
2157 ## ---------------- ##"
2159 # The following way of writing the cache mishandles newlines in values,
2161 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2162 eval ac_val=\$$ac_var
2166 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2167 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2170 _ | IFS | as_nl) ;; #(
2171 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2172 *) { eval $ac_var=; unset $ac_var;} ;;
2177 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2178 *${as_nl}ac_space=\ *)
2180 "s/'\''/'\''\\\\'\'''\''/g;
2181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2191 $as_echo "## ----------------- ##
2192 ## Output variables. ##
2193 ## ----------------- ##"
2195 for ac_var in $ac_subst_vars
2197 eval ac_val=\$$ac_var
2199 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 $as_echo "$ac_var='\''$ac_val'\''"
2205 if test -n "$ac_subst_files"; then
2206 $as_echo "## ------------------- ##
2207 ## File substitutions. ##
2208 ## ------------------- ##"
2210 for ac_var in $ac_subst_files
2212 eval ac_val=\$$ac_var
2214 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2216 $as_echo "$ac_var='\''$ac_val'\''"
2221 if test -s confdefs.h; then
2222 $as_echo "## ----------- ##
2229 test "$ac_signal" != 0 &&
2230 $as_echo "$as_me: caught signal $ac_signal"
2231 $as_echo "$as_me: exit $exit_status"
2233 rm -f core *.core core.conftest.* &&
2234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2237 for ac_signal in 1 2 13 15; do
2238 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2243 rm -f -r conftest* confdefs.h
2245 $as_echo "/* confdefs.h */" > confdefs.h
2247 # Predefined preprocessor variables.
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_STRING "$PACKAGE_STRING"
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_URL "$PACKAGE_URL"
2274 # Let the site file select an alternate cache file if it wants to.
2275 # Prefer an explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 # We do not want a PATH search for config.site.
2280 case $CONFIG_SITE in #((
2281 -*) ac_site_file1=./$CONFIG_SITE;;
2282 */*) ac_site_file1=$CONFIG_SITE;;
2283 *) ac_site_file1=./$CONFIG_SITE;;
2285 elif test "x$prefix" != xNONE; then
2286 ac_site_file1=$prefix/share/config.site
2287 ac_site_file2=$prefix/etc/config.site
2289 ac_site_file1=$ac_default_prefix/share/config.site
2290 ac_site_file2=$ac_default_prefix/etc/config.site
2292 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2294 test "x$ac_site_file" = xNONE && continue
2295 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2297 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2298 sed 's/^/| /' "$ac_site_file" >&5
2300 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2302 as_fn_error $? "failed to load site script $ac_site_file
2303 See \`config.log' for more details" "$LINENO" 5; }
2307 if test -r "$cache_file"; then
2308 # Some versions of bash will fail to source /dev/null (special files
2309 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2310 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2312 $as_echo "$as_me: loading cache $cache_file" >&6;}
2314 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2315 *) . "./$cache_file";;
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2320 $as_echo "$as_me: creating cache $cache_file" >&6;}
2324 # Check that the precious variables saved in the cache have kept the same
2326 ac_cache_corrupted=false
2327 for ac_var in $ac_precious_vars; do
2328 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2329 eval ac_new_set=\$ac_env_${ac_var}_set
2330 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2331 eval ac_new_val=\$ac_env_${ac_var}_value
2332 case $ac_old_set,$ac_new_set in
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2335 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2336 ac_cache_corrupted=: ;;
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2339 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2340 ac_cache_corrupted=: ;;
2343 if test "x$ac_old_val" != "x$ac_new_val"; then
2344 # differences in whitespace do not lead to failure.
2345 ac_old_val_w=`echo x $ac_old_val`
2346 ac_new_val_w=`echo x $ac_new_val`
2347 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2349 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2350 ac_cache_corrupted=:
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2353 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2354 eval $ac_var=\$ac_old_val
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2357 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2359 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2362 # Pass precious variables to config.status.
2363 if test "$ac_new_set" = set; then
2365 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2366 *) ac_arg=$ac_var=$ac_new_val ;;
2368 case " $ac_configure_args " in
2369 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2370 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2374 if $ac_cache_corrupted; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2378 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2379 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2381 ## -------------------- ##
2382 ## Main body of script. ##
2383 ## -------------------- ##
2386 ac_cpp='$CPP $CPPFLAGS'
2387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392 am__api_version='1.13'
2395 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2396 if test -f "$ac_dir/install-sh"; then
2398 ac_install_sh="$ac_aux_dir/install-sh -c"
2400 elif test -f "$ac_dir/install.sh"; then
2402 ac_install_sh="$ac_aux_dir/install.sh -c"
2404 elif test -f "$ac_dir/shtool"; then
2406 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 if test -z "$ac_aux_dir"; then
2411 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2414 # These three variables are undocumented and unsupported,
2415 # and are intended to be withdrawn in a future Autoconf release.
2416 # They can cause serious problems if a builder's source tree is in a directory
2417 # whose full name contains unusual characters.
2418 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2419 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2420 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2423 # Find a good install program. We prefer a C program (faster),
2424 # so one script is as good as another. But avoid the broken or
2425 # incompatible versions:
2426 # SysV /etc/install, /usr/sbin/install
2427 # SunOS /usr/etc/install
2428 # IRIX /sbin/install
2430 # AmigaOS /C/install, which installs bootblocks on floppy discs
2431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2434 # OS/2's system install, which has a completely different semantic
2435 # ./install, which can be erroneously created by make from ./install.sh.
2436 # Reject install programs that cannot install multiple files.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2439 if test -z "$INSTALL"; then
2440 if ${ac_cv_path_install+:} false; then :
2441 $as_echo_n "(cached) " >&6
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir=.
2448 # Account for people who put trailing slashes in PATH elements.
2449 case $as_dir/ in #((
2450 ./ | .// | /[cC]/* | \
2451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2452 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2455 # OSF1 and SCO ODT 3.0 have their own names for install.
2456 # Don't use installbsd from OSF since it installs stuff as root
2458 for ac_prog in ginstall scoinst install; do
2459 for ac_exec_ext in '' $ac_executable_extensions; do
2460 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2461 if test $ac_prog = install &&
2462 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2463 # AIX install. It has an incompatible calling convention.
2465 elif test $ac_prog = install &&
2466 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2467 # program-specific install script used by HP pwplus--don't use.
2470 rm -rf conftest.one conftest.two conftest.dir
2471 echo one > conftest.one
2472 echo two > conftest.two
2474 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2475 test -s conftest.one && test -s conftest.two &&
2476 test -s conftest.dir/conftest.one &&
2477 test -s conftest.dir/conftest.two
2479 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2492 rm -rf conftest.one conftest.two conftest.dir
2495 if test "${ac_cv_path_install+set}" = set; then
2496 INSTALL=$ac_cv_path_install
2498 # As a last resort, use the slow shell script. Don't cache a
2499 # value for INSTALL within a source directory, because that will
2500 # break other packages using the cache if that directory is
2501 # removed, or if the value is a relative name.
2502 INSTALL=$ac_install_sh
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2506 $as_echo "$INSTALL" >&6; }
2508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2509 # It thinks the first close brace ends the variable substitution.
2510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2517 $as_echo_n "checking whether build environment is sane... " >&6; }
2518 # Reject unsafe characters in $srcdir or the absolute working directory
2519 # name. Accept space and tab only in the latter.
2523 *[\\\"\#\$\&\'\`$am_lf]*)
2524 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2527 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2528 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2531 # Do 'set' in a subshell so we don't clobber the current shell's
2532 # arguments. Must try -L first in case configure is actually a
2533 # symlink; some systems play weird games with the mod time of symlinks
2534 # (eg FreeBSD returns the mod time of the symlink's containing
2538 for am_try in 1 2; do
2539 echo "timestamp, slept: $am_has_slept" > conftest.file
2540 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2541 if test "$*" = "X"; then
2543 set X `ls -t "$srcdir/configure" conftest.file`
2545 if test "$*" != "X $srcdir/configure conftest.file" \
2546 && test "$*" != "X conftest.file $srcdir/configure"; then
2548 # If neither matched, then we have a broken ls. This can happen
2549 # if, for instance, CONFIG_SHELL is bash and it inherits a
2550 # broken ls alias from the environment. This has actually
2551 # happened. Such a system could not be considered "sane".
2552 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2553 alias in your environment" "$LINENO" 5
2555 if test "$2" = conftest.file || test $am_try -eq 2; then
2562 test "$2" = conftest.file
2568 as_fn_error $? "newly created file is older than distributed files!
2569 Check your system clock" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2572 $as_echo "yes" >&6; }
2573 # If we didn't sleep, we still need to ensure time stamps of config.status and
2574 # generated files are strictly newer.
2576 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2583 test "$program_prefix" != NONE &&
2584 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2585 # Use a double $ so make ignores it.
2586 test "$program_suffix" != NONE &&
2587 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2588 # Double any \ or $.
2589 # By default was `s,x,x', remove it if useless.
2590 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2591 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2593 # expand $ac_aux_dir to an absolute path
2594 am_aux_dir=`cd $ac_aux_dir && pwd`
2596 if test x"${MISSING+set}" != xset; then
2599 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2601 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2604 # Use eval to expand $SHELL
2605 if eval "$MISSING --is-lightweight"; then
2606 am_missing_run="$MISSING "
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2610 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2613 if test x"${install_sh}" != xset; then
2616 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2618 install_sh="\${SHELL} $am_aux_dir/install-sh"
2622 # Installed binaries are usually stripped using 'strip' when the user
2623 # run "make install-strip". However 'strip' might not be the right
2624 # tool to use in cross-compilation environments, therefore Automake
2625 # will honor the 'STRIP' environment variable to overrule this program.
2626 if test "$cross_compiling" != no; then
2627 if test -n "$ac_tool_prefix"; then
2628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2629 set dummy ${ac_tool_prefix}strip; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if ${ac_cv_prog_STRIP+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 if test -n "$STRIP"; then
2636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir=.
2643 for ac_exec_ext in '' $ac_executable_extensions; do
2644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2645 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 STRIP=$ac_cv_prog_STRIP
2656 if test -n "$STRIP"; then
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2658 $as_echo "$STRIP" >&6; }
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2666 if test -z "$ac_cv_prog_STRIP"; then
2668 # Extract the first word of "strip", so it can be a program name with args.
2669 set dummy strip; ac_word=$2
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671 $as_echo_n "checking for $ac_word... " >&6; }
2672 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2673 $as_echo_n "(cached) " >&6
2675 if test -n "$ac_ct_STRIP"; then
2676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir=.
2683 for ac_exec_ext in '' $ac_executable_extensions; do
2684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 ac_cv_prog_ac_ct_STRIP="strip"
2686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2696 if test -n "$ac_ct_STRIP"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2698 $as_echo "$ac_ct_STRIP" >&6; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 $as_echo "no" >&6; }
2704 if test "x$ac_ct_STRIP" = x; then
2707 case $cross_compiling:$ac_tool_warned in
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2711 ac_tool_warned=yes ;;
2716 STRIP="$ac_cv_prog_STRIP"
2720 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2723 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2724 if test -z "$MKDIR_P"; then
2725 if ${ac_cv_path_mkdir+:} false; then :
2726 $as_echo_n "(cached) " >&6
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2732 test -z "$as_dir" && as_dir=.
2733 for ac_prog in mkdir gmkdir; do
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2736 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2737 'mkdir (GNU coreutils) '* | \
2738 'mkdir (coreutils) '* | \
2739 'mkdir (fileutils) '4.1*)
2740 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2750 test -d ./--version && rmdir ./--version
2751 if test "${ac_cv_path_mkdir+set}" = set; then
2752 MKDIR_P="$ac_cv_path_mkdir -p"
2754 # As a last resort, use the slow shell script. Don't cache a
2755 # value for MKDIR_P within a source directory, because that will
2756 # break other packages using the cache if that directory is
2757 # removed, or if the value is a relative name.
2758 MKDIR_P="$ac_install_sh -d"
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2762 $as_echo "$MKDIR_P" >&6; }
2764 for ac_prog in gawk mawk nawk awk
2766 # Extract the first word of "$ac_prog", so it can be a program name with args.
2767 set dummy $ac_prog; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_AWK+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$AWK"; then
2774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_AWK="$ac_prog"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$AWK"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2796 $as_echo "$AWK" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2803 test -n "$AWK" && break
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2810 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat >conftest.make <<\_ACEOF
2816 @echo '@@@%%%=$(MAKE)=@@@%%%'
2818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2821 eval ac_cv_prog_make_${ac_make}_set=yes;;
2823 eval ac_cv_prog_make_${ac_make}_set=no;;
2827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829 $as_echo "yes" >&6; }
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2834 SET_MAKE="MAKE=${MAKE-make}"
2837 rm -rf .tst 2>/dev/null
2838 mkdir .tst 2>/dev/null
2839 if test -d .tst; then
2844 rmdir .tst 2>/dev/null
2846 # Check whether --enable-silent-rules was given.
2847 if test "${enable_silent_rules+set}" = set; then :
2848 enableval=$enable_silent_rules;
2851 case $enable_silent_rules in # (((
2852 yes) AM_DEFAULT_VERBOSITY=0;;
2853 no) AM_DEFAULT_VERBOSITY=1;;
2854 *) AM_DEFAULT_VERBOSITY=1;;
2856 am_make=${MAKE-make}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2858 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2859 if ${am_cv_make_support_nested_variables+:} false; then :
2860 $as_echo_n "(cached) " >&6
2862 if $as_echo 'TRUE=$(BAR$(V))
2868 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2869 am_cv_make_support_nested_variables=yes
2871 am_cv_make_support_nested_variables=no
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2875 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2876 if test $am_cv_make_support_nested_variables = yes; then
2878 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2880 AM_V=$AM_DEFAULT_VERBOSITY
2881 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2885 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2886 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2887 # is not polluted with repeated "-I."
2888 am__isrc=' -I$(srcdir)'
2889 # test to see if srcdir already configured
2890 if test -f $srcdir/config.status; then
2891 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2895 # test whether we have cygpath
2896 if test -z "$CYGPATH_W"; then
2897 if (cygpath --version) >/dev/null 2>/dev/null; then
2898 CYGPATH_W='cygpath -w'
2905 # Define the identity of the package.
2906 PACKAGE='fastq-tools'
2910 cat >>confdefs.h <<_ACEOF
2911 #define PACKAGE "$PACKAGE"
2915 cat >>confdefs.h <<_ACEOF
2916 #define VERSION "$VERSION"
2919 # Some tools Automake needs.
2921 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2924 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2927 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2930 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2933 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2935 # For better backward compatibility. To be removed once Automake 1.9.x
2936 # dies out for good. For more background, see:
2937 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2938 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2939 mkdir_p='$(MKDIR_P)'
2941 # We need awk for the "check" target. The system "awk" is bad on
2943 # Always define AMTAR for backward compatibility. Yes, it's still used
2944 # in the wild :-( We should find a proper way to deprecate it ...
2947 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2953 # Check whether --enable-silent-rules was given.
2954 if test "${enable_silent_rules+set}" = set; then :
2955 enableval=$enable_silent_rules;
2958 case $enable_silent_rules in # (((
2959 yes) AM_DEFAULT_VERBOSITY=0;;
2960 no) AM_DEFAULT_VERBOSITY=1;;
2961 *) AM_DEFAULT_VERBOSITY=0;;
2963 am_make=${MAKE-make}
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2965 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2966 if ${am_cv_make_support_nested_variables+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 if $as_echo 'TRUE=$(BAR$(V))
2975 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2976 am_cv_make_support_nested_variables=yes
2978 am_cv_make_support_nested_variables=no
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2982 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2983 if test $am_cv_make_support_nested_variables = yes; then
2985 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2987 AM_V=$AM_DEFAULT_VERBOSITY
2988 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2996 ac_cpp='$CPP $CPPFLAGS'
2997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3000 if test -n "$ac_tool_prefix"; then
3001 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3002 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3004 $as_echo_n "checking for $ac_word... " >&6; }
3005 if ${ac_cv_prog_CC+:} false; then :
3006 $as_echo_n "(cached) " >&6
3008 if test -n "$CC"; then
3009 ac_cv_prog_CC="$CC" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 if test -n "$CC"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3031 $as_echo "$CC" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3039 if test -z "$ac_cv_prog_CC"; then
3041 # Extract the first word of "gcc", so it can be a program name with args.
3042 set dummy gcc; ac_word=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$ac_ct_CC"; then
3049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3058 ac_cv_prog_ac_ct_CC="gcc"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3069 if test -n "$ac_ct_CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3071 $as_echo "$ac_ct_CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3077 if test "x$ac_ct_CC" = x; then
3080 case $cross_compiling:$ac_tool_warned in
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3084 ac_tool_warned=yes ;;
3092 if test -z "$CC"; then
3093 if test -n "$ac_tool_prefix"; then
3094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3095 set dummy ${ac_tool_prefix}cc; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_CC+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$CC"; then
3102 ac_cv_prog_CC="$CC" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_CC="${ac_tool_prefix}cc"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124 $as_echo "$CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3133 if test -z "$CC"; then
3134 # Extract the first word of "cc", so it can be a program name with args.
3135 set dummy cc; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir=.
3150 for ac_exec_ext in '' $ac_executable_extensions; do
3151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3152 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3153 ac_prog_rejected=yes
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 if test $ac_prog_rejected = yes; then
3165 # We found a bogon in the path, so make sure we never use it.
3166 set dummy $ac_cv_prog_CC
3168 if test $# != 0; then
3169 # We chose a different compiler from the bogus one.
3170 # However, it has the same basename, so the bogon will be chosen
3171 # first if we set CC to just the basename; use the full file name.
3173 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3179 if test -n "$CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3181 $as_echo "$CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3189 if test -z "$CC"; then
3190 if test -n "$ac_tool_prefix"; then
3191 for ac_prog in cl.exe
3193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_CC+:} false; then :
3198 $as_echo_n "(cached) " >&6
3200 if test -n "$CC"; then
3201 ac_cv_prog_CC="$CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 test -z "$as_dir" && as_dir=.
3208 for ac_exec_ext in '' $ac_executable_extensions; do
3209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 if test -n "$CC"; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3223 $as_echo "$CC" >&6; }
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3230 test -n "$CC" && break
3233 if test -z "$CC"; then
3235 for ac_prog in cl.exe
3237 # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy $ac_prog; ac_word=$2
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 $as_echo_n "checking for $ac_word... " >&6; }
3241 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3242 $as_echo_n "(cached) " >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir=.
3252 for ac_exec_ext in '' $ac_executable_extensions; do
3253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_CC="$ac_prog"
3255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3267 $as_echo "$ac_ct_CC" >&6; }
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3270 $as_echo "no" >&6; }
3274 test -n "$ac_ct_CC" && break
3277 if test "x$ac_ct_CC" = x; then
3280 case $cross_compiling:$ac_tool_warned in
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3284 ac_tool_warned=yes ;;
3293 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $? "no acceptable C compiler found in \$PATH
3296 See \`config.log' for more details" "$LINENO" 5; }
3298 # Provide some information about the compiler.
3299 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3302 for ac_option in --version -v -V -qversion; do
3303 { { ac_try="$ac_compiler $ac_option >&5"
3305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3312 if test -s conftest.err; then
3314 ... rest of stderr output deleted ...
3315 10q' conftest.err >conftest.er1
3316 cat conftest.er1 >&5
3318 rm -f conftest.er1 conftest.err
3319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3320 test $ac_status = 0; }
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3334 ac_clean_files_save=$ac_clean_files
3335 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3336 # Try to create an executable without -o first, disregard a.out.
3337 # It will help us diagnose broken compilers, and finding out an intuition
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3340 $as_echo_n "checking whether the C compiler works... " >&6; }
3341 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3343 # The possible output files:
3344 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3347 for ac_file in $ac_files
3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3351 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3356 if { { ac_try="$ac_link_default"
3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363 (eval "$ac_link_default") 2>&5
3365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366 test $ac_status = 0; }; then :
3367 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3368 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3369 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3370 # so that the user can short-circuit this test for compilers unknown to
3372 for ac_file in $ac_files ''
3374 test -f "$ac_file" || continue
3376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3379 # We found the default executable, but exeext='' is most
3383 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3385 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3387 # We set ac_cv_exeext here because the later test for it is not
3388 # safe: cross compilers may not add the suffix if given an `-o'
3389 # argument, so we may need to know it at that point already.
3390 # Even if this section looks crufty: it has the advantage of
3397 test "$ac_cv_exeext" = no && ac_cv_exeext=
3402 if test -z "$ac_file"; then :
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3404 $as_echo "no" >&6; }
3405 $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3410 as_fn_error 77 "C compiler cannot create executables
3411 See \`config.log' for more details" "$LINENO" 5; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3414 $as_echo "yes" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3417 $as_echo_n "checking for C compiler default output file name... " >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3419 $as_echo "$ac_file" >&6; }
3420 ac_exeext=$ac_cv_exeext
3422 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3423 ac_clean_files=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3425 $as_echo_n "checking for suffix of executables... " >&6; }
3426 if { { ac_try="$ac_link"
3428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429 *) ac_try_echo=$ac_try;;
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433 (eval "$ac_link") 2>&5
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }; then :
3437 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3438 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3439 # work properly (i.e., refer to `conftest.exe'), while it won't with
3441 for ac_file in conftest.exe conftest conftest.*; do
3442 test -f "$ac_file" || continue
3444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3445 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3454 See \`config.log' for more details" "$LINENO" 5; }
3456 rm -f conftest conftest$ac_cv_exeext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3458 $as_echo "$ac_cv_exeext" >&6; }
3460 rm -f conftest.$ac_ext
3461 EXEEXT=$ac_cv_exeext
3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3464 /* end confdefs.h. */
3469 FILE *f = fopen ("conftest.out", "w");
3470 return ferror (f) || fclose (f) != 0;
3476 ac_clean_files="$ac_clean_files conftest.out"
3477 # Check that the compiler produces executables we can run. If not, either
3478 # the compiler is broken, or we cross compile.
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3480 $as_echo_n "checking whether we are cross compiling... " >&6; }
3481 if test "$cross_compiling" != yes; then
3482 { { ac_try="$ac_link"
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489 (eval "$ac_link") 2>&5
3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492 test $ac_status = 0; }
3493 if { ac_try='./conftest$ac_cv_exeext'
3494 { { case "(($ac_try" in
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 $as_echo "$ac_try_echo"; } >&5
3500 (eval "$ac_try") 2>&5
3502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503 test $ac_status = 0; }; }; then
3506 if test "$cross_compiling" = maybe; then
3509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511 as_fn_error $? "cannot run C compiled programs.
3512 If you meant to cross compile, use \`--host'.
3513 See \`config.log' for more details" "$LINENO" 5; }
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3518 $as_echo "$cross_compiling" >&6; }
3520 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3521 ac_clean_files=$ac_clean_files_save
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3523 $as_echo_n "checking for suffix of object files... " >&6; }
3524 if ${ac_cv_objext+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3538 rm -f conftest.o conftest.obj
3539 if { { ac_try="$ac_compile"
3541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542 *) ac_try_echo=$ac_try;;
3544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3545 $as_echo "$ac_try_echo"; } >&5
3546 (eval "$ac_compile") 2>&5
3548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549 test $ac_status = 0; }; then :
3550 for ac_file in conftest.o conftest.obj conftest.*; do
3551 test -f "$ac_file" || continue;
3553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error $? "cannot compute suffix of object files: cannot compile
3565 See \`config.log' for more details" "$LINENO" 5; }
3567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3570 $as_echo "$ac_cv_objext" >&6; }
3571 OBJEXT=$ac_cv_objext
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3574 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3575 if ${ac_cv_c_compiler_gnu+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h. */
3592 if ac_fn_c_try_compile "$LINENO"; then :
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3602 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3603 if test $ac_compiler_gnu = yes; then
3608 ac_test_CFLAGS=${CFLAGS+set}
3609 ac_save_CFLAGS=$CFLAGS
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3611 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3612 if ${ac_cv_prog_cc_g+:} false; then :
3613 $as_echo_n "(cached) " >&6
3615 ac_save_c_werror_flag=$ac_c_werror_flag
3616 ac_c_werror_flag=yes
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3645 if ac_fn_c_try_compile "$LINENO"; then :
3648 ac_c_werror_flag=$ac_save_c_werror_flag
3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3651 /* end confdefs.h. */
3661 if ac_fn_c_try_compile "$LINENO"; then :
3664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3669 ac_c_werror_flag=$ac_save_c_werror_flag
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3672 $as_echo "$ac_cv_prog_cc_g" >&6; }
3673 if test "$ac_test_CFLAGS" = set; then
3674 CFLAGS=$ac_save_CFLAGS
3675 elif test $ac_cv_prog_cc_g = yes; then
3676 if test "$GCC" = yes; then
3682 if test "$GCC" = yes; then
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3689 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3690 if ${ac_cv_prog_cc_c89+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 ac_cv_prog_cc_c89=no
3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696 /* end confdefs.h. */
3700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3701 struct buf { int x; };
3702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3703 static char *e (p, i)
3709 static char *f (char * (*g) (char **, int), char **p, ...)
3714 s = g (p, va_arg (v,int));
3719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3720 function prototypes and stuff, but not '\xHH' hex character constants.
3721 These don't provoke an error unfortunately, instead are silently treated
3722 as 'x'. The following induces an error, until -std is added to get
3723 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3724 array size at least. It's necessary to write '\x00'==0 to get something
3725 that's true only with -std. */
3726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3729 inside strings and character constants. */
3731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3733 int test (int i, double x);
3734 struct s1 {int (*f) (int a);};
3735 struct s2 {int (*f) (double a);};
3736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3742 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3748 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3750 CC="$ac_save_CC $ac_arg"
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752 ac_cv_prog_cc_c89=$ac_arg
3754 rm -f core conftest.err conftest.$ac_objext
3755 test "x$ac_cv_prog_cc_c89" != "xno" && break
3757 rm -f conftest.$ac_ext
3762 case "x$ac_cv_prog_cc_c89" in
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3765 $as_echo "none needed" >&6; } ;;
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3768 $as_echo "unsupported" >&6; } ;;
3770 CC="$CC $ac_cv_prog_cc_c89"
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3774 if test "x$ac_cv_prog_cc_c89" != xno; then :
3779 ac_cpp='$CPP $CPPFLAGS'
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 DEPDIR="${am__leading_dot}deps"
3785 ac_config_commands="$ac_config_commands depfiles"
3788 am_make=${MAKE-make}
3789 cat > confinc << 'END'
3791 @echo this is the am__doit target
3794 # If we don't find an include directive, just comment out the code.
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3796 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3800 # First try GNU make style include.
3801 echo "include confinc" > confmf
3802 # Ignore all kinds of additional output from 'make'.
3803 case `$am_make -s -f confmf 2> /dev/null` in #(
3804 *the\ am__doit\ target*)
3810 # Now try BSD make style include.
3811 if test "$am__include" = "#"; then
3812 echo '.include "confinc"' > confmf
3813 case `$am_make -s -f confmf 2> /dev/null` in #(
3814 *the\ am__doit\ target*)
3815 am__include=.include
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3824 $as_echo "$_am_result" >&6; }
3825 rm -f confinc confmf
3827 # Check whether --enable-dependency-tracking was given.
3828 if test "${enable_dependency_tracking+set}" = set; then :
3829 enableval=$enable_dependency_tracking;
3832 if test "x$enable_dependency_tracking" != xno; then
3833 am_depcomp="$ac_aux_dir/depcomp"
3837 if test "x$enable_dependency_tracking" != xno; then
3847 depcc="$CC" am_compiler_list=
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3850 $as_echo_n "checking dependency style of $depcc... " >&6; }
3851 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3855 # We make a subdir and do the tests there. Otherwise we can end up
3856 # making bogus files that we don't know about and never remove. For
3857 # instance it was reported that on HP-UX the gcc test will end up
3858 # making a dummy file named 'D' -- because '-MD' means "put the output
3862 # Copy depcomp to subdir because otherwise we won't find it if we're
3863 # using a relative directory.
3864 cp "$am_depcomp" conftest.dir
3866 # We will build objects and dependencies in a subdirectory because
3867 # it helps to detect inapplicable dependency modes. For instance
3868 # both Tru64's cc and ICC support -MD to output dependencies as a
3869 # side effect of compilation, but ICC will put the dependencies in
3870 # the current directory while Tru64 will put them in the object
3874 am_cv_CC_dependencies_compiler_type=none
3875 if test "$am_compiler_list" = ""; then
3876 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3879 case " $depcc " in #(
3880 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3883 for depmode in $am_compiler_list; do
3884 # Setup a source with many dependencies, because some compilers
3885 # like to wrap large dependency lists on column 80 (with \), and
3886 # we should not choose a depcomp mode which is confused by this.
3888 # We need to recreate these files for each test, as the compiler may
3889 # overwrite some of them when testing with obscure command lines.
3890 # This happens at least with the AIX C compiler.
3892 for i in 1 2 3 4 5 6; do
3893 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3894 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3895 # Solaris 10 /bin/sh.
3896 echo '/* dummy */' > sub/conftst$i.h
3898 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3900 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3901 # mode. It turns out that the SunPro C++ compiler does not properly
3902 # handle '-M -o', and we need to detect this. Also, some Intel
3903 # versions had trouble with output in subdirs.
3904 am__obj=sub/conftest.${OBJEXT-o}
3905 am__minus_obj="-o $am__obj"
3908 # This depmode causes a compiler race in universal mode.
3909 test "$am__universal" = false || continue
3912 # After this tag, mechanisms are not by side-effect, so they'll
3913 # only be used when explicitly requested.
3914 if test "x$enable_dependency_tracking" = xyes; then
3920 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3921 # This compiler won't grok '-c -o', but also, the minuso test has
3922 # not run yet. These depmodes are late enough in the game, and
3923 # so weak that their functioning should not be impacted.
3924 am__obj=conftest.${OBJEXT-o}
3929 if depmode=$depmode \
3930 source=sub/conftest.c object=$am__obj \
3931 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3932 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3933 >/dev/null 2>conftest.err &&
3934 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3935 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3936 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3937 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3938 # icc doesn't choke on unknown options, it will just issue warnings
3939 # or remarks (even with -Werror). So we grep stderr for any message
3940 # that says an option was ignored or not supported.
3941 # When given -MP, icc 7.0 and 7.1 complain thusly:
3942 # icc: Command line warning: ignoring option '-M'; no argument required
3943 # The diagnosis changed in icc 8.0:
3944 # icc: Command line remark: option '-MP' not supported
3945 if (grep 'ignoring option' conftest.err ||
3946 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3947 am_cv_CC_dependencies_compiler_type=$depmode
3956 am_cv_CC_dependencies_compiler_type=none
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3961 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3962 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3965 test "x$enable_dependency_tracking" != xno \
3966 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3968 am__fastdepCC_FALSE='#'
3970 am__fastdepCC_TRUE='#'
3971 am__fastdepCC_FALSE=
3975 if test "x$CC" != xcc; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3977 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3980 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3982 set dummy $CC; ac_cc=`$as_echo "$2" |
3983 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3984 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3998 # Make sure it works both with $CC and with simple cc.
3999 # We do the test twice because some compilers refuse to overwrite an
4000 # existing .o file with -o, though they will create one.
4001 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4003 if { { case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; } &&
4013 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_try") 2>&5
4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022 test $ac_status = 0; };
4024 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4025 if test "x$CC" != xcc; then
4026 # Test first that cc exists at all.
4027 if { ac_try='cc -c conftest.$ac_ext >&5'
4028 { { case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_try") 2>&5
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; }; then
4038 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4040 if { { case "(($ac_try" in
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_try") 2>&5
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; } &&
4050 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_try") 2>&5
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; };
4064 # cc exists but doesn't like -o.
4065 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4070 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4072 rm -f core conftest*
4075 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4077 $as_echo "yes" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4082 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4086 # FIXME: we rely on the cache variable name because
4087 # there is no other way.
4089 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4090 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4091 if test "$am_t" != yes; then
4092 # Losing compiler, so override with the script.
4093 # FIXME: It is wrong to rewrite CC.
4094 # But if we don't then we get into trouble of one sort or another.
4095 # A longer-term fix would be to have automake use am__CC in this case,
4096 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4097 CC="$am_aux_dir/compile $CC"
4104 ac_cpp='$CPP $CPPFLAGS'
4105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4109 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4110 # On Suns, sometimes $CPP names a directory.
4111 if test -n "$CPP" && test -d "$CPP"; then
4114 if test -z "$CPP"; then
4115 if ${ac_cv_prog_CPP+:} false; then :
4116 $as_echo_n "(cached) " >&6
4118 # Double quotes because CPP needs to be expanded
4119 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4122 for ac_c_preproc_warn_flag in '' yes
4124 # Use a header file that comes with gcc, so configuring glibc
4125 # with a fresh cross-compiler works.
4126 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 # <limits.h> exists even on freestanding compilers.
4128 # On the NeXT, cc -E runs the code through the compiler's parser,
4129 # not just through cpp. "Syntax error" is here to catch this case.
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4133 # include <limits.h>
4135 # include <assert.h>
4139 if ac_fn_c_try_cpp "$LINENO"; then :
4142 # Broken: fails on valid input.
4145 rm -f conftest.err conftest.i conftest.$ac_ext
4147 # OK, works on sane cases. Now check whether nonexistent headers
4148 # can be detected and how.
4149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4151 #include <ac_nonexistent.h>
4153 if ac_fn_c_try_cpp "$LINENO"; then :
4154 # Broken: success on invalid input.
4157 # Passes both tests.
4161 rm -f conftest.err conftest.i conftest.$ac_ext
4164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4165 rm -f conftest.i conftest.err conftest.$ac_ext
4166 if $ac_preproc_ok; then :
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4179 $as_echo "$CPP" >&6; }
4181 for ac_c_preproc_warn_flag in '' yes
4183 # Use a header file that comes with gcc, so configuring glibc
4184 # with a fresh cross-compiler works.
4185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4186 # <limits.h> exists even on freestanding compilers.
4187 # On the NeXT, cc -E runs the code through the compiler's parser,
4188 # not just through cpp. "Syntax error" is here to catch this case.
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4192 # include <limits.h>
4194 # include <assert.h>
4198 if ac_fn_c_try_cpp "$LINENO"; then :
4201 # Broken: fails on valid input.
4204 rm -f conftest.err conftest.i conftest.$ac_ext
4206 # OK, works on sane cases. Now check whether nonexistent headers
4207 # can be detected and how.
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4210 #include <ac_nonexistent.h>
4212 if ac_fn_c_try_cpp "$LINENO"; then :
4213 # Broken: success on invalid input.
4216 # Passes both tests.
4220 rm -f conftest.err conftest.i conftest.$ac_ext
4223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4224 rm -f conftest.i conftest.err conftest.$ac_ext
4225 if $ac_preproc_ok; then :
4228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4230 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4231 See \`config.log' for more details" "$LINENO" 5; }
4235 ac_cpp='$CPP $CPPFLAGS'
4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4242 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4243 if ${ac_cv_path_GREP+:} false; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -z "$GREP"; then
4247 ac_path_GREP_found=false
4248 # Loop through the user's path and test for each of PROGNAME-LIST
4249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4253 test -z "$as_dir" && as_dir=.
4254 for ac_prog in grep ggrep; do
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4257 as_fn_executable_p "$ac_path_GREP" || continue
4258 # Check for GNU ac_path_GREP and select it if it is found.
4259 # Check for GNU $ac_path_GREP
4260 case `"$ac_path_GREP" --version 2>&1` in
4262 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4265 $as_echo_n 0123456789 >"conftest.in"
4268 cat "conftest.in" "conftest.in" >"conftest.tmp"
4269 mv "conftest.tmp" "conftest.in"
4270 cp "conftest.in" "conftest.nl"
4271 $as_echo 'GREP' >> "conftest.nl"
4272 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4273 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4274 as_fn_arith $ac_count + 1 && ac_count=$as_val
4275 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4276 # Best one so far, save it but keep looking for a better one
4277 ac_cv_path_GREP="$ac_path_GREP"
4278 ac_path_GREP_max=$ac_count
4280 # 10*(2^10) chars as input seems more than enough
4281 test $ac_count -gt 10 && break
4283 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4286 $ac_path_GREP_found && break 3
4291 if test -z "$ac_cv_path_GREP"; then
4292 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4295 ac_cv_path_GREP=$GREP
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4300 $as_echo "$ac_cv_path_GREP" >&6; }
4301 GREP="$ac_cv_path_GREP"
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4305 $as_echo_n "checking for egrep... " >&6; }
4306 if ${ac_cv_path_EGREP+:} false; then :
4307 $as_echo_n "(cached) " >&6
4309 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4310 then ac_cv_path_EGREP="$GREP -E"
4312 if test -z "$EGREP"; then
4313 ac_path_EGREP_found=false
4314 # Loop through the user's path and test for each of PROGNAME-LIST
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4319 test -z "$as_dir" && as_dir=.
4320 for ac_prog in egrep; do
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4323 as_fn_executable_p "$ac_path_EGREP" || continue
4324 # Check for GNU ac_path_EGREP and select it if it is found.
4325 # Check for GNU $ac_path_EGREP
4326 case `"$ac_path_EGREP" --version 2>&1` in
4328 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4331 $as_echo_n 0123456789 >"conftest.in"
4334 cat "conftest.in" "conftest.in" >"conftest.tmp"
4335 mv "conftest.tmp" "conftest.in"
4336 cp "conftest.in" "conftest.nl"
4337 $as_echo 'EGREP' >> "conftest.nl"
4338 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4340 as_fn_arith $ac_count + 1 && ac_count=$as_val
4341 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4342 # Best one so far, save it but keep looking for a better one
4343 ac_cv_path_EGREP="$ac_path_EGREP"
4344 ac_path_EGREP_max=$ac_count
4346 # 10*(2^10) chars as input seems more than enough
4347 test $ac_count -gt 10 && break
4349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4352 $ac_path_EGREP_found && break 3
4357 if test -z "$ac_cv_path_EGREP"; then
4358 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4361 ac_cv_path_EGREP=$EGREP
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4367 $as_echo "$ac_cv_path_EGREP" >&6; }
4368 EGREP="$ac_cv_path_EGREP"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4372 $as_echo_n "checking for ANSI C header files... " >&6; }
4373 if ${ac_cv_header_stdc+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4391 if ac_fn_c_try_compile "$LINENO"; then :
4392 ac_cv_header_stdc=yes
4394 ac_cv_header_stdc=no
4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4398 if test $ac_cv_header_stdc = yes; then
4399 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4401 /* end confdefs.h. */
4405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4406 $EGREP "memchr" >/dev/null 2>&1; then :
4409 ac_cv_header_stdc=no
4415 if test $ac_cv_header_stdc = yes; then
4416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4423 $EGREP "free" >/dev/null 2>&1; then :
4426 ac_cv_header_stdc=no
4432 if test $ac_cv_header_stdc = yes; then
4433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4434 if test "$cross_compiling" = yes; then :
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4441 #if ((' ' & 0x0FF) == 0x020)
4442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4445 # define ISLOWER(c) \
4446 (('a' <= (c) && (c) <= 'i') \
4447 || ('j' <= (c) && (c) <= 'r') \
4448 || ('s' <= (c) && (c) <= 'z'))
4449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4457 for (i = 0; i < 256; i++)
4458 if (XOR (islower (i), ISLOWER (i))
4459 || toupper (i) != TOUPPER (i))
4464 if ac_fn_c_try_run "$LINENO"; then :
4467 ac_cv_header_stdc=no
4469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4470 conftest.$ac_objext conftest.beam conftest.$ac_ext
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4476 $as_echo "$ac_cv_header_stdc" >&6; }
4477 if test $ac_cv_header_stdc = yes; then
4479 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4483 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4485 inttypes.h stdint.h unistd.h
4487 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4488 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4491 cat >>confdefs.h <<_ACEOF
4492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4500 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4501 case $ac_cv_c_uint8_t in #(
4505 $as_echo "#define _UINT8_T 1" >>confdefs.h
4508 cat >>confdefs.h <<_ACEOF
4509 #define uint8_t $ac_cv_c_uint8_t
4514 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4515 case $ac_cv_c_uint16_t in #(
4520 cat >>confdefs.h <<_ACEOF
4521 #define uint16_t $ac_cv_c_uint16_t
4526 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
4527 case $ac_cv_c_int32_t in #(
4531 cat >>confdefs.h <<_ACEOF
4532 #define int32_t $ac_cv_c_int32_t
4537 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4538 case $ac_cv_c_uint32_t in #(
4542 $as_echo "#define _UINT32_T 1" >>confdefs.h
4545 cat >>confdefs.h <<_ACEOF
4546 #define uint32_t $ac_cv_c_uint32_t
4551 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
4552 case $ac_cv_c_uint64_t in #(
4556 $as_echo "#define _UINT64_T 1" >>confdefs.h
4559 cat >>confdefs.h <<_ACEOF
4560 #define uint64_t $ac_cv_c_uint64_t
4565 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4566 if test "x$ac_cv_type_size_t" = xyes; then :
4570 cat >>confdefs.h <<_ACEOF
4571 #define size_t unsigned int
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4577 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4578 if ${ac_cv_header_stdbool_h+:} false; then :
4579 $as_echo_n "(cached) " >&6
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4584 #include <stdbool.h>
4586 "error: bool is not defined"
4589 "error: false is not defined"
4592 "error: false is not 0"
4595 "error: true is not defined"
4598 "error: true is not 1"
4600 #ifndef __bool_true_false_are_defined
4601 "error: __bool_true_false_are_defined is not defined"
4604 struct s { _Bool s: 1; _Bool t; } s;
4606 char a[true == 1 ? 1 : -1];
4607 char b[false == 0 ? 1 : -1];
4608 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4609 char d[(bool) 0.5 == true ? 1 : -1];
4610 /* See body of main program for 'e'. */
4611 char f[(_Bool) 0.0 == false ? 1 : -1];
4613 char h[sizeof (_Bool)];
4615 enum { j = false, k = true, l = false * true, m = true * 256 };
4616 /* The following fails for
4617 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4619 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4620 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4621 /* Catch a bug in an HP-UX C compiler. See
4622 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4623 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4635 /* Refer to every declared value, to avoid compiler optimizations. */
4636 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4637 + !m + !n + !o + !p + !q + !pq);
4643 if ac_fn_c_try_compile "$LINENO"; then :
4644 ac_cv_header_stdbool_h=yes
4646 ac_cv_header_stdbool_h=no
4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4651 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4652 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4653 if test "x$ac_cv_type__Bool" = xyes; then :
4655 cat >>confdefs.h <<_ACEOF
4656 #define HAVE__BOOL 1
4663 if test $ac_cv_header_stdbool_h = yes; then
4665 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4670 opt_CFLAGS="--std=c99 -Wall -Wextra -pedantic -g -O3 -D_C99_SOURCE"
4671 dbg_CFLAGS="--std=c99 -Wall -Wextra -pedantic -g -O0 -D_C99_SOURCE"
4673 # Check whether --enable-debug was given.
4674 if test "${enable_debug+set}" = set; then :
4675 enableval=$enable_debug;
4681 if test "x$enable_debug" = xyes; then :
4682 CFLAGS="$dbg_CFLAGS"
4684 CFLAGS="$opt_CFLAGS"
4687 $as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
4689 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4695 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4700 macro_version='2.4.2'
4701 macro_revision='1.3337'
4715 ltmain="$ac_aux_dir/ltmain.sh"
4717 # Make sure we can run config.sub.
4718 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4719 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4722 $as_echo_n "checking build system type... " >&6; }
4723 if ${ac_cv_build+:} false; then :
4724 $as_echo_n "(cached) " >&6
4726 ac_build_alias=$build_alias
4727 test "x$ac_build_alias" = x &&
4728 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4729 test "x$ac_build_alias" = x &&
4730 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4731 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4732 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4736 $as_echo "$ac_cv_build" >&6; }
4737 case $ac_cv_build in
4739 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4742 ac_save_IFS=$IFS; IFS='-'
4748 # Remember, the first character of IFS is used to create $*,
4749 # except with old shells:
4752 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4756 $as_echo_n "checking host system type... " >&6; }
4757 if ${ac_cv_host+:} false; then :
4758 $as_echo_n "(cached) " >&6
4760 if test "x$host_alias" = x; then
4761 ac_cv_host=$ac_cv_build
4763 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4764 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4769 $as_echo "$ac_cv_host" >&6; }
4772 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4775 ac_save_IFS=$IFS; IFS='-'
4781 # Remember, the first character of IFS is used to create $*,
4782 # except with old shells:
4785 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4788 # Backslashify metacharacters that are still active within
4789 # double-quoted strings.
4790 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4792 # Same as above, but do not quote variable references.
4793 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4795 # Sed substitution to delay expansion of an escaped shell variable in a
4796 # double_quote_subst'ed string.
4797 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4799 # Sed substitution to delay expansion of an escaped single quote.
4800 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4802 # Sed substitution to avoid accidental globbing in evaled expressions
4803 no_glob_subst='s/\*/\\\*/g'
4805 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4806 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4807 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4810 $as_echo_n "checking how to print strings... " >&6; }
4811 # Test print first, because it will be a builtin if present.
4812 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4813 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4815 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4818 # Use this function as a fallback that always works.
4819 func_fallback_echo ()
4821 eval 'cat <<_LTECHO_EOF
4825 ECHO='func_fallback_echo'
4828 # func_echo_all arg...
4829 # Invoke $ECHO with all args, space-separated.
4836 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4837 $as_echo "printf" >&6; } ;;
4838 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4839 $as_echo "print -r" >&6; } ;;
4840 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4841 $as_echo "cat" >&6; } ;;
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4858 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4859 if ${ac_cv_path_SED+:} false; then :
4860 $as_echo_n "(cached) " >&6
4862 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4863 for ac_i in 1 2 3 4 5 6 7; do
4864 ac_script="$ac_script$as_nl$ac_script"
4866 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4867 { ac_script=; unset ac_script;}
4868 if test -z "$SED"; then
4869 ac_path_SED_found=false
4870 # Loop through the user's path and test for each of PROGNAME-LIST
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir=.
4876 for ac_prog in sed gsed; do
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4879 as_fn_executable_p "$ac_path_SED" || continue
4880 # Check for GNU ac_path_SED and select it if it is found.
4881 # Check for GNU $ac_path_SED
4882 case `"$ac_path_SED" --version 2>&1` in
4884 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4887 $as_echo_n 0123456789 >"conftest.in"
4890 cat "conftest.in" "conftest.in" >"conftest.tmp"
4891 mv "conftest.tmp" "conftest.in"
4892 cp "conftest.in" "conftest.nl"
4893 $as_echo '' >> "conftest.nl"
4894 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4895 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4896 as_fn_arith $ac_count + 1 && ac_count=$as_val
4897 if test $ac_count -gt ${ac_path_SED_max-0}; then
4898 # Best one so far, save it but keep looking for a better one
4899 ac_cv_path_SED="$ac_path_SED"
4900 ac_path_SED_max=$ac_count
4902 # 10*(2^10) chars as input seems more than enough
4903 test $ac_count -gt 10 && break
4905 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4908 $ac_path_SED_found && break 3
4913 if test -z "$ac_cv_path_SED"; then
4914 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4922 $as_echo "$ac_cv_path_SED" >&6; }
4923 SED="$ac_cv_path_SED"
4926 test -z "$SED" && SED=sed
4927 Xsed="$SED -e 1s/^X//"
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4940 $as_echo_n "checking for fgrep... " >&6; }
4941 if ${ac_cv_path_FGREP+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4945 then ac_cv_path_FGREP="$GREP -F"
4947 if test -z "$FGREP"; then
4948 ac_path_FGREP_found=false
4949 # Loop through the user's path and test for each of PROGNAME-LIST
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4954 test -z "$as_dir" && as_dir=.
4955 for ac_prog in fgrep; do
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4958 as_fn_executable_p "$ac_path_FGREP" || continue
4959 # Check for GNU ac_path_FGREP and select it if it is found.
4960 # Check for GNU $ac_path_FGREP
4961 case `"$ac_path_FGREP" --version 2>&1` in
4963 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4966 $as_echo_n 0123456789 >"conftest.in"
4969 cat "conftest.in" "conftest.in" >"conftest.tmp"
4970 mv "conftest.tmp" "conftest.in"
4971 cp "conftest.in" "conftest.nl"
4972 $as_echo 'FGREP' >> "conftest.nl"
4973 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4974 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4975 as_fn_arith $ac_count + 1 && ac_count=$as_val
4976 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4977 # Best one so far, save it but keep looking for a better one
4978 ac_cv_path_FGREP="$ac_path_FGREP"
4979 ac_path_FGREP_max=$ac_count
4981 # 10*(2^10) chars as input seems more than enough
4982 test $ac_count -gt 10 && break
4984 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4987 $ac_path_FGREP_found && break 3
4992 if test -z "$ac_cv_path_FGREP"; then
4993 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4996 ac_cv_path_FGREP=$FGREP
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5002 $as_echo "$ac_cv_path_FGREP" >&6; }
5003 FGREP="$ac_cv_path_FGREP"
5006 test -z "$GREP" && GREP=grep
5026 # Check whether --with-gnu-ld was given.
5027 if test "${with_gnu_ld+set}" = set; then :
5028 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5034 if test "$GCC" = yes; then
5035 # Check if gcc -print-prog-name=ld gives a path.
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5037 $as_echo_n "checking for ld used by $CC... " >&6; }
5040 # gcc leaves a trailing carriage return which upsets mingw
5041 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5043 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5046 # Accept absolute paths.
5048 re_direlt='/[^/][^/]*/\.\./'
5049 # Canonicalize the pathname of ld
5050 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5051 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5052 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5054 test -z "$LD" && LD="$ac_prog"
5057 # If it fails, then pretend we aren't using GCC.
5061 # If it is relative, then search for the first ld in PATH.
5065 elif test "$with_gnu_ld" = yes; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5067 $as_echo_n "checking for GNU ld... " >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5070 $as_echo_n "checking for non-GNU ld... " >&6; }
5072 if ${lt_cv_path_LD+:} false; then :
5073 $as_echo_n "(cached) " >&6
5075 if test -z "$LD"; then
5076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5077 for ac_dir in $PATH; do
5079 test -z "$ac_dir" && ac_dir=.
5080 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5081 lt_cv_path_LD="$ac_dir/$ac_prog"
5082 # Check to see if the program is GNU ld. I'd rather use --version,
5083 # but apparently some variants of GNU ld only accept -v.
5084 # Break only if it was the GNU/non-GNU ld that we prefer.
5085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5086 *GNU* | *'with BFD'*)
5087 test "$with_gnu_ld" != no && break
5090 test "$with_gnu_ld" != yes && break
5097 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5102 if test -n "$LD"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5104 $as_echo "$LD" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5109 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5112 if ${lt_cv_prog_gnu_ld+:} false; then :
5113 $as_echo_n "(cached) " >&6
5115 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5116 case `$LD -v 2>&1 </dev/null` in
5117 *GNU* | *'with BFD'*)
5118 lt_cv_prog_gnu_ld=yes
5121 lt_cv_prog_gnu_ld=no
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5127 with_gnu_ld=$lt_cv_prog_gnu_ld
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5138 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5139 if ${lt_cv_path_NM+:} false; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$NM"; then
5143 # Let the user override the test.
5146 lt_nm_to_check="${ac_tool_prefix}nm"
5147 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5148 lt_nm_to_check="$lt_nm_to_check nm"
5150 for lt_tmp_nm in $lt_nm_to_check; do
5151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5152 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5154 test -z "$ac_dir" && ac_dir=.
5155 tmp_nm="$ac_dir/$lt_tmp_nm"
5156 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5157 # Check to see if the nm accepts a BSD-compat flag.
5158 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5159 # nm: unknown option "B" ignored
5160 # Tru64's nm complains that /dev/null is an invalid object file
5161 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5162 */dev/null* | *'Invalid file or object type'*)
5163 lt_cv_path_NM="$tmp_nm -B"
5167 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5169 lt_cv_path_NM="$tmp_nm -p"
5173 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5174 continue # so that we can try to find one that supports BSD flags
5183 : ${lt_cv_path_NM=no}
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5187 $as_echo "$lt_cv_path_NM" >&6; }
5188 if test "$lt_cv_path_NM" != "no"; then
5191 # Didn't find any BSD compatible name lister, look for dumpbin.
5192 if test -n "$DUMPBIN"; then :
5193 # Let the user override the test.
5195 if test -n "$ac_tool_prefix"; then
5196 for ac_prog in dumpbin "link -dump"
5198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_DUMPBIN+:} false; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$DUMPBIN"; then
5206 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 DUMPBIN=$ac_cv_prog_DUMPBIN
5226 if test -n "$DUMPBIN"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5228 $as_echo "$DUMPBIN" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$DUMPBIN" && break
5238 if test -z "$DUMPBIN"; then
5239 ac_ct_DUMPBIN=$DUMPBIN
5240 for ac_prog in dumpbin "link -dump"
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy $ac_prog; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5247 $as_echo_n "(cached) " >&6
5249 if test -n "$ac_ct_DUMPBIN"; then
5250 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5270 if test -n "$ac_ct_DUMPBIN"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5272 $as_echo "$ac_ct_DUMPBIN" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5279 test -n "$ac_ct_DUMPBIN" && break
5282 if test "x$ac_ct_DUMPBIN" = x; then
5285 case $cross_compiling:$ac_tool_warned in
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5289 ac_tool_warned=yes ;;
5291 DUMPBIN=$ac_ct_DUMPBIN
5295 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5297 DUMPBIN="$DUMPBIN -symbols"
5305 if test "$DUMPBIN" != ":"; then
5309 test -z "$NM" && NM=nm
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5317 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5318 if ${lt_cv_nm_interface+:} false; then :
5319 $as_echo_n "(cached) " >&6
5321 lt_cv_nm_interface="BSD nm"
5322 echo "int some_variable = 0;" > conftest.$ac_ext
5323 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5324 (eval "$ac_compile" 2>conftest.err)
5325 cat conftest.err >&5
5326 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5327 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5328 cat conftest.err >&5
5329 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5330 cat conftest.out >&5
5331 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5332 lt_cv_nm_interface="MS dumpbin"
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5337 $as_echo "$lt_cv_nm_interface" >&6; }
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5340 $as_echo_n "checking whether ln -s works... " >&6; }
5342 if test "$LN_S" = "ln -s"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5344 $as_echo "yes" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5347 $as_echo "no, using $LN_S" >&6; }
5350 # find the maximum length of command line arguments
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5352 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5353 if ${lt_cv_sys_max_cmd_len+:} false; then :
5354 $as_echo_n "(cached) " >&6
5361 # On DJGPP, this test can blow up pretty badly due to problems in libc
5362 # (any single argument exceeding 2000 bytes causes a buffer overrun
5363 # during glob expansion). Even if it were fixed, the result of this
5364 # check would be larger than it should be.
5365 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5369 # Under GNU Hurd, this test is not required because there is
5370 # no limit to the length of command line arguments.
5371 # Libtool will interpret -1 as no limit whatsoever
5372 lt_cv_sys_max_cmd_len=-1;
5375 cygwin* | mingw* | cegcc*)
5376 # On Win9x/ME, this test blows up -- it succeeds, but takes
5377 # about 5 minutes as the teststring grows exponentially.
5378 # Worse, since 9x/ME are not pre-emptively multitasking,
5379 # you end up with a "frozen" computer, even though with patience
5380 # the test eventually succeeds (with a max line length of 256k).
5381 # Instead, let's just punt: use the minimum linelength reported by
5382 # all of the supported platforms: 8192 (on NT/2K/XP).
5383 lt_cv_sys_max_cmd_len=8192;
5387 # On MiNT this can take a long time and run out of memory.
5388 lt_cv_sys_max_cmd_len=8192;
5392 # On AmigaOS with pdksh, this test takes hours, literally.
5393 # So we just punt and use a minimum line length of 8192.
5394 lt_cv_sys_max_cmd_len=8192;
5397 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5398 # This has been around since 386BSD, at least. Likely further.
5399 if test -x /sbin/sysctl; then
5400 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5401 elif test -x /usr/sbin/sysctl; then
5402 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5404 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5406 # And add a safety zone
5407 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5408 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5412 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5413 lt_cv_sys_max_cmd_len=196608
5417 # The test takes a long time on OS/2.
5418 lt_cv_sys_max_cmd_len=8192
5422 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5423 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5424 # nice to cause kernel panics so lets avoid the loop below.
5425 # First set a reasonable default.
5426 lt_cv_sys_max_cmd_len=16384
5428 if test -x /sbin/sysconfig; then
5429 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5430 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5435 lt_cv_sys_max_cmd_len=102400
5437 sysv5* | sco5v6* | sysv4.2uw2*)
5438 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5439 if test -n "$kargmax"; then
5440 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5442 lt_cv_sys_max_cmd_len=32768
5446 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5447 if test -n "$lt_cv_sys_max_cmd_len"; then
5448 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5449 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5451 # Make teststring a little bigger before we do anything with it.
5452 # a 1K string should be a reasonable start.
5453 for i in 1 2 3 4 5 6 7 8 ; do
5454 teststring=$teststring$teststring
5456 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5457 # If test is not a shell built-in, we'll probably end up computing a
5458 # maximum length that is only half of the actual maximum length, but
5460 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5461 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5462 test $i != 17 # 1/2 MB should be enough
5465 teststring=$teststring$teststring
5467 # Only check the string length outside the loop.
5468 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5470 # Add a significant safety factor because C++ compilers can tack on
5471 # massive amounts of additional arguments before passing them to the
5472 # linker. It appears as though 1/2 is a usable value.
5473 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5480 if test -n $lt_cv_sys_max_cmd_len ; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5482 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5485 $as_echo "none" >&6; }
5487 max_cmd_len=$lt_cv_sys_max_cmd_len
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5499 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5500 # Try some XSI features
5503 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5505 && eval 'test $(( 1 + 1 )) -eq 2 \
5506 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5509 $as_echo "$xsi_shell" >&6; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5513 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5515 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5517 && lt_shell_append=yes
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5519 $as_echo "$lt_shell_append" >&6; }
5522 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5532 # test EBCDIC or ASCII
5533 case `echo X|tr X '\101'` in
5534 A) # ASCII based system
5535 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5536 lt_SP2NL='tr \040 \012'
5537 lt_NL2SP='tr \015\012 \040\040'
5539 *) # EBCDIC based system
5540 lt_SP2NL='tr \100 \n'
5541 lt_NL2SP='tr \r\n \100\100'
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5554 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5555 if ${lt_cv_to_host_file_cmd+:} false; then :
5556 $as_echo_n "(cached) " >&6
5561 *-*-mingw* ) # actually msys
5562 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5565 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5567 * ) # otherwise, assume *nix
5568 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5574 *-*-mingw* ) # actually msys
5575 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5578 lt_cv_to_host_file_cmd=func_convert_file_noop
5580 * ) # otherwise, assume *nix
5581 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5585 * ) # unhandled hosts (and "normal" native builds)
5586 lt_cv_to_host_file_cmd=func_convert_file_noop
5592 to_host_file_cmd=$lt_cv_to_host_file_cmd
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5594 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5601 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5602 if ${lt_cv_to_tool_file_cmd+:} false; then :
5603 $as_echo_n "(cached) " >&6
5605 #assume ordinary cross tools, or native build.
5606 lt_cv_to_tool_file_cmd=func_convert_file_noop
5610 *-*-mingw* ) # actually msys
5611 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5619 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5621 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5628 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5629 if ${lt_cv_ld_reload_flag+:} false; then :
5630 $as_echo_n "(cached) " >&6
5632 lt_cv_ld_reload_flag='-r'
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5635 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5636 reload_flag=$lt_cv_ld_reload_flag
5637 case $reload_flag in
5639 *) reload_flag=" $reload_flag" ;;
5641 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5643 cygwin* | mingw* | pw32* | cegcc*)
5644 if test "$GCC" != yes; then
5649 if test "$GCC" = yes; then
5650 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5652 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5665 if test -n "$ac_tool_prefix"; then
5666 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5667 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_OBJDUMP+:} false; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$OBJDUMP"; then
5674 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 OBJDUMP=$ac_cv_prog_OBJDUMP
5694 if test -n "$OBJDUMP"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5696 $as_echo "$OBJDUMP" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5704 if test -z "$ac_cv_prog_OBJDUMP"; then
5705 ac_ct_OBJDUMP=$OBJDUMP
5706 # Extract the first word of "objdump", so it can be a program name with args.
5707 set dummy objdump; ac_word=$2
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709 $as_echo_n "checking for $ac_word... " >&6; }
5710 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5711 $as_echo_n "(cached) " >&6
5713 if test -n "$ac_ct_OBJDUMP"; then
5714 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5734 if test -n "$ac_ct_OBJDUMP"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5736 $as_echo "$ac_ct_OBJDUMP" >&6; }
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5742 if test "x$ac_ct_OBJDUMP" = x; then
5745 case $cross_compiling:$ac_tool_warned in
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5749 ac_tool_warned=yes ;;
5751 OBJDUMP=$ac_ct_OBJDUMP
5754 OBJDUMP="$ac_cv_prog_OBJDUMP"
5757 test -z "$OBJDUMP" && OBJDUMP=objdump
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5768 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5769 if ${lt_cv_deplibs_check_method+:} false; then :
5770 $as_echo_n "(cached) " >&6
5772 lt_cv_file_magic_cmd='$MAGIC_CMD'
5773 lt_cv_file_magic_test_file=
5774 lt_cv_deplibs_check_method='unknown'
5775 # Need to set the preceding variable on all platforms that support
5776 # interlibrary dependencies.
5777 # 'none' -- dependencies not supported.
5778 # `unknown' -- same as none, but documents that we really don't know.
5779 # 'pass_all' -- all dependencies passed with no checks.
5780 # 'test_compile' -- check by making test program.
5781 # 'file_magic [[regex]]' -- check by looking for files in library path
5782 # which responds to the $file_magic_cmd with a given extended regex.
5783 # If you have `file' or equivalent on your system and you're not sure
5784 # whether `pass_all' will *always* work, you probably want this one.
5788 lt_cv_deplibs_check_method=pass_all
5792 lt_cv_deplibs_check_method=pass_all
5796 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5797 lt_cv_file_magic_cmd='/usr/bin/file -L'
5798 lt_cv_file_magic_test_file=/shlib/libc.so
5802 # func_win32_libid is a shell function defined in ltmain.sh
5803 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5804 lt_cv_file_magic_cmd='func_win32_libid'
5808 # Base MSYS/MinGW do not provide the 'file' command needed by
5809 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5810 # unless we find 'file', for example because we are cross-compiling.
5811 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5812 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5813 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5814 lt_cv_file_magic_cmd='func_win32_libid'
5816 # Keep this pattern in sync with the one in func_win32_libid.
5817 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5818 lt_cv_file_magic_cmd='$OBJDUMP -f'
5823 # use the weaker test based on 'objdump'. See mingw*.
5824 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5825 lt_cv_file_magic_cmd='$OBJDUMP -f'
5828 darwin* | rhapsody*)
5829 lt_cv_deplibs_check_method=pass_all
5832 freebsd* | dragonfly*)
5833 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5836 # Not sure whether the presence of OpenBSD here was a mistake.
5837 # Let's accept both of them until this is cleared up.
5838 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5839 lt_cv_file_magic_cmd=/usr/bin/file
5840 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5844 lt_cv_deplibs_check_method=pass_all
5849 lt_cv_deplibs_check_method=pass_all
5853 lt_cv_deplibs_check_method=pass_all
5856 hpux10.20* | hpux11*)
5857 lt_cv_file_magic_cmd=/usr/bin/file
5860 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5861 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5864 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]'
5865 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5868 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5869 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5875 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5876 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5879 irix5* | irix6* | nonstopux*)
5881 *-32|*"-32 ") libmagic=32-bit;;
5882 *-n32|*"-n32 ") libmagic=N32;;
5883 *-64|*"-64 ") libmagic=64-bit;;
5884 *) libmagic=never-match;;
5886 lt_cv_deplibs_check_method=pass_all
5889 # This must be glibc/ELF.
5890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5891 lt_cv_deplibs_check_method=pass_all
5895 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5896 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5898 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5903 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5904 lt_cv_file_magic_cmd=/usr/bin/file
5905 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5909 lt_cv_deplibs_check_method=pass_all
5913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5914 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5916 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5920 osf3* | osf4* | osf5*)
5921 lt_cv_deplibs_check_method=pass_all
5925 lt_cv_deplibs_check_method=pass_all
5929 lt_cv_deplibs_check_method=pass_all
5932 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5933 lt_cv_deplibs_check_method=pass_all
5937 case $host_vendor in
5939 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]'
5940 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5943 lt_cv_deplibs_check_method=pass_all
5946 lt_cv_file_magic_cmd='/bin/file'
5947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5950 lt_cv_file_magic_cmd='/bin/file'
5951 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5952 lt_cv_file_magic_test_file=/lib/libc.so
5955 lt_cv_deplibs_check_method=pass_all
5958 lt_cv_deplibs_check_method=pass_all
5964 lt_cv_deplibs_check_method=pass_all
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5970 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5974 if test "$build" = "$host"; then
5977 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5980 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5986 file_magic_cmd=$lt_cv_file_magic_cmd
5987 deplibs_check_method=$lt_cv_deplibs_check_method
5988 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_DLLTOOL+:} false; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$DLLTOOL"; then
6020 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 DLLTOOL=$ac_cv_prog_DLLTOOL
6040 if test -n "$DLLTOOL"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6042 $as_echo "$DLLTOOL" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6050 if test -z "$ac_cv_prog_DLLTOOL"; then
6051 ac_ct_DLLTOOL=$DLLTOOL
6052 # Extract the first word of "dlltool", so it can be a program name with args.
6053 set dummy dlltool; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6057 $as_echo_n "(cached) " >&6
6059 if test -n "$ac_ct_DLLTOOL"; then
6060 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6080 if test -n "$ac_ct_DLLTOOL"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6082 $as_echo "$ac_ct_DLLTOOL" >&6; }
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6088 if test "x$ac_ct_DLLTOOL" = x; then
6091 case $cross_compiling:$ac_tool_warned in
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6095 ac_tool_warned=yes ;;
6097 DLLTOOL=$ac_ct_DLLTOOL
6100 DLLTOOL="$ac_cv_prog_DLLTOOL"
6103 test -z "$DLLTOOL" && DLLTOOL=dlltool
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6115 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6116 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6117 $as_echo_n "(cached) " >&6
6119 lt_cv_sharedlib_from_linklib_cmd='unknown'
6122 cygwin* | mingw* | pw32* | cegcc*)
6123 # two different shell functions defined in ltmain.sh
6124 # decide which to use based on capabilities of $DLLTOOL
6125 case `$DLLTOOL --help 2>&1` in
6126 *--identify-strict*)
6127 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6130 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6135 # fallback: assume linklib IS sharedlib
6136 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6142 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6143 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6144 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6152 if test -n "$ac_tool_prefix"; then
6155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 $as_echo_n "checking for $ac_word... " >&6; }
6159 if ${ac_cv_prog_AR+:} false; then :
6160 $as_echo_n "(cached) " >&6
6162 if test -n "$AR"; then
6163 ac_cv_prog_AR="$AR" # Let the user override the test.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6172 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 if test -n "$AR"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6185 $as_echo "$AR" >&6; }
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 $as_echo "no" >&6; }
6192 test -n "$AR" && break
6195 if test -z "$AR"; then
6199 # Extract the first word of "$ac_prog", so it can be a program name with args.
6200 set dummy $ac_prog; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6204 $as_echo_n "(cached) " >&6
6206 if test -n "$ac_ct_AR"; then
6207 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_ac_ct_AR="$ac_prog"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6227 if test -n "$ac_ct_AR"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6229 $as_echo "$ac_ct_AR" >&6; }
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6236 test -n "$ac_ct_AR" && break
6239 if test "x$ac_ct_AR" = x; then
6242 case $cross_compiling:$ac_tool_warned in
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6246 ac_tool_warned=yes ;;
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6266 $as_echo_n "checking for archiver @FILE support... " >&6; }
6267 if ${lt_cv_ar_at_file+:} false; then :
6268 $as_echo_n "(cached) " >&6
6271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6272 /* end confdefs.h. */
6282 if ac_fn_c_try_compile "$LINENO"; then :
6283 echo conftest.$ac_objext > conftest.lst
6284 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6285 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6286 (eval $lt_ar_try) 2>&5
6288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6289 test $ac_status = 0; }
6290 if test "$ac_status" -eq 0; then
6291 # Ensure the archiver fails upon bogus file names.
6292 rm -f conftest.$ac_objext libconftest.a
6293 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6294 (eval $lt_ar_try) 2>&5
6296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6297 test $ac_status = 0; }
6298 if test "$ac_status" -ne 0; then
6302 rm -f conftest.* libconftest.a
6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6309 $as_echo "$lt_cv_ar_at_file" >&6; }
6311 if test "x$lt_cv_ar_at_file" = xno; then
6314 archiver_list_spec=$lt_cv_ar_at_file
6323 if test -n "$ac_tool_prefix"; then
6324 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6325 set dummy ${ac_tool_prefix}strip; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if ${ac_cv_prog_STRIP+:} false; then :
6329 $as_echo_n "(cached) " >&6
6331 if test -n "$STRIP"; then
6332 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 STRIP=$ac_cv_prog_STRIP
6352 if test -n "$STRIP"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6354 $as_echo "$STRIP" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6362 if test -z "$ac_cv_prog_STRIP"; then
6364 # Extract the first word of "strip", so it can be a program name with args.
6365 set dummy strip; ac_word=$2
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367 $as_echo_n "checking for $ac_word... " >&6; }
6368 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6369 $as_echo_n "(cached) " >&6
6371 if test -n "$ac_ct_STRIP"; then
6372 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378 test -z "$as_dir" && as_dir=.
6379 for ac_exec_ext in '' $ac_executable_extensions; do
6380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6381 ac_cv_prog_ac_ct_STRIP="strip"
6382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6392 if test -n "$ac_ct_STRIP"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6394 $as_echo "$ac_ct_STRIP" >&6; }
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6400 if test "x$ac_ct_STRIP" = x; then
6403 case $cross_compiling:$ac_tool_warned in
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6407 ac_tool_warned=yes ;;
6412 STRIP="$ac_cv_prog_STRIP"
6415 test -z "$STRIP" && STRIP=:
6422 if test -n "$ac_tool_prefix"; then
6423 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6424 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_RANLIB+:} false; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$RANLIB"; then
6431 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 RANLIB=$ac_cv_prog_RANLIB
6451 if test -n "$RANLIB"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6453 $as_echo "$RANLIB" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6461 if test -z "$ac_cv_prog_RANLIB"; then
6462 ac_ct_RANLIB=$RANLIB
6463 # Extract the first word of "ranlib", so it can be a program name with args.
6464 set dummy ranlib; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6468 $as_echo_n "(cached) " >&6
6470 if test -n "$ac_ct_RANLIB"; then
6471 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_ac_ct_RANLIB="ranlib"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6491 if test -n "$ac_ct_RANLIB"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6493 $as_echo "$ac_ct_RANLIB" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6499 if test "x$ac_ct_RANLIB" = x; then
6502 case $cross_compiling:$ac_tool_warned in
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 ac_tool_warned=yes ;;
6508 RANLIB=$ac_ct_RANLIB
6511 RANLIB="$ac_cv_prog_RANLIB"
6514 test -z "$RANLIB" && RANLIB=:
6521 # Determine commands to create old-style static archives.
6522 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6523 old_postinstall_cmds='chmod 644 $oldlib'
6524 old_postuninstall_cmds=
6526 if test -n "$RANLIB"; then
6529 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6532 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6535 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6540 lock_old_archive_extraction=yes ;;
6542 lock_old_archive_extraction=no ;;
6583 # If no C compiler was specified, use CC.
6586 # If no C compiler flags were specified, use CFLAGS.
6587 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6589 # Allow CC to be a program name with arguments.
6593 # Check for command to grab the raw symbol name followed by C symbol from nm.
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6595 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6596 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6597 $as_echo_n "(cached) " >&6
6600 # These are sane defaults that work on at least a few old systems.
6601 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6603 # Character class describing NM global symbol codes.
6604 symcode='[BCDEGRST]'
6606 # Regexp to match symbols that can be accessed directly from C.
6607 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6609 # Define system-specific variables.
6614 cygwin* | mingw* | pw32* | cegcc*)
6615 symcode='[ABCDGISTW]'
6618 if test "$host_cpu" = ia64; then
6619 symcode='[ABCDEGRST]'
6623 symcode='[BCDEGRST]'
6626 symcode='[BCDEGQRST]'
6637 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6645 # If we're using GNU nm, then use its standard symbol codes.
6646 case `$NM -V 2>&1` in
6647 *GNU* | *'with BFD'*)
6648 symcode='[ABCDGIRSTW]' ;;
6651 # Transform an extracted symbol line into a proper C declaration.
6652 # Some systems (esp. on ia64) link data and code symbols differently,
6653 # so use this general approach.
6654 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6656 # Transform an extracted symbol line into symbol name and symbol address
6657 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6658 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6660 # Handle CRLF in mingw tool chain
6664 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6668 # Try without a prefix underscore, then with it.
6669 for ac_symprfx in "" "_"; do
6671 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6672 symxfrm="\\1 $ac_symprfx\\2 \\2"
6674 # Write the raw and C identifiers.
6675 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6676 # Fake it for dumpbin and say T for any non-static function
6677 # and D for any global variable.
6678 # Also find C++ and __fastcall symbols from MSVC++,
6679 # which start with @ or ?.
6680 lt_cv_sys_global_symbol_pipe="$AWK '"\
6681 " {last_section=section; section=\$ 3};"\
6682 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6683 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6684 " \$ 0!~/External *\|/{next};"\
6685 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6686 " {if(hide[section]) next};"\
6687 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6688 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6689 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6690 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6691 " ' prfx=^$ac_symprfx"
6693 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6695 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6697 # Check to see that the pipe works correctly.
6701 cat > conftest.$ac_ext <<_LT_EOF
6706 void nm_test_func(void);
6707 void nm_test_func(void){}
6711 int main(){nm_test_var='a';nm_test_func();return(0);}
6714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6715 (eval $ac_compile) 2>&5
6717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6718 test $ac_status = 0; }; then
6719 # Now try to grab the symbols.
6721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6722 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725 test $ac_status = 0; } && test -s "$nlist"; then
6726 # Try sorting and uniquifying the output.
6727 if sort "$nlist" | uniq > "$nlist"T; then
6728 mv -f "$nlist"T "$nlist"
6733 # Make sure that we snagged all the symbols we need.
6734 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6735 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6736 cat <<_LT_EOF > conftest.$ac_ext
6737 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6738 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6739 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6740 relocations are performed -- see ld's documentation on pseudo-relocs. */
6741 # define LT_DLSYM_CONST
6742 #elif defined(__osf__)
6743 /* This system does not cope well with relocations in const data. */
6744 # define LT_DLSYM_CONST
6746 # define LT_DLSYM_CONST const
6754 # Now generate the symbol file.
6755 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6757 cat <<_LT_EOF >> conftest.$ac_ext
6759 /* The mapping between symbol names and symbols. */
6760 LT_DLSYM_CONST struct {
6764 lt__PROGRAM__LTX_preloaded_symbols[] =
6766 { "@PROGRAM@", (void *) 0 },
6768 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6769 cat <<\_LT_EOF >> conftest.$ac_ext
6773 /* This works around a problem in FreeBSD linker */
6774 #ifdef FREEBSD_WORKAROUND
6775 static const void *lt_preloaded_setup() {
6776 return lt__PROGRAM__LTX_preloaded_symbols;
6784 # Now try linking the two files.
6785 mv conftest.$ac_objext conftstm.$ac_objext
6786 lt_globsym_save_LIBS=$LIBS
6787 lt_globsym_save_CFLAGS=$CFLAGS
6788 LIBS="conftstm.$ac_objext"
6789 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6790 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6791 (eval $ac_link) 2>&5
6793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6794 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6797 LIBS=$lt_globsym_save_LIBS
6798 CFLAGS=$lt_globsym_save_CFLAGS
6800 echo "cannot find nm_test_func in $nlist" >&5
6803 echo "cannot find nm_test_var in $nlist" >&5
6806 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6809 echo "$progname: failed program was:" >&5
6810 cat conftest.$ac_ext >&5
6812 rm -rf conftest* conftst*
6814 # Do not use the global_symbol_pipe unless it works.
6815 if test "$pipe_works" = yes; then
6818 lt_cv_sys_global_symbol_pipe=
6824 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6825 lt_cv_sys_global_symbol_to_cdecl=
6827 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6829 $as_echo "failed" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6832 $as_echo "ok" >&6; }
6835 # Response file support.
6836 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6837 nm_file_list_spec='@'
6838 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6839 nm_file_list_spec='@'
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6869 $as_echo_n "checking for sysroot... " >&6; }
6871 # Check whether --with-sysroot was given.
6872 if test "${with_sysroot+set}" = set; then :
6873 withval=$with_sysroot;
6880 case ${with_sysroot} in #(
6882 if test "$GCC" = yes; then
6883 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6887 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6893 $as_echo "${with_sysroot}" >&6; }
6894 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6899 $as_echo "${lt_sysroot:-no}" >&6; }
6905 # Check whether --enable-libtool-lock was given.
6906 if test "${enable_libtool_lock+set}" = set; then :
6907 enableval=$enable_libtool_lock;
6910 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6912 # Some flags need to be propagated to the compiler or linker for good
6916 # Find out which ABI we are using.
6917 echo 'int i;' > conftest.$ac_ext
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 case `/usr/bin/file conftest.$ac_objext` in
6935 # Find out which ABI we are using.
6936 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6938 (eval $ac_compile) 2>&5
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; }; then
6942 if test "$lt_cv_prog_gnu_ld" = yes; then
6943 case `/usr/bin/file conftest.$ac_objext` in
6945 LD="${LD-ld} -melf32bsmip"
6948 LD="${LD-ld} -melf32bmipn32"
6951 LD="${LD-ld} -melf64bmip"
6955 case `/usr/bin/file conftest.$ac_objext` in
6971 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6972 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6973 # Find out which ABI we are using.
6974 echo 'int i;' > conftest.$ac_ext
6975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6976 (eval $ac_compile) 2>&5
6978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6979 test $ac_status = 0; }; then
6980 case `/usr/bin/file conftest.o` in
6983 x86_64-*kfreebsd*-gnu)
6984 LD="${LD-ld} -m elf_i386_fbsd"
6987 LD="${LD-ld} -m elf_i386"
6989 ppc64-*linux*|powerpc64-*linux*)
6990 LD="${LD-ld} -m elf32ppclinux"
6993 LD="${LD-ld} -m elf_s390"
6996 LD="${LD-ld} -m elf32_sparc"
7002 x86_64-*kfreebsd*-gnu)
7003 LD="${LD-ld} -m elf_x86_64_fbsd"
7006 LD="${LD-ld} -m elf_x86_64"
7008 ppc*-*linux*|powerpc*-*linux*)
7009 LD="${LD-ld} -m elf64ppc"
7011 s390*-*linux*|s390*-*tpf*)
7012 LD="${LD-ld} -m elf64_s390"
7015 LD="${LD-ld} -m elf64_sparc"
7025 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7026 SAVE_CFLAGS="$CFLAGS"
7027 CFLAGS="$CFLAGS -belf"
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7029 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7030 if ${lt_cv_cc_needs_belf+:} false; then :
7031 $as_echo_n "(cached) " >&6
7034 ac_cpp='$CPP $CPPFLAGS'
7035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7040 /* end confdefs.h. */
7050 if ac_fn_c_try_link "$LINENO"; then :
7051 lt_cv_cc_needs_belf=yes
7053 lt_cv_cc_needs_belf=no
7055 rm -f core conftest.err conftest.$ac_objext \
7056 conftest$ac_exeext conftest.$ac_ext
7058 ac_cpp='$CPP $CPPFLAGS'
7059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7065 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7066 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7067 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7068 CFLAGS="$SAVE_CFLAGS"
7072 # Find out which ABI we are using.
7073 echo 'int i;' > conftest.$ac_ext
7074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7075 (eval $ac_compile) 2>&5
7077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7078 test $ac_status = 0; }; then
7079 case `/usr/bin/file conftest.o` in
7081 case $lt_cv_prog_gnu_ld in
7085 LD="${LD-ld} -m elf_x86_64"
7088 LD="${LD-ld} -m elf64_sparc"
7091 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7092 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7097 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7109 need_locks="$enable_libtool_lock"
7111 if test -n "$ac_tool_prefix"; then
7112 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7113 set dummy ${ac_tool_prefix}mt; ac_word=$2
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7115 $as_echo_n "checking for $ac_word... " >&6; }
7116 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 if test -n "$MANIFEST_TOOL"; then
7120 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 test -z "$as_dir" && as_dir=.
7127 for ac_exec_ext in '' $ac_executable_extensions; do
7128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7129 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7140 if test -n "$MANIFEST_TOOL"; then
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7142 $as_echo "$MANIFEST_TOOL" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7150 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7151 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7152 # Extract the first word of "mt", so it can be a program name with args.
7153 set dummy mt; ac_word=$2
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 $as_echo_n "checking for $ac_word... " >&6; }
7156 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7157 $as_echo_n "(cached) " >&6
7159 if test -n "$ac_ct_MANIFEST_TOOL"; then
7160 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 test -z "$as_dir" && as_dir=.
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7180 if test -n "$ac_ct_MANIFEST_TOOL"; then
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7182 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 $as_echo "no" >&6; }
7188 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7191 case $cross_compiling:$ac_tool_warned in
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7195 ac_tool_warned=yes ;;
7197 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7200 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7203 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7205 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7206 if ${lt_cv_path_mainfest_tool+:} false; then :
7207 $as_echo_n "(cached) " >&6
7209 lt_cv_path_mainfest_tool=no
7210 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7211 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7212 cat conftest.err >&5
7213 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7214 lt_cv_path_mainfest_tool=yes
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7219 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7220 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7230 rhapsody* | darwin*)
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7237 $as_echo_n "(cached) " >&6
7239 if test -n "$DSYMUTIL"; then
7240 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7260 if test -n "$DSYMUTIL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7262 $as_echo "$DSYMUTIL" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7270 if test -z "$ac_cv_prog_DSYMUTIL"; then
7271 ac_ct_DSYMUTIL=$DSYMUTIL
7272 # Extract the first word of "dsymutil", so it can be a program name with args.
7273 set dummy dsymutil; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7277 $as_echo_n "(cached) " >&6
7279 if test -n "$ac_ct_DSYMUTIL"; then
7280 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7300 if test -n "$ac_ct_DSYMUTIL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7302 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7308 if test "x$ac_ct_DSYMUTIL" = x; then
7311 case $cross_compiling:$ac_tool_warned in
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7317 DSYMUTIL=$ac_ct_DSYMUTIL
7320 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_NMEDIT+:} false; then :
7329 $as_echo_n "(cached) " >&6
7331 if test -n "$NMEDIT"; then
7332 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 NMEDIT=$ac_cv_prog_NMEDIT
7352 if test -n "$NMEDIT"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7354 $as_echo "$NMEDIT" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7362 if test -z "$ac_cv_prog_NMEDIT"; then
7363 ac_ct_NMEDIT=$NMEDIT
7364 # Extract the first word of "nmedit", so it can be a program name with args.
7365 set dummy nmedit; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7369 $as_echo_n "(cached) " >&6
7371 if test -n "$ac_ct_NMEDIT"; then
7372 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7392 if test -n "$ac_ct_NMEDIT"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7394 $as_echo "$ac_ct_NMEDIT" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7400 if test "x$ac_ct_NMEDIT" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7409 NMEDIT=$ac_ct_NMEDIT
7412 NMEDIT="$ac_cv_prog_NMEDIT"
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if ${ac_cv_prog_LIPO+:} false; then :
7421 $as_echo_n "(cached) " >&6
7423 if test -n "$LIPO"; then
7424 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 LIPO=$ac_cv_prog_LIPO
7444 if test -n "$LIPO"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7446 $as_echo "$LIPO" >&6; }
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7454 if test -z "$ac_cv_prog_LIPO"; then
7456 # Extract the first word of "lipo", so it can be a program name with args.
7457 set dummy lipo; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7461 $as_echo_n "(cached) " >&6
7463 if test -n "$ac_ct_LIPO"; then
7464 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7473 ac_cv_prog_ac_ct_LIPO="lipo"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7484 if test -n "$ac_ct_LIPO"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7486 $as_echo "$ac_ct_LIPO" >&6; }
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7492 if test "x$ac_ct_LIPO" = x; then
7495 case $cross_compiling:$ac_tool_warned in
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7499 ac_tool_warned=yes ;;
7504 LIPO="$ac_cv_prog_LIPO"
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_OTOOL+:} false; then :
7513 $as_echo_n "(cached) " >&6
7515 if test -n "$OTOOL"; then
7516 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7546 if test -z "$ac_cv_prog_OTOOL"; then
7548 # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7553 $as_echo_n "(cached) " >&6
7555 if test -n "$ac_ct_OTOOL"; then
7556 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_ac_ct_OTOOL="otool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7584 if test "x$ac_ct_OTOOL" = x; then
7587 case $cross_compiling:$ac_tool_warned in
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7596 OTOOL="$ac_cv_prog_OTOOL"
7599 if test -n "$ac_tool_prefix"; then
7600 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if ${ac_cv_prog_OTOOL64+:} false; then :
7605 $as_echo_n "(cached) " >&6
7607 if test -n "$OTOOL64"; then
7608 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 OTOOL64=$ac_cv_prog_OTOOL64
7628 if test -n "$OTOOL64"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7630 $as_echo "$OTOOL64" >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7638 if test -z "$ac_cv_prog_OTOOL64"; then
7639 ac_ct_OTOOL64=$OTOOL64
7640 # Extract the first word of "otool64", so it can be a program name with args.
7641 set dummy otool64; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7645 $as_echo_n "(cached) " >&6
7647 if test -n "$ac_ct_OTOOL64"; then
7648 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7657 ac_cv_prog_ac_ct_OTOOL64="otool64"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7668 if test -n "$ac_ct_OTOOL64"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7670 $as_echo "$ac_ct_OTOOL64" >&6; }
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7676 if test "x$ac_ct_OTOOL64" = x; then
7679 case $cross_compiling:$ac_tool_warned in
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7685 OTOOL64=$ac_ct_OTOOL64
7688 OTOOL64="$ac_cv_prog_OTOOL64"
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7718 $as_echo_n "checking for -single_module linker flag... " >&6; }
7719 if ${lt_cv_apple_cc_single_mod+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 lt_cv_apple_cc_single_mod=no
7723 if test -z "${LT_MULTI_MODULE}"; then
7724 # By default we will add the -single_module flag. You can override
7725 # by either setting the environment variable LT_MULTI_MODULE
7726 # non-empty at configure time, or by adding -multi_module to the
7728 rm -rf libconftest.dylib*
7729 echo "int foo(void){return 1;}" > conftest.c
7730 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731 -dynamiclib -Wl,-single_module conftest.c" >&5
7732 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7733 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7735 # If there is a non-empty error log, and "single_module"
7736 # appears in it, assume the flag caused a linker warning
7737 if test -s conftest.err && $GREP single_module conftest.err; then
7738 cat conftest.err >&5
7739 # Otherwise, if the output was created with a 0 exit code from
7740 # the compiler, it worked.
7741 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7742 lt_cv_apple_cc_single_mod=yes
7744 cat conftest.err >&5
7746 rm -rf libconftest.dylib*
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7751 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7754 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7755 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7756 $as_echo_n "(cached) " >&6
7758 lt_cv_ld_exported_symbols_list=no
7759 save_LDFLAGS=$LDFLAGS
7760 echo "_main" > conftest.sym
7761 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7773 if ac_fn_c_try_link "$LINENO"; then :
7774 lt_cv_ld_exported_symbols_list=yes
7776 lt_cv_ld_exported_symbols_list=no
7778 rm -f core conftest.err conftest.$ac_objext \
7779 conftest$ac_exeext conftest.$ac_ext
7780 LDFLAGS="$save_LDFLAGS"
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7784 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7787 $as_echo_n "checking for -force_load linker flag... " >&6; }
7788 if ${lt_cv_ld_force_load+:} false; then :
7789 $as_echo_n "(cached) " >&6
7791 lt_cv_ld_force_load=no
7792 cat > conftest.c << _LT_EOF
7793 int forced_loaded() { return 2;}
7795 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7796 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7797 echo "$AR cru libconftest.a conftest.o" >&5
7798 $AR cru libconftest.a conftest.o 2>&5
7799 echo "$RANLIB libconftest.a" >&5
7800 $RANLIB libconftest.a 2>&5
7801 cat > conftest.c << _LT_EOF
7802 int main() { return 0;}
7804 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7805 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807 if test -s conftest.err && $GREP force_load conftest.err; then
7808 cat conftest.err >&5
7809 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7810 lt_cv_ld_force_load=yes
7812 cat conftest.err >&5
7814 rm -f conftest.err libconftest.a conftest conftest.c
7815 rm -rf conftest.dSYM
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7819 $as_echo "$lt_cv_ld_force_load" >&6; }
7821 rhapsody* | darwin1.[012])
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7824 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7825 darwin*) # darwin 5.x on
7826 # if running on 10.5 or later, the deployment target defaults
7827 # to the OS version, if on x86, and 10.4, the deployment
7828 # target defaults to 10.4. Don't you love it?
7829 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7830 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7831 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7833 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7835 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7839 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7840 _lt_dar_single_mod='$single_module'
7842 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7843 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7845 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7847 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7848 _lt_dsymutil='~$DSYMUTIL $lib || :'
7855 for ac_header in dlfcn.h
7857 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7859 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7860 cat >>confdefs.h <<_ACEOF
7861 #define HAVE_DLFCN_H 1
7882 # Check whether --enable-shared was given.
7883 if test "${enable_shared+set}" = set; then :
7884 enableval=$enable_shared; p=${PACKAGE-default}
7886 yes) enable_shared=yes ;;
7887 no) enable_shared=no ;;
7890 # Look at the argument we got. We use all the common list separators.
7891 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7892 for pkg in $enableval; do
7894 if test "X$pkg" = "X$p"; then
7913 # Check whether --enable-static was given.
7914 if test "${enable_static+set}" = set; then :
7915 enableval=$enable_static; p=${PACKAGE-default}
7917 yes) enable_static=yes ;;
7918 no) enable_static=no ;;
7921 # Look at the argument we got. We use all the common list separators.
7922 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7923 for pkg in $enableval; do
7925 if test "X$pkg" = "X$p"; then
7945 # Check whether --with-pic was given.
7946 if test "${with_pic+set}" = set; then :
7947 withval=$with_pic; lt_p=${PACKAGE-default}
7949 yes|no) pic_mode=$withval ;;
7952 # Look at the argument we got. We use all the common list separators.
7953 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7954 for lt_pkg in $withval; do
7956 if test "X$lt_pkg" = "X$lt_p"; then
7968 test -z "$pic_mode" && pic_mode=default
7976 # Check whether --enable-fast-install was given.
7977 if test "${enable_fast_install+set}" = set; then :
7978 enableval=$enable_fast_install; p=${PACKAGE-default}
7980 yes) enable_fast_install=yes ;;
7981 no) enable_fast_install=no ;;
7983 enable_fast_install=no
7984 # Look at the argument we got. We use all the common list separators.
7985 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7986 for pkg in $enableval; do
7988 if test "X$pkg" = "X$p"; then
7989 enable_fast_install=yes
7996 enable_fast_install=yes
8009 # This can be used to rebuild libtool when needed
8010 LIBTOOL_DEPS="$ltmain"
8012 # Always use our own libtool.
8013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8044 test -z "$LN_S" && LN_S="ln -s"
8059 if test -n "${ZSH_VERSION+set}" ; then
8060 setopt NO_GLOB_SUBST
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8064 $as_echo_n "checking for objdir... " >&6; }
8065 if ${lt_cv_objdir+:} false; then :
8066 $as_echo_n "(cached) " >&6
8068 rm -f .libs 2>/dev/null
8069 mkdir .libs 2>/dev/null
8070 if test -d .libs; then
8073 # MS-DOS does not allow filenames that begin with a dot.
8076 rmdir .libs 2>/dev/null
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8079 $as_echo "$lt_cv_objdir" >&6; }
8080 objdir=$lt_cv_objdir
8086 cat >>confdefs.h <<_ACEOF
8087 #define LT_OBJDIR "$lt_cv_objdir/"
8095 # AIX sometimes has problems with the GCC collect2 program. For some
8096 # reason, if we set the COLLECT_NAMES environment variable, the problems
8097 # vanish in a puff of smoke.
8098 if test "X${COLLECT_NAMES+set}" != Xset; then
8100 export COLLECT_NAMES
8107 can_build_shared=yes
8109 # All known linkers require a `.a' archive for static linking (except MSVC,
8110 # which needs '.lib').
8113 with_gnu_ld="$lt_cv_prog_gnu_ld"
8116 old_CFLAGS="$CFLAGS"
8118 # Set sane defaults for various variables
8119 test -z "$CC" && CC=cc
8120 test -z "$LTCC" && LTCC=$CC
8121 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8122 test -z "$LD" && LD=ld
8123 test -z "$ac_objext" && ac_objext=o
8125 for cc_temp in $compiler""; do
8127 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8128 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8133 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8136 # Only perform the check for file, if the check method requires it
8137 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8138 case $deplibs_check_method in
8140 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8142 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8143 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8144 $as_echo_n "(cached) " >&6
8148 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8151 lt_save_MAGIC_CMD="$MAGIC_CMD"
8152 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8153 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8154 for ac_dir in $ac_dummy; do
8156 test -z "$ac_dir" && ac_dir=.
8157 if test -f $ac_dir/${ac_tool_prefix}file; then
8158 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8159 if test -n "$file_magic_test_file"; then
8160 case $deplibs_check_method in
8162 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8164 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8165 $EGREP "$file_magic_regex" > /dev/null; then
8170 *** Warning: the command libtool uses to detect shared libraries,
8171 *** $file_magic_cmd, produces output that libtool cannot recognize.
8172 *** The result is that libtool may fail to recognize shared libraries
8173 *** as such. This will affect the creation of libtool libraries that
8174 *** depend on shared libraries, but programs linked with such libtool
8175 *** libraries will work regardless of this problem. Nevertheless, you
8176 *** may want to report the problem to your system manager and/or to
8177 *** bug-libtool@gnu.org
8187 MAGIC_CMD="$lt_save_MAGIC_CMD"
8192 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8193 if test -n "$MAGIC_CMD"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8195 $as_echo "$MAGIC_CMD" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8198 $as_echo "no" >&6; }
8205 if test -z "$lt_cv_path_MAGIC_CMD"; then
8206 if test -n "$ac_tool_prefix"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8208 $as_echo_n "checking for file... " >&6; }
8209 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8210 $as_echo_n "(cached) " >&6
8214 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8217 lt_save_MAGIC_CMD="$MAGIC_CMD"
8218 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8219 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8220 for ac_dir in $ac_dummy; do
8222 test -z "$ac_dir" && ac_dir=.
8223 if test -f $ac_dir/file; then
8224 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8225 if test -n "$file_magic_test_file"; then
8226 case $deplibs_check_method in
8228 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8229 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8230 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8231 $EGREP "$file_magic_regex" > /dev/null; then
8236 *** Warning: the command libtool uses to detect shared libraries,
8237 *** $file_magic_cmd, produces output that libtool cannot recognize.
8238 *** The result is that libtool may fail to recognize shared libraries
8239 *** as such. This will affect the creation of libtool libraries that
8240 *** depend on shared libraries, but programs linked with such libtool
8241 *** libraries will work regardless of this problem. Nevertheless, you
8242 *** may want to report the problem to your system manager and/or to
8243 *** bug-libtool@gnu.org
8253 MAGIC_CMD="$lt_save_MAGIC_CMD"
8258 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8259 if test -n "$MAGIC_CMD"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8261 $as_echo "$MAGIC_CMD" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8277 # Use C for the default configuration in the libtool script
8281 ac_cpp='$CPP $CPPFLAGS'
8282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8287 # Source file extension for C test sources.
8290 # Object file extension for compiled C test sources.
8294 # Code to be used in simple compile tests
8295 lt_simple_compile_test_code="int some_variable = 0;"
8297 # Code to be used in simple link tests
8298 lt_simple_link_test_code='int main(){return(0);}'
8306 # If no C compiler was specified, use CC.
8309 # If no C compiler flags were specified, use CFLAGS.
8310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8312 # Allow CC to be a program name with arguments.
8315 # Save the default compiler, since it gets overwritten when the other
8316 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8317 compiler_DEFAULT=$CC
8319 # save warnings/boilerplate of simple test code
8320 ac_outfile=conftest.$ac_objext
8321 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8322 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8323 _lt_compiler_boilerplate=`cat conftest.err`
8326 ac_outfile=conftest.$ac_objext
8327 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8328 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8329 _lt_linker_boilerplate=`cat conftest.err`
8334 ## There is no encapsulation within the following macros, do not change
8335 ## the running order or otherwise move them around unless you know exactly
8336 ## what you are doing...
8337 if test -n "$compiler"; then
8339 lt_prog_compiler_no_builtin_flag=
8341 if test "$GCC" = yes; then
8342 case $cc_basename in
8344 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8346 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8350 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8351 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8352 $as_echo_n "(cached) " >&6
8354 lt_cv_prog_compiler_rtti_exceptions=no
8355 ac_outfile=conftest.$ac_objext
8356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8357 lt_compiler_flag="-fno-rtti -fno-exceptions"
8358 # Insert the option either (1) after the last *FLAGS variable, or
8359 # (2) before a word containing "conftest.", or (3) at the end.
8360 # Note that $ac_compile itself does not contain backslashes and begins
8361 # with a dollar sign (not a hyphen), so the echo should work correctly.
8362 # The option is referenced via a variable to avoid confusing sed.
8363 lt_compile=`echo "$ac_compile" | $SED \
8364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8366 -e 's:$: $lt_compiler_flag:'`
8367 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8368 (eval "$lt_compile" 2>conftest.err)
8370 cat conftest.err >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 if (exit $ac_status) && test -s "$ac_outfile"; then
8373 # The compiler can only warn and ignore the option if not recognized
8374 # So say no if there are warnings other than the usual output.
8375 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8378 lt_cv_prog_compiler_rtti_exceptions=yes
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8385 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8387 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8388 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8400 lt_prog_compiler_wl=
8401 lt_prog_compiler_pic=
8402 lt_prog_compiler_static=
8405 if test "$GCC" = yes; then
8406 lt_prog_compiler_wl='-Wl,'
8407 lt_prog_compiler_static='-static'
8411 # All AIX code is PIC.
8412 if test "$host_cpu" = ia64; then
8413 # AIX 5 now supports IA64 processor
8414 lt_prog_compiler_static='-Bstatic'
8421 # see comment about AmigaOS4 .so support
8422 lt_prog_compiler_pic='-fPIC'
8425 # FIXME: we need at least 68020 code to build shared libraries, but
8426 # adding the `-m68020' flag to GCC prevents building anything better,
8428 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8434 # PIC is the default for these OSes.
8437 mingw* | cygwin* | pw32* | os2* | cegcc*)
8438 # This hack is so that the source file can tell whether it is being
8439 # built for inclusion in a dll (and should export symbols for example).
8440 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8441 # (--disable-auto-import) libraries
8442 lt_prog_compiler_pic='-DDLL_EXPORT'
8445 darwin* | rhapsody*)
8446 # PIC is the default on this platform
8447 # Common symbols not allowed in MH_DYLIB files
8448 lt_prog_compiler_pic='-fno-common'
8452 # PIC is the default for Haiku.
8453 # The "-static" flag exists, but is broken.
8454 lt_prog_compiler_static=
8458 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8459 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8460 # sets the default TLS model and affects inlining.
8466 lt_prog_compiler_pic='-fPIC'
8472 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8473 # Instead, we relocate shared libraries at runtime.
8477 # Just because we use GCC doesn't mean we suddenly get shared libraries
8478 # on systems that don't support them.
8479 lt_prog_compiler_can_build_shared=no
8484 # QNX uses GNU C++, but need to define -shared option too, otherwise
8486 lt_prog_compiler_pic='-fPIC -shared'
8490 if test -d /usr/nec; then
8491 lt_prog_compiler_pic=-Kconform_pic
8496 lt_prog_compiler_pic='-fPIC'
8500 case $cc_basename in
8501 nvcc*) # Cuda Compiler Driver 2.2
8502 lt_prog_compiler_wl='-Xlinker '
8503 if test -n "$lt_prog_compiler_pic"; then
8504 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8509 # PORTME Check for flag to pass linker flags through the system compiler.
8512 lt_prog_compiler_wl='-Wl,'
8513 if test "$host_cpu" = ia64; then
8514 # AIX 5 now supports IA64 processor
8515 lt_prog_compiler_static='-Bstatic'
8517 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8521 mingw* | cygwin* | pw32* | os2* | cegcc*)
8522 # This hack is so that the source file can tell whether it is being
8523 # built for inclusion in a dll (and should export symbols for example).
8524 lt_prog_compiler_pic='-DDLL_EXPORT'
8527 hpux9* | hpux10* | hpux11*)
8528 lt_prog_compiler_wl='-Wl,'
8529 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8536 lt_prog_compiler_pic='+Z'
8539 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8540 lt_prog_compiler_static='${wl}-a ${wl}archive'
8543 irix5* | irix6* | nonstopux*)
8544 lt_prog_compiler_wl='-Wl,'
8545 # PIC (with -KPIC) is the default.
8546 lt_prog_compiler_static='-non_shared'
8549 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8550 case $cc_basename in
8551 # old Intel for x86_64 which still supported -KPIC.
8553 lt_prog_compiler_wl='-Wl,'
8554 lt_prog_compiler_pic='-KPIC'
8555 lt_prog_compiler_static='-static'
8557 # icc used to be incompatible with GCC.
8558 # ICC 10 doesn't accept -KPIC any more.
8560 lt_prog_compiler_wl='-Wl,'
8561 lt_prog_compiler_pic='-fPIC'
8562 lt_prog_compiler_static='-static'
8564 # Lahey Fortran 8.1.
8566 lt_prog_compiler_wl='-Wl,'
8567 lt_prog_compiler_pic='--shared'
8568 lt_prog_compiler_static='--static'
8571 # NAG Fortran compiler
8572 lt_prog_compiler_wl='-Wl,-Wl,,'
8573 lt_prog_compiler_pic='-PIC'
8574 lt_prog_compiler_static='-Bstatic'
8576 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8577 # Portland Group compilers (*not* the Pentium gcc compiler,
8578 # which looks to be a dead project)
8579 lt_prog_compiler_wl='-Wl,'
8580 lt_prog_compiler_pic='-fpic'
8581 lt_prog_compiler_static='-Bstatic'
8584 lt_prog_compiler_wl='-Wl,'
8585 # All Alpha code is PIC.
8586 lt_prog_compiler_static='-non_shared'
8588 xl* | bgxl* | bgf* | mpixl*)
8589 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8590 lt_prog_compiler_wl='-Wl,'
8591 lt_prog_compiler_pic='-qpic'
8592 lt_prog_compiler_static='-qstaticlink'
8595 case `$CC -V 2>&1 | sed 5q` in
8596 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8597 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8598 lt_prog_compiler_pic='-KPIC'
8599 lt_prog_compiler_static='-Bstatic'
8600 lt_prog_compiler_wl=''
8602 *Sun\ F* | *Sun*Fortran*)
8603 lt_prog_compiler_pic='-KPIC'
8604 lt_prog_compiler_static='-Bstatic'
8605 lt_prog_compiler_wl='-Qoption ld '
8609 lt_prog_compiler_pic='-KPIC'
8610 lt_prog_compiler_static='-Bstatic'
8611 lt_prog_compiler_wl='-Wl,'
8613 *Intel*\ [CF]*Compiler*)
8614 lt_prog_compiler_wl='-Wl,'
8615 lt_prog_compiler_pic='-fPIC'
8616 lt_prog_compiler_static='-static'
8619 lt_prog_compiler_wl='-Wl,'
8620 lt_prog_compiler_pic='-fpic'
8621 lt_prog_compiler_static='-Bstatic'
8629 lt_prog_compiler_pic='-KPIC'
8630 lt_prog_compiler_static='-Bstatic'
8634 # QNX uses GNU C++, but need to define -shared option too, otherwise
8636 lt_prog_compiler_pic='-fPIC -shared'
8639 osf3* | osf4* | osf5*)
8640 lt_prog_compiler_wl='-Wl,'
8641 # All OSF/1 code is PIC.
8642 lt_prog_compiler_static='-non_shared'
8646 lt_prog_compiler_static='-non_shared'
8650 lt_prog_compiler_pic='-KPIC'
8651 lt_prog_compiler_static='-Bstatic'
8652 case $cc_basename in
8653 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8654 lt_prog_compiler_wl='-Qoption ld ';;
8656 lt_prog_compiler_wl='-Wl,';;
8661 lt_prog_compiler_wl='-Qoption ld '
8662 lt_prog_compiler_pic='-PIC'
8663 lt_prog_compiler_static='-Bstatic'
8666 sysv4 | sysv4.2uw2* | sysv4.3*)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='-KPIC'
8669 lt_prog_compiler_static='-Bstatic'
8673 if test -d /usr/nec ;then
8674 lt_prog_compiler_pic='-Kconform_pic'
8675 lt_prog_compiler_static='-Bstatic'
8679 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8680 lt_prog_compiler_wl='-Wl,'
8681 lt_prog_compiler_pic='-KPIC'
8682 lt_prog_compiler_static='-Bstatic'
8686 lt_prog_compiler_wl='-Wl,'
8687 lt_prog_compiler_can_build_shared=no
8691 lt_prog_compiler_pic='-pic'
8692 lt_prog_compiler_static='-Bstatic'
8696 lt_prog_compiler_can_build_shared=no
8702 # For platforms which do not support PIC, -DPIC is meaningless:
8704 lt_prog_compiler_pic=
8707 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8712 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8713 if ${lt_cv_prog_compiler_pic+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8719 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8720 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8723 # Check to make sure the PIC flag actually works.
8725 if test -n "$lt_prog_compiler_pic"; then
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8727 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8728 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8729 $as_echo_n "(cached) " >&6
8731 lt_cv_prog_compiler_pic_works=no
8732 ac_outfile=conftest.$ac_objext
8733 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8735 # Insert the option either (1) after the last *FLAGS variable, or
8736 # (2) before a word containing "conftest.", or (3) at the end.
8737 # Note that $ac_compile itself does not contain backslashes and begins
8738 # with a dollar sign (not a hyphen), so the echo should work correctly.
8739 # The option is referenced via a variable to avoid confusing sed.
8740 lt_compile=`echo "$ac_compile" | $SED \
8741 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743 -e 's:$: $lt_compiler_flag:'`
8744 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745 (eval "$lt_compile" 2>conftest.err)
8747 cat conftest.err >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 if (exit $ac_status) && test -s "$ac_outfile"; then
8750 # The compiler can only warn and ignore the option if not recognized
8751 # So say no if there are warnings other than the usual output.
8752 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755 lt_cv_prog_compiler_pic_works=yes
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8762 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8764 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8765 case $lt_prog_compiler_pic in
8767 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8770 lt_prog_compiler_pic=
8771 lt_prog_compiler_can_build_shared=no
8787 # Check to make sure the static flag actually works.
8789 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8791 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8792 if ${lt_cv_prog_compiler_static_works+:} false; then :
8793 $as_echo_n "(cached) " >&6
8795 lt_cv_prog_compiler_static_works=no
8796 save_LDFLAGS="$LDFLAGS"
8797 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8798 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8799 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8800 # The linker can only warn and ignore the option if not recognized
8801 # So say no if there are warnings
8802 if test -s conftest.err; then
8803 # Append any errors to the config.log.
8804 cat conftest.err 1>&5
8805 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8806 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8807 if diff conftest.exp conftest.er2 >/dev/null; then
8808 lt_cv_prog_compiler_static_works=yes
8811 lt_cv_prog_compiler_static_works=yes
8815 LDFLAGS="$save_LDFLAGS"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8821 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8824 lt_prog_compiler_static=
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8834 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8835 if ${lt_cv_prog_compiler_c_o+:} false; then :
8836 $as_echo_n "(cached) " >&6
8838 lt_cv_prog_compiler_c_o=no
8839 $RM -r conftest 2>/dev/null
8843 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845 lt_compiler_flag="-o out/conftest2.$ac_objext"
8846 # Insert the option either (1) after the last *FLAGS variable, or
8847 # (2) before a word containing "conftest.", or (3) at the end.
8848 # Note that $ac_compile itself does not contain backslashes and begins
8849 # with a dollar sign (not a hyphen), so the echo should work correctly.
8850 lt_compile=`echo "$ac_compile" | $SED \
8851 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853 -e 's:$: $lt_compiler_flag:'`
8854 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8855 (eval "$lt_compile" 2>out/conftest.err)
8857 cat out/conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861 # The compiler can only warn and ignore the option if not recognized
8862 # So say no if there are warnings
8863 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8864 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8865 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8866 lt_cv_prog_compiler_c_o=yes
8871 # SGI C++ compiler will create directory out/ii_files/ for
8872 # template instantiation
8873 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8874 $RM out/* && rmdir out
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8881 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890 if ${lt_cv_prog_compiler_c_o+:} false; then :
8891 $as_echo_n "(cached) " >&6
8893 lt_cv_prog_compiler_c_o=no
8894 $RM -r conftest 2>/dev/null
8898 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8900 lt_compiler_flag="-o out/conftest2.$ac_objext"
8901 # Insert the option either (1) after the last *FLAGS variable, or
8902 # (2) before a word containing "conftest.", or (3) at the end.
8903 # Note that $ac_compile itself does not contain backslashes and begins
8904 # with a dollar sign (not a hyphen), so the echo should work correctly.
8905 lt_compile=`echo "$ac_compile" | $SED \
8906 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908 -e 's:$: $lt_compiler_flag:'`
8909 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8910 (eval "$lt_compile" 2>out/conftest.err)
8912 cat out/conftest.err >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8916 # The compiler can only warn and ignore the option if not recognized
8917 # So say no if there are warnings
8918 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8919 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8920 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_c_o=yes
8926 # SGI C++ compiler will create directory out/ii_files/ for
8927 # template instantiation
8928 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8929 $RM out/* && rmdir out
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8936 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8941 hard_links="nottested"
8942 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8943 # do not overwrite the value of need_locks provided by the user
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8945 $as_echo_n "checking if we can lock with hard links... " >&6; }
8948 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8950 ln conftest.a conftest.b 2>&5 || hard_links=no
8951 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8953 $as_echo "$hard_links" >&6; }
8954 if test "$hard_links" = no; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8956 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8972 allow_undefined_flag=
8973 always_export_symbols=no
8975 archive_expsym_cmds=
8976 compiler_needs_object=no
8977 enable_shared_with_static_runtimes=no
8978 export_dynamic_flag_spec=
8979 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8980 hardcode_automatic=no
8982 hardcode_direct_absolute=no
8983 hardcode_libdir_flag_spec=
8984 hardcode_libdir_separator=
8986 hardcode_shlibpath_var=unsupported
8988 link_all_deplibs=unknown
8991 old_archive_from_new_cmds=
8992 old_archive_from_expsyms_cmds=
8993 thread_safe_flag_spec=
8994 whole_archive_flag_spec=
8995 # include_expsyms should be a list of space-separated symbols to be *always*
8996 # included in the symbol list
8998 # exclude_expsyms can be an extended regexp of symbols to exclude
8999 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9000 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9001 # as well as any symbol that contains `d'.
9002 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9003 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9004 # platforms (ab)use it in PIC code, but their linkers get confused if
9005 # the symbol is explicitly referenced. Since portable code cannot
9006 # rely on this symbol name, it's probably fine to never include it in
9007 # preloaded symbol tables.
9008 # Exclude shared library initialization/finalization symbols.
9009 extract_expsyms_cmds=
9012 cygwin* | mingw* | pw32* | cegcc*)
9013 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9014 # When not using gcc, we currently assume that we are using
9015 # Microsoft Visual C++.
9016 if test "$GCC" != yes; then
9021 # we just hope/assume this is gcc and not c89 (= MSVC++)
9031 # On some targets, GNU ld is compatible enough with the native linker
9032 # that we're better off using the native interface for both.
9033 lt_use_gnu_ld_interface=no
9034 if test "$with_gnu_ld" = yes; then
9037 # The AIX port of GNU ld has always aspired to compatibility
9038 # with the native linker. However, as the warning in the GNU ld
9039 # block says, versions before 2.19.5* couldn't really create working
9040 # shared libraries, regardless of the interface used.
9041 case `$LD -v 2>&1` in
9042 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9043 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9044 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9046 lt_use_gnu_ld_interface=yes
9051 lt_use_gnu_ld_interface=yes
9056 if test "$lt_use_gnu_ld_interface" = yes; then
9057 # If archive_cmds runs LD, not CC, wlarc should be empty
9060 # Set some defaults for GNU ld with shared library support. These
9061 # are reset later if shared libraries are not supported. Putting them
9062 # here allows them to be overridden if necessary.
9063 runpath_var=LD_RUN_PATH
9064 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9065 export_dynamic_flag_spec='${wl}--export-dynamic'
9066 # ancient GNU ld didn't support --whole-archive et. al.
9067 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9068 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9070 whole_archive_flag_spec=
9072 supports_anon_versioning=no
9073 case `$LD -v 2>&1` in
9074 *GNU\ gold*) supports_anon_versioning=yes ;;
9075 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9076 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9077 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9078 *\ 2.11.*) ;; # other 2.11 versions
9079 *) supports_anon_versioning=yes ;;
9082 # See if GNU ld supports shared libraries.
9085 # On AIX/PPC, the GNU linker is very broken
9086 if test "$host_cpu" != ia64; then
9090 *** Warning: the GNU linker, at least up to release 2.19, is reported
9091 *** to be unable to reliably create shared libraries on AIX.
9092 *** Therefore, libtool is disabling shared libraries support. If you
9093 *** really care for shared libraries, you may want to install binutils
9094 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9095 *** You will then need to restart the configuration process.
9104 # see comment about AmigaOS4 .so support
9105 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9106 archive_expsym_cmds=''
9109 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)'
9110 hardcode_libdir_flag_spec='-L$libdir'
9111 hardcode_minus_L=yes
9117 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9118 allow_undefined_flag=unsupported
9119 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9120 # support --undefined. This deserves some investigation. FIXME
9121 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127 cygwin* | mingw* | pw32* | cegcc*)
9128 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9129 # as there is no search path for DLLs.
9130 hardcode_libdir_flag_spec='-L$libdir'
9131 export_dynamic_flag_spec='${wl}--export-all-symbols'
9132 allow_undefined_flag=unsupported
9133 always_export_symbols=no
9134 enable_shared_with_static_runtimes=yes
9135 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'
9136 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9138 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9139 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9140 # If the export-symbols file already is a .def file (1st line
9141 # is EXPORTS), use it as is; otherwise, prepend...
9142 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9143 cp $export_symbols $output_objdir/$soname.def;
9145 echo EXPORTS > $output_objdir/$soname.def;
9146 cat $export_symbols >> $output_objdir/$soname.def;
9148 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156 link_all_deplibs=yes
9161 hardcode_shlibpath_var=no
9162 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9163 export_dynamic_flag_spec='${wl}-E'
9164 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9165 # Instead, shared libraries are loaded at an image base (0x10000000 by
9166 # default) and relocated if they conflict, which is a slow very memory
9167 # consuming and fragmenting process. To avoid this, we pick a random,
9168 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9169 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9170 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9171 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'
9174 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9176 if test "$host_os" = linux-dietlibc; then
9177 case $cc_basename in
9178 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9181 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9182 && test "$tmp_diet" = no
9184 tmp_addflag=' $pic_flag'
9185 tmp_sharedflag='-shared'
9186 case $cc_basename,$host_cpu in
9187 pgcc*) # Portland Group C compiler
9188 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'
9189 tmp_addflag=' $pic_flag'
9191 pgf77* | pgf90* | pgf95* | pgfortran*)
9192 # Portland Group f77 and f90 compilers
9193 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'
9194 tmp_addflag=' $pic_flag -Mnomain' ;;
9195 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9196 tmp_addflag=' -i_dynamic' ;;
9197 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9198 tmp_addflag=' -i_dynamic -nofor_main' ;;
9199 ifc* | ifort*) # Intel Fortran compiler
9200 tmp_addflag=' -nofor_main' ;;
9201 lf95*) # Lahey Fortran 8.1
9202 whole_archive_flag_spec=
9203 tmp_sharedflag='--shared' ;;
9204 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9205 tmp_sharedflag='-qmkshrobj'
9207 nvcc*) # Cuda Compiler Driver 2.2
9208 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'
9209 compiler_needs_object=yes
9212 case `$CC -V 2>&1 | sed 5q` in
9213 *Sun\ C*) # Sun C 5.9
9214 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'
9215 compiler_needs_object=yes
9216 tmp_sharedflag='-G' ;;
9217 *Sun\ F*) # Sun Fortran 8.3
9218 tmp_sharedflag='-G' ;;
9220 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9222 if test "x$supports_anon_versioning" = xyes; then
9223 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9224 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9225 echo "local: *; };" >> $output_objdir/$libname.ver~
9226 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9229 case $cc_basename in
9230 xlf* | bgf* | bgxlf* | mpixlf*)
9231 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9232 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9234 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9235 if test "x$supports_anon_versioning" = xyes; then
9236 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9237 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9238 echo "local: *; };" >> $output_objdir/$libname.ver~
9239 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9249 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9250 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9253 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9254 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9259 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9263 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9264 *** create shared libraries on Solaris systems. Therefore, libtool
9265 *** is disabling shared libraries support. We urge you to upgrade GNU
9266 *** binutils to release 2.9.1 or newer. Another option is to modify
9267 *** your PATH or compiler configuration so that the native linker is
9268 *** used, and then restart.
9271 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9272 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9279 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9280 case `$LD -v 2>&1` in
9281 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9285 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9286 *** reliably create shared libraries on SCO systems. Therefore, libtool
9287 *** is disabling shared libraries support. We urge you to upgrade GNU
9288 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9289 *** your PATH or compiler configuration so that the native linker is
9290 *** used, and then restart.
9295 # For security reasons, it is highly recommended that you always
9296 # use absolute paths for naming shared libraries, and exclude the
9297 # DT_RUNPATH tag from executables and libraries. But doing so
9298 # requires that you compile everything twice, which is a pain.
9299 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9311 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314 hardcode_shlibpath_var=no
9318 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9319 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9320 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9327 if test "$ld_shlibs" = no; then
9329 hardcode_libdir_flag_spec=
9330 export_dynamic_flag_spec=
9331 whole_archive_flag_spec=
9334 # PORTME fill in a description of your system's linker (not GNU ld)
9337 allow_undefined_flag=unsupported
9338 always_export_symbols=yes
9339 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'
9340 # Note: this linker hardcodes the directories in LIBPATH if there
9341 # are no directories specified by -L.
9342 hardcode_minus_L=yes
9343 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9344 # Neither direct hardcoding nor static linking is supported with a
9346 hardcode_direct=unsupported
9351 if test "$host_cpu" = ia64; then
9352 # On IA64, the linker does run time linking by default, so we don't
9353 # have to do anything special.
9354 aix_use_runtimelinking=no
9355 exp_sym_flag='-Bexport'
9358 # If we're using GNU nm, then we don't want the "-C" option.
9359 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9360 # Also, AIX nm treats weak defined symbols like other global
9361 # defined symbols, whereas GNU nm marks them as "W".
9362 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9363 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9365 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9367 aix_use_runtimelinking=no
9369 # Test if we are trying to use run time linking or normal
9370 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9371 # need to do runtime linking.
9372 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9373 for ld_flag in $LDFLAGS; do
9374 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9375 aix_use_runtimelinking=yes
9382 exp_sym_flag='-bexport'
9383 no_entry_flag='-bnoentry'
9386 # When large executables or shared objects are built, AIX ld can
9387 # have problems creating the table of contents. If linking a library
9388 # or program results in "error TOC overflow" add -mminimal-toc to
9389 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9390 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9394 hardcode_direct_absolute=yes
9395 hardcode_libdir_separator=':'
9396 link_all_deplibs=yes
9397 file_list_spec='${wl}-f,'
9399 if test "$GCC" = yes; then
9400 case $host_os in aix4.[012]|aix4.[012].*)
9401 # We only want to do this on AIX 4.2 and lower, the check
9402 # below for broken collect2 doesn't work under 4.3+
9403 collect2name=`${CC} -print-prog-name=collect2`
9404 if test -f "$collect2name" &&
9405 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9407 # We have reworked collect2
9410 # We have old collect2
9411 hardcode_direct=unsupported
9412 # It fails to find uninstalled libraries when the uninstalled
9413 # path is not listed in the libpath. Setting hardcode_minus_L
9414 # to unsupported forces relinking
9415 hardcode_minus_L=yes
9416 hardcode_libdir_flag_spec='-L$libdir'
9417 hardcode_libdir_separator=
9421 shared_flag='-shared'
9422 if test "$aix_use_runtimelinking" = yes; then
9423 shared_flag="$shared_flag "'${wl}-G'
9427 if test "$host_cpu" = ia64; then
9428 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9429 # chokes on -Wl,-G. The following line is correct:
9432 if test "$aix_use_runtimelinking" = yes; then
9433 shared_flag='${wl}-G'
9435 shared_flag='${wl}-bM:SRE'
9440 export_dynamic_flag_spec='${wl}-bexpall'
9441 # It seems that -bexpall does not export symbols beginning with
9442 # underscore (_), so it is better to generate a list of symbols to export.
9443 always_export_symbols=yes
9444 if test "$aix_use_runtimelinking" = yes; then
9445 # Warning - without using the other runtime loading flags (-brtl),
9446 # -berok will link without error, but may produce a broken library.
9447 allow_undefined_flag='-berok'
9448 # Determine the default libpath from the value encoded in an
9450 if test "${lt_cv_aix_libpath+set}" = set; then
9451 aix_libpath=$lt_cv_aix_libpath
9453 if ${lt_cv_aix_libpath_+:} false; then :
9454 $as_echo_n "(cached) " >&6
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9467 if ac_fn_c_try_link "$LINENO"; then :
9469 lt_aix_libpath_sed='
9470 /Import File Strings/,/^$/ {
9472 s/^0 *\([^ ]*\) *$/\1/
9476 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9477 # Check for a 64-bit object if we didn't find anything.
9478 if test -z "$lt_cv_aix_libpath_"; then
9479 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9482 rm -f core conftest.err conftest.$ac_objext \
9483 conftest$ac_exeext conftest.$ac_ext
9484 if test -z "$lt_cv_aix_libpath_"; then
9485 lt_cv_aix_libpath_="/usr/lib:/lib"
9490 aix_libpath=$lt_cv_aix_libpath_
9493 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9494 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9496 if test "$host_cpu" = ia64; then
9497 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9498 allow_undefined_flag="-z nodefs"
9499 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"
9501 # Determine the default libpath from the value encoded in an
9503 if test "${lt_cv_aix_libpath+set}" = set; then
9504 aix_libpath=$lt_cv_aix_libpath
9506 if ${lt_cv_aix_libpath_+:} false; then :
9507 $as_echo_n "(cached) " >&6
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9520 if ac_fn_c_try_link "$LINENO"; then :
9522 lt_aix_libpath_sed='
9523 /Import File Strings/,/^$/ {
9525 s/^0 *\([^ ]*\) *$/\1/
9529 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9530 # Check for a 64-bit object if we didn't find anything.
9531 if test -z "$lt_cv_aix_libpath_"; then
9532 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 if test -z "$lt_cv_aix_libpath_"; then
9538 lt_cv_aix_libpath_="/usr/lib:/lib"
9543 aix_libpath=$lt_cv_aix_libpath_
9546 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9547 # Warning - without using the other run time loading flags,
9548 # -berok will link without error, but may produce a broken library.
9549 no_undefined_flag=' ${wl}-bernotok'
9550 allow_undefined_flag=' ${wl}-berok'
9551 if test "$with_gnu_ld" = yes; then
9552 # We only use this code for GNU lds that support --whole-archive.
9553 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9555 # Exported symbols can be pulled into shared objects from archives
9556 whole_archive_flag_spec='$convenience'
9558 archive_cmds_need_lc=yes
9559 # This is similar to how AIX traditionally builds its shared libraries.
9560 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9568 # see comment about AmigaOS4 .so support
9569 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9570 archive_expsym_cmds=''
9573 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)'
9574 hardcode_libdir_flag_spec='-L$libdir'
9575 hardcode_minus_L=yes
9581 export_dynamic_flag_spec=-rdynamic
9584 cygwin* | mingw* | pw32* | cegcc*)
9585 # When not using gcc, we currently assume that we are using
9586 # Microsoft Visual C++.
9587 # hardcode_libdir_flag_spec is actually meaningless, as there is
9588 # no search path for DLLs.
9589 case $cc_basename in
9592 hardcode_libdir_flag_spec=' '
9593 allow_undefined_flag=unsupported
9594 always_export_symbols=yes
9596 # Tell ltmain to make .lib files, not .a files.
9598 # Tell ltmain to make .dll files, not .so files.
9600 # FIXME: Setting linknames here is a bad hack.
9601 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9602 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9603 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9605 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9607 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9609 # The linker will not automatically build a static lib if we build a DLL.
9610 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9611 enable_shared_with_static_runtimes=yes
9612 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9613 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9615 old_postinstall_cmds='chmod 644 $oldlib'
9616 postlink_cmds='lt_outputfile="@OUTPUT@"~
9617 lt_tool_outputfile="@TOOL_OUTPUT@"~
9618 case $lt_outputfile in
9621 lt_outputfile="$lt_outputfile.exe"
9622 lt_tool_outputfile="$lt_tool_outputfile.exe"
9625 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9626 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9627 $RM "$lt_outputfile.manifest";
9631 # Assume MSVC wrapper
9632 hardcode_libdir_flag_spec=' '
9633 allow_undefined_flag=unsupported
9634 # Tell ltmain to make .lib files, not .a files.
9636 # Tell ltmain to make .dll files, not .so files.
9638 # FIXME: Setting linknames here is a bad hack.
9639 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9640 # The linker will automatically build a .lib file if we build a DLL.
9641 old_archive_from_new_cmds='true'
9642 # FIXME: Should let the user specify the lib program.
9643 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9644 enable_shared_with_static_runtimes=yes
9649 darwin* | rhapsody*)
9652 archive_cmds_need_lc=no
9654 hardcode_automatic=yes
9655 hardcode_shlibpath_var=unsupported
9656 if test "$lt_cv_ld_force_load" = "yes"; then
9657 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\"`'
9660 whole_archive_flag_spec=''
9662 link_all_deplibs=yes
9663 allow_undefined_flag="$_lt_dar_allow_undefined"
9664 case $cc_basename in
9665 ifort*) _lt_dar_can_shared=yes ;;
9666 *) _lt_dar_can_shared=$GCC ;;
9668 if test "$_lt_dar_can_shared" = "yes"; then
9669 output_verbose_link_cmd=func_echo_all
9670 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9671 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9672 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}"
9673 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}"
9682 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_libdir_flag_spec='-L$libdir'
9684 hardcode_shlibpath_var=no
9687 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9688 # support. Future versions do this automatically, but an explicit c++rt0.o
9689 # does not break anything, and helps significantly (at the cost of a little
9692 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9693 hardcode_libdir_flag_spec='-R$libdir'
9695 hardcode_shlibpath_var=no
9698 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9700 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9702 hardcode_minus_L=yes
9703 hardcode_shlibpath_var=no
9706 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9707 freebsd* | dragonfly*)
9708 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9709 hardcode_libdir_flag_spec='-R$libdir'
9711 hardcode_shlibpath_var=no
9715 if test "$GCC" = yes; then
9716 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9718 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9720 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9721 hardcode_libdir_separator=:
9724 # hardcode_minus_L: Not really in the search PATH,
9725 # but as the default location of the library.
9726 hardcode_minus_L=yes
9727 export_dynamic_flag_spec='${wl}-E'
9731 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9732 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9736 if test "$with_gnu_ld" = no; then
9737 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9738 hardcode_libdir_separator=:
9740 hardcode_direct_absolute=yes
9741 export_dynamic_flag_spec='${wl}-E'
9742 # hardcode_minus_L: Not really in the search PATH,
9743 # but as the default location of the library.
9744 hardcode_minus_L=yes
9749 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9752 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9755 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9767 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9771 # Older versions of the 11.00 compiler do not understand -b yet
9772 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9774 $as_echo_n "checking if $CC understands -b... " >&6; }
9775 if ${lt_cv_prog_compiler__b+:} false; then :
9776 $as_echo_n "(cached) " >&6
9778 lt_cv_prog_compiler__b=no
9779 save_LDFLAGS="$LDFLAGS"
9780 LDFLAGS="$LDFLAGS -b"
9781 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9782 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9783 # The linker can only warn and ignore the option if not recognized
9784 # So say no if there are warnings
9785 if test -s conftest.err; then
9786 # Append any errors to the config.log.
9787 cat conftest.err 1>&5
9788 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9790 if diff conftest.exp conftest.er2 >/dev/null; then
9791 lt_cv_prog_compiler__b=yes
9794 lt_cv_prog_compiler__b=yes
9798 LDFLAGS="$save_LDFLAGS"
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9802 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9804 if test x"$lt_cv_prog_compiler__b" = xyes; then
9805 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9813 if test "$with_gnu_ld" = no; then
9814 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9815 hardcode_libdir_separator=:
9820 hardcode_shlibpath_var=no
9824 hardcode_direct_absolute=yes
9825 export_dynamic_flag_spec='${wl}-E'
9827 # hardcode_minus_L: Not really in the search PATH,
9828 # but as the default location of the library.
9829 hardcode_minus_L=yes
9835 irix5* | irix6* | nonstopux*)
9836 if test "$GCC" = yes; then
9837 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'
9838 # Try to use the -exported_symbol ld option, if it does not
9839 # work, assume that -exports_file does not work either and
9840 # implicitly export all symbols.
9841 # This should be the same for all languages, so no per-tag cache variable.
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9843 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9844 if ${lt_cv_irix_exported_symbol+:} false; then :
9845 $as_echo_n "(cached) " >&6
9847 save_LDFLAGS="$LDFLAGS"
9848 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9851 int foo (void) { return 0; }
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 lt_cv_irix_exported_symbol=yes
9856 lt_cv_irix_exported_symbol=no
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LDFLAGS="$save_LDFLAGS"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9863 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9864 if test "$lt_cv_irix_exported_symbol" = yes; then
9865 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'
9868 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'
9869 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'
9871 archive_cmds_need_lc='no'
9872 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9873 hardcode_libdir_separator=:
9875 link_all_deplibs=yes
9879 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9880 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9882 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9884 hardcode_libdir_flag_spec='-R$libdir'
9886 hardcode_shlibpath_var=no
9890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9892 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9893 hardcode_libdir_separator=:
9894 hardcode_shlibpath_var=no
9901 if test -f /usr/libexec/ld.so; then
9903 hardcode_shlibpath_var=no
9904 hardcode_direct_absolute=yes
9905 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9906 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9907 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9908 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9909 export_dynamic_flag_spec='${wl}-E'
9912 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9913 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_libdir_flag_spec='-R$libdir'
9917 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9918 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9928 hardcode_libdir_flag_spec='-L$libdir'
9929 hardcode_minus_L=yes
9930 allow_undefined_flag=unsupported
9931 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9932 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9936 if test "$GCC" = yes; then
9937 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9938 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'
9940 allow_undefined_flag=' -expect_unresolved \*'
9941 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'
9943 archive_cmds_need_lc='no'
9944 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9945 hardcode_libdir_separator=:
9948 osf4* | osf5*) # as osf3* with the addition of -msym flag
9949 if test "$GCC" = yes; then
9950 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9951 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'
9952 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954 allow_undefined_flag=' -expect_unresolved \*'
9955 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'
9956 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~
9957 $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'
9959 # Both c and cxx compiler support -rpath directly
9960 hardcode_libdir_flag_spec='-rpath $libdir'
9962 archive_cmds_need_lc='no'
9963 hardcode_libdir_separator=:
9967 no_undefined_flag=' -z defs'
9968 if test "$GCC" = yes; then
9970 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9971 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9972 $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'
9974 case `$CC -V 2>&1` in
9977 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9983 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_shlibpath_var=no
9992 solaris2.[0-5] | solaris2.[0-5].*) ;;
9994 # The compiler driver will combine and reorder linker options,
9995 # but understands `-z linker_flag'. GCC discards it without `$wl',
9996 # but is careful enough not to reorder.
9997 # Supported since Solaris 2.6 (maybe 2.5.1?)
9998 if test "$GCC" = yes; then
9999 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10001 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10005 link_all_deplibs=yes
10009 if test "x$host_vendor" = xsequent; then
10010 # Use $CC to link under sequent, because it throws in some extra .o
10011 # files that make .init and .fini sections work.
10012 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10014 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10016 hardcode_libdir_flag_spec='-L$libdir'
10017 hardcode_direct=yes
10018 hardcode_minus_L=yes
10019 hardcode_shlibpath_var=no
10023 case $host_vendor in
10025 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10026 hardcode_direct=yes # is this really true???
10029 ## LD is ld it makes a PLAMLIB
10030 ## CC just makes a GrossModule.
10031 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10032 reload_cmds='$CC -r -o $output$reload_objs'
10036 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10040 runpath_var='LD_RUN_PATH'
10041 hardcode_shlibpath_var=no
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_shlibpath_var=no
10047 export_dynamic_flag_spec='-Bexport'
10051 if test -d /usr/nec; then
10052 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053 hardcode_shlibpath_var=no
10054 runpath_var=LD_RUN_PATH
10055 hardcode_runpath_var=yes
10060 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10061 no_undefined_flag='${wl}-z,text'
10062 archive_cmds_need_lc=no
10063 hardcode_shlibpath_var=no
10064 runpath_var='LD_RUN_PATH'
10066 if test "$GCC" = yes; then
10067 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 sysv5* | sco3.2v5* | sco5v6*)
10076 # Note: We can NOT use -z defs as we might desire, because we do not
10077 # link with -lc, and that would cause any symbols used from libc to
10078 # always be unresolved, which means just about no library would
10079 # ever link correctly. If we're not using GNU ld we use -z text
10080 # though, which does catch some bad symbols but isn't as heavy-handed
10082 no_undefined_flag='${wl}-z,text'
10083 allow_undefined_flag='${wl}-z,nodefs'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10087 hardcode_libdir_separator=':'
10088 link_all_deplibs=yes
10089 export_dynamic_flag_spec='${wl}-Bexport'
10090 runpath_var='LD_RUN_PATH'
10092 if test "$GCC" = yes; then
10093 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10103 hardcode_libdir_flag_spec='-L$libdir'
10104 hardcode_shlibpath_var=no
10112 if test x$host_vendor = xsni; then
10114 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10115 export_dynamic_flag_spec='${wl}-Blargedynsym'
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10122 $as_echo "$ld_shlibs" >&6; }
10123 test "$ld_shlibs" = no && can_build_shared=no
10125 with_gnu_ld=$with_gnu_ld
10142 # Do we need to explicitly link libc?
10144 case "x$archive_cmds_need_lc" in
10146 # Assume -lc should be added
10147 archive_cmds_need_lc=yes
10149 if test "$enable_shared" = yes && test "$GCC" = yes; then
10150 case $archive_cmds in
10152 # FIXME: we may have to deal with multi-command sequences.
10155 # Test whether the compiler implicitly links with -lc since on some
10156 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10157 # to ld, don't add -lc before -lgcc.
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10159 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10160 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10161 $as_echo_n "(cached) " >&6
10164 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10167 (eval $ac_compile) 2>&5
10169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170 test $ac_status = 0; } 2>conftest.err; then
10173 libobjs=conftest.$ac_objext
10175 wl=$lt_prog_compiler_wl
10176 pic_flag=$lt_prog_compiler_pic
10182 lt_save_allow_undefined_flag=$allow_undefined_flag
10183 allow_undefined_flag=
10184 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10185 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10188 test $ac_status = 0; }
10190 lt_cv_archive_cmds_need_lc=no
10192 lt_cv_archive_cmds_need_lc=yes
10194 allow_undefined_flag=$lt_save_allow_undefined_flag
10196 cat conftest.err 1>&5
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10202 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10203 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10362 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10364 if test "$GCC" = yes; then
10366 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10367 *) lt_awk_arg="/^libraries:/" ;;
10370 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10371 *) lt_sed_strip_eq="s,=/,/,g" ;;
10373 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10374 case $lt_search_path_spec in
10376 # if the path contains ";" then we assume it to be the separator
10377 # otherwise default to the standard path separator (i.e. ":") - it is
10378 # assumed that no part of a normal pathname contains ";" but that should
10379 # okay in the real world where ";" in dirpaths is itself problematic.
10380 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386 # Ok, now we have the path, separated by spaces, we can step through it
10387 # and add multilib dir if necessary.
10388 lt_tmp_lt_search_path_spec=
10389 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10390 for lt_sys_path in $lt_search_path_spec; do
10391 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10392 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10394 test -d "$lt_sys_path" && \
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10399 BEGIN {RS=" "; FS="/|\n";} {
10402 for (lt_i = NF; lt_i > 0; lt_i--) {
10403 if ($lt_i != "" && $lt_i != ".") {
10404 if ($lt_i == "..") {
10407 if (lt_count == 0) {
10408 lt_foo="/" $lt_i lt_foo;
10415 if (lt_foo != "") { lt_freq[lt_foo]++; }
10416 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10418 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10422 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10424 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10426 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10428 library_names_spec=
10429 libname_spec='lib$name'
10433 postuninstall_cmds=
10437 shlibpath_overrides_runpath=unknown
10439 dynamic_linker="$host_os ld.so"
10440 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10441 need_lib_prefix=unknown
10442 hardcode_into_libs=no
10444 # when you set need_version to no, make sure it does not cause -set_version
10445 # flags to be left without arguments
10446 need_version=unknown
10450 version_type=linux # correct to gnu/linux during the next big refactor
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10452 shlibpath_var=LIBPATH
10454 # AIX 3 has no versioning support, so we append a major version to the name.
10455 soname_spec='${libname}${release}${shared_ext}$major'
10459 version_type=linux # correct to gnu/linux during the next big refactor
10462 hardcode_into_libs=yes
10463 if test "$host_cpu" = ia64; then
10464 # AIX 5 supports IA64
10465 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10466 shlibpath_var=LD_LIBRARY_PATH
10468 # With GCC up to 2.95.x, collect2 would create an import file
10469 # for dependence libraries. The import file would start with
10470 # the line `#! .'. This would cause the generated library to
10471 # depend on `.', always an invalid library. This was fixed in
10472 # development snapshots of GCC prior to 3.0.
10474 aix4 | aix4.[01] | aix4.[01].*)
10475 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10477 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480 can_build_shared=no
10484 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10485 # soname into executable. Probably we can add versioning support to
10486 # collect2, so additional links can be useful in future.
10487 if test "$aix_use_runtimelinking" = yes; then
10488 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10489 # instead of lib<name>.a to let people know that these are not
10490 # typical AIX shared libraries.
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10493 # We preserve .a as extension for shared libraries through AIX4.2
10494 # and later when we are not doing run time linking.
10495 library_names_spec='${libname}${release}.a $libname.a'
10496 soname_spec='${libname}${release}${shared_ext}$major'
10498 shlibpath_var=LIBPATH
10505 # Since July 2007 AmigaOS4 officially supports .so libraries.
10506 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 library_names_spec='$libname.ixlibrary $libname.a'
10511 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10512 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10518 library_names_spec='${libname}${shared_ext}'
10519 dynamic_linker="$host_os ld.so"
10520 shlibpath_var=LIBRARY_PATH
10524 version_type=linux # correct to gnu/linux during the next big refactor
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10531 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10532 # the default ld.so.conf also contains /usr/contrib/lib and
10533 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10534 # libtool to hard-code these into programs
10537 cygwin* | mingw* | pw32* | cegcc*)
10538 version_type=windows
10543 case $GCC,$cc_basename in
10546 library_names_spec='$libname.dll.a'
10547 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10548 postinstall_cmds='base_file=`basename \${file}`~
10549 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10550 dldir=$destdir/`dirname \$dlpath`~
10551 test -d \$dldir || mkdir -p \$dldir~
10552 $install_prog $dir/$dlname \$dldir/$dlname~
10553 chmod a+x \$dldir/$dlname~
10554 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10555 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10558 dlpath=$dir/\$dldll~
10560 shlibpath_overrides_runpath=yes
10564 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10565 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570 # MinGW DLLs use traditional 'lib' prefix
10571 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 # pw32 DLLs use 'pw' prefix rather than 'lib'
10575 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 dynamic_linker='Win32 ld.exe'
10583 libname_spec='$name'
10584 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10585 library_names_spec='${libname}.dll.lib'
10589 sys_lib_search_path_spec=
10592 for lt_path in $LIB
10595 # Let DOS variable expansion print the short 8.3 style file name.
10596 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10597 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10600 # Convert to MSYS style.
10601 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10604 # Convert to unix form, then to dos form, then back to unix form
10605 # but this time dos style (no spaces!) so that the unix form looks
10606 # like /cygdrive/c/PROGRA~1:/cygdr...
10607 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10608 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10609 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10612 sys_lib_search_path_spec="$LIB"
10613 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10614 # It is most probably a Windows format PATH.
10615 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10617 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10619 # FIXME: find the short name or the path components, as spaces are
10620 # common. (e.g. "Program Files" -> "PROGRA~1")
10624 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10625 postinstall_cmds='base_file=`basename \${file}`~
10626 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10627 dldir=$destdir/`dirname \$dlpath`~
10628 test -d \$dldir || mkdir -p \$dldir~
10629 $install_prog $dir/$dlname \$dldir/$dlname'
10630 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10631 dlpath=$dir/\$dldll~
10633 shlibpath_overrides_runpath=yes
10634 dynamic_linker='Win32 link.exe'
10638 # Assume MSVC wrapper
10639 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10640 dynamic_linker='Win32 ld.exe'
10643 # FIXME: first we should search . and the directory the executable is in
10647 darwin* | rhapsody*)
10648 dynamic_linker="$host_os dyld"
10649 version_type=darwin
10652 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10653 soname_spec='${libname}${release}${major}$shared_ext'
10654 shlibpath_overrides_runpath=yes
10655 shlibpath_var=DYLD_LIBRARY_PATH
10656 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10658 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10659 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10663 version_type=linux # correct to gnu/linux during the next big refactor
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10667 soname_spec='${libname}${release}${shared_ext}$major'
10668 shlibpath_var=LD_LIBRARY_PATH
10671 freebsd* | dragonfly*)
10672 # DragonFly does not have aout. When/if they implement a new
10673 # versioning mechanism, adjust this.
10674 if test -x /usr/bin/objformat; then
10675 objformat=`/usr/bin/objformat`
10678 freebsd[23].*) objformat=aout ;;
10679 *) objformat=elf ;;
10682 version_type=freebsd-$objformat
10683 case $version_type in
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10690 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10694 shlibpath_var=LD_LIBRARY_PATH
10697 shlibpath_overrides_runpath=yes
10699 freebsd3.[01]* | freebsdelf3.[01]*)
10700 shlibpath_overrides_runpath=yes
10701 hardcode_into_libs=yes
10703 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10704 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10705 shlibpath_overrides_runpath=no
10706 hardcode_into_libs=yes
10708 *) # from 4.6 on, and DragonFly
10709 shlibpath_overrides_runpath=yes
10710 hardcode_into_libs=yes
10716 version_type=linux # correct to gnu/linux during the next big refactor
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 shlibpath_var=LD_LIBRARY_PATH
10722 shlibpath_overrides_runpath=no
10723 hardcode_into_libs=yes
10727 version_type=linux # correct to gnu/linux during the next big refactor
10730 dynamic_linker="$host_os runtime_loader"
10731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10732 soname_spec='${libname}${release}${shared_ext}$major'
10733 shlibpath_var=LIBRARY_PATH
10734 shlibpath_overrides_runpath=yes
10735 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10736 hardcode_into_libs=yes
10739 hpux9* | hpux10* | hpux11*)
10740 # Give a soname corresponding to the major version so that dld.sl refuses to
10741 # link against other versions.
10748 hardcode_into_libs=yes
10749 dynamic_linker="$host_os dld.so"
10750 shlibpath_var=LD_LIBRARY_PATH
10751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 if test "X$HPUX_IA64_MODE" = X32; then
10755 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10757 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10759 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10763 hardcode_into_libs=yes
10764 dynamic_linker="$host_os dld.sl"
10765 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10766 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768 soname_spec='${libname}${release}${shared_ext}$major'
10769 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10770 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10774 dynamic_linker="$host_os dld.sl"
10775 shlibpath_var=SHLIB_PATH
10776 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778 soname_spec='${libname}${release}${shared_ext}$major'
10781 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10782 postinstall_cmds='chmod 555 $lib'
10783 # or fails outright, so override atomically:
10784 install_override_mode=555
10788 version_type=linux # correct to gnu/linux during the next big refactor
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10792 soname_spec='${libname}${release}${shared_ext}$major'
10793 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10794 shlibpath_var=LD_LIBRARY_PATH
10795 shlibpath_overrides_runpath=no
10796 hardcode_into_libs=yes
10799 irix5* | irix6* | nonstopux*)
10801 nonstopux*) version_type=nonstopux ;;
10803 if test "$lt_cv_prog_gnu_ld" = yes; then
10804 version_type=linux # correct to gnu/linux during the next big refactor
10811 soname_spec='${libname}${release}${shared_ext}$major'
10812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10814 irix5* | nonstopux*)
10815 libsuff= shlibsuff=
10818 case $LD in # libtool.m4 will add one of these switches to LD
10819 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10820 libsuff= shlibsuff= libmagic=32-bit;;
10821 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10822 libsuff=32 shlibsuff=N32 libmagic=N32;;
10823 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10824 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10825 *) libsuff= shlibsuff= libmagic=never-match;;
10829 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10830 shlibpath_overrides_runpath=no
10831 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10832 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10833 hardcode_into_libs=yes
10836 # No shared lib support for Linux oldld, aout, or coff.
10837 linux*oldld* | linux*aout* | linux*coff*)
10841 # This must be glibc/ELF.
10842 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10843 version_type=linux # correct to gnu/linux during the next big refactor
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10849 shlibpath_var=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath=no
10852 # Some binutils ld are patched to set DT_RUNPATH
10853 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10854 $as_echo_n "(cached) " >&6
10856 lt_cv_shlibpath_overrides_runpath=no
10857 save_LDFLAGS=$LDFLAGS
10858 save_libdir=$libdir
10859 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10860 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10872 if ac_fn_c_try_link "$LINENO"; then :
10873 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10874 lt_cv_shlibpath_overrides_runpath=yes
10877 rm -f core conftest.err conftest.$ac_objext \
10878 conftest$ac_exeext conftest.$ac_ext
10879 LDFLAGS=$save_LDFLAGS
10880 libdir=$save_libdir
10884 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10886 # This implies no fast_install, which is unacceptable.
10887 # Some rework will be needed to allow for fast_install
10888 # before this can be enabled.
10889 hardcode_into_libs=yes
10891 # Append ld.so.conf contents to the search path
10892 if test -f /etc/ld.so.conf; then
10893 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' ' '`
10894 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10897 # We used to test for /lib/ld.so.1 and disable shared libraries on
10898 # powerpc, because MkLinux only supported shared libraries with the
10899 # GNU dynamic linker. Since this was broken with cross compilers,
10900 # most powerpc-linux boxes support dynamic linking these days and
10901 # people can always --disable-shared, the test was removed, and we
10902 # assume the GNU/Linux dynamic linker is in use.
10903 dynamic_linker='GNU/Linux ld.so'
10910 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10912 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10913 dynamic_linker='NetBSD (a.out) ld.so'
10915 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10916 soname_spec='${libname}${release}${shared_ext}$major'
10917 dynamic_linker='NetBSD ld.elf_so'
10919 shlibpath_var=LD_LIBRARY_PATH
10920 shlibpath_overrides_runpath=yes
10921 hardcode_into_libs=yes
10925 version_type=linux # correct to gnu/linux during the next big refactor
10926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927 shlibpath_var=LD_LIBRARY_PATH
10928 shlibpath_overrides_runpath=yes
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10936 soname_spec='${libname}${release}${shared_ext}$major'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 shlibpath_overrides_runpath=no
10939 hardcode_into_libs=yes
10940 dynamic_linker='ldqnx.so'
10945 sys_lib_dlsearch_path_spec="/usr/lib"
10947 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10949 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10950 *) need_version=no ;;
10952 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10953 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10957 openbsd2.[89] | openbsd2.[89].*)
10958 shlibpath_overrides_runpath=no
10961 shlibpath_overrides_runpath=yes
10965 shlibpath_overrides_runpath=yes
10970 libname_spec='$name'
10973 library_names_spec='$libname${shared_ext} $libname.a'
10974 dynamic_linker='OS/2 ld.exe'
10975 shlibpath_var=LIBPATH
10978 osf3* | osf4* | osf5*)
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 shlibpath_var=LD_LIBRARY_PATH
10985 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10986 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10994 version_type=linux # correct to gnu/linux during the next big refactor
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
10999 shlibpath_var=LD_LIBRARY_PATH
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11002 # ldd complains unless libraries are executable
11003 postinstall_cmds='chmod +x $lib'
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11009 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 if test "$with_gnu_ld" = yes; then
11019 version_type=linux # correct to gnu/linux during the next big refactor
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 soname_spec='${libname}${release}${shared_ext}$major'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 case $host_vendor in
11025 shlibpath_overrides_runpath=no
11027 runpath_var=LD_RUN_PATH
11035 shlibpath_overrides_runpath=no
11036 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11042 if test -d /usr/nec ;then
11043 version_type=linux # correct to gnu/linux during the next big refactor
11044 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11045 soname_spec='$libname${shared_ext}.$major'
11046 shlibpath_var=LD_LIBRARY_PATH
11050 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11051 version_type=freebsd-elf
11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11055 soname_spec='${libname}${release}${shared_ext}$major'
11056 shlibpath_var=LD_LIBRARY_PATH
11057 shlibpath_overrides_runpath=yes
11058 hardcode_into_libs=yes
11059 if test "$with_gnu_ld" = yes; then
11060 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11062 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11065 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11069 sys_lib_dlsearch_path_spec='/usr/lib'
11073 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11074 version_type=linux # correct to gnu/linux during the next big refactor
11077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11078 shlibpath_var=LD_LIBRARY_PATH
11079 shlibpath_overrides_runpath=no
11080 hardcode_into_libs=yes
11084 version_type=linux # correct to gnu/linux during the next big refactor
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086 soname_spec='${libname}${release}${shared_ext}$major'
11087 shlibpath_var=LD_LIBRARY_PATH
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11095 $as_echo "$dynamic_linker" >&6; }
11096 test "$dynamic_linker" = no && can_build_shared=no
11098 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11099 if test "$GCC" = yes; then
11100 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11103 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11104 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11106 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11107 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11202 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11204 if test -n "$hardcode_libdir_flag_spec" ||
11205 test -n "$runpath_var" ||
11206 test "X$hardcode_automatic" = "Xyes" ; then
11208 # We can hardcode non-existent directories.
11209 if test "$hardcode_direct" != no &&
11210 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11211 # have to relink, otherwise we might link with an installed library
11212 # when we should be linking with a yet-to-be-installed one
11213 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11214 test "$hardcode_minus_L" != no; then
11215 # Linking always hardcodes the temporary library directory.
11216 hardcode_action=relink
11218 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11219 hardcode_action=immediate
11222 # We cannot hardcode anything, or else we can only hardcode existing
11224 hardcode_action=unsupported
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11227 $as_echo "$hardcode_action" >&6; }
11229 if test "$hardcode_action" = relink ||
11230 test "$inherit_rpath" = yes; then
11231 # Fast installation is not supported
11232 enable_fast_install=no
11233 elif test "$shlibpath_overrides_runpath" = yes ||
11234 test "$enable_shared" = no; then
11235 # Fast installation is not necessary
11236 enable_fast_install=needless
11244 if test "x$enable_dlopen" != xyes; then
11245 enable_dlopen=unknown
11246 enable_dlopen_self=unknown
11247 enable_dlopen_self_static=unknown
11254 lt_cv_dlopen="load_add_on"
11256 lt_cv_dlopen_self=yes
11259 mingw* | pw32* | cegcc*)
11260 lt_cv_dlopen="LoadLibrary"
11265 lt_cv_dlopen="dlopen"
11270 # if libdl is installed we need to link against it
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11272 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11273 if ${ac_cv_lib_dl_dlopen+:} false; then :
11274 $as_echo_n "(cached) " >&6
11276 ac_check_lib_save_LIBS=$LIBS
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_dl_dlopen=yes
11299 ac_cv_lib_dl_dlopen=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11306 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11307 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11308 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11311 lt_cv_dlopen="dyld"
11313 lt_cv_dlopen_self=yes
11320 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11321 if test "x$ac_cv_func_shl_load" = xyes; then :
11322 lt_cv_dlopen="shl_load"
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11325 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11326 if ${ac_cv_lib_dld_shl_load+:} false; then :
11327 $as_echo_n "(cached) " >&6
11329 ac_check_lib_save_LIBS=$LIBS
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11344 return shl_load ();
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_dld_shl_load=yes
11352 ac_cv_lib_dld_shl_load=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11359 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11360 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11361 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11363 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11364 if test "x$ac_cv_func_dlopen" = xyes; then :
11365 lt_cv_dlopen="dlopen"
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11369 if ${ac_cv_lib_dl_dlopen+:} false; then :
11370 $as_echo_n "(cached) " >&6
11372 ac_check_lib_save_LIBS=$LIBS
11374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11375 /* end confdefs.h. */
11377 /* Override any GCC internal prototype to avoid an error.
11378 Use char because int might match the return type of a GCC
11379 builtin and then its argument prototype would still apply. */
11392 if ac_fn_c_try_link "$LINENO"; then :
11393 ac_cv_lib_dl_dlopen=yes
11395 ac_cv_lib_dl_dlopen=no
11397 rm -f core conftest.err conftest.$ac_objext \
11398 conftest$ac_exeext conftest.$ac_ext
11399 LIBS=$ac_check_lib_save_LIBS
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11402 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11403 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11404 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11407 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11408 if ${ac_cv_lib_svld_dlopen+:} false; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-lsvld $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_svld_dlopen=yes
11434 ac_cv_lib_svld_dlopen=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11442 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11447 if ${ac_cv_lib_dld_dld_link+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_lib_save_LIBS=$LIBS
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11465 return dld_link ();
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_dld_dld_link=yes
11473 ac_cv_lib_dld_dld_link=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11480 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11481 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11482 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11503 if test "x$lt_cv_dlopen" != xno; then
11509 case $lt_cv_dlopen in
11511 save_CPPFLAGS="$CPPFLAGS"
11512 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11514 save_LDFLAGS="$LDFLAGS"
11515 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11518 LIBS="$lt_cv_dlopen_libs $LIBS"
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11521 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11522 if ${lt_cv_dlopen_self+:} false; then :
11523 $as_echo_n "(cached) " >&6
11525 if test "$cross_compiling" = yes; then :
11526 lt_cv_dlopen_self=cross
11528 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11529 lt_status=$lt_dlunknown
11530 cat > conftest.$ac_ext <<_LT_EOF
11531 #line $LINENO "configure"
11532 #include "confdefs.h"
11541 # define LT_DLGLOBAL RTLD_GLOBAL
11544 # define LT_DLGLOBAL DL_GLOBAL
11546 # define LT_DLGLOBAL 0
11550 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11551 find out it does not work in some platform. */
11552 #ifndef LT_DLLAZY_OR_NOW
11554 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW DL_LAZY
11560 # define LT_DLLAZY_OR_NOW RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW DL_NOW
11565 # define LT_DLLAZY_OR_NOW 0
11572 /* When -fvisbility=hidden is used, assume the code has been annotated
11573 correspondingly for the symbols needed. */
11574 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11575 int fnord () __attribute__((visibility("default")));
11578 int fnord () { return 42; }
11581 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11582 int status = $lt_dlunknown;
11586 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11589 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11590 else puts (dlerror ());
11592 /* dlclose (self); */
11600 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11601 (eval $ac_link) 2>&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11604 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11605 (./conftest; exit; ) >&5 2>/dev/null
11607 case x$lt_status in
11608 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11609 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11610 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11613 # compilation failed
11614 lt_cv_dlopen_self=no
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11622 $as_echo "$lt_cv_dlopen_self" >&6; }
11624 if test "x$lt_cv_dlopen_self" = xyes; then
11625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11627 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11628 if ${lt_cv_dlopen_self_static+:} false; then :
11629 $as_echo_n "(cached) " >&6
11631 if test "$cross_compiling" = yes; then :
11632 lt_cv_dlopen_self_static=cross
11634 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11635 lt_status=$lt_dlunknown
11636 cat > conftest.$ac_ext <<_LT_EOF
11637 #line $LINENO "configure"
11638 #include "confdefs.h"
11647 # define LT_DLGLOBAL RTLD_GLOBAL
11650 # define LT_DLGLOBAL DL_GLOBAL
11652 # define LT_DLGLOBAL 0
11656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11657 find out it does not work in some platform. */
11658 #ifndef LT_DLLAZY_OR_NOW
11660 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW DL_LAZY
11666 # define LT_DLLAZY_OR_NOW RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW DL_NOW
11671 # define LT_DLLAZY_OR_NOW 0
11678 /* When -fvisbility=hidden is used, assume the code has been annotated
11679 correspondingly for the symbols needed. */
11680 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11681 int fnord () __attribute__((visibility("default")));
11684 int fnord () { return 42; }
11687 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11688 int status = $lt_dlunknown;
11692 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11695 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11696 else puts (dlerror ());
11698 /* dlclose (self); */
11706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11707 (eval $ac_link) 2>&5
11709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11710 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11711 (./conftest; exit; ) >&5 2>/dev/null
11713 case x$lt_status in
11714 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11715 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11716 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11719 # compilation failed
11720 lt_cv_dlopen_self_static=no
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11728 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11731 CPPFLAGS="$save_CPPFLAGS"
11732 LDFLAGS="$save_LDFLAGS"
11737 case $lt_cv_dlopen_self in
11738 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11739 *) enable_dlopen_self=unknown ;;
11742 case $lt_cv_dlopen_self_static in
11743 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11744 *) enable_dlopen_self_static=unknown ;;
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11767 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11768 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11769 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11770 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11772 $as_echo "yes" >&6; }
11774 # FIXME - insert some real tests, host_os isn't really good enough
11777 if test -n "$STRIP" ; then
11778 striplib="$STRIP -x"
11779 old_striplib="$STRIP -S"
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11781 $as_echo "yes" >&6; }
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11784 $as_echo "no" >&6; }
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11805 # Report which library types will actually be built
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11807 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11809 $as_echo "$can_build_shared" >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11812 $as_echo_n "checking whether to build shared libraries... " >&6; }
11813 test "$can_build_shared" = "no" && enable_shared=no
11815 # On AIX, shared libraries and static libraries use the same namespace, and
11816 # are all built from PIC.
11819 test "$enable_shared" = yes && enable_static=no
11820 if test -n "$RANLIB"; then
11821 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11822 postinstall_cmds='$RANLIB $lib'
11827 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11828 test "$enable_shared" = yes && enable_static=no
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11833 $as_echo "$enable_shared" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11836 $as_echo_n "checking whether to build static libraries... " >&6; }
11837 # Make sure either enable_shared or enable_static is yes.
11838 test "$enable_shared" = yes || enable_static=yes
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11840 $as_echo "$enable_static" >&6; }
11847 ac_cpp='$CPP $CPPFLAGS'
11848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11868 ac_config_commands="$ac_config_commands libtool"
11873 # Only expand once:
11877 ac_fn_c_check_func "$LINENO" "fileno" "ac_cv_func_fileno"
11878 if test "x$ac_cv_func_fileno" = xyes; then :
11881 as_fn_error $? "The 'fileno' function is missing." "$LINENO" 5
11886 # Extract the first word of "pcre-config", so it can be a program name with args.
11887 set dummy pcre-config; ac_word=$2
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11889 $as_echo_n "checking for $ac_word... " >&6; }
11890 if ${ac_cv_prog_HAVE_PCRE+:} false; then :
11891 $as_echo_n "(cached) " >&6
11893 if test -n "$HAVE_PCRE"; then
11894 ac_cv_prog_HAVE_PCRE="$HAVE_PCRE" # Let the user override the test.
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $PATH
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11903 ac_cv_prog_HAVE_PCRE="yes"
11904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 test -z "$ac_cv_prog_HAVE_PCRE" && ac_cv_prog_HAVE_PCRE="no"
11914 HAVE_PCRE=$ac_cv_prog_HAVE_PCRE
11915 if test -n "$HAVE_PCRE"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PCRE" >&5
11917 $as_echo "$HAVE_PCRE" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11924 if test "x$HAVE_PCRE" = "xno"
11926 as_fn_error $? "The PCRE library is needed. See http://www.pcre.org." "$LINENO" 5
11928 CFLAGS="$CFLAGS $(pcre-config --cflags)"
11929 PCRE_LIBS="$(pcre-config --libs)"
11933 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
11934 if test "x$ac_cv_header_getopt_h" = xyes; then :
11937 as_fn_error $? "The posix getopt.h header is needed." "$LINENO" 5
11946 ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile src/version.h"
11949 cat >confcache <<\_ACEOF
11950 # This file is a shell script that caches the results of configure
11951 # tests run on this system so they can be shared between configure
11952 # scripts and configure runs, see configure's option --config-cache.
11953 # It is not useful on other systems. If it contains results you don't
11954 # want to keep, you may remove or edit it.
11956 # config.status only pays attention to the cache file if you give it
11957 # the --recheck option to rerun configure.
11959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11961 # following values.
11965 # The following way of writing the cache mishandles newlines in values,
11966 # but we know of no workaround that is simple, portable, and efficient.
11967 # So, we kill variables containing newlines.
11968 # Ultrix sh set writes to stderr and can't be redirected directly,
11969 # and sets the high bit in the cache file unless we assign to the vars.
11971 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11972 eval ac_val=\$$ac_var
11976 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11980 _ | IFS | as_nl) ;; #(
11981 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11982 *) { eval $ac_var=; unset $ac_var;} ;;
11988 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11989 *${as_nl}ac_space=\ *)
11990 # `set' does not quote correctly, so add quotes: double-quote
11991 # substitution turns \\\\ into \\, and sed turns \\ into \.
11994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11997 # `set' quotes correctly as required by POSIX, so do not add quotes.
11998 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12009 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12011 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12012 if test -w "$cache_file"; then
12013 if test "x$cache_file" != "x/dev/null"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12015 $as_echo "$as_me: updating cache $cache_file" >&6;}
12016 if test ! -f "$cache_file" || test -h "$cache_file"; then
12017 cat confcache >"$cache_file"
12019 case $cache_file in #(
12021 mv -f confcache "$cache_file"$$ &&
12022 mv -f "$cache_file"$$ "$cache_file" ;; #(
12024 mv -f confcache "$cache_file" ;;
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12030 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12036 # Let make expand exec_prefix.
12037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12039 # Transform confdefs.h into DEFS.
12040 # Protect against shell expansion while executing Makefile rules.
12041 # Protect against Makefile macro expansion.
12043 # If the first sed substitution is executed (which looks for macros that
12044 # take arguments), then branch to the quote section. Otherwise,
12045 # look for a macro that doesn't take arguments.
12055 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
12057 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
12061 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12074 DEFS=`sed -n "$ac_script" confdefs.h`
12080 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12081 # 1. Remove the extension, and $U if already installed.
12082 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12083 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12084 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12085 # will be set to the directory where LIBOBJS objects are built.
12086 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12087 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12089 LIBOBJS=$ac_libobjs
12091 LTLIBOBJS=$ac_ltlibobjs
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12095 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12096 if test -n "$am_sleep_pid"; then
12097 # Hide warnings about reused PIDs.
12098 wait $am_sleep_pid 2>/dev/null
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12101 $as_echo "done" >&6; }
12102 if test -n "$EXEEXT"; then
12104 am__EXEEXT_FALSE='#'
12106 am__EXEEXT_TRUE='#'
12110 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12111 as_fn_error $? "conditional \"AMDEP\" was never defined.
12112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12114 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12115 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12119 : "${CONFIG_STATUS=./config.status}"
12121 ac_clean_files_save=$ac_clean_files
12122 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12124 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12126 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12128 # Generated by $as_me.
12129 # Run this file to recreate the current configuration.
12130 # Compiler output produced by configure, useful for debugging
12131 # configure, is in config.log if it exists.
12134 ac_cs_recheck=false
12137 SHELL=\${CONFIG_SHELL-$SHELL}
12140 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12141 ## -------------------- ##
12142 ## M4sh Initialization. ##
12143 ## -------------------- ##
12145 # Be more Bourne compatible
12146 DUALCASE=1; export DUALCASE # for MKS sh
12147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12150 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12151 # is contrary to our usage. Disable this feature.
12152 alias -g '${1+"$@"}'='"$@"'
12153 setopt NO_GLOB_SUBST
12155 case `(set -o) 2>/dev/null` in #(
12167 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12168 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12169 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12170 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12171 # Prefer a ksh shell builtin over an external printf program on Solaris,
12172 # but without wasting forks for bash or zsh.
12173 if test -z "$BASH_VERSION$ZSH_VERSION" \
12174 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12175 as_echo='print -r --'
12176 as_echo_n='print -rn --'
12177 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12178 as_echo='printf %s\n'
12179 as_echo_n='printf %s'
12181 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12182 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12183 as_echo_n='/usr/ucb/echo -n'
12185 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12186 as_echo_n_body='eval
12190 expr "X$arg" : "X\\(.*\\)$as_nl";
12191 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12193 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12195 export as_echo_n_body
12196 as_echo_n='sh -c $as_echo_n_body as_echo'
12198 export as_echo_body
12199 as_echo='sh -c $as_echo_body as_echo'
12202 # The user is always right.
12203 if test "${PATH_SEPARATOR+set}" != set; then
12205 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12206 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12213 # We need space, tab and new line, in precisely that order. Quoting is
12214 # there to prevent editors from complaining about space-tab.
12215 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12216 # splitting by setting IFS to empty value.)
12219 # Find who we are. Look in the path if we contain no directory separator.
12222 *[\\/]* ) as_myself=$0 ;;
12223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12224 for as_dir in $PATH
12227 test -z "$as_dir" && as_dir=.
12228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12234 # We did not find ourselves, most probably we were run as `sh COMMAND'
12235 # in which case we are not to be found in the path.
12236 if test "x$as_myself" = x; then
12239 if test ! -f "$as_myself"; then
12240 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12244 # Unset variables that we do not need and which cause bugs (e.g. in
12245 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12246 # suppresses any "Segmentation fault" message there. '((' could
12247 # trigger a bug in pdksh 5.2.14.
12248 for as_var in BASH_ENV ENV MAIL MAILPATH
12249 do eval test x\${$as_var+set} = xset \
12250 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12263 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12266 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12267 # ----------------------------------------
12268 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12269 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12270 # script with STATUS, using 1 if that was 0.
12273 as_status=$1; test $as_status -eq 0 && as_status=1
12275 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12276 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12278 $as_echo "$as_me: error: $2" >&2
12279 as_fn_exit $as_status
12283 # as_fn_set_status STATUS
12284 # -----------------------
12285 # Set $? to STATUS, without forking.
12286 as_fn_set_status ()
12289 } # as_fn_set_status
12291 # as_fn_exit STATUS
12292 # -----------------
12293 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12297 as_fn_set_status $1
12303 # Portably unset VAR.
12306 { eval $1=; unset $1;}
12308 as_unset=as_fn_unset
12309 # as_fn_append VAR VALUE
12310 # ----------------------
12311 # Append the text in VALUE to the end of the definition contained in VAR. Take
12312 # advantage of any shell optimizations that allow amortized linear growth over
12313 # repeated appends, instead of the typical quadratic growth present in naive
12315 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12316 eval 'as_fn_append ()
12327 # as_fn_arith ARG...
12328 # ------------------
12329 # Perform arithmetic evaluation on the ARGs, and store the result in the
12330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12331 # must be portable across $(()) and expr.
12332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12333 eval 'as_fn_arith ()
12340 as_val=`expr "$@" || test $? -eq 1`
12345 if expr a : '\(a\)' >/dev/null 2>&1 &&
12346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12353 as_basename=basename
12358 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12364 as_me=`$as_basename -- "$0" ||
12365 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12366 X"$0" : 'X\(//\)$' \| \
12367 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12369 sed '/^.*\/\([^/][^/]*\)\/*$/{
12383 # Avoid depending upon Character Ranges.
12384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12387 as_cr_digits='0123456789'
12388 as_cr_alnum=$as_cr_Letters$as_cr_digits
12390 ECHO_C= ECHO_N= ECHO_T=
12391 case `echo -n x` in #(((((
12393 case `echo 'xy\c'` in
12394 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12396 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12403 rm -f conf$$ conf$$.exe conf$$.file
12404 if test -d conf$$.dir; then
12405 rm -f conf$$.dir/conf$$.file
12408 mkdir conf$$.dir 2>/dev/null
12410 if (echo >conf$$.file) 2>/dev/null; then
12411 if ln -s conf$$.file conf$$ 2>/dev/null; then
12413 # ... but there are two gotchas:
12414 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12415 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12416 # In both cases, we have to default to `cp -pR'.
12417 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12419 elif ln conf$$.file conf$$ 2>/dev/null; then
12427 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12428 rmdir conf$$.dir 2>/dev/null
12433 # Create "$as_dir" as a directory, including parents if necessary.
12438 -*) as_dir=./$as_dir;;
12440 test -d "$as_dir" || eval $as_mkdir_p || {
12444 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12445 *) as_qdir=$as_dir;;
12447 as_dirs="'$as_qdir' $as_dirs"
12448 as_dir=`$as_dirname -- "$as_dir" ||
12449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12450 X"$as_dir" : 'X\(//\)[^/]' \| \
12451 X"$as_dir" : 'X\(//\)$' \| \
12452 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12453 $as_echo X"$as_dir" |
12454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12458 /^X\(\/\/\)[^/].*/{
12471 test -d "$as_dir" && break
12473 test -z "$as_dirs" || eval "mkdir $as_dirs"
12474 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12478 if mkdir -p . 2>/dev/null; then
12479 as_mkdir_p='mkdir -p "$as_dir"'
12481 test -d ./-p && rmdir ./-p
12486 # as_fn_executable_p FILE
12487 # -----------------------
12488 # Test if FILE is an executable regular file.
12489 as_fn_executable_p ()
12491 test -f "$1" && test -x "$1"
12492 } # as_fn_executable_p
12493 as_test_x='test -x'
12494 as_executable_p=as_fn_executable_p
12496 # Sed expression to map a string onto a valid CPP name.
12497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12499 # Sed expression to map a string onto a valid variable name.
12500 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12504 ## ----------------------------------- ##
12505 ## Main body of $CONFIG_STATUS script. ##
12506 ## ----------------------------------- ##
12508 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12511 # Save the log message, to keep $0 and so on meaningful, and to
12512 # report actual input values of CONFIG_FILES etc. instead of their
12513 # values after options handling.
12515 This file was extended by fastq-tools $as_me 0.6, which was
12516 generated by GNU Autoconf 2.69. Invocation command line was
12518 CONFIG_FILES = $CONFIG_FILES
12519 CONFIG_HEADERS = $CONFIG_HEADERS
12520 CONFIG_LINKS = $CONFIG_LINKS
12521 CONFIG_COMMANDS = $CONFIG_COMMANDS
12524 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12529 case $ac_config_files in *"
12530 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12536 # Files that config.status was made for.
12537 config_files="$ac_config_files"
12538 config_commands="$ac_config_commands"
12542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12544 \`$as_me' instantiates files and other configuration actions
12545 from templates according to the current configuration. Unless the files
12546 and actions are specified as TAGs, all are instantiated by default.
12548 Usage: $0 [OPTION]... [TAG]...
12550 -h, --help print this help, then exit
12551 -V, --version print version number and configuration settings, then exit
12552 --config print configuration, then exit
12553 -q, --quiet, --silent
12554 do not print progress messages
12555 -d, --debug don't remove temporary files
12556 --recheck update $as_me by reconfiguring in the same conditions
12557 --file=FILE[:TEMPLATE]
12558 instantiate the configuration file FILE
12560 Configuration files:
12563 Configuration commands:
12566 Report bugs to <dcjones@cs.washington.edu >."
12569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12570 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12572 fastq-tools config.status 0.6
12573 configured by $0, generated by GNU Autoconf 2.69,
12574 with options \\"\$ac_cs_config\\"
12576 Copyright (C) 2012 Free Software Foundation, Inc.
12577 This config.status script is free software; the Free Software Foundation
12578 gives unlimited permission to copy, distribute and modify it."
12585 test -n "\$AWK" || AWK=awk
12588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12589 # The default lists apply if the user does not specify any file.
12595 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12596 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12600 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12612 # Handling of the options.
12613 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12615 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12616 $as_echo "$ac_cs_version"; exit ;;
12617 --config | --confi | --conf | --con | --co | --c )
12618 $as_echo "$ac_cs_config"; exit ;;
12619 --debug | --debu | --deb | --de | --d | -d )
12621 --file | --fil | --fi | --f )
12624 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12625 '') as_fn_error $? "missing file argument" ;;
12627 as_fn_append CONFIG_FILES " '$ac_optarg'"
12628 ac_need_defaults=false;;
12629 --he | --h | --help | --hel | -h )
12630 $as_echo "$ac_cs_usage"; exit ;;
12631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12632 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12635 # This is an error.
12636 -*) as_fn_error $? "unrecognized option: \`$1'
12637 Try \`$0 --help' for more information." ;;
12639 *) as_fn_append ac_config_targets " $1"
12640 ac_need_defaults=false ;;
12646 ac_configure_extra_args=
12648 if $ac_cs_silent; then
12650 ac_configure_extra_args="$ac_configure_extra_args --silent"
12654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12655 if \$ac_cs_recheck; then
12656 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12658 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12659 CONFIG_SHELL='$SHELL'
12660 export CONFIG_SHELL
12665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12670 ## Running $as_me. ##
12676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12680 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12683 # The HP-UX ksh and POSIX shell print the target directory to stdout
12684 # if CDPATH is set.
12685 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12687 sed_quote_subst='$sed_quote_subst'
12688 double_quote_subst='$double_quote_subst'
12689 delay_variable_subst='$delay_variable_subst'
12690 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12691 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12692 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12693 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12694 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12695 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12696 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12697 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12698 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
12699 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12700 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12701 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12702 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12703 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12704 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12705 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12706 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12707 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12708 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12709 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12710 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12711 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12712 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12713 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12714 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12715 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12716 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12717 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12718 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12719 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12720 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12721 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12722 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12723 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12724 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12725 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12726 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12727 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12728 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12729 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12730 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12731 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12732 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12733 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12734 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12735 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12736 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12737 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12738 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12739 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12740 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12741 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12742 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12743 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12744 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12745 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12746 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"`'
12747 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12748 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12749 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12750 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12751 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12752 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12753 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12754 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12755 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12756 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12757 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12758 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12759 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12760 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12761 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12762 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12763 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12764 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12765 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12766 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12767 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12768 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12769 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12770 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12771 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12772 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12773 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12774 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12775 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12776 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12777 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12778 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12779 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12780 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12781 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12782 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12783 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12784 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12785 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12786 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12787 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12788 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12789 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12790 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12791 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12792 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12793 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12794 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12795 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12796 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12797 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12798 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12799 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12800 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12801 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12802 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12803 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12804 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12805 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12806 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12807 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12808 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12809 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12810 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12811 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12812 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12813 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12814 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12815 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12816 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12817 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12818 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12819 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12822 LTCFLAGS='$LTCFLAGS'
12823 compiler='$compiler_DEFAULT'
12825 # A function that is used when there is no print builtin or printf.
12826 func_fallback_echo ()
12828 eval 'cat <<_LTECHO_EOF
12833 # Quote evaled strings.
12848 deplibs_check_method \
12853 sharedlib_from_linklib_cmd \
12856 archiver_list_spec \
12862 lt_cv_sys_global_symbol_pipe \
12863 lt_cv_sys_global_symbol_to_cdecl \
12864 lt_cv_sys_global_symbol_to_c_name_address \
12865 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12866 nm_file_list_spec \
12867 lt_prog_compiler_no_builtin_flag \
12868 lt_prog_compiler_pic \
12869 lt_prog_compiler_wl \
12870 lt_prog_compiler_static \
12871 lt_cv_prog_compiler_c_o \
12880 export_dynamic_flag_spec \
12881 whole_archive_flag_spec \
12882 compiler_needs_object \
12884 allow_undefined_flag \
12885 no_undefined_flag \
12886 hardcode_libdir_flag_spec \
12887 hardcode_libdir_separator \
12891 variables_saved_for_relink \
12893 library_names_spec \
12895 install_override_mode \
12899 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12900 *[\\\\\\\`\\"\\\$]*)
12901 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12904 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12909 # Double-quote double-evaled strings.
12910 for var in reload_cmds \
12911 old_postinstall_cmds \
12912 old_postuninstall_cmds \
12914 extract_expsyms_cmds \
12915 old_archive_from_new_cmds \
12916 old_archive_from_expsyms_cmds \
12918 archive_expsym_cmds \
12920 module_expsym_cmds \
12921 export_symbols_cmds \
12925 postuninstall_cmds \
12927 sys_lib_search_path_spec \
12928 sys_lib_dlsearch_path_spec; do
12929 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12930 *[\\\\\\\`\\"\\\$]*)
12931 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12934 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12939 ac_aux_dir='$ac_aux_dir'
12940 xsi_shell='$xsi_shell'
12941 lt_shell_append='$lt_shell_append'
12943 # See if we are running on zsh, and set the options which allow our
12944 # commands through without removal of \ escapes INIT.
12945 if test -n "\${ZSH_VERSION+set}" ; then
12946 setopt NO_GLOB_SUBST
12952 TIMESTAMP='$TIMESTAMP'
12961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12963 # Handling of arguments.
12964 for ac_config_target in $ac_config_targets
12966 case $ac_config_target in
12967 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12968 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12969 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12970 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12971 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12972 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12973 "src/version.h") CONFIG_FILES="$CONFIG_FILES src/version.h" ;;
12975 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12980 # If the user did not use the arguments to specify the items to instantiate,
12981 # then the envvar interface is used. Set only those that are not.
12982 # We use the long form for the default assignment because of an extremely
12983 # bizarre bug on SunOS 4.1.3.
12984 if $ac_need_defaults; then
12985 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12986 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12989 # Have a temporary directory for convenience. Make it in the build tree
12990 # simply because there is no reason against having it here, and in addition,
12991 # creating and moving files from /tmp can sometimes cause problems.
12992 # Hook for its removal unless debugging.
12993 # Note that there is a small window in which the directory will not be cleaned:
12994 # after its creation but before its name has been assigned to `$tmp'.
12998 trap 'exit_status=$?
12999 : "${ac_tmp:=$tmp}"
13000 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13002 trap 'as_fn_exit 1' 1 2 13 15
13004 # Create a (secure) tmp directory for tmp files.
13007 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13011 tmp=./conf$$-$RANDOM
13012 (umask 077 && mkdir "$tmp")
13013 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13016 # Set up the scripts for CONFIG_FILES section.
13017 # No need to generate them if there are no CONFIG_FILES.
13018 # This happens for instance with `./config.status config.h'.
13019 if test -n "$CONFIG_FILES"; then
13022 ac_cr=`echo X | tr X '\015'`
13023 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13024 # But we know of no other shell where ac_cr would be empty at this
13025 # point, so we can use a bashism as a fallback.
13026 if test "x$ac_cr" = x; then
13027 eval ac_cr=\$\'\\r\'
13029 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13030 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13033 ac_cs_awk_cr=$ac_cr
13036 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13041 echo "cat >conf$$subs.awk <<_ACEOF" &&
13042 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13044 } >conf$$subs.sh ||
13045 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13046 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13048 for ac_last_try in false false false false false :; do
13049 . ./conf$$subs.sh ||
13050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13052 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13053 if test $ac_delim_n = $ac_delim_num; then
13055 elif $ac_last_try; then
13056 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13061 rm -f conf$$subs.sh
13063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13064 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13068 s/^/S["/; s/!.*/"]=/
13078 s/\(.\{148\}\)..*/\1/
13080 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13085 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13092 s/\(.\{148\}\)..*/\1/
13094 s/["\\]/\\&/g; s/^/"/; s/$/"/
13098 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13103 ' <conf$$subs.awk | sed '
13108 ' >>$CONFIG_STATUS || ac_write_fail=1
13109 rm -f conf$$subs.awk
13110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13112 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13113 for (key in S) S_is_set[key] = 1
13119 nfields = split(line, field, "@")
13121 len = length(field[1])
13122 for (i = 2; i < nfields; i++) {
13124 keylen = length(key)
13125 if (S_is_set[key]) {
13127 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13128 len += length(value) + length(field[++i])
13139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13140 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13141 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13144 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13145 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13148 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13149 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13150 # trailing colons and then remove the whole line if VPATH becomes empty
13151 # (actually we leave an empty line to preserve line numbers).
13152 if test "x$srcdir" = x.; then
13153 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13172 fi # test -n "$CONFIG_FILES"
13175 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
13180 :[FHLC]) ac_mode=$ac_tag; continue;;
13182 case $ac_mode$ac_tag in
13184 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13185 :[FH]-) ac_tag=-:-;;
13186 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13203 -) ac_f="$ac_tmp/stdin";;
13204 *) # Look for the file first in the build tree, then in the source tree
13205 # (if the path is not absolute). The absolute path cannot be DOS-style,
13206 # because $ac_f cannot contain `:'.
13210 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13212 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13214 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13215 as_fn_append ac_file_inputs " '$ac_f'"
13218 # Let's still pretend it is `configure' which instantiates (i.e., don't
13219 # use $as_me), people would be surprised to read:
13220 # /* config.h. Generated by config.status. */
13221 configure_input='Generated from '`
13222 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13224 if test x"$ac_file" != x-; then
13225 configure_input="$ac_file. $configure_input"
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13227 $as_echo "$as_me: creating $ac_file" >&6;}
13229 # Neutralize special characters interpreted by sed in replacement strings.
13230 case $configure_input in #(
13231 *\&* | *\|* | *\\* )
13232 ac_sed_conf_input=`$as_echo "$configure_input" |
13233 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13234 *) ac_sed_conf_input=$configure_input;;
13238 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13244 ac_dir=`$as_dirname -- "$ac_file" ||
13245 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13246 X"$ac_file" : 'X\(//\)[^/]' \| \
13247 X"$ac_file" : 'X\(//\)$' \| \
13248 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13249 $as_echo X"$ac_file" |
13250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13254 /^X\(\/\/\)[^/].*/{
13267 as_dir="$ac_dir"; as_fn_mkdir_p
13271 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13273 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13274 # A ".." for each directory in $ac_dir_suffix.
13275 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13276 case $ac_top_builddir_sub in
13277 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13278 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13281 ac_abs_top_builddir=$ac_pwd
13282 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13283 # for backward compatibility:
13284 ac_top_builddir=$ac_top_build_prefix
13287 .) # We are building in place.
13289 ac_top_srcdir=$ac_top_builddir_sub
13290 ac_abs_top_srcdir=$ac_pwd ;;
13291 [\\/]* | ?:[\\/]* ) # Absolute name.
13292 ac_srcdir=$srcdir$ac_dir_suffix;
13293 ac_top_srcdir=$srcdir
13294 ac_abs_top_srcdir=$srcdir ;;
13295 *) # Relative name.
13296 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13297 ac_top_srcdir=$ac_top_build_prefix$srcdir
13298 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13300 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13310 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13311 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13313 ac_MKDIR_P=$MKDIR_P
13315 [\\/$]* | ?:[\\/]* ) ;;
13316 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13321 # If the template does not know about datarootdir, expand it.
13322 # FIXME: This hack should be removed a few years after 2.60.
13323 ac_datarootdir_hack=; ac_datarootdir_seen=
13334 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13335 *datarootdir*) ac_datarootdir_seen=yes;;
13336 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13338 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13341 ac_datarootdir_hack='
13342 s&@datadir@&$datadir&g
13343 s&@docdir@&$docdir&g
13344 s&@infodir@&$infodir&g
13345 s&@localedir@&$localedir&g
13346 s&@mandir@&$mandir&g
13347 s&\\\${datarootdir}&$datarootdir&g' ;;
13351 # Neutralize VPATH when `$srcdir' = `.'.
13352 # Shell code in configure.ac might set extrasub.
13353 # FIXME: do we really want to maintain this feature?
13354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13355 ac_sed_extra="$ac_vpsub
13358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13361 s|@configure_input@|$ac_sed_conf_input|;t t
13362 s&@top_builddir@&$ac_top_builddir_sub&;t t
13363 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13364 s&@srcdir@&$ac_srcdir&;t t
13365 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13366 s&@top_srcdir@&$ac_top_srcdir&;t t
13367 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13368 s&@builddir@&$ac_builddir&;t t
13369 s&@abs_builddir@&$ac_abs_builddir&;t t
13370 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13371 s&@INSTALL@&$ac_INSTALL&;t t
13372 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13373 $ac_datarootdir_hack
13375 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13376 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13378 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13379 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13380 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13381 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13383 which seems to be undefined. Please make sure it is defined" >&5
13384 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13385 which seems to be undefined. Please make sure it is defined" >&2;}
13387 rm -f "$ac_tmp/stdin"
13389 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13390 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13396 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13397 $as_echo "$as_me: executing $ac_file commands" >&6;}
13402 case $ac_file$ac_mode in
13403 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13404 # Older Autoconf quotes --file arguments for eval, but not when files
13405 # are listed without --file. Let's play safe and only enable the eval
13406 # if we detect the quoting.
13407 case $CONFIG_FILES in
13408 *\'*) eval set x "$CONFIG_FILES" ;;
13409 *) set x $CONFIG_FILES ;;
13414 # Strip MF so we end up with the name of the file.
13415 mf=`echo "$mf" | sed -e 's/:.*$//'`
13416 # Check whether this is an Automake generated Makefile or not.
13417 # We used to match only the files named 'Makefile.in', but
13418 # some people rename them; so instead we look at the file content.
13419 # Grep'ing the first line is not enough: some people post-process
13420 # each Makefile.in and add a new line on top of each file to say so.
13421 # Grep'ing the whole file is not good either: AIX grep has a line
13422 # limit of 2048, but all sed's we know have understand at least 4000.
13423 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13424 dirpart=`$as_dirname -- "$mf" ||
13425 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13426 X"$mf" : 'X\(//\)[^/]' \| \
13427 X"$mf" : 'X\(//\)$' \| \
13428 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13434 /^X\(\/\/\)[^/].*/{
13450 # Extract the definition of DEPDIR, am__include, and am__quote
13451 # from the Makefile without running 'make'.
13452 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13453 test -z "$DEPDIR" && continue
13454 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13455 test -z "am__include" && continue
13456 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13457 # Find all dependency output files, they are included files with
13458 # $(DEPDIR) in their names. We invoke sed twice because it is the
13459 # simplest approach to changing $(DEPDIR) to its actual value in the
13461 for file in `sed -n "
13462 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13463 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13464 # Make sure the directory exists.
13465 test -f "$dirpart/$file" && continue
13466 fdir=`$as_dirname -- "$file" ||
13467 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13468 X"$file" : 'X\(//\)[^/]' \| \
13469 X"$file" : 'X\(//\)$' \| \
13470 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13471 $as_echo X"$file" |
13472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13476 /^X\(\/\/\)[^/].*/{
13489 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13490 # echo "creating $dirpart/$file"
13491 echo '# dummy' > "$dirpart/$file"
13498 # See if we are running on zsh, and set the options which allow our
13499 # commands through without removal of \ escapes.
13500 if test -n "${ZSH_VERSION+set}" ; then
13501 setopt NO_GLOB_SUBST
13504 cfgfile="${ofile}T"
13505 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13508 cat <<_LT_EOF >> "$cfgfile"
13511 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13512 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13513 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13514 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13516 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13517 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
13519 # Written by Gordon Matzigkeit, 1996
13521 # This file is part of GNU Libtool.
13523 # GNU Libtool is free software; you can redistribute it and/or
13524 # modify it under the terms of the GNU General Public License as
13525 # published by the Free Software Foundation; either version 2 of
13526 # the License, or (at your option) any later version.
13528 # As a special exception to the GNU General Public License,
13529 # if you distribute this file as part of a program or library that
13530 # is built using GNU Libtool, you may include this file under the
13531 # same distribution terms that you use for the rest of that program.
13533 # GNU Libtool is distributed in the hope that it will be useful,
13534 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13535 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13536 # GNU General Public License for more details.
13538 # You should have received a copy of the GNU General Public License
13539 # along with GNU Libtool; see the file COPYING. If not, a copy
13540 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13541 # obtained by writing to the Free Software Foundation, Inc.,
13542 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13545 # The names of the tagged configurations supported by this script.
13548 # ### BEGIN LIBTOOL CONFIG
13550 # Which release of libtool.m4 was used?
13551 macro_version=$macro_version
13552 macro_revision=$macro_revision
13554 # Whether or not to build shared libraries.
13555 build_libtool_libs=$enable_shared
13557 # Whether or not to build static libraries.
13558 build_old_libs=$enable_static
13560 # What type of objects to build.
13563 # Whether or not to optimize for fast installation.
13564 fast_install=$enable_fast_install
13566 # Shell to use when invoking shell scripts.
13569 # An echo program that protects backslashes.
13572 # The PATH separator for the build system.
13573 PATH_SEPARATOR=$lt_PATH_SEPARATOR
13576 host_alias=$host_alias
13580 # The build system.
13581 build_alias=$build_alias
13585 # A sed program that does not truncate output.
13588 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13589 Xsed="\$SED -e 1s/^X//"
13591 # A grep program that handles long lines.
13597 # A literal string matcher.
13600 # A BSD- or MS-compatible name lister.
13603 # Whether we need soft or hard links.
13606 # What is the maximum length of a command?
13607 max_cmd_len=$max_cmd_len
13609 # Object file suffix (normally "o").
13612 # Executable file suffix (normally "").
13615 # whether the shell understands "unset".
13618 # turn spaces into newlines.
13621 # turn newlines into spaces.
13624 # convert \$build file names to \$host format.
13625 to_host_file_cmd=$lt_cv_to_host_file_cmd
13627 # convert \$build files to toolchain format.
13628 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13630 # An object symbol dumper.
13631 OBJDUMP=$lt_OBJDUMP
13633 # Method to check whether dependent libraries are shared objects.
13634 deplibs_check_method=$lt_deplibs_check_method
13636 # Command to use when deplibs_check_method = "file_magic".
13637 file_magic_cmd=$lt_file_magic_cmd
13639 # How to find potential files when deplibs_check_method = "file_magic".
13640 file_magic_glob=$lt_file_magic_glob
13642 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
13643 want_nocaseglob=$lt_want_nocaseglob
13645 # DLL creation program.
13646 DLLTOOL=$lt_DLLTOOL
13648 # Command to associate shared and link libraries.
13649 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
13654 # Flags to create an archive.
13655 AR_FLAGS=$lt_AR_FLAGS
13657 # How to feed a file listing to the archiver.
13658 archiver_list_spec=$lt_archiver_list_spec
13660 # A symbol stripping program.
13663 # Commands used to install an old-style archive.
13665 old_postinstall_cmds=$lt_old_postinstall_cmds
13666 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13668 # Whether to use a lock for old archive extraction.
13669 lock_old_archive_extraction=$lock_old_archive_extraction
13674 # LTCC compiler flags.
13675 LTCFLAGS=$lt_CFLAGS
13677 # Take the output of nm and produce a listing of raw symbols and C names.
13678 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13680 # Transform the output of nm in a proper C declaration.
13681 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13683 # Transform the output of nm in a C name address pair.
13684 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13686 # Transform the output of nm in a C name address pair when lib prefix is needed.
13687 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13689 # Specify filename containing input files for \$NM.
13690 nm_file_list_spec=$lt_nm_file_list_spec
13692 # The root where to search for dependent libraries,and in which our libraries should be installed.
13693 lt_sysroot=$lt_sysroot
13695 # The name of the directory that contains temporary libtool files.
13698 # Used to examine libraries when file_magic_cmd begins with "file".
13699 MAGIC_CMD=$MAGIC_CMD
13701 # Must we lock files when doing compilation?
13702 need_locks=$lt_need_locks
13705 MANIFEST_TOOL=$lt_MANIFEST_TOOL
13707 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13708 DSYMUTIL=$lt_DSYMUTIL
13710 # Tool to change global to local symbols on Mac OS X.
13713 # Tool to manipulate fat objects and archives on Mac OS X.
13716 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13719 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13720 OTOOL64=$lt_OTOOL64
13722 # Old archive suffix (normally "a").
13725 # Shared library suffix (normally ".so").
13726 shrext_cmds=$lt_shrext_cmds
13728 # The commands to extract the exported symbol list from a shared archive.
13729 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13731 # Variables whose values should be saved in libtool wrapper scripts and
13732 # restored at link time.
13733 variables_saved_for_relink=$lt_variables_saved_for_relink
13735 # Do we need the "lib" prefix for modules?
13736 need_lib_prefix=$need_lib_prefix
13738 # Do we need a version for libraries?
13739 need_version=$need_version
13741 # Library versioning type.
13742 version_type=$version_type
13744 # Shared library runtime path variable.
13745 runpath_var=$runpath_var
13747 # Shared library path variable.
13748 shlibpath_var=$shlibpath_var
13750 # Is shlibpath searched before the hard-coded library search path?
13751 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13753 # Format of library name prefix.
13754 libname_spec=$lt_libname_spec
13756 # List of archive names. First name is the real one, the rest are links.
13757 # The last name is the one that the linker finds with -lNAME
13758 library_names_spec=$lt_library_names_spec
13760 # The coded name of the library, if different from the real name.
13761 soname_spec=$lt_soname_spec
13763 # Permission mode override for installation of shared libraries.
13764 install_override_mode=$lt_install_override_mode
13766 # Command to use after installation of a shared archive.
13767 postinstall_cmds=$lt_postinstall_cmds
13769 # Command to use after uninstallation of a shared archive.
13770 postuninstall_cmds=$lt_postuninstall_cmds
13772 # Commands used to finish a libtool library installation in a directory.
13773 finish_cmds=$lt_finish_cmds
13775 # As "finish_cmds", except a single script fragment to be evaled but
13777 finish_eval=$lt_finish_eval
13779 # Whether we should hardcode library paths into libraries.
13780 hardcode_into_libs=$hardcode_into_libs
13782 # Compile-time system search path for libraries.
13783 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13785 # Run-time system search path for libraries.
13786 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13788 # Whether dlopen is supported.
13789 dlopen_support=$enable_dlopen
13791 # Whether dlopen of programs is supported.
13792 dlopen_self=$enable_dlopen_self
13794 # Whether dlopen of statically linked programs is supported.
13795 dlopen_self_static=$enable_dlopen_self_static
13797 # Commands to strip libraries.
13798 old_striplib=$lt_old_striplib
13799 striplib=$lt_striplib
13802 # The linker used to build libraries.
13805 # How to create reloadable object files.
13806 reload_flag=$lt_reload_flag
13807 reload_cmds=$lt_reload_cmds
13809 # Commands used to build an old-style archive.
13810 old_archive_cmds=$lt_old_archive_cmds
13812 # A language specific compiler.
13815 # Is the compiler the GNU compiler?
13818 # Compiler flag to turn off builtin functions.
13819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13821 # Additional compiler flags for building library objects.
13822 pic_flag=$lt_lt_prog_compiler_pic
13824 # How to pass a linker flag through the compiler.
13825 wl=$lt_lt_prog_compiler_wl
13827 # Compiler flag to prevent dynamic linking.
13828 link_static_flag=$lt_lt_prog_compiler_static
13830 # Does compiler simultaneously support -c and -o options?
13831 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13833 # Whether or not to add -lc for building shared libraries.
13834 build_libtool_need_lc=$archive_cmds_need_lc
13836 # Whether or not to disallow shared libs when runtime libs are static.
13837 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13839 # Compiler flag to allow reflexive dlopens.
13840 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13842 # Compiler flag to generate shared objects directly from archives.
13843 whole_archive_flag_spec=$lt_whole_archive_flag_spec
13845 # Whether the compiler copes with passing no objects directly.
13846 compiler_needs_object=$lt_compiler_needs_object
13848 # Create an old-style archive from a shared archive.
13849 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13851 # Create a temporary old-style archive to link instead of a shared archive.
13852 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13854 # Commands used to build a shared archive.
13855 archive_cmds=$lt_archive_cmds
13856 archive_expsym_cmds=$lt_archive_expsym_cmds
13858 # Commands used to build a loadable module if different from building
13859 # a shared archive.
13860 module_cmds=$lt_module_cmds
13861 module_expsym_cmds=$lt_module_expsym_cmds
13863 # Whether we are building with GNU ld or not.
13864 with_gnu_ld=$lt_with_gnu_ld
13866 # Flag that allows shared libraries with undefined symbols to be built.
13867 allow_undefined_flag=$lt_allow_undefined_flag
13869 # Flag that enforces no undefined symbols.
13870 no_undefined_flag=$lt_no_undefined_flag
13872 # Flag to hardcode \$libdir into a binary during linking.
13873 # This must work even if \$libdir does not exist
13874 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13876 # Whether we need a single "-rpath" flag with a separated argument.
13877 hardcode_libdir_separator=$lt_hardcode_libdir_separator
13879 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13880 # DIR into the resulting binary.
13881 hardcode_direct=$hardcode_direct
13883 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13884 # DIR into the resulting binary and the resulting library dependency is
13885 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13886 # library is relocated.
13887 hardcode_direct_absolute=$hardcode_direct_absolute
13889 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13890 # into the resulting binary.
13891 hardcode_minus_L=$hardcode_minus_L
13893 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13894 # into the resulting binary.
13895 hardcode_shlibpath_var=$hardcode_shlibpath_var
13897 # Set to "yes" if building a shared library automatically hardcodes DIR
13898 # into the library and all subsequent libraries and executables linked
13900 hardcode_automatic=$hardcode_automatic
13902 # Set to yes if linker adds runtime paths of dependent libraries
13903 # to runtime path list.
13904 inherit_rpath=$inherit_rpath
13906 # Whether libtool must link a program against all its dependency libraries.
13907 link_all_deplibs=$link_all_deplibs
13909 # Set to "yes" if exported symbols are required.
13910 always_export_symbols=$always_export_symbols
13912 # The commands to list exported symbols.
13913 export_symbols_cmds=$lt_export_symbols_cmds
13915 # Symbols that should not be listed in the preloaded symbols.
13916 exclude_expsyms=$lt_exclude_expsyms
13918 # Symbols that must always be exported.
13919 include_expsyms=$lt_include_expsyms
13921 # Commands necessary for linking programs (against libraries) with templates.
13922 prelink_cmds=$lt_prelink_cmds
13924 # Commands necessary for finishing linking programs.
13925 postlink_cmds=$lt_postlink_cmds
13927 # Specify filename containing input files.
13928 file_list_spec=$lt_file_list_spec
13930 # How to hardcode a shared library path into an executable.
13931 hardcode_action=$hardcode_action
13933 # ### END LIBTOOL CONFIG
13939 cat <<\_LT_EOF >> "$cfgfile"
13940 # AIX sometimes has problems with the GCC collect2 program. For some
13941 # reason, if we set the COLLECT_NAMES environment variable, the problems
13942 # vanish in a puff of smoke.
13943 if test "X${COLLECT_NAMES+set}" != Xset; then
13945 export COLLECT_NAMES
13952 ltmain="$ac_aux_dir/ltmain.sh"
13955 # We use sed instead of cat because bash on DJGPP gets confused if
13956 # if finds mixed CR/LF and LF-only lines. Since sed operates in
13957 # text mode, it properly converts lines to CR/LF. This bash problem
13958 # is reportedly fixed, but why not run on old versions too?
13959 sed '$q' "$ltmain" >> "$cfgfile" \
13960 || (rm -f "$cfgfile"; exit 1)
13962 if test x"$xsi_shell" = xyes; then
13963 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
13967 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13968 \ * ) func_dirname_result="${3}" ;;\
13970 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
13971 && mv -f "$cfgfile.tmp" "$cfgfile" \
13972 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13973 test 0 -eq $? || _lt_function_replace_fail=:
13976 sed -e '/^func_basename ()$/,/^} # func_basename /c\
13979 \ func_basename_result="${1##*/}"\
13980 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
13981 && mv -f "$cfgfile.tmp" "$cfgfile" \
13982 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13983 test 0 -eq $? || _lt_function_replace_fail=:
13986 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
13987 func_dirname_and_basename ()\
13990 \ */*) func_dirname_result="${1%/*}${2}" ;;\
13991 \ * ) func_dirname_result="${3}" ;;\
13993 \ func_basename_result="${1##*/}"\
13994 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
13995 && mv -f "$cfgfile.tmp" "$cfgfile" \
13996 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
13997 test 0 -eq $? || _lt_function_replace_fail=:
14000 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14003 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14004 \ # positional parameters, so assign one to ordinary parameter first.\
14005 \ func_stripname_result=${3}\
14006 \ func_stripname_result=${func_stripname_result#"${1}"}\
14007 \ func_stripname_result=${func_stripname_result%"${2}"}\
14008 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14009 && mv -f "$cfgfile.tmp" "$cfgfile" \
14010 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14011 test 0 -eq $? || _lt_function_replace_fail=:
14014 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14015 func_split_long_opt ()\
14017 \ func_split_long_opt_name=${1%%=*}\
14018 \ func_split_long_opt_arg=${1#*=}\
14019 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14020 && mv -f "$cfgfile.tmp" "$cfgfile" \
14021 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14022 test 0 -eq $? || _lt_function_replace_fail=:
14025 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14026 func_split_short_opt ()\
14028 \ func_split_short_opt_arg=${1#??}\
14029 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14030 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14031 && mv -f "$cfgfile.tmp" "$cfgfile" \
14032 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14033 test 0 -eq $? || _lt_function_replace_fail=:
14036 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14040 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14041 \ *) func_lo2o_result=${1} ;;\
14043 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14044 && mv -f "$cfgfile.tmp" "$cfgfile" \
14045 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14046 test 0 -eq $? || _lt_function_replace_fail=:
14049 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14052 func_xform_result=${1%.*}.lo\
14053 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14054 && mv -f "$cfgfile.tmp" "$cfgfile" \
14055 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14056 test 0 -eq $? || _lt_function_replace_fail=:
14059 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14062 func_arith_result=$(( $* ))\
14063 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14064 && mv -f "$cfgfile.tmp" "$cfgfile" \
14065 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14066 test 0 -eq $? || _lt_function_replace_fail=:
14069 sed -e '/^func_len ()$/,/^} # func_len /c\
14072 func_len_result=${#1}\
14073 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14074 && mv -f "$cfgfile.tmp" "$cfgfile" \
14075 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14076 test 0 -eq $? || _lt_function_replace_fail=:
14080 if test x"$lt_shell_append" = xyes; then
14081 sed -e '/^func_append ()$/,/^} # func_append /c\
14084 eval "${1}+=\\${2}"\
14085 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14086 && mv -f "$cfgfile.tmp" "$cfgfile" \
14087 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14088 test 0 -eq $? || _lt_function_replace_fail=:
14091 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14092 func_append_quoted ()\
14094 \ func_quote_for_eval "${2}"\
14095 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14096 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14097 && mv -f "$cfgfile.tmp" "$cfgfile" \
14098 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14099 test 0 -eq $? || _lt_function_replace_fail=:
14102 # Save a `func_append' function call where possible by direct use of '+='
14103 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14104 && mv -f "$cfgfile.tmp" "$cfgfile" \
14105 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14106 test 0 -eq $? || _lt_function_replace_fail=:
14108 # Save a `func_append' function call even when '+=' is not available
14109 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14110 && mv -f "$cfgfile.tmp" "$cfgfile" \
14111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14112 test 0 -eq $? || _lt_function_replace_fail=:
14115 if test x"$_lt_function_replace_fail" = x":"; then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14117 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14121 mv -f "$cfgfile" "$ofile" ||
14122 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14133 ac_clean_files=$ac_clean_files_save
14135 test $ac_write_fail = 0 ||
14136 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14139 # configure is writing to config.log, and then calls config.status.
14140 # config.status does its own redirection, appending to config.log.
14141 # Unfortunately, on DOS this fails, as config.log is still kept open
14142 # by configure, so config.status won't be able to write to it; its
14143 # output is simply discarded. So we exec the FD to /dev/null,
14144 # effectively closing config.log, so it can be properly (re)opened and
14145 # appended to by config.status. When coming back to configure, we
14146 # need to make the FD available again.
14147 if test "$no_create" != yes; then
14149 ac_config_status_args=
14150 test "$silent" = yes &&
14151 ac_config_status_args="$ac_config_status_args --quiet"
14153 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14155 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14156 # would make configure fail if this is the last instruction.
14157 $ac_cs_success || as_fn_exit 1
14159 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14161 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}