2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
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 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
575 ac_unique_file="src/framing.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
612 ac_subst_vars='am__EXEEXT_FALSE
678 MAINTAINER_MODE_FALSE
688 INSTALL_STRIP_PROGRAM
730 program_transform_name
743 enable_option_checking
744 enable_maintainer_mode
745 enable_dependency_tracking
754 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
854 cache_file=config.cache ;;
856 -datadir | --datadir | --datadi | --datad)
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
882 eval enable_$ac_useropt=no ;;
884 -docdir | --docdir | --docdi | --doc | --do)
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
923 -help | --help | --hel | --he | -h)
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983 # Obsolete; use --without-fp.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1072 -site=* | --site=* | --sit=*)
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=\$ac_optarg ;;
1114 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $? "missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then
1217 cross_compiling=maybe
1218 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219 If a cross compiler is detected then cross compile mode will be used" >&2
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228 test "$silent" = yes && exec 6>/dev/null
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di=`ls -di .` &&
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $? "working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $? "pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var in $ac_precious_vars; do
1292 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_${ac_var}_value=\$${ac_var}
1294 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures this package to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --libdir=DIR object code libraries [EPREFIX/lib]
1346 --includedir=DIR C header files [PREFIX/include]
1347 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1348 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350 --infodir=DIR info documentation [DATAROOTDIR/info]
1351 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352 --mandir=DIR man documentation [DATAROOTDIR/man]
1353 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1354 --htmldir=DIR html documentation [DOCDIR]
1355 --dvidir=DIR dvi documentation [DOCDIR]
1356 --pdfdir=DIR pdf documentation [DOCDIR]
1357 --psdir=DIR ps documentation [DOCDIR]
1363 --program-prefix=PREFIX prepend PREFIX to installed program names
1364 --program-suffix=SUFFIX append SUFFIX to installed program names
1365 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1368 --build=BUILD configure for building on BUILD [guessed]
1369 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1373 if test -n "$ac_init_help"; then
1378 --disable-option-checking ignore unrecognized --enable/--with options
1379 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1380 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1381 --enable-maintainer-mode enable make rules and dependencies not useful
1382 (and sometimes confusing) to the casual installer
1383 --disable-dependency-tracking speeds up one-time build
1384 --enable-dependency-tracking do not reject slow dependency extractors
1385 --enable-shared[=PKGS] build shared libraries [default=yes]
1386 --enable-static[=PKGS] build static libraries [default=yes]
1387 --enable-fast-install[=PKGS]
1388 optimize for fast installation [default=yes]
1389 --disable-libtool-lock avoid locking (might break parallel builds)
1392 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1393 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1394 --with-pic try to use only PIC/non-PIC objects [default=use
1396 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1397 --with-sysroot=DIR Search for dependent libraries within DIR
1398 (or the compiler's sysroot if not specified).
1400 Some influential environment variables:
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to the package provider.
1418 if test "$ac_init_help" = "recursive"; then
1419 # If there are subdirs, report their specific --help.
1420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421 test -d "$ac_dir" ||
1422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1437 ac_abs_top_builddir=$ac_pwd
1438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir=$ac_top_build_prefix
1443 .) # We are building in place.
1445 ac_top_srcdir=$ac_top_builddir_sub
1446 ac_abs_top_srcdir=$ac_pwd ;;
1447 [\\/]* | ?:[\\/]* ) # Absolute name.
1448 ac_srcdir=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir=$srcdir
1450 ac_abs_top_srcdir=$srcdir ;;
1452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" || { ac_status=$?; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469 cd "$ac_pwd" || { ac_status=$?; break; }
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1477 generated by GNU Autoconf 2.68
1479 Copyright (C) 2010 Free Software Foundation, Inc.
1480 This configure script is free software; the Free Software Foundation
1481 gives unlimited permission to copy, distribute and modify it.
1486 ## ------------------------ ##
1487 ## Autoconf initialization. ##
1488 ## ------------------------ ##
1490 # ac_fn_c_try_compile LINENO
1491 # --------------------------
1492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1493 ac_fn_c_try_compile ()
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 rm -f conftest.$ac_objext
1497 if { { ac_try="$ac_compile"
1499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500 *) ac_try_echo=$ac_try;;
1502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503 $as_echo "$ac_try_echo"; } >&5
1504 (eval "$ac_compile") 2>conftest.err
1506 if test -s conftest.err; then
1507 grep -v '^ *+' conftest.err >conftest.er1
1508 cat conftest.er1 >&5
1509 mv -f conftest.er1 conftest.err
1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512 test $ac_status = 0; } && {
1513 test -z "$ac_c_werror_flag" ||
1514 test ! -s conftest.err
1515 } && test -s conftest.$ac_objext; then :
1518 $as_echo "$as_me: failed program was:" >&5
1519 sed 's/^/| /' conftest.$ac_ext >&5
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1526 } # ac_fn_c_try_compile
1528 # ac_fn_c_try_link LINENO
1529 # -----------------------
1530 # Try to link conftest.$ac_ext, and return whether this succeeded.
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 rm -f conftest.$ac_objext conftest$ac_exeext
1535 if { { ac_try="$ac_link"
1537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538 *) ac_try_echo=$ac_try;;
1540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541 $as_echo "$ac_try_echo"; } >&5
1542 (eval "$ac_link") 2>conftest.err
1544 if test -s conftest.err; then
1545 grep -v '^ *+' conftest.err >conftest.er1
1546 cat conftest.er1 >&5
1547 mv -f conftest.er1 conftest.err
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; } && {
1551 test -z "$ac_c_werror_flag" ||
1552 test ! -s conftest.err
1553 } && test -s conftest$ac_exeext && {
1554 test "$cross_compiling" = yes ||
1555 $as_test_x conftest$ac_exeext
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1565 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1566 # interfere with the next link command; also delete a directory that is
1567 # left behind by Apple's compiler. We do this before executing the actions.
1568 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570 as_fn_set_status $ac_retval
1572 } # ac_fn_c_try_link
1574 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1575 # -------------------------------------------------------
1576 # Tests whether HEADER exists and can be compiled using the include files in
1577 # INCLUDES, setting the cache variable VAR accordingly.
1578 ac_fn_c_check_header_compile ()
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if eval \${$3+:} false; then :
1584 $as_echo_n "(cached) " >&6
1586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1587 /* end confdefs.h. */
1591 if ac_fn_c_try_compile "$LINENO"; then :
1596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1600 $as_echo "$ac_res" >&6; }
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 } # ac_fn_c_check_header_compile
1605 # ac_fn_c_try_cpp LINENO
1606 # ----------------------
1607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 if { { ac_try="$ac_cpp conftest.$ac_ext"
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } > conftest.i && {
1627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1642 # ac_fn_c_try_run LINENO
1643 # ----------------------
1644 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1645 # that executables *can* be run.
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 if { { ac_try="$ac_link"
1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652 *) ac_try_echo=$ac_try;;
1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_link") 2>&5
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1660 { { case "(($ac_try" in
1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662 *) ac_try_echo=$ac_try;;
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666 (eval "$ac_try") 2>&5
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; }; }; then :
1672 $as_echo "$as_me: program exited with status $ac_status" >&5
1673 $as_echo "$as_me: failed program was:" >&5
1674 sed 's/^/| /' conftest.$ac_ext >&5
1676 ac_retval=$ac_status
1678 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680 as_fn_set_status $ac_retval
1684 # ac_fn_c_check_func LINENO FUNC VAR
1685 # ----------------------------------
1686 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1687 ac_fn_c_check_func ()
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1691 $as_echo_n "checking for $2... " >&6; }
1692 if eval \${$3+:} false; then :
1693 $as_echo_n "(cached) " >&6
1695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1696 /* end confdefs.h. */
1697 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1699 #define $2 innocuous_$2
1701 /* System header to define __stub macros and hopefully few prototypes,
1702 which can conflict with char $2 (); below.
1703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1704 <limits.h> exists even on freestanding compilers. */
1707 # include <limits.h>
1709 # include <assert.h>
1714 /* Override any GCC internal prototype to avoid an error.
1715 Use char because int might match the return type of a GCC
1716 builtin and then its argument prototype would still apply. */
1721 /* The GNU C library defines this for functions which it implements
1722 to always fail with ENOSYS. Some functions are actually named
1723 something starting with __ and the normal name is an alias. */
1724 #if defined __stub_$2 || defined __stub___$2
1736 if ac_fn_c_try_link "$LINENO"; then :
1741 rm -f core conftest.err conftest.$ac_objext \
1742 conftest$ac_exeext conftest.$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 } # ac_fn_c_check_func
1751 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1752 # -------------------------------------------------------
1753 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1754 # the include files in INCLUDES and setting the cache variable VAR
1756 ac_fn_c_check_header_mongrel ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 if eval \${$3+:} false; then :
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761 $as_echo_n "checking for $2... " >&6; }
1762 if eval \${$3+:} false; then :
1763 $as_echo_n "(cached) " >&6
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1769 # Is the header compilable?
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1771 $as_echo_n "checking $2 usability... " >&6; }
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1778 ac_header_compiler=yes
1780 ac_header_compiler=no
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1784 $as_echo "$ac_header_compiler" >&6; }
1786 # Is the header present?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1788 $as_echo_n "checking $2 presence... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1793 if ac_fn_c_try_cpp "$LINENO"; then :
1794 ac_header_preproc=yes
1796 ac_header_preproc=no
1798 rm -f conftest.err conftest.i conftest.$ac_ext
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1800 $as_echo "$ac_header_preproc" >&6; }
1802 # So? What about this header?
1803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1806 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1812 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1814 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1816 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1818 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826 $as_echo_n "(cached) " >&6
1828 eval "$3=\$ac_header_compiler"
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1836 } # ac_fn_c_check_header_mongrel
1838 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1839 # --------------------------------------------
1840 # Tries to find the compile-time value of EXPR in a program that includes
1841 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1843 ac_fn_c_compute_int ()
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 if test "$cross_compiling" = yes; then
1847 # Depending upon the size, compute the lo and hi bounds.
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1854 static int test_array [1 - 2 * !(($2) >= 0)];
1861 if ac_fn_c_try_compile "$LINENO"; then :
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1870 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1877 if ac_fn_c_try_compile "$LINENO"; then :
1878 ac_hi=$ac_mid; break
1880 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1881 if test $ac_lo -le $ac_mid; then
1885 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1896 static int test_array [1 - 2 * !(($2) < 0)];
1903 if ac_fn_c_try_compile "$LINENO"; then :
1906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907 /* end confdefs.h. */
1912 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1919 if ac_fn_c_try_compile "$LINENO"; then :
1920 ac_lo=$ac_mid; break
1922 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1923 if test $ac_mid -le $ac_hi; then
1927 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937 # Binary search between lo and hi bounds.
1938 while test "x$ac_lo" != "x$ac_hi"; do
1939 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1946 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1953 if ac_fn_c_try_compile "$LINENO"; then :
1956 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1968 static long int longval () { return $2; }
1969 static unsigned long int ulongval () { return $2; }
1976 FILE *f = fopen ("conftest.val", "w");
1981 long int i = longval ();
1984 fprintf (f, "%ld", i);
1988 unsigned long int i = ulongval ();
1991 fprintf (f, "%lu", i);
1993 /* Do not output a trailing newline, as this causes \r\n confusion
1994 on some platforms. */
1995 return ferror (f) || fclose (f) != 0;
2001 if ac_fn_c_try_run "$LINENO"; then :
2002 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2007 conftest.$ac_objext conftest.beam conftest.$ac_ext
2011 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012 as_fn_set_status $ac_retval
2014 } # ac_fn_c_compute_int
2015 cat >config.log <<_ACEOF
2016 This file contains any messages produced by compilers while
2017 running configure, to aid debugging if configure makes a mistake.
2019 It was created by $as_me, which was
2020 generated by GNU Autoconf 2.68. Invocation command line was
2032 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2033 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2034 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2035 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2036 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2038 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2039 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2041 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2042 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2043 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2044 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2045 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2046 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2047 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 $as_echo "PATH: $as_dir"
2072 # Keep a trace of the command line.
2073 # Strip out --no-create and --no-recursion so they do not pile up.
2074 # Strip out --silent because we don't want to record it for future runs.
2075 # Also quote any args containing shell meta-characters.
2076 # Make two passes to allow for proper duplicate-argument suppression.
2080 ac_must_keep_next=false
2086 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2087 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2088 | -silent | --silent | --silen | --sile | --sil)
2091 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2094 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2096 as_fn_append ac_configure_args1 " '$ac_arg'"
2097 if test $ac_must_keep_next = true; then
2098 ac_must_keep_next=false # Got value, back to normal.
2101 *=* | --config-cache | -C | -disable-* | --disable-* \
2102 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2103 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2104 | -with-* | --with-* | -without-* | --without-* | --x)
2105 case "$ac_configure_args0 " in
2106 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2109 -* ) ac_must_keep_next=true ;;
2112 as_fn_append ac_configure_args " '$ac_arg'"
2117 { ac_configure_args0=; unset ac_configure_args0;}
2118 { ac_configure_args1=; unset ac_configure_args1;}
2120 # When interrupted or exit'd, cleanup temporary files, and complete
2121 # config.log. We remove comments because anyway the quotes in there
2122 # would cause problems or look ugly.
2123 # WARNING: Use '\'' to represent an apostrophe within the trap.
2124 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2125 trap 'exit_status=$?
2126 # Save into config.log some information that might help in debugging.
2130 $as_echo "## ---------------- ##
2131 ## Cache variables. ##
2132 ## ---------------- ##"
2134 # The following way of writing the cache mishandles newlines in values,
2136 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2137 eval ac_val=\$$ac_var
2141 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2145 _ | IFS | as_nl) ;; #(
2146 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2147 *) { eval $ac_var=; unset $ac_var;} ;;
2152 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2153 *${as_nl}ac_space=\ *)
2155 "s/'\''/'\''\\\\'\'''\''/g;
2156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2159 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2166 $as_echo "## ----------------- ##
2167 ## Output variables. ##
2168 ## ----------------- ##"
2170 for ac_var in $ac_subst_vars
2172 eval ac_val=\$$ac_var
2174 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2176 $as_echo "$ac_var='\''$ac_val'\''"
2180 if test -n "$ac_subst_files"; then
2181 $as_echo "## ------------------- ##
2182 ## File substitutions. ##
2183 ## ------------------- ##"
2185 for ac_var in $ac_subst_files
2187 eval ac_val=\$$ac_var
2189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 $as_echo "$ac_var='\''$ac_val'\''"
2196 if test -s confdefs.h; then
2197 $as_echo "## ----------- ##
2204 test "$ac_signal" != 0 &&
2205 $as_echo "$as_me: caught signal $ac_signal"
2206 $as_echo "$as_me: exit $exit_status"
2208 rm -f core *.core core.conftest.* &&
2209 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2212 for ac_signal in 1 2 13 15; do
2213 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2217 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2218 rm -f -r conftest* confdefs.h
2220 $as_echo "/* confdefs.h */" > confdefs.h
2222 # Predefined preprocessor variables.
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_NAME "$PACKAGE_NAME"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2244 cat >>confdefs.h <<_ACEOF
2245 #define PACKAGE_URL "$PACKAGE_URL"
2249 # Let the site file select an alternate cache file if it wants to.
2250 # Prefer an explicitly selected file to automatically selected ones.
2253 if test -n "$CONFIG_SITE"; then
2254 # We do not want a PATH search for config.site.
2255 case $CONFIG_SITE in #((
2256 -*) ac_site_file1=./$CONFIG_SITE;;
2257 */*) ac_site_file1=$CONFIG_SITE;;
2258 *) ac_site_file1=./$CONFIG_SITE;;
2260 elif test "x$prefix" != xNONE; then
2261 ac_site_file1=$prefix/share/config.site
2262 ac_site_file2=$prefix/etc/config.site
2264 ac_site_file1=$ac_default_prefix/share/config.site
2265 ac_site_file2=$ac_default_prefix/etc/config.site
2267 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2269 test "x$ac_site_file" = xNONE && continue
2270 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2272 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2273 sed 's/^/| /' "$ac_site_file" >&5
2275 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277 as_fn_error $? "failed to load site script $ac_site_file
2278 See \`config.log' for more details" "$LINENO" 5; }
2282 if test -r "$cache_file"; then
2283 # Some versions of bash will fail to source /dev/null (special files
2284 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2285 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2287 $as_echo "$as_me: loading cache $cache_file" >&6;}
2289 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2290 *) . "./$cache_file";;
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2295 $as_echo "$as_me: creating cache $cache_file" >&6;}
2299 # Check that the precious variables saved in the cache have kept the same
2301 ac_cache_corrupted=false
2302 for ac_var in $ac_precious_vars; do
2303 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2304 eval ac_new_set=\$ac_env_${ac_var}_set
2305 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2306 eval ac_new_val=\$ac_env_${ac_var}_value
2307 case $ac_old_set,$ac_new_set in
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2310 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2314 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2318 if test "x$ac_old_val" != "x$ac_new_val"; then
2319 # differences in whitespace do not lead to failure.
2320 ac_old_val_w=`echo x $ac_old_val`
2321 ac_new_val_w=`echo x $ac_new_val`
2322 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2324 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2325 ac_cache_corrupted=:
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2328 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2329 eval $ac_var=\$ac_old_val
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2332 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2334 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2337 # Pass precious variables to config.status.
2338 if test "$ac_new_set" = set; then
2340 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 *) ac_arg=$ac_var=$ac_new_val ;;
2343 case " $ac_configure_args " in
2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2345 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2349 if $ac_cache_corrupted; then
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2353 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2354 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2356 ## -------------------- ##
2357 ## Main body of script. ##
2358 ## -------------------- ##
2361 ac_cpp='$CPP $CPPFLAGS'
2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2368 am__api_version='1.11'
2371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2372 if test -f "$ac_dir/install-sh"; then
2374 ac_install_sh="$ac_aux_dir/install-sh -c"
2376 elif test -f "$ac_dir/install.sh"; then
2378 ac_install_sh="$ac_aux_dir/install.sh -c"
2380 elif test -f "$ac_dir/shtool"; then
2382 ac_install_sh="$ac_aux_dir/shtool install -c"
2386 if test -z "$ac_aux_dir"; then
2387 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2399 # Find a good install program. We prefer a C program (faster),
2400 # so one script is as good as another. But avoid the broken or
2401 # incompatible versions:
2402 # SysV /etc/install, /usr/sbin/install
2403 # SunOS /usr/etc/install
2404 # IRIX /sbin/install
2406 # AmigaOS /C/install, which installs bootblocks on floppy discs
2407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2410 # OS/2's system install, which has a completely different semantic
2411 # ./install, which can be erroneously created by make from ./install.sh.
2412 # Reject install programs that cannot install multiple files.
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2414 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2415 if test -z "$INSTALL"; then
2416 if ${ac_cv_path_install+:} false; then :
2417 $as_echo_n "(cached) " >&6
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 # Account for people who put trailing slashes in PATH elements.
2425 case $as_dir/ in #((
2426 ./ | .// | /[cC]/* | \
2427 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2428 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2431 # OSF1 and SCO ODT 3.0 have their own names for install.
2432 # Don't use installbsd from OSF since it installs stuff as root
2434 for ac_prog in ginstall scoinst install; do
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2437 if test $ac_prog = install &&
2438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2439 # AIX install. It has an incompatible calling convention.
2441 elif test $ac_prog = install &&
2442 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2443 # program-specific install script used by HP pwplus--don't use.
2446 rm -rf conftest.one conftest.two conftest.dir
2447 echo one > conftest.one
2448 echo two > conftest.two
2450 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2451 test -s conftest.one && test -s conftest.two &&
2452 test -s conftest.dir/conftest.one &&
2453 test -s conftest.dir/conftest.two
2455 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2468 rm -rf conftest.one conftest.two conftest.dir
2471 if test "${ac_cv_path_install+set}" = set; then
2472 INSTALL=$ac_cv_path_install
2474 # As a last resort, use the slow shell script. Don't cache a
2475 # value for INSTALL within a source directory, because that will
2476 # break other packages using the cache if that directory is
2477 # removed, or if the value is a relative name.
2478 INSTALL=$ac_install_sh
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2482 $as_echo "$INSTALL" >&6; }
2484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2485 # It thinks the first close brace ends the variable substitution.
2486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2493 $as_echo_n "checking whether build environment is sane... " >&6; }
2496 echo timestamp > conftest.file
2497 # Reject unsafe characters in $srcdir or the absolute working directory
2498 # name. Accept space and tab only in the latter.
2502 *[\\\"\#\$\&\'\`$am_lf]*)
2503 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2506 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2507 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2510 # Do `set' in a subshell so we don't clobber the current shell's
2511 # arguments. Must try -L first in case configure is actually a
2512 # symlink; some systems play weird games with the mod time of symlinks
2513 # (eg FreeBSD returns the mod time of the symlink's containing
2516 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2517 if test "$*" = "X"; then
2519 set X `ls -t "$srcdir/configure" conftest.file`
2522 if test "$*" != "X $srcdir/configure conftest.file" \
2523 && test "$*" != "X conftest.file $srcdir/configure"; then
2525 # If neither matched, then we have a broken ls. This can happen
2526 # if, for instance, CONFIG_SHELL is bash and it inherits a
2527 # broken ls alias from the environment. This has actually
2528 # happened. Such a system could not be considered "sane".
2529 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2530 alias in your environment" "$LINENO" 5
2533 test "$2" = conftest.file
2539 as_fn_error $? "newly created file is older than distributed files!
2540 Check your system clock" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2543 $as_echo "yes" >&6; }
2544 test "$program_prefix" != NONE &&
2545 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2546 # Use a double $ so make ignores it.
2547 test "$program_suffix" != NONE &&
2548 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2549 # Double any \ or $.
2550 # By default was `s,x,x', remove it if useless.
2551 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2552 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2554 # expand $ac_aux_dir to an absolute path
2555 am_aux_dir=`cd $ac_aux_dir && pwd`
2557 if test x"${MISSING+set}" != xset; then
2560 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2562 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2565 # Use eval to expand $SHELL
2566 if eval "$MISSING --run true"; then
2567 am_missing_run="$MISSING --run "
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2571 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2574 if test x"${install_sh}" != xset; then
2577 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2579 install_sh="\${SHELL} $am_aux_dir/install-sh"
2583 # Installed binaries are usually stripped using `strip' when the user
2584 # run `make install-strip'. However `strip' might not be the right
2585 # tool to use in cross-compilation environments, therefore Automake
2586 # will honor the `STRIP' environment variable to overrule this program.
2587 if test "$cross_compiling" != no; then
2588 if test -n "$ac_tool_prefix"; then
2589 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2590 set dummy ${ac_tool_prefix}strip; ac_word=$2
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2592 $as_echo_n "checking for $ac_word... " >&6; }
2593 if ${ac_cv_prog_STRIP+:} false; then :
2594 $as_echo_n "(cached) " >&6
2596 if test -n "$STRIP"; then
2597 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2603 test -z "$as_dir" && as_dir=.
2604 for ac_exec_ext in '' $ac_executable_extensions; do
2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2606 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 STRIP=$ac_cv_prog_STRIP
2617 if test -n "$STRIP"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2619 $as_echo "$STRIP" >&6; }
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2622 $as_echo "no" >&6; }
2627 if test -z "$ac_cv_prog_STRIP"; then
2629 # Extract the first word of "strip", so it can be a program name with args.
2630 set dummy strip; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2634 $as_echo_n "(cached) " >&6
2636 if test -n "$ac_ct_STRIP"; then
2637 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_ac_ct_STRIP="strip"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2657 if test -n "$ac_ct_STRIP"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2659 $as_echo "$ac_ct_STRIP" >&6; }
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2665 if test "x$ac_ct_STRIP" = x; then
2668 case $cross_compiling:$ac_tool_warned in
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2672 ac_tool_warned=yes ;;
2677 STRIP="$ac_cv_prog_STRIP"
2681 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2684 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2685 if test -z "$MKDIR_P"; then
2686 if ${ac_cv_path_mkdir+:} false; then :
2687 $as_echo_n "(cached) " >&6
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2693 test -z "$as_dir" && as_dir=.
2694 for ac_prog in mkdir gmkdir; do
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2697 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2698 'mkdir (GNU coreutils) '* | \
2699 'mkdir (coreutils) '* | \
2700 'mkdir (fileutils) '4.1*)
2701 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2711 test -d ./--version && rmdir ./--version
2712 if test "${ac_cv_path_mkdir+set}" = set; then
2713 MKDIR_P="$ac_cv_path_mkdir -p"
2715 # As a last resort, use the slow shell script. Don't cache a
2716 # value for MKDIR_P within a source directory, because that will
2717 # break other packages using the cache if that directory is
2718 # removed, or if the value is a relative name.
2719 MKDIR_P="$ac_install_sh -d"
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2723 $as_echo "$MKDIR_P" >&6; }
2727 [\\/$]* | ?:[\\/]*) ;;
2728 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2731 for ac_prog in gawk mawk nawk awk
2733 # Extract the first word of "$ac_prog", so it can be a program name with args.
2734 set dummy $ac_prog; ac_word=$2
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2736 $as_echo_n "checking for $ac_word... " >&6; }
2737 if ${ac_cv_prog_AWK+:} false; then :
2738 $as_echo_n "(cached) " >&6
2740 if test -n "$AWK"; then
2741 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_AWK="$ac_prog"
2751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 if test -n "$AWK"; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2763 $as_echo "$AWK" >&6; }
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2766 $as_echo "no" >&6; }
2770 test -n "$AWK" && break
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2777 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 cat >conftest.make <<\_ACEOF
2783 @echo '@@@%%%=$(MAKE)=@@@%%%'
2785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2788 eval ac_cv_prog_make_${ac_make}_set=yes;;
2790 eval ac_cv_prog_make_${ac_make}_set=no;;
2794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2796 $as_echo "yes" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2801 SET_MAKE="MAKE=${MAKE-make}"
2804 rm -rf .tst 2>/dev/null
2805 mkdir .tst 2>/dev/null
2806 if test -d .tst; then
2811 rmdir .tst 2>/dev/null
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815 # is not polluted with repeated "-I."
2816 am__isrc=' -I$(srcdir)'
2817 # test to see if srcdir already configured
2818 if test -f $srcdir/config.status; then
2819 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825 if (cygpath --version) >/dev/null 2>/dev/null; then
2826 CYGPATH_W='cygpath -w'
2833 # Define the identity of the package.
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2847 # Some tools Automake needs.
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2863 # We need awk for the "check" target. The system "awk" is bad on
2865 # Always define AMTAR for backward compatibility.
2867 AMTAR=${AMTAR-"${am_missing_run}tar"}
2869 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2877 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2878 # Check whether --enable-maintainer-mode was given.
2879 if test "${enable_maintainer_mode+set}" = set; then :
2880 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2882 USE_MAINTAINER_MODE=no
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2886 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2887 if test $USE_MAINTAINER_MODE = yes; then
2888 MAINTAINER_MODE_TRUE=
2889 MAINTAINER_MODE_FALSE='#'
2891 MAINTAINER_MODE_TRUE='#'
2892 MAINTAINER_MODE_FALSE=
2895 MAINT=$MAINTAINER_MODE_TRUE
2908 ac_cpp='$CPP $CPPFLAGS'
2909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2912 if test -n "$ac_tool_prefix"; then
2913 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2914 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_CC+:} false; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$CC"; then
2921 ac_cv_prog_CC="$CC" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 if test -n "$CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2943 $as_echo "$CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2951 if test -z "$ac_cv_prog_CC"; then
2953 # Extract the first word of "gcc", so it can be a program name with args.
2954 set dummy gcc; ac_word=$2
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 $as_echo_n "checking for $ac_word... " >&6; }
2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2958 $as_echo_n "(cached) " >&6
2960 if test -n "$ac_ct_CC"; then
2961 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970 ac_cv_prog_ac_ct_CC="gcc"
2971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2980 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2981 if test -n "$ac_ct_CC"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2983 $as_echo "$ac_ct_CC" >&6; }
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986 $as_echo "no" >&6; }
2989 if test "x$ac_ct_CC" = x; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3007 set dummy ${ac_tool_prefix}cc; ac_word=$2
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 $as_echo_n "checking for $ac_word... " >&6; }
3010 if ${ac_cv_prog_CC+:} false; then :
3011 $as_echo_n "(cached) " >&6
3013 if test -n "$CC"; then
3014 ac_cv_prog_CC="$CC" # Let the user override the test.
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020 test -z "$as_dir" && as_dir=.
3021 for ac_exec_ext in '' $ac_executable_extensions; do
3022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3023 ac_cv_prog_CC="${ac_tool_prefix}cc"
3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 if test -n "$CC"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036 $as_echo "$CC" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3045 if test -z "$CC"; then
3046 # Extract the first word of "cc", so it can be a program name with args.
3047 set dummy cc; ac_word=$2
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3049 $as_echo_n "checking for $ac_word... " >&6; }
3050 if ${ac_cv_prog_CC+:} false; then :
3051 $as_echo_n "(cached) " >&6
3053 if test -n "$CC"; then
3054 ac_cv_prog_CC="$CC" # Let the user override the test.
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3065 ac_prog_rejected=yes
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 if test $ac_prog_rejected = yes; then
3077 # We found a bogon in the path, so make sure we never use it.
3078 set dummy $ac_cv_prog_CC
3080 if test $# != 0; then
3081 # We chose a different compiler from the bogus one.
3082 # However, it has the same basename, so the bogon will be chosen
3083 # first if we set CC to just the basename; use the full file name.
3085 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3091 if test -n "$CC"; then
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093 $as_echo "$CC" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3101 if test -z "$CC"; then
3102 if test -n "$ac_tool_prefix"; then
3103 for ac_prog in cl.exe
3105 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3106 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false; then :
3110 $as_echo_n "(cached) " >&6
3112 if test -n "$CC"; then
3113 ac_cv_prog_CC="$CC" # Let the user override the test.
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3119 test -z "$as_dir" && as_dir=.
3120 for ac_exec_ext in '' $ac_executable_extensions; do
3121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 if test -n "$CC"; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3142 test -n "$CC" && break
3145 if test -z "$CC"; then
3147 for ac_prog in cl.exe
3149 # Extract the first word of "$ac_prog", so it can be a program name with args.
3150 set dummy $ac_prog; ac_word=$2
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152 $as_echo_n "checking for $ac_word... " >&6; }
3153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3154 $as_echo_n "(cached) " >&6
3156 if test -n "$ac_ct_CC"; then
3157 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 test -z "$as_dir" && as_dir=.
3164 for ac_exec_ext in '' $ac_executable_extensions; do
3165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166 ac_cv_prog_ac_ct_CC="$ac_prog"
3167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3177 if test -n "$ac_ct_CC"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3179 $as_echo "$ac_ct_CC" >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182 $as_echo "no" >&6; }
3186 test -n "$ac_ct_CC" && break
3189 if test "x$ac_ct_CC" = x; then
3192 case $cross_compiling:$ac_tool_warned in
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3196 ac_tool_warned=yes ;;
3205 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $? "no acceptable C compiler found in \$PATH
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 # Provide some information about the compiler.
3211 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3214 for ac_option in --version -v -V -qversion; do
3215 { { ac_try="$ac_compiler $ac_option >&5"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3224 if test -s conftest.err; then
3226 ... rest of stderr output deleted ...
3227 10q' conftest.err >conftest.er1
3228 cat conftest.er1 >&5
3230 rm -f conftest.er1 conftest.err
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 ac_clean_files_save=$ac_clean_files
3247 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3248 # Try to create an executable without -o first, disregard a.out.
3249 # It will help us diagnose broken compilers, and finding out an intuition
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3252 $as_echo_n "checking whether the C compiler works... " >&6; }
3253 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3255 # The possible output files:
3256 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3259 for ac_file in $ac_files
3262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3263 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3268 if { { ac_try="$ac_link_default"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_link_default") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; then :
3279 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3280 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3281 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3282 # so that the user can short-circuit this test for compilers unknown to
3284 for ac_file in $ac_files ''
3286 test -f "$ac_file" || continue
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3291 # We found the default executable, but exeext='' is most
3295 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3297 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3299 # We set ac_cv_exeext here because the later test for it is not
3300 # safe: cross compilers may not add the suffix if given an `-o'
3301 # argument, so we may need to know it at that point already.
3302 # Even if this section looks crufty: it has the advantage of
3309 test "$ac_cv_exeext" = no && ac_cv_exeext=
3314 if test -z "$ac_file"; then :
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error 77 "C compiler cannot create executables
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3329 $as_echo_n "checking for C compiler default output file name... " >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3331 $as_echo "$ac_file" >&6; }
3332 ac_exeext=$ac_cv_exeext
3334 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3335 ac_clean_files=$ac_clean_files_save
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3337 $as_echo_n "checking for suffix of executables... " >&6; }
3338 if { { ac_try="$ac_link"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_link") 2>&5
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3350 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3351 # work properly (i.e., refer to `conftest.exe'), while it won't with
3353 for ac_file in conftest.exe conftest conftest.*; do
3354 test -f "$ac_file" || continue
3356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3357 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3365 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3366 See \`config.log' for more details" "$LINENO" 5; }
3368 rm -f conftest conftest$ac_cv_exeext
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3370 $as_echo "$ac_cv_exeext" >&6; }
3372 rm -f conftest.$ac_ext
3373 EXEEXT=$ac_cv_exeext
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3381 FILE *f = fopen ("conftest.out", "w");
3382 return ferror (f) || fclose (f) != 0;
3388 ac_clean_files="$ac_clean_files conftest.out"
3389 # Check that the compiler produces executables we can run. If not, either
3390 # the compiler is broken, or we cross compile.
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3392 $as_echo_n "checking whether we are cross compiling... " >&6; }
3393 if test "$cross_compiling" != yes; then
3394 { { ac_try="$ac_link"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_link") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }
3405 if { ac_try='./conftest$ac_cv_exeext'
3406 { { case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412 (eval "$ac_try") 2>&5
3414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415 test $ac_status = 0; }; }; then
3418 if test "$cross_compiling" = maybe; then
3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423 as_fn_error $? "cannot run C compiled programs.
3424 If you meant to cross compile, use \`--host'.
3425 See \`config.log' for more details" "$LINENO" 5; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3430 $as_echo "$cross_compiling" >&6; }
3432 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3433 ac_clean_files=$ac_clean_files_save
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3435 $as_echo_n "checking for suffix of object files... " >&6; }
3436 if ${ac_cv_objext+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3450 rm -f conftest.o conftest.obj
3451 if { { ac_try="$ac_compile"
3453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454 *) ac_try_echo=$ac_try;;
3456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457 $as_echo "$ac_try_echo"; } >&5
3458 (eval "$ac_compile") 2>&5
3460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461 test $ac_status = 0; }; then :
3462 for ac_file in conftest.o conftest.obj conftest.*; do
3463 test -f "$ac_file" || continue;
3465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3471 $as_echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "cannot compute suffix of object files: cannot compile
3477 See \`config.log' for more details" "$LINENO" 5; }
3479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3482 $as_echo "$ac_cv_objext" >&6; }
3483 OBJEXT=$ac_cv_objext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3487 if ${ac_cv_c_compiler_gnu+:} false; then :
3488 $as_echo_n "(cached) " >&6
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3504 if ac_fn_c_try_compile "$LINENO"; then :
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3515 if test $ac_compiler_gnu = yes; then
3520 ac_test_CFLAGS=${CFLAGS+set}
3521 ac_save_CFLAGS=$CFLAGS
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3524 if ${ac_cv_prog_cc_g+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 ac_save_c_werror_flag=$ac_c_werror_flag
3528 ac_c_werror_flag=yes
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3542 if ac_fn_c_try_compile "$LINENO"; then :
3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3547 /* end confdefs.h. */
3557 if ac_fn_c_try_compile "$LINENO"; then :
3560 ac_c_werror_flag=$ac_save_c_werror_flag
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3573 if ac_fn_c_try_compile "$LINENO"; then :
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3581 ac_c_werror_flag=$ac_save_c_werror_flag
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3584 $as_echo "$ac_cv_prog_cc_g" >&6; }
3585 if test "$ac_test_CFLAGS" = set; then
3586 CFLAGS=$ac_save_CFLAGS
3587 elif test $ac_cv_prog_cc_g = yes; then
3588 if test "$GCC" = yes; then
3594 if test "$GCC" = yes; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3602 if ${ac_cv_prog_cc_c89+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 ac_cv_prog_cc_c89=no
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3611 #include <sys/types.h>
3612 #include <sys/stat.h>
3613 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3614 struct buf { int x; };
3615 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3616 static char *e (p, i)
3622 static char *f (char * (*g) (char **, int), char **p, ...)
3627 s = g (p, va_arg (v,int));
3632 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3633 function prototypes and stuff, but not '\xHH' hex character constants.
3634 These don't provoke an error unfortunately, instead are silently treated
3635 as 'x'. The following induces an error, until -std is added to get
3636 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3637 array size at least. It's necessary to write '\x00'==0 to get something
3638 that's true only with -std. */
3639 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3641 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3642 inside strings and character constants. */
3644 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3646 int test (int i, double x);
3647 struct s1 {int (*f) (int a);};
3648 struct s2 {int (*f) (double a);};
3649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3663 CC="$ac_save_CC $ac_arg"
3664 if ac_fn_c_try_compile "$LINENO"; then :
3665 ac_cv_prog_cc_c89=$ac_arg
3667 rm -f core conftest.err conftest.$ac_objext
3668 test "x$ac_cv_prog_cc_c89" != "xno" && break
3670 rm -f conftest.$ac_ext
3675 case "x$ac_cv_prog_cc_c89" in
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3678 $as_echo "none needed" >&6; } ;;
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3681 $as_echo "unsupported" >&6; } ;;
3683 CC="$CC $ac_cv_prog_cc_c89"
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3685 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3687 if test "x$ac_cv_prog_cc_c89" != xno; then :
3692 ac_cpp='$CPP $CPPFLAGS'
3693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3696 DEPDIR="${am__leading_dot}deps"
3698 ac_config_commands="$ac_config_commands depfiles"
3701 am_make=${MAKE-make}
3702 cat > confinc << 'END'
3704 @echo this is the am__doit target
3707 # If we don't find an include directive, just comment out the code.
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3709 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3713 # First try GNU make style include.
3714 echo "include confinc" > confmf
3715 # Ignore all kinds of additional output from `make'.
3716 case `$am_make -s -f confmf 2> /dev/null` in #(
3717 *the\ am__doit\ target*)
3723 # Now try BSD make style include.
3724 if test "$am__include" = "#"; then
3725 echo '.include "confinc"' > confmf
3726 case `$am_make -s -f confmf 2> /dev/null` in #(
3727 *the\ am__doit\ target*)
3728 am__include=.include
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3737 $as_echo "$_am_result" >&6; }
3738 rm -f confinc confmf
3740 # Check whether --enable-dependency-tracking was given.
3741 if test "${enable_dependency_tracking+set}" = set; then :
3742 enableval=$enable_dependency_tracking;
3745 if test "x$enable_dependency_tracking" != xno; then
3746 am_depcomp="$ac_aux_dir/depcomp"
3749 if test "x$enable_dependency_tracking" != xno; then
3759 depcc="$CC" am_compiler_list=
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3762 $as_echo_n "checking dependency style of $depcc... " >&6; }
3763 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3764 $as_echo_n "(cached) " >&6
3766 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3767 # We make a subdir and do the tests there. Otherwise we can end up
3768 # making bogus files that we don't know about and never remove. For
3769 # instance it was reported that on HP-UX the gcc test will end up
3770 # making a dummy file named `D' -- because `-MD' means `put the output
3773 # Copy depcomp to subdir because otherwise we won't find it if we're
3774 # using a relative directory.
3775 cp "$am_depcomp" conftest.dir
3777 # We will build objects and dependencies in a subdirectory because
3778 # it helps to detect inapplicable dependency modes. For instance
3779 # both Tru64's cc and ICC support -MD to output dependencies as a
3780 # side effect of compilation, but ICC will put the dependencies in
3781 # the current directory while Tru64 will put them in the object
3785 am_cv_CC_dependencies_compiler_type=none
3786 if test "$am_compiler_list" = ""; then
3787 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3790 case " $depcc " in #(
3791 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3794 for depmode in $am_compiler_list; do
3795 # Setup a source with many dependencies, because some compilers
3796 # like to wrap large dependency lists on column 80 (with \), and
3797 # we should not choose a depcomp mode which is confused by this.
3799 # We need to recreate these files for each test, as the compiler may
3800 # overwrite some of them when testing with obscure command lines.
3801 # This happens at least with the AIX C compiler.
3803 for i in 1 2 3 4 5 6; do
3804 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3805 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3806 # Solaris 8's {/usr,}/bin/sh.
3807 touch sub/conftst$i.h
3809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3811 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3812 # mode. It turns out that the SunPro C++ compiler does not properly
3813 # handle `-M -o', and we need to detect this. Also, some Intel
3814 # versions had trouble with output in subdirs
3815 am__obj=sub/conftest.${OBJEXT-o}
3816 am__minus_obj="-o $am__obj"
3819 # This depmode causes a compiler race in universal mode.
3820 test "$am__universal" = false || continue
3823 # after this tag, mechanisms are not by side-effect, so they'll
3824 # only be used when explicitly requested
3825 if test "x$enable_dependency_tracking" = xyes; then
3831 msvisualcpp | msvcmsys)
3832 # This compiler won't grok `-c -o', but also, the minuso test has
3833 # not run yet. These depmodes are late enough in the game, and
3834 # so weak that their functioning should not be impacted.
3835 am__obj=conftest.${OBJEXT-o}
3840 if depmode=$depmode \
3841 source=sub/conftest.c object=$am__obj \
3842 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3843 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3844 >/dev/null 2>conftest.err &&
3845 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3846 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3847 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3848 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3849 # icc doesn't choke on unknown options, it will just issue warnings
3850 # or remarks (even with -Werror). So we grep stderr for any message
3851 # that says an option was ignored or not supported.
3852 # When given -MP, icc 7.0 and 7.1 complain thusly:
3853 # icc: Command line warning: ignoring option '-M'; no argument required
3854 # The diagnosis changed in icc 8.0:
3855 # icc: Command line remark: option '-MP' not supported
3856 if (grep 'ignoring option' conftest.err ||
3857 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3858 am_cv_CC_dependencies_compiler_type=$depmode
3867 am_cv_CC_dependencies_compiler_type=none
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3872 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3873 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3876 test "x$enable_dependency_tracking" != xno \
3877 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3879 am__fastdepCC_FALSE='#'
3881 am__fastdepCC_TRUE='#'
3882 am__fastdepCC_FALSE=
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3889 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3895 macro_revision='1.3293'
3909 ltmain="$ac_aux_dir/ltmain.sh"
3911 # Make sure we can run config.sub.
3912 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3913 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3916 $as_echo_n "checking build system type... " >&6; }
3917 if ${ac_cv_build+:} false; then :
3918 $as_echo_n "(cached) " >&6
3920 ac_build_alias=$build_alias
3921 test "x$ac_build_alias" = x &&
3922 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3923 test "x$ac_build_alias" = x &&
3924 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3925 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3926 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3930 $as_echo "$ac_cv_build" >&6; }
3931 case $ac_cv_build in
3933 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3936 ac_save_IFS=$IFS; IFS='-'
3942 # Remember, the first character of IFS is used to create $*,
3943 # except with old shells:
3946 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3950 $as_echo_n "checking host system type... " >&6; }
3951 if ${ac_cv_host+:} false; then :
3952 $as_echo_n "(cached) " >&6
3954 if test "x$host_alias" = x; then
3955 ac_cv_host=$ac_cv_build
3957 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3958 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3963 $as_echo "$ac_cv_host" >&6; }
3966 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3969 ac_save_IFS=$IFS; IFS='-'
3975 # Remember, the first character of IFS is used to create $*,
3976 # except with old shells:
3979 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3982 # Backslashify metacharacters that are still active within
3983 # double-quoted strings.
3984 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3986 # Same as above, but do not quote variable references.
3987 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3989 # Sed substitution to delay expansion of an escaped shell variable in a
3990 # double_quote_subst'ed string.
3991 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3993 # Sed substitution to delay expansion of an escaped single quote.
3994 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3996 # Sed substitution to avoid accidental globbing in evaled expressions
3997 no_glob_subst='s/\*/\\\*/g'
3999 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4000 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4001 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4004 $as_echo_n "checking how to print strings... " >&6; }
4005 # Test print first, because it will be a builtin if present.
4006 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4007 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4009 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4012 # Use this function as a fallback that always works.
4013 func_fallback_echo ()
4015 eval 'cat <<_LTECHO_EOF
4019 ECHO='func_fallback_echo'
4022 # func_echo_all arg...
4023 # Invoke $ECHO with all args, space-separated.
4030 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4031 $as_echo "printf" >&6; } ;;
4032 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4033 $as_echo "print -r" >&6; } ;;
4034 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4035 $as_echo "cat" >&6; } ;;
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4052 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4053 if ${ac_cv_path_SED+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4057 for ac_i in 1 2 3 4 5 6 7; do
4058 ac_script="$ac_script$as_nl$ac_script"
4060 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4061 { ac_script=; unset ac_script;}
4062 if test -z "$SED"; then
4063 ac_path_SED_found=false
4064 # Loop through the user's path and test for each of PROGNAME-LIST
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_prog in sed gsed; do
4071 for ac_exec_ext in '' $ac_executable_extensions; do
4072 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4073 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4074 # Check for GNU ac_path_SED and select it if it is found.
4075 # Check for GNU $ac_path_SED
4076 case `"$ac_path_SED" --version 2>&1` in
4078 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4081 $as_echo_n 0123456789 >"conftest.in"
4084 cat "conftest.in" "conftest.in" >"conftest.tmp"
4085 mv "conftest.tmp" "conftest.in"
4086 cp "conftest.in" "conftest.nl"
4087 $as_echo '' >> "conftest.nl"
4088 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4089 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4090 as_fn_arith $ac_count + 1 && ac_count=$as_val
4091 if test $ac_count -gt ${ac_path_SED_max-0}; then
4092 # Best one so far, save it but keep looking for a better one
4093 ac_cv_path_SED="$ac_path_SED"
4094 ac_path_SED_max=$ac_count
4096 # 10*(2^10) chars as input seems more than enough
4097 test $ac_count -gt 10 && break
4099 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4102 $ac_path_SED_found && break 3
4107 if test -z "$ac_cv_path_SED"; then
4108 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4116 $as_echo "$ac_cv_path_SED" >&6; }
4117 SED="$ac_cv_path_SED"
4120 test -z "$SED" && SED=sed
4121 Xsed="$SED -e 1s/^X//"
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4134 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4135 if ${ac_cv_path_GREP+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 if test -z "$GREP"; then
4139 ac_path_GREP_found=false
4140 # Loop through the user's path and test for each of PROGNAME-LIST
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4145 test -z "$as_dir" && as_dir=.
4146 for ac_prog in grep ggrep; do
4147 for ac_exec_ext in '' $ac_executable_extensions; do
4148 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4149 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4150 # Check for GNU ac_path_GREP and select it if it is found.
4151 # Check for GNU $ac_path_GREP
4152 case `"$ac_path_GREP" --version 2>&1` in
4154 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4157 $as_echo_n 0123456789 >"conftest.in"
4160 cat "conftest.in" "conftest.in" >"conftest.tmp"
4161 mv "conftest.tmp" "conftest.in"
4162 cp "conftest.in" "conftest.nl"
4163 $as_echo 'GREP' >> "conftest.nl"
4164 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4166 as_fn_arith $ac_count + 1 && ac_count=$as_val
4167 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4168 # Best one so far, save it but keep looking for a better one
4169 ac_cv_path_GREP="$ac_path_GREP"
4170 ac_path_GREP_max=$ac_count
4172 # 10*(2^10) chars as input seems more than enough
4173 test $ac_count -gt 10 && break
4175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4178 $ac_path_GREP_found && break 3
4183 if test -z "$ac_cv_path_GREP"; then
4184 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4187 ac_cv_path_GREP=$GREP
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4192 $as_echo "$ac_cv_path_GREP" >&6; }
4193 GREP="$ac_cv_path_GREP"
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4197 $as_echo_n "checking for egrep... " >&6; }
4198 if ${ac_cv_path_EGREP+:} false; then :
4199 $as_echo_n "(cached) " >&6
4201 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4202 then ac_cv_path_EGREP="$GREP -E"
4204 if test -z "$EGREP"; then
4205 ac_path_EGREP_found=false
4206 # Loop through the user's path and test for each of PROGNAME-LIST
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4211 test -z "$as_dir" && as_dir=.
4212 for ac_prog in egrep; do
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4215 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4216 # Check for GNU ac_path_EGREP and select it if it is found.
4217 # Check for GNU $ac_path_EGREP
4218 case `"$ac_path_EGREP" --version 2>&1` in
4220 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4223 $as_echo_n 0123456789 >"conftest.in"
4226 cat "conftest.in" "conftest.in" >"conftest.tmp"
4227 mv "conftest.tmp" "conftest.in"
4228 cp "conftest.in" "conftest.nl"
4229 $as_echo 'EGREP' >> "conftest.nl"
4230 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4231 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4232 as_fn_arith $ac_count + 1 && ac_count=$as_val
4233 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4234 # Best one so far, save it but keep looking for a better one
4235 ac_cv_path_EGREP="$ac_path_EGREP"
4236 ac_path_EGREP_max=$ac_count
4238 # 10*(2^10) chars as input seems more than enough
4239 test $ac_count -gt 10 && break
4241 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4244 $ac_path_EGREP_found && break 3
4249 if test -z "$ac_cv_path_EGREP"; then
4250 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4253 ac_cv_path_EGREP=$EGREP
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4259 $as_echo "$ac_cv_path_EGREP" >&6; }
4260 EGREP="$ac_cv_path_EGREP"
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4264 $as_echo_n "checking for fgrep... " >&6; }
4265 if ${ac_cv_path_FGREP+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4269 then ac_cv_path_FGREP="$GREP -F"
4271 if test -z "$FGREP"; then
4272 ac_path_FGREP_found=false
4273 # Loop through the user's path and test for each of PROGNAME-LIST
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4278 test -z "$as_dir" && as_dir=.
4279 for ac_prog in fgrep; do
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4282 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4283 # Check for GNU ac_path_FGREP and select it if it is found.
4284 # Check for GNU $ac_path_FGREP
4285 case `"$ac_path_FGREP" --version 2>&1` in
4287 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4290 $as_echo_n 0123456789 >"conftest.in"
4293 cat "conftest.in" "conftest.in" >"conftest.tmp"
4294 mv "conftest.tmp" "conftest.in"
4295 cp "conftest.in" "conftest.nl"
4296 $as_echo 'FGREP' >> "conftest.nl"
4297 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4298 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4299 as_fn_arith $ac_count + 1 && ac_count=$as_val
4300 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4301 # Best one so far, save it but keep looking for a better one
4302 ac_cv_path_FGREP="$ac_path_FGREP"
4303 ac_path_FGREP_max=$ac_count
4305 # 10*(2^10) chars as input seems more than enough
4306 test $ac_count -gt 10 && break
4308 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4311 $ac_path_FGREP_found && break 3
4316 if test -z "$ac_cv_path_FGREP"; then
4317 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4320 ac_cv_path_FGREP=$FGREP
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4326 $as_echo "$ac_cv_path_FGREP" >&6; }
4327 FGREP="$ac_cv_path_FGREP"
4330 test -z "$GREP" && GREP=grep
4350 # Check whether --with-gnu-ld was given.
4351 if test "${with_gnu_ld+set}" = set; then :
4352 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4358 if test "$GCC" = yes; then
4359 # Check if gcc -print-prog-name=ld gives a path.
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4361 $as_echo_n "checking for ld used by $CC... " >&6; }
4364 # gcc leaves a trailing carriage return which upsets mingw
4365 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4367 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4370 # Accept absolute paths.
4372 re_direlt='/[^/][^/]*/\.\./'
4373 # Canonicalize the pathname of ld
4374 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4375 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4376 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4378 test -z "$LD" && LD="$ac_prog"
4381 # If it fails, then pretend we aren't using GCC.
4385 # If it is relative, then search for the first ld in PATH.
4389 elif test "$with_gnu_ld" = yes; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4391 $as_echo_n "checking for GNU ld... " >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4394 $as_echo_n "checking for non-GNU ld... " >&6; }
4396 if ${lt_cv_path_LD+:} false; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -z "$LD"; then
4400 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4401 for ac_dir in $PATH; do
4403 test -z "$ac_dir" && ac_dir=.
4404 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4405 lt_cv_path_LD="$ac_dir/$ac_prog"
4406 # Check to see if the program is GNU ld. I'd rather use --version,
4407 # but apparently some variants of GNU ld only accept -v.
4408 # Break only if it was the GNU/non-GNU ld that we prefer.
4409 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4410 *GNU* | *'with BFD'*)
4411 test "$with_gnu_ld" != no && break
4414 test "$with_gnu_ld" != yes && break
4421 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4426 if test -n "$LD"; then
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4428 $as_echo "$LD" >&6; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431 $as_echo "no" >&6; }
4433 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4435 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4436 if ${lt_cv_prog_gnu_ld+:} false; then :
4437 $as_echo_n "(cached) " >&6
4439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4440 case `$LD -v 2>&1 </dev/null` in
4441 *GNU* | *'with BFD'*)
4442 lt_cv_prog_gnu_ld=yes
4445 lt_cv_prog_gnu_ld=no
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4450 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4451 with_gnu_ld=$lt_cv_prog_gnu_ld
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4462 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4463 if ${lt_cv_path_NM+:} false; then :
4464 $as_echo_n "(cached) " >&6
4466 if test -n "$NM"; then
4467 # Let the user override the test.
4470 lt_nm_to_check="${ac_tool_prefix}nm"
4471 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4472 lt_nm_to_check="$lt_nm_to_check nm"
4474 for lt_tmp_nm in $lt_nm_to_check; do
4475 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4476 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4478 test -z "$ac_dir" && ac_dir=.
4479 tmp_nm="$ac_dir/$lt_tmp_nm"
4480 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4481 # Check to see if the nm accepts a BSD-compat flag.
4482 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4483 # nm: unknown option "B" ignored
4484 # Tru64's nm complains that /dev/null is an invalid object file
4485 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4486 */dev/null* | *'Invalid file or object type'*)
4487 lt_cv_path_NM="$tmp_nm -B"
4491 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4493 lt_cv_path_NM="$tmp_nm -p"
4497 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4498 continue # so that we can try to find one that supports BSD flags
4507 : ${lt_cv_path_NM=no}
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4511 $as_echo "$lt_cv_path_NM" >&6; }
4512 if test "$lt_cv_path_NM" != "no"; then
4515 # Didn't find any BSD compatible name lister, look for dumpbin.
4516 if test -n "$DUMPBIN"; then :
4517 # Let the user override the test.
4519 if test -n "$ac_tool_prefix"; then
4520 for ac_prog in dumpbin "link -dump"
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_DUMPBIN+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$DUMPBIN"; then
4530 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 DUMPBIN=$ac_cv_prog_DUMPBIN
4550 if test -n "$DUMPBIN"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4552 $as_echo "$DUMPBIN" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$DUMPBIN" && break
4562 if test -z "$DUMPBIN"; then
4563 ac_ct_DUMPBIN=$DUMPBIN
4564 for ac_prog in dumpbin "link -dump"
4566 # Extract the first word of "$ac_prog", so it can be a program name with args.
4567 set dummy $ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4571 $as_echo_n "(cached) " >&6
4573 if test -n "$ac_ct_DUMPBIN"; then
4574 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4594 if test -n "$ac_ct_DUMPBIN"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4596 $as_echo "$ac_ct_DUMPBIN" >&6; }
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$ac_ct_DUMPBIN" && break
4606 if test "x$ac_ct_DUMPBIN" = x; then
4609 case $cross_compiling:$ac_tool_warned in
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned=yes ;;
4615 DUMPBIN=$ac_ct_DUMPBIN
4619 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4621 DUMPBIN="$DUMPBIN -symbols"
4629 if test "$DUMPBIN" != ":"; then
4633 test -z "$NM" && NM=nm
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4641 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4642 if ${lt_cv_nm_interface+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 lt_cv_nm_interface="BSD nm"
4646 echo "int some_variable = 0;" > conftest.$ac_ext
4647 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4648 (eval "$ac_compile" 2>conftest.err)
4649 cat conftest.err >&5
4650 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4651 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4652 cat conftest.err >&5
4653 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4654 cat conftest.out >&5
4655 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4656 lt_cv_nm_interface="MS dumpbin"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4661 $as_echo "$lt_cv_nm_interface" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4664 $as_echo_n "checking whether ln -s works... " >&6; }
4666 if test "$LN_S" = "ln -s"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4668 $as_echo "yes" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4671 $as_echo "no, using $LN_S" >&6; }
4674 # find the maximum length of command line arguments
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4676 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4677 if ${lt_cv_sys_max_cmd_len+:} false; then :
4678 $as_echo_n "(cached) " >&6
4685 # On DJGPP, this test can blow up pretty badly due to problems in libc
4686 # (any single argument exceeding 2000 bytes causes a buffer overrun
4687 # during glob expansion). Even if it were fixed, the result of this
4688 # check would be larger than it should be.
4689 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4693 # Under GNU Hurd, this test is not required because there is
4694 # no limit to the length of command line arguments.
4695 # Libtool will interpret -1 as no limit whatsoever
4696 lt_cv_sys_max_cmd_len=-1;
4699 cygwin* | mingw* | cegcc*)
4700 # On Win9x/ME, this test blows up -- it succeeds, but takes
4701 # about 5 minutes as the teststring grows exponentially.
4702 # Worse, since 9x/ME are not pre-emptively multitasking,
4703 # you end up with a "frozen" computer, even though with patience
4704 # the test eventually succeeds (with a max line length of 256k).
4705 # Instead, let's just punt: use the minimum linelength reported by
4706 # all of the supported platforms: 8192 (on NT/2K/XP).
4707 lt_cv_sys_max_cmd_len=8192;
4711 # On MiNT this can take a long time and run out of memory.
4712 lt_cv_sys_max_cmd_len=8192;
4716 # On AmigaOS with pdksh, this test takes hours, literally.
4717 # So we just punt and use a minimum line length of 8192.
4718 lt_cv_sys_max_cmd_len=8192;
4721 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4722 # This has been around since 386BSD, at least. Likely further.
4723 if test -x /sbin/sysctl; then
4724 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4725 elif test -x /usr/sbin/sysctl; then
4726 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4728 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4730 # And add a safety zone
4731 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4732 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4736 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4737 lt_cv_sys_max_cmd_len=196608
4741 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4742 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4743 # nice to cause kernel panics so lets avoid the loop below.
4744 # First set a reasonable default.
4745 lt_cv_sys_max_cmd_len=16384
4747 if test -x /sbin/sysconfig; then
4748 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4749 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4754 lt_cv_sys_max_cmd_len=102400
4756 sysv5* | sco5v6* | sysv4.2uw2*)
4757 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4758 if test -n "$kargmax"; then
4759 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4761 lt_cv_sys_max_cmd_len=32768
4765 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4766 if test -n "$lt_cv_sys_max_cmd_len"; then
4767 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4768 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4770 # Make teststring a little bigger before we do anything with it.
4771 # a 1K string should be a reasonable start.
4772 for i in 1 2 3 4 5 6 7 8 ; do
4773 teststring=$teststring$teststring
4775 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4776 # If test is not a shell built-in, we'll probably end up computing a
4777 # maximum length that is only half of the actual maximum length, but
4779 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4780 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4781 test $i != 17 # 1/2 MB should be enough
4784 teststring=$teststring$teststring
4786 # Only check the string length outside the loop.
4787 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4789 # Add a significant safety factor because C++ compilers can tack on
4790 # massive amounts of additional arguments before passing them to the
4791 # linker. It appears as though 1/2 is a usable value.
4792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4799 if test -n $lt_cv_sys_max_cmd_len ; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4801 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4804 $as_echo "none" >&6; }
4806 max_cmd_len=$lt_cv_sys_max_cmd_len
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4818 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4819 # Try some XSI features
4822 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4824 && eval 'test $(( 1 + 1 )) -eq 2 \
4825 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4828 $as_echo "$xsi_shell" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4832 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4834 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4836 && lt_shell_append=yes
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4838 $as_echo "$lt_shell_append" >&6; }
4841 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4851 # test EBCDIC or ASCII
4852 case `echo X|tr X '\101'` in
4853 A) # ASCII based system
4854 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4855 lt_SP2NL='tr \040 \012'
4856 lt_NL2SP='tr \015\012 \040\040'
4858 *) # EBCDIC based system
4859 lt_SP2NL='tr \100 \n'
4860 lt_NL2SP='tr \r\n \100\100'
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4873 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4874 if ${lt_cv_to_host_file_cmd+:} false; then :
4875 $as_echo_n "(cached) " >&6
4880 *-*-mingw* ) # actually msys
4881 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4884 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4886 * ) # otherwise, assume *nix
4887 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4893 *-*-mingw* ) # actually msys
4894 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4897 lt_cv_to_host_file_cmd=func_convert_file_noop
4899 * ) # otherwise, assume *nix
4900 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4904 * ) # unhandled hosts (and "normal" native builds)
4905 lt_cv_to_host_file_cmd=func_convert_file_noop
4911 to_host_file_cmd=$lt_cv_to_host_file_cmd
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4913 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4920 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4921 if ${lt_cv_to_tool_file_cmd+:} false; then :
4922 $as_echo_n "(cached) " >&6
4924 #assume ordinary cross tools, or native build.
4925 lt_cv_to_tool_file_cmd=func_convert_file_noop
4929 *-*-mingw* ) # actually msys
4930 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4938 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4940 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4947 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4948 if ${lt_cv_ld_reload_flag+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 lt_cv_ld_reload_flag='-r'
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4954 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4955 reload_flag=$lt_cv_ld_reload_flag
4956 case $reload_flag in
4958 *) reload_flag=" $reload_flag" ;;
4960 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4962 cygwin* | mingw* | pw32* | cegcc*)
4963 if test "$GCC" != yes; then
4968 if test "$GCC" = yes; then
4969 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4971 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4986 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_OBJDUMP+:} false; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$OBJDUMP"; then
4993 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir=.
5000 for ac_exec_ext in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 OBJDUMP=$ac_cv_prog_OBJDUMP
5013 if test -n "$OBJDUMP"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5015 $as_echo "$OBJDUMP" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_prog_OBJDUMP"; then
5024 ac_ct_OBJDUMP=$OBJDUMP
5025 # Extract the first word of "objdump", so it can be a program name with args.
5026 set dummy objdump; ac_word=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ac_ct_OBJDUMP"; then
5033 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir=.
5040 for ac_exec_ext in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5053 if test -n "$ac_ct_OBJDUMP"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5055 $as_echo "$ac_ct_OBJDUMP" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5061 if test "x$ac_ct_OBJDUMP" = x; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned=yes ;;
5070 OBJDUMP=$ac_ct_OBJDUMP
5073 OBJDUMP="$ac_cv_prog_OBJDUMP"
5076 test -z "$OBJDUMP" && OBJDUMP=objdump
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5087 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5088 if ${lt_cv_deplibs_check_method+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 lt_cv_file_magic_cmd='$MAGIC_CMD'
5092 lt_cv_file_magic_test_file=
5093 lt_cv_deplibs_check_method='unknown'
5094 # Need to set the preceding variable on all platforms that support
5095 # interlibrary dependencies.
5096 # 'none' -- dependencies not supported.
5097 # `unknown' -- same as none, but documents that we really don't know.
5098 # 'pass_all' -- all dependencies passed with no checks.
5099 # 'test_compile' -- check by making test program.
5100 # 'file_magic [[regex]]' -- check by looking for files in library path
5101 # which responds to the $file_magic_cmd with a given extended regex.
5102 # If you have `file' or equivalent on your system and you're not sure
5103 # whether `pass_all' will *always* work, you probably want this one.
5107 lt_cv_deplibs_check_method=pass_all
5111 lt_cv_deplibs_check_method=pass_all
5115 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5116 lt_cv_file_magic_cmd='/usr/bin/file -L'
5117 lt_cv_file_magic_test_file=/shlib/libc.so
5121 # func_win32_libid is a shell function defined in ltmain.sh
5122 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5123 lt_cv_file_magic_cmd='func_win32_libid'
5127 # Base MSYS/MinGW do not provide the 'file' command needed by
5128 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5129 # unless we find 'file', for example because we are cross-compiling.
5130 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5131 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5132 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5133 lt_cv_file_magic_cmd='func_win32_libid'
5135 # Keep this pattern in sync with the one in func_win32_libid.
5136 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5137 lt_cv_file_magic_cmd='$OBJDUMP -f'
5142 # use the weaker test based on 'objdump'. See mingw*.
5143 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5144 lt_cv_file_magic_cmd='$OBJDUMP -f'
5147 darwin* | rhapsody*)
5148 lt_cv_deplibs_check_method=pass_all
5151 freebsd* | dragonfly*)
5152 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5155 # Not sure whether the presence of OpenBSD here was a mistake.
5156 # Let's accept both of them until this is cleared up.
5157 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5158 lt_cv_file_magic_cmd=/usr/bin/file
5159 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5163 lt_cv_deplibs_check_method=pass_all
5168 lt_cv_deplibs_check_method=pass_all
5172 lt_cv_deplibs_check_method=pass_all
5175 hpux10.20* | hpux11*)
5176 lt_cv_file_magic_cmd=/usr/bin/file
5179 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5180 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5183 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]'
5184 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5187 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5188 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5194 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5195 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5198 irix5* | irix6* | nonstopux*)
5200 *-32|*"-32 ") libmagic=32-bit;;
5201 *-n32|*"-n32 ") libmagic=N32;;
5202 *-64|*"-64 ") libmagic=64-bit;;
5203 *) libmagic=never-match;;
5205 lt_cv_deplibs_check_method=pass_all
5208 # This must be Linux ELF.
5209 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5210 lt_cv_deplibs_check_method=pass_all
5214 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5215 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5217 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5222 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5223 lt_cv_file_magic_cmd=/usr/bin/file
5224 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5228 lt_cv_deplibs_check_method=pass_all
5232 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5233 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5235 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5239 osf3* | osf4* | osf5*)
5240 lt_cv_deplibs_check_method=pass_all
5244 lt_cv_deplibs_check_method=pass_all
5248 lt_cv_deplibs_check_method=pass_all
5251 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5252 lt_cv_deplibs_check_method=pass_all
5256 case $host_vendor in
5258 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]'
5259 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5262 lt_cv_deplibs_check_method=pass_all
5265 lt_cv_file_magic_cmd='/bin/file'
5266 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5269 lt_cv_file_magic_cmd='/bin/file'
5270 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5271 lt_cv_file_magic_test_file=/lib/libc.so
5274 lt_cv_deplibs_check_method=pass_all
5277 lt_cv_deplibs_check_method=pass_all
5283 lt_cv_deplibs_check_method=pass_all
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5289 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5293 if test "$build" = "$host"; then
5296 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5299 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5305 file_magic_cmd=$lt_cv_file_magic_cmd
5306 deplibs_check_method=$lt_cv_deplibs_check_method
5307 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5330 if test -n "$ac_tool_prefix"; then
5331 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5332 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_DLLTOOL+:} false; then :
5336 $as_echo_n "(cached) " >&6
5338 if test -n "$DLLTOOL"; then
5339 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5348 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 DLLTOOL=$ac_cv_prog_DLLTOOL
5359 if test -n "$DLLTOOL"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5361 $as_echo "$DLLTOOL" >&6; }
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5369 if test -z "$ac_cv_prog_DLLTOOL"; then
5370 ac_ct_DLLTOOL=$DLLTOOL
5371 # Extract the first word of "dlltool", so it can be a program name with args.
5372 set dummy dlltool; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5376 $as_echo_n "(cached) " >&6
5378 if test -n "$ac_ct_DLLTOOL"; then
5379 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5388 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5398 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5399 if test -n "$ac_ct_DLLTOOL"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5401 $as_echo "$ac_ct_DLLTOOL" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5407 if test "x$ac_ct_DLLTOOL" = x; then
5410 case $cross_compiling:$ac_tool_warned in
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5414 ac_tool_warned=yes ;;
5416 DLLTOOL=$ac_ct_DLLTOOL
5419 DLLTOOL="$ac_cv_prog_DLLTOOL"
5422 test -z "$DLLTOOL" && DLLTOOL=dlltool
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5434 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5435 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5436 $as_echo_n "(cached) " >&6
5438 lt_cv_sharedlib_from_linklib_cmd='unknown'
5441 cygwin* | mingw* | pw32* | cegcc*)
5442 # two different shell functions defined in ltmain.sh
5443 # decide which to use based on capabilities of $DLLTOOL
5444 case `$DLLTOOL --help 2>&1` in
5445 *--identify-strict*)
5446 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5449 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5454 # fallback: assume linklib IS sharedlib
5455 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5461 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5462 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5463 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5472 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5476 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_AR+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$AR"; then
5483 ac_cv_prog_AR="$AR" # Let the user override the test.
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 if test -n "$AR"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5505 $as_echo "$AR" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$AR" && break
5515 if test -z "$AR"; then
5519 # Extract the first word of "$ac_prog", so it can be a program name with args.
5520 set dummy $ac_prog; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$ac_ct_AR"; then
5527 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5536 ac_cv_prog_ac_ct_AR="$ac_prog"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5547 if test -n "$ac_ct_AR"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5549 $as_echo "$ac_ct_AR" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5556 test -n "$ac_ct_AR" && break
5559 if test "x$ac_ct_AR" = x; then
5562 case $cross_compiling:$ac_tool_warned in
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5566 ac_tool_warned=yes ;;
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5586 $as_echo_n "checking for archiver @FILE support... " >&6; }
5587 if ${lt_cv_ar_at_file+:} false; then :
5588 $as_echo_n "(cached) " >&6
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5602 if ac_fn_c_try_compile "$LINENO"; then :
5603 echo conftest.$ac_objext > conftest.lst
5604 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5605 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5606 (eval $lt_ar_try) 2>&5
5608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5609 test $ac_status = 0; }
5610 if test "$ac_status" -eq 0; then
5611 # Ensure the archiver fails upon bogus file names.
5612 rm -f conftest.$ac_objext libconftest.a
5613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5614 (eval $lt_ar_try) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; }
5618 if test "$ac_status" -ne 0; then
5622 rm -f conftest.* libconftest.a
5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5629 $as_echo "$lt_cv_ar_at_file" >&6; }
5631 if test "x$lt_cv_ar_at_file" = xno; then
5634 archiver_list_spec=$lt_cv_ar_at_file
5643 if test -n "$ac_tool_prefix"; then
5644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5645 set dummy ${ac_tool_prefix}strip; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_prog_STRIP+:} false; then :
5649 $as_echo_n "(cached) " >&6
5651 if test -n "$STRIP"; then
5652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir=.
5659 for ac_exec_ext in '' $ac_executable_extensions; do
5660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5661 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5671 STRIP=$ac_cv_prog_STRIP
5672 if test -n "$STRIP"; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5674 $as_echo "$STRIP" >&6; }
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5677 $as_echo "no" >&6; }
5682 if test -z "$ac_cv_prog_STRIP"; then
5684 # Extract the first word of "strip", so it can be a program name with args.
5685 set dummy strip; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$ac_ct_STRIP"; then
5692 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir=.
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701 ac_cv_prog_ac_ct_STRIP="strip"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5712 if test -n "$ac_ct_STRIP"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5714 $as_echo "$ac_ct_STRIP" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5720 if test "x$ac_ct_STRIP" = x; then
5723 case $cross_compiling:$ac_tool_warned in
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned=yes ;;
5732 STRIP="$ac_cv_prog_STRIP"
5735 test -z "$STRIP" && STRIP=:
5742 if test -n "$ac_tool_prefix"; then
5743 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5744 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if ${ac_cv_prog_RANLIB+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$RANLIB"; then
5751 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir=.
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 RANLIB=$ac_cv_prog_RANLIB
5771 if test -n "$RANLIB"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5773 $as_echo "$RANLIB" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5781 if test -z "$ac_cv_prog_RANLIB"; then
5782 ac_ct_RANLIB=$RANLIB
5783 # Extract the first word of "ranlib", so it can be a program name with args.
5784 set dummy ranlib; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$ac_ct_RANLIB"; then
5791 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_RANLIB="ranlib"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5811 if test -n "$ac_ct_RANLIB"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5813 $as_echo "$ac_ct_RANLIB" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5819 if test "x$ac_ct_RANLIB" = x; then
5822 case $cross_compiling:$ac_tool_warned in
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5826 ac_tool_warned=yes ;;
5828 RANLIB=$ac_ct_RANLIB
5831 RANLIB="$ac_cv_prog_RANLIB"
5834 test -z "$RANLIB" && RANLIB=:
5841 # Determine commands to create old-style static archives.
5842 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5843 old_postinstall_cmds='chmod 644 $oldlib'
5844 old_postuninstall_cmds=
5846 if test -n "$RANLIB"; then
5849 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5852 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5855 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5860 lock_old_archive_extraction=yes ;;
5862 lock_old_archive_extraction=no ;;
5903 # If no C compiler was specified, use CC.
5906 # If no C compiler flags were specified, use CFLAGS.
5907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5909 # Allow CC to be a program name with arguments.
5913 # Check for command to grab the raw symbol name followed by C symbol from nm.
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5915 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5916 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5917 $as_echo_n "(cached) " >&6
5920 # These are sane defaults that work on at least a few old systems.
5921 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5923 # Character class describing NM global symbol codes.
5924 symcode='[BCDEGRST]'
5926 # Regexp to match symbols that can be accessed directly from C.
5927 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5929 # Define system-specific variables.
5934 cygwin* | mingw* | pw32* | cegcc*)
5935 symcode='[ABCDGISTW]'
5938 if test "$host_cpu" = ia64; then
5939 symcode='[ABCDEGRST]'
5943 symcode='[BCDEGRST]'
5946 symcode='[BCDEGQRST]'
5957 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5965 # If we're using GNU nm, then use its standard symbol codes.
5966 case `$NM -V 2>&1` in
5967 *GNU* | *'with BFD'*)
5968 symcode='[ABCDGIRSTW]' ;;
5971 # Transform an extracted symbol line into a proper C declaration.
5972 # Some systems (esp. on ia64) link data and code symbols differently,
5973 # so use this general approach.
5974 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5976 # Transform an extracted symbol line into symbol name and symbol address
5977 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5978 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'"
5980 # Handle CRLF in mingw tool chain
5984 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5988 # Try without a prefix underscore, then with it.
5989 for ac_symprfx in "" "_"; do
5991 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5992 symxfrm="\\1 $ac_symprfx\\2 \\2"
5994 # Write the raw and C identifiers.
5995 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5996 # Fake it for dumpbin and say T for any non-static function
5997 # and D for any global variable.
5998 # Also find C++ and __fastcall symbols from MSVC++,
5999 # which start with @ or ?.
6000 lt_cv_sys_global_symbol_pipe="$AWK '"\
6001 " {last_section=section; section=\$ 3};"\
6002 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6003 " \$ 0!~/External *\|/{next};"\
6004 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6005 " {if(hide[section]) next};"\
6006 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6007 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6008 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6009 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6010 " ' prfx=^$ac_symprfx"
6012 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6014 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6016 # Check to see that the pipe works correctly.
6020 cat > conftest.$ac_ext <<_LT_EOF
6025 void nm_test_func(void);
6026 void nm_test_func(void){}
6030 int main(){nm_test_var='a';nm_test_func();return(0);}
6033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6034 (eval $ac_compile) 2>&5
6036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6037 test $ac_status = 0; }; then
6038 # Now try to grab the symbols.
6040 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6041 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6044 test $ac_status = 0; } && test -s "$nlist"; then
6045 # Try sorting and uniquifying the output.
6046 if sort "$nlist" | uniq > "$nlist"T; then
6047 mv -f "$nlist"T "$nlist"
6052 # Make sure that we snagged all the symbols we need.
6053 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6054 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6055 cat <<_LT_EOF > conftest.$ac_ext
6056 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6057 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6058 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6059 relocations are performed -- see ld's documentation on pseudo-relocs. */
6060 # define LT_DLSYM_CONST
6061 #elif defined(__osf__)
6062 /* This system does not cope well with relocations in const data. */
6063 # define LT_DLSYM_CONST
6065 # define LT_DLSYM_CONST const
6073 # Now generate the symbol file.
6074 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6076 cat <<_LT_EOF >> conftest.$ac_ext
6078 /* The mapping between symbol names and symbols. */
6079 LT_DLSYM_CONST struct {
6083 lt__PROGRAM__LTX_preloaded_symbols[] =
6085 { "@PROGRAM@", (void *) 0 },
6087 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6088 cat <<\_LT_EOF >> conftest.$ac_ext
6092 /* This works around a problem in FreeBSD linker */
6093 #ifdef FREEBSD_WORKAROUND
6094 static const void *lt_preloaded_setup() {
6095 return lt__PROGRAM__LTX_preloaded_symbols;
6103 # Now try linking the two files.
6104 mv conftest.$ac_objext conftstm.$ac_objext
6105 lt_globsym_save_LIBS=$LIBS
6106 lt_globsym_save_CFLAGS=$CFLAGS
6107 LIBS="conftstm.$ac_objext"
6108 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6110 (eval $ac_link) 2>&5
6112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6113 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6116 LIBS=$lt_globsym_save_LIBS
6117 CFLAGS=$lt_globsym_save_CFLAGS
6119 echo "cannot find nm_test_func in $nlist" >&5
6122 echo "cannot find nm_test_var in $nlist" >&5
6125 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6128 echo "$progname: failed program was:" >&5
6129 cat conftest.$ac_ext >&5
6131 rm -rf conftest* conftst*
6133 # Do not use the global_symbol_pipe unless it works.
6134 if test "$pipe_works" = yes; then
6137 lt_cv_sys_global_symbol_pipe=
6143 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6144 lt_cv_sys_global_symbol_to_cdecl=
6146 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6148 $as_echo "failed" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6151 $as_echo "ok" >&6; }
6154 # Response file support.
6155 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6156 nm_file_list_spec='@'
6157 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6158 nm_file_list_spec='@'
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6188 $as_echo_n "checking for sysroot... " >&6; }
6190 # Check whether --with-sysroot was given.
6191 if test "${with_sysroot+set}" = set; then :
6192 withval=$with_sysroot;
6199 case ${with_sysroot} in #(
6201 if test "$GCC" = yes; then
6202 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6206 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6212 $as_echo "${with_sysroot}" >&6; }
6213 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6218 $as_echo "${lt_sysroot:-no}" >&6; }
6224 # Check whether --enable-libtool-lock was given.
6225 if test "${enable_libtool_lock+set}" = set; then :
6226 enableval=$enable_libtool_lock;
6229 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6231 # Some flags need to be propagated to the compiler or linker for good
6235 # Find out which ABI we are using.
6236 echo 'int i;' > conftest.$ac_ext
6237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6238 (eval $ac_compile) 2>&5
6240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6241 test $ac_status = 0; }; then
6242 case `/usr/bin/file conftest.$ac_objext` in
6254 # Find out which ABI we are using.
6255 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6257 (eval $ac_compile) 2>&5
6259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6260 test $ac_status = 0; }; then
6261 if test "$lt_cv_prog_gnu_ld" = yes; then
6262 case `/usr/bin/file conftest.$ac_objext` in
6264 LD="${LD-ld} -melf32bsmip"
6267 LD="${LD-ld} -melf32bmipn32"
6270 LD="${LD-ld} -melf64bmip"
6274 case `/usr/bin/file conftest.$ac_objext` in
6290 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6291 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6292 # Find out which ABI we are using.
6293 echo 'int i;' > conftest.$ac_ext
6294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6295 (eval $ac_compile) 2>&5
6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6298 test $ac_status = 0; }; then
6299 case `/usr/bin/file conftest.o` in
6302 x86_64-*kfreebsd*-gnu)
6303 LD="${LD-ld} -m elf_i386_fbsd"
6306 LD="${LD-ld} -m elf_i386"
6308 ppc64-*linux*|powerpc64-*linux*)
6309 LD="${LD-ld} -m elf32ppclinux"
6312 LD="${LD-ld} -m elf_s390"
6315 LD="${LD-ld} -m elf32_sparc"
6321 x86_64-*kfreebsd*-gnu)
6322 LD="${LD-ld} -m elf_x86_64_fbsd"
6325 LD="${LD-ld} -m elf_x86_64"
6327 ppc*-*linux*|powerpc*-*linux*)
6328 LD="${LD-ld} -m elf64ppc"
6330 s390*-*linux*|s390*-*tpf*)
6331 LD="${LD-ld} -m elf64_s390"
6334 LD="${LD-ld} -m elf64_sparc"
6344 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6345 SAVE_CFLAGS="$CFLAGS"
6346 CFLAGS="$CFLAGS -belf"
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6348 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6349 if ${lt_cv_cc_needs_belf+:} false; then :
6350 $as_echo_n "(cached) " >&6
6353 ac_cpp='$CPP $CPPFLAGS'
6354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6369 if ac_fn_c_try_link "$LINENO"; then :
6370 lt_cv_cc_needs_belf=yes
6372 lt_cv_cc_needs_belf=no
6374 rm -f core conftest.err conftest.$ac_objext \
6375 conftest$ac_exeext conftest.$ac_ext
6377 ac_cpp='$CPP $CPPFLAGS'
6378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6384 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6385 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6386 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6387 CFLAGS="$SAVE_CFLAGS"
6391 # Find out which ABI we are using.
6392 echo 'int i;' > conftest.$ac_ext
6393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6394 (eval $ac_compile) 2>&5
6396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6397 test $ac_status = 0; }; then
6398 case `/usr/bin/file conftest.o` in
6400 case $lt_cv_prog_gnu_ld in
6401 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6403 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6415 need_locks="$enable_libtool_lock"
6417 if test -n "$ac_tool_prefix"; then
6418 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6419 set dummy ${ac_tool_prefix}mt; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6423 $as_echo_n "(cached) " >&6
6425 if test -n "$MANIFEST_TOOL"; then
6426 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6446 if test -n "$MANIFEST_TOOL"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6448 $as_echo "$MANIFEST_TOOL" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6456 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6457 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6458 # Extract the first word of "mt", so it can be a program name with args.
6459 set dummy mt; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6463 $as_echo_n "(cached) " >&6
6465 if test -n "$ac_ct_MANIFEST_TOOL"; then
6466 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 test -z "$as_dir" && as_dir=.
6473 for ac_exec_ext in '' $ac_executable_extensions; do
6474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6486 if test -n "$ac_ct_MANIFEST_TOOL"; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6488 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6494 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6497 case $cross_compiling:$ac_tool_warned in
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6501 ac_tool_warned=yes ;;
6503 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6506 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6509 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6511 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6512 if ${lt_cv_path_mainfest_tool+:} false; then :
6513 $as_echo_n "(cached) " >&6
6515 lt_cv_path_mainfest_tool=no
6516 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6517 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6518 cat conftest.err >&5
6519 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6520 lt_cv_path_mainfest_tool=yes
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6525 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6526 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6536 rhapsody* | darwin*)
6537 if test -n "$ac_tool_prefix"; then
6538 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6539 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6543 $as_echo_n "(cached) " >&6
6545 if test -n "$DSYMUTIL"; then
6546 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6566 if test -n "$DSYMUTIL"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6568 $as_echo "$DSYMUTIL" >&6; }
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6576 if test -z "$ac_cv_prog_DSYMUTIL"; then
6577 ac_ct_DSYMUTIL=$DSYMUTIL
6578 # Extract the first word of "dsymutil", so it can be a program name with args.
6579 set dummy dsymutil; ac_word=$2
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6581 $as_echo_n "checking for $ac_word... " >&6; }
6582 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6583 $as_echo_n "(cached) " >&6
6585 if test -n "$ac_ct_DSYMUTIL"; then
6586 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 test -z "$as_dir" && as_dir=.
6593 for ac_exec_ext in '' $ac_executable_extensions; do
6594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6595 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6606 if test -n "$ac_ct_DSYMUTIL"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6608 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6614 if test "x$ac_ct_DSYMUTIL" = x; then
6617 case $cross_compiling:$ac_tool_warned in
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6621 ac_tool_warned=yes ;;
6623 DSYMUTIL=$ac_ct_DSYMUTIL
6626 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6629 if test -n "$ac_tool_prefix"; then
6630 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if ${ac_cv_prog_NMEDIT+:} false; then :
6635 $as_echo_n "(cached) " >&6
6637 if test -n "$NMEDIT"; then
6638 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 NMEDIT=$ac_cv_prog_NMEDIT
6658 if test -n "$NMEDIT"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6660 $as_echo "$NMEDIT" >&6; }
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6668 if test -z "$ac_cv_prog_NMEDIT"; then
6669 ac_ct_NMEDIT=$NMEDIT
6670 # Extract the first word of "nmedit", so it can be a program name with args.
6671 set dummy nmedit; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6675 $as_echo_n "(cached) " >&6
6677 if test -n "$ac_ct_NMEDIT"; then
6678 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6698 if test -n "$ac_ct_NMEDIT"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6700 $as_echo "$ac_ct_NMEDIT" >&6; }
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6706 if test "x$ac_ct_NMEDIT" = x; then
6709 case $cross_compiling:$ac_tool_warned in
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned=yes ;;
6715 NMEDIT=$ac_ct_NMEDIT
6718 NMEDIT="$ac_cv_prog_NMEDIT"
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6723 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_LIPO+:} false; then :
6727 $as_echo_n "(cached) " >&6
6729 if test -n "$LIPO"; then
6730 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 LIPO=$ac_cv_prog_LIPO
6750 if test -n "$LIPO"; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6752 $as_echo "$LIPO" >&6; }
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6760 if test -z "$ac_cv_prog_LIPO"; then
6762 # Extract the first word of "lipo", so it can be a program name with args.
6763 set dummy lipo; ac_word=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6767 $as_echo_n "(cached) " >&6
6769 if test -n "$ac_ct_LIPO"; then
6770 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779 ac_cv_prog_ac_ct_LIPO="lipo"
6780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6790 if test -n "$ac_ct_LIPO"; then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6792 $as_echo "$ac_ct_LIPO" >&6; }
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 $as_echo "no" >&6; }
6798 if test "x$ac_ct_LIPO" = x; then
6801 case $cross_compiling:$ac_tool_warned in
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805 ac_tool_warned=yes ;;
6810 LIPO="$ac_cv_prog_LIPO"
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6815 set dummy ${ac_tool_prefix}otool; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_OTOOL+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$OTOOL"; then
6822 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 OTOOL=$ac_cv_prog_OTOOL
6842 if test -n "$OTOOL"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6844 $as_echo "$OTOOL" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6852 if test -z "$ac_cv_prog_OTOOL"; then
6854 # Extract the first word of "otool", so it can be a program name with args.
6855 set dummy otool; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6859 $as_echo_n "(cached) " >&6
6861 if test -n "$ac_ct_OTOOL"; then
6862 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6871 ac_cv_prog_ac_ct_OTOOL="otool"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6882 if test -n "$ac_ct_OTOOL"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6884 $as_echo "$ac_ct_OTOOL" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6890 if test "x$ac_ct_OTOOL" = x; then
6893 case $cross_compiling:$ac_tool_warned in
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897 ac_tool_warned=yes ;;
6902 OTOOL="$ac_cv_prog_OTOOL"
6905 if test -n "$ac_tool_prefix"; then
6906 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6907 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_OTOOL64+:} false; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$OTOOL64"; then
6914 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 OTOOL64=$ac_cv_prog_OTOOL64
6934 if test -n "$OTOOL64"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6936 $as_echo "$OTOOL64" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6944 if test -z "$ac_cv_prog_OTOOL64"; then
6945 ac_ct_OTOOL64=$OTOOL64
6946 # Extract the first word of "otool64", so it can be a program name with args.
6947 set dummy otool64; ac_word=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6951 $as_echo_n "(cached) " >&6
6953 if test -n "$ac_ct_OTOOL64"; then
6954 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963 ac_cv_prog_ac_ct_OTOOL64="otool64"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6974 if test -n "$ac_ct_OTOOL64"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6976 $as_echo "$ac_ct_OTOOL64" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6982 if test "x$ac_ct_OTOOL64" = x; then
6985 case $cross_compiling:$ac_tool_warned in
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 ac_tool_warned=yes ;;
6991 OTOOL64=$ac_ct_OTOOL64
6994 OTOOL64="$ac_cv_prog_OTOOL64"
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7024 $as_echo_n "checking for -single_module linker flag... " >&6; }
7025 if ${lt_cv_apple_cc_single_mod+:} false; then :
7026 $as_echo_n "(cached) " >&6
7028 lt_cv_apple_cc_single_mod=no
7029 if test -z "${LT_MULTI_MODULE}"; then
7030 # By default we will add the -single_module flag. You can override
7031 # by either setting the environment variable LT_MULTI_MODULE
7032 # non-empty at configure time, or by adding -multi_module to the
7034 rm -rf libconftest.dylib*
7035 echo "int foo(void){return 1;}" > conftest.c
7036 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7037 -dynamiclib -Wl,-single_module conftest.c" >&5
7038 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7039 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7041 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7042 lt_cv_apple_cc_single_mod=yes
7044 cat conftest.err >&5
7046 rm -rf libconftest.dylib*
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7051 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7053 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7054 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7055 $as_echo_n "(cached) " >&6
7057 lt_cv_ld_exported_symbols_list=no
7058 save_LDFLAGS=$LDFLAGS
7059 echo "_main" > conftest.sym
7060 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7072 if ac_fn_c_try_link "$LINENO"; then :
7073 lt_cv_ld_exported_symbols_list=yes
7075 lt_cv_ld_exported_symbols_list=no
7077 rm -f core conftest.err conftest.$ac_objext \
7078 conftest$ac_exeext conftest.$ac_ext
7079 LDFLAGS="$save_LDFLAGS"
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7083 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7085 $as_echo_n "checking for -force_load linker flag... " >&6; }
7086 if ${lt_cv_ld_force_load+:} false; then :
7087 $as_echo_n "(cached) " >&6
7089 lt_cv_ld_force_load=no
7090 cat > conftest.c << _LT_EOF
7091 int forced_loaded() { return 2;}
7093 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7094 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7095 echo "$AR cru libconftest.a conftest.o" >&5
7096 $AR cru libconftest.a conftest.o 2>&5
7097 echo "$RANLIB libconftest.a" >&5
7098 $RANLIB libconftest.a 2>&5
7099 cat > conftest.c << _LT_EOF
7100 int main() { return 0;}
7102 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7103 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7105 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7106 lt_cv_ld_force_load=yes
7108 cat conftest.err >&5
7110 rm -f conftest.err libconftest.a conftest conftest.c
7111 rm -rf conftest.dSYM
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7115 $as_echo "$lt_cv_ld_force_load" >&6; }
7117 rhapsody* | darwin1.[012])
7118 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7120 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7121 darwin*) # darwin 5.x on
7122 # if running on 10.5 or later, the deployment target defaults
7123 # to the OS version, if on x86, and 10.4, the deployment
7124 # target defaults to 10.4. Don't you love it?
7125 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7126 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7127 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7129 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7131 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7135 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7136 _lt_dar_single_mod='$single_module'
7138 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7139 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7141 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7143 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7144 _lt_dsymutil='~$DSYMUTIL $lib || :'
7152 ac_cpp='$CPP $CPPFLAGS'
7153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7157 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7158 # On Suns, sometimes $CPP names a directory.
7159 if test -n "$CPP" && test -d "$CPP"; then
7162 if test -z "$CPP"; then
7163 if ${ac_cv_prog_CPP+:} false; then :
7164 $as_echo_n "(cached) " >&6
7166 # Double quotes because CPP needs to be expanded
7167 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7170 for ac_c_preproc_warn_flag in '' yes
7172 # Use a header file that comes with gcc, so configuring glibc
7173 # with a fresh cross-compiler works.
7174 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7175 # <limits.h> exists even on freestanding compilers.
7176 # On the NeXT, cc -E runs the code through the compiler's parser,
7177 # not just through cpp. "Syntax error" is here to catch this case.
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7181 # include <limits.h>
7183 # include <assert.h>
7187 if ac_fn_c_try_cpp "$LINENO"; then :
7190 # Broken: fails on valid input.
7193 rm -f conftest.err conftest.i conftest.$ac_ext
7195 # OK, works on sane cases. Now check whether nonexistent headers
7196 # can be detected and how.
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7199 #include <ac_nonexistent.h>
7201 if ac_fn_c_try_cpp "$LINENO"; then :
7202 # Broken: success on invalid input.
7205 # Passes both tests.
7209 rm -f conftest.err conftest.i conftest.$ac_ext
7212 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7213 rm -f conftest.i conftest.err conftest.$ac_ext
7214 if $ac_preproc_ok; then :
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7227 $as_echo "$CPP" >&6; }
7229 for ac_c_preproc_warn_flag in '' yes
7231 # Use a header file that comes with gcc, so configuring glibc
7232 # with a fresh cross-compiler works.
7233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7234 # <limits.h> exists even on freestanding compilers.
7235 # On the NeXT, cc -E runs the code through the compiler's parser,
7236 # not just through cpp. "Syntax error" is here to catch this case.
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7240 # include <limits.h>
7242 # include <assert.h>
7246 if ac_fn_c_try_cpp "$LINENO"; then :
7249 # Broken: fails on valid input.
7252 rm -f conftest.err conftest.i conftest.$ac_ext
7254 # OK, works on sane cases. Now check whether nonexistent headers
7255 # can be detected and how.
7256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7258 #include <ac_nonexistent.h>
7260 if ac_fn_c_try_cpp "$LINENO"; then :
7261 # Broken: success on invalid input.
7264 # Passes both tests.
7268 rm -f conftest.err conftest.i conftest.$ac_ext
7271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7272 rm -f conftest.i conftest.err conftest.$ac_ext
7273 if $ac_preproc_ok; then :
7276 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7278 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7279 See \`config.log' for more details" "$LINENO" 5; }
7283 ac_cpp='$CPP $CPPFLAGS'
7284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7290 $as_echo_n "checking for ANSI C header files... " >&6; }
7291 if ${ac_cv_header_stdc+:} false; then :
7292 $as_echo_n "(cached) " >&6
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h. */
7309 if ac_fn_c_try_compile "$LINENO"; then :
7310 ac_cv_header_stdc=yes
7312 ac_cv_header_stdc=no
7314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7316 if test $ac_cv_header_stdc = yes; then
7317 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7324 $EGREP "memchr" >/dev/null 2>&1; then :
7327 ac_cv_header_stdc=no
7333 if test $ac_cv_header_stdc = yes; then
7334 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7341 $EGREP "free" >/dev/null 2>&1; then :
7344 ac_cv_header_stdc=no
7350 if test $ac_cv_header_stdc = yes; then
7351 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7352 if test "$cross_compiling" = yes; then :
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7359 #if ((' ' & 0x0FF) == 0x020)
7360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7363 # define ISLOWER(c) \
7364 (('a' <= (c) && (c) <= 'i') \
7365 || ('j' <= (c) && (c) <= 'r') \
7366 || ('s' <= (c) && (c) <= 'z'))
7367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7375 for (i = 0; i < 256; i++)
7376 if (XOR (islower (i), ISLOWER (i))
7377 || toupper (i) != TOUPPER (i))
7382 if ac_fn_c_try_run "$LINENO"; then :
7385 ac_cv_header_stdc=no
7387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7388 conftest.$ac_objext conftest.beam conftest.$ac_ext
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7394 $as_echo "$ac_cv_header_stdc" >&6; }
7395 if test $ac_cv_header_stdc = yes; then
7397 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7402 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7403 inttypes.h stdint.h unistd.h
7405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7408 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7409 cat >>confdefs.h <<_ACEOF
7410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7418 for ac_header in dlfcn.h
7420 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7422 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7423 cat >>confdefs.h <<_ACEOF
7424 #define HAVE_DLFCN_H 1
7445 # Check whether --enable-shared was given.
7446 if test "${enable_shared+set}" = set; then :
7447 enableval=$enable_shared; p=${PACKAGE-default}
7449 yes) enable_shared=yes ;;
7450 no) enable_shared=no ;;
7453 # Look at the argument we got. We use all the common list separators.
7454 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7455 for pkg in $enableval; do
7457 if test "X$pkg" = "X$p"; then
7476 # Check whether --enable-static was given.
7477 if test "${enable_static+set}" = set; then :
7478 enableval=$enable_static; p=${PACKAGE-default}
7480 yes) enable_static=yes ;;
7481 no) enable_static=no ;;
7484 # Look at the argument we got. We use all the common list separators.
7485 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7486 for pkg in $enableval; do
7488 if test "X$pkg" = "X$p"; then
7508 # Check whether --with-pic was given.
7509 if test "${with_pic+set}" = set; then :
7510 withval=$with_pic; pic_mode="$withval"
7516 test -z "$pic_mode" && pic_mode=default
7524 # Check whether --enable-fast-install was given.
7525 if test "${enable_fast_install+set}" = set; then :
7526 enableval=$enable_fast_install; p=${PACKAGE-default}
7528 yes) enable_fast_install=yes ;;
7529 no) enable_fast_install=no ;;
7531 enable_fast_install=no
7532 # Look at the argument we got. We use all the common list separators.
7533 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7534 for pkg in $enableval; do
7536 if test "X$pkg" = "X$p"; then
7537 enable_fast_install=yes
7544 enable_fast_install=yes
7557 # This can be used to rebuild libtool when needed
7558 LIBTOOL_DEPS="$ltmain"
7560 # Always use our own libtool.
7561 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7588 test -z "$LN_S" && LN_S="ln -s"
7603 if test -n "${ZSH_VERSION+set}" ; then
7604 setopt NO_GLOB_SUBST
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7608 $as_echo_n "checking for objdir... " >&6; }
7609 if ${lt_cv_objdir+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 rm -f .libs 2>/dev/null
7613 mkdir .libs 2>/dev/null
7614 if test -d .libs; then
7617 # MS-DOS does not allow filenames that begin with a dot.
7620 rmdir .libs 2>/dev/null
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7623 $as_echo "$lt_cv_objdir" >&6; }
7624 objdir=$lt_cv_objdir
7630 cat >>confdefs.h <<_ACEOF
7631 #define LT_OBJDIR "$lt_cv_objdir/"
7639 # AIX sometimes has problems with the GCC collect2 program. For some
7640 # reason, if we set the COLLECT_NAMES environment variable, the problems
7641 # vanish in a puff of smoke.
7642 if test "X${COLLECT_NAMES+set}" != Xset; then
7644 export COLLECT_NAMES
7651 can_build_shared=yes
7653 # All known linkers require a `.a' archive for static linking (except MSVC,
7654 # which needs '.lib').
7657 with_gnu_ld="$lt_cv_prog_gnu_ld"
7660 old_CFLAGS="$CFLAGS"
7662 # Set sane defaults for various variables
7663 test -z "$CC" && CC=cc
7664 test -z "$LTCC" && LTCC=$CC
7665 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7666 test -z "$LD" && LD=ld
7667 test -z "$ac_objext" && ac_objext=o
7669 for cc_temp in $compiler""; do
7671 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7672 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7677 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7680 # Only perform the check for file, if the check method requires it
7681 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7682 case $deplibs_check_method in
7684 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7686 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7687 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7688 $as_echo_n "(cached) " >&6
7692 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7695 lt_save_MAGIC_CMD="$MAGIC_CMD"
7696 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7697 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7698 for ac_dir in $ac_dummy; do
7700 test -z "$ac_dir" && ac_dir=.
7701 if test -f $ac_dir/${ac_tool_prefix}file; then
7702 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7703 if test -n "$file_magic_test_file"; then
7704 case $deplibs_check_method in
7706 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7707 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7708 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7709 $EGREP "$file_magic_regex" > /dev/null; then
7714 *** Warning: the command libtool uses to detect shared libraries,
7715 *** $file_magic_cmd, produces output that libtool cannot recognize.
7716 *** The result is that libtool may fail to recognize shared libraries
7717 *** as such. This will affect the creation of libtool libraries that
7718 *** depend on shared libraries, but programs linked with such libtool
7719 *** libraries will work regardless of this problem. Nevertheless, you
7720 *** may want to report the problem to your system manager and/or to
7721 *** bug-libtool@gnu.org
7731 MAGIC_CMD="$lt_save_MAGIC_CMD"
7736 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7737 if test -n "$MAGIC_CMD"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7739 $as_echo "$MAGIC_CMD" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7749 if test -z "$lt_cv_path_MAGIC_CMD"; then
7750 if test -n "$ac_tool_prefix"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7752 $as_echo_n "checking for file... " >&6; }
7753 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7754 $as_echo_n "(cached) " >&6
7758 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7761 lt_save_MAGIC_CMD="$MAGIC_CMD"
7762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7763 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7764 for ac_dir in $ac_dummy; do
7766 test -z "$ac_dir" && ac_dir=.
7767 if test -f $ac_dir/file; then
7768 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7769 if test -n "$file_magic_test_file"; then
7770 case $deplibs_check_method in
7772 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7773 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7774 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7775 $EGREP "$file_magic_regex" > /dev/null; then
7780 *** Warning: the command libtool uses to detect shared libraries,
7781 *** $file_magic_cmd, produces output that libtool cannot recognize.
7782 *** The result is that libtool may fail to recognize shared libraries
7783 *** as such. This will affect the creation of libtool libraries that
7784 *** depend on shared libraries, but programs linked with such libtool
7785 *** libraries will work regardless of this problem. Nevertheless, you
7786 *** may want to report the problem to your system manager and/or to
7787 *** bug-libtool@gnu.org
7797 MAGIC_CMD="$lt_save_MAGIC_CMD"
7802 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7803 if test -n "$MAGIC_CMD"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7805 $as_echo "$MAGIC_CMD" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808 $as_echo "no" >&6; }
7821 # Use C for the default configuration in the libtool script
7825 ac_cpp='$CPP $CPPFLAGS'
7826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7831 # Source file extension for C test sources.
7834 # Object file extension for compiled C test sources.
7838 # Code to be used in simple compile tests
7839 lt_simple_compile_test_code="int some_variable = 0;"
7841 # Code to be used in simple link tests
7842 lt_simple_link_test_code='int main(){return(0);}'
7850 # If no C compiler was specified, use CC.
7853 # If no C compiler flags were specified, use CFLAGS.
7854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7856 # Allow CC to be a program name with arguments.
7859 # Save the default compiler, since it gets overwritten when the other
7860 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7861 compiler_DEFAULT=$CC
7863 # save warnings/boilerplate of simple test code
7864 ac_outfile=conftest.$ac_objext
7865 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7866 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7867 _lt_compiler_boilerplate=`cat conftest.err`
7870 ac_outfile=conftest.$ac_objext
7871 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7872 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7873 _lt_linker_boilerplate=`cat conftest.err`
7877 if test -n "$compiler"; then
7879 lt_prog_compiler_no_builtin_flag=
7881 if test "$GCC" = yes; then
7882 case $cc_basename in
7884 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7886 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7890 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7891 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7892 $as_echo_n "(cached) " >&6
7894 lt_cv_prog_compiler_rtti_exceptions=no
7895 ac_outfile=conftest.$ac_objext
7896 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7897 lt_compiler_flag="-fno-rtti -fno-exceptions"
7898 # Insert the option either (1) after the last *FLAGS variable, or
7899 # (2) before a word containing "conftest.", or (3) at the end.
7900 # Note that $ac_compile itself does not contain backslashes and begins
7901 # with a dollar sign (not a hyphen), so the echo should work correctly.
7902 # The option is referenced via a variable to avoid confusing sed.
7903 lt_compile=`echo "$ac_compile" | $SED \
7904 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7905 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7906 -e 's:$: $lt_compiler_flag:'`
7907 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7908 (eval "$lt_compile" 2>conftest.err)
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 if (exit $ac_status) && test -s "$ac_outfile"; then
7913 # The compiler can only warn and ignore the option if not recognized
7914 # So say no if there are warnings other than the usual output.
7915 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7916 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7917 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7918 lt_cv_prog_compiler_rtti_exceptions=yes
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7925 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7927 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7928 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7940 lt_prog_compiler_wl=
7941 lt_prog_compiler_pic=
7942 lt_prog_compiler_static=
7945 if test "$GCC" = yes; then
7946 lt_prog_compiler_wl='-Wl,'
7947 lt_prog_compiler_static='-static'
7951 # All AIX code is PIC.
7952 if test "$host_cpu" = ia64; then
7953 # AIX 5 now supports IA64 processor
7954 lt_prog_compiler_static='-Bstatic'
7961 # see comment about AmigaOS4 .so support
7962 lt_prog_compiler_pic='-fPIC'
7965 # FIXME: we need at least 68020 code to build shared libraries, but
7966 # adding the `-m68020' flag to GCC prevents building anything better,
7968 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7973 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7974 # PIC is the default for these OSes.
7977 mingw* | cygwin* | pw32* | os2* | cegcc*)
7978 # This hack is so that the source file can tell whether it is being
7979 # built for inclusion in a dll (and should export symbols for example).
7980 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7981 # (--disable-auto-import) libraries
7982 lt_prog_compiler_pic='-DDLL_EXPORT'
7985 darwin* | rhapsody*)
7986 # PIC is the default on this platform
7987 # Common symbols not allowed in MH_DYLIB files
7988 lt_prog_compiler_pic='-fno-common'
7992 # PIC is the default for Haiku.
7993 # The "-static" flag exists, but is broken.
7994 lt_prog_compiler_static=
7998 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7999 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8000 # sets the default TLS model and affects inlining.
8006 lt_prog_compiler_pic='-fPIC'
8012 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8013 # Instead, we relocate shared libraries at runtime.
8017 # Just because we use GCC doesn't mean we suddenly get shared libraries
8018 # on systems that don't support them.
8019 lt_prog_compiler_can_build_shared=no
8024 # QNX uses GNU C++, but need to define -shared option too, otherwise
8026 lt_prog_compiler_pic='-fPIC -shared'
8030 if test -d /usr/nec; then
8031 lt_prog_compiler_pic=-Kconform_pic
8036 lt_prog_compiler_pic='-fPIC'
8040 case $cc_basename in
8041 nvcc*) # Cuda Compiler Driver 2.2
8042 lt_prog_compiler_wl='-Xlinker '
8043 lt_prog_compiler_pic='-Xcompiler -fPIC'
8047 # PORTME Check for flag to pass linker flags through the system compiler.
8050 lt_prog_compiler_wl='-Wl,'
8051 if test "$host_cpu" = ia64; then
8052 # AIX 5 now supports IA64 processor
8053 lt_prog_compiler_static='-Bstatic'
8055 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8059 mingw* | cygwin* | pw32* | os2* | cegcc*)
8060 # This hack is so that the source file can tell whether it is being
8061 # built for inclusion in a dll (and should export symbols for example).
8062 lt_prog_compiler_pic='-DDLL_EXPORT'
8065 hpux9* | hpux10* | hpux11*)
8066 lt_prog_compiler_wl='-Wl,'
8067 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8074 lt_prog_compiler_pic='+Z'
8077 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8078 lt_prog_compiler_static='${wl}-a ${wl}archive'
8081 irix5* | irix6* | nonstopux*)
8082 lt_prog_compiler_wl='-Wl,'
8083 # PIC (with -KPIC) is the default.
8084 lt_prog_compiler_static='-non_shared'
8087 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8088 case $cc_basename in
8089 # old Intel for x86_64 which still supported -KPIC.
8091 lt_prog_compiler_wl='-Wl,'
8092 lt_prog_compiler_pic='-KPIC'
8093 lt_prog_compiler_static='-static'
8095 # icc used to be incompatible with GCC.
8096 # ICC 10 doesn't accept -KPIC any more.
8098 lt_prog_compiler_wl='-Wl,'
8099 lt_prog_compiler_pic='-fPIC'
8100 lt_prog_compiler_static='-static'
8102 # Lahey Fortran 8.1.
8104 lt_prog_compiler_wl='-Wl,'
8105 lt_prog_compiler_pic='--shared'
8106 lt_prog_compiler_static='--static'
8109 # NAG Fortran compiler
8110 lt_prog_compiler_wl='-Wl,-Wl,,'
8111 lt_prog_compiler_pic='-PIC'
8112 lt_prog_compiler_static='-Bstatic'
8114 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8115 # Portland Group compilers (*not* the Pentium gcc compiler,
8116 # which looks to be a dead project)
8117 lt_prog_compiler_wl='-Wl,'
8118 lt_prog_compiler_pic='-fpic'
8119 lt_prog_compiler_static='-Bstatic'
8122 lt_prog_compiler_wl='-Wl,'
8123 # All Alpha code is PIC.
8124 lt_prog_compiler_static='-non_shared'
8126 xl* | bgxl* | bgf* | mpixl*)
8127 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8128 lt_prog_compiler_wl='-Wl,'
8129 lt_prog_compiler_pic='-qpic'
8130 lt_prog_compiler_static='-qstaticlink'
8133 case `$CC -V 2>&1 | sed 5q` in
8134 *Sun\ F* | *Sun*Fortran*)
8135 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8136 lt_prog_compiler_pic='-KPIC'
8137 lt_prog_compiler_static='-Bstatic'
8138 lt_prog_compiler_wl=''
8142 lt_prog_compiler_pic='-KPIC'
8143 lt_prog_compiler_static='-Bstatic'
8144 lt_prog_compiler_wl='-Wl,'
8152 lt_prog_compiler_pic='-KPIC'
8153 lt_prog_compiler_static='-Bstatic'
8157 # QNX uses GNU C++, but need to define -shared option too, otherwise
8159 lt_prog_compiler_pic='-fPIC -shared'
8162 osf3* | osf4* | osf5*)
8163 lt_prog_compiler_wl='-Wl,'
8164 # All OSF/1 code is PIC.
8165 lt_prog_compiler_static='-non_shared'
8169 lt_prog_compiler_static='-non_shared'
8173 lt_prog_compiler_pic='-KPIC'
8174 lt_prog_compiler_static='-Bstatic'
8175 case $cc_basename in
8176 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8177 lt_prog_compiler_wl='-Qoption ld ';;
8179 lt_prog_compiler_wl='-Wl,';;
8184 lt_prog_compiler_wl='-Qoption ld '
8185 lt_prog_compiler_pic='-PIC'
8186 lt_prog_compiler_static='-Bstatic'
8189 sysv4 | sysv4.2uw2* | sysv4.3*)
8190 lt_prog_compiler_wl='-Wl,'
8191 lt_prog_compiler_pic='-KPIC'
8192 lt_prog_compiler_static='-Bstatic'
8196 if test -d /usr/nec ;then
8197 lt_prog_compiler_pic='-Kconform_pic'
8198 lt_prog_compiler_static='-Bstatic'
8202 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8203 lt_prog_compiler_wl='-Wl,'
8204 lt_prog_compiler_pic='-KPIC'
8205 lt_prog_compiler_static='-Bstatic'
8209 lt_prog_compiler_wl='-Wl,'
8210 lt_prog_compiler_can_build_shared=no
8214 lt_prog_compiler_pic='-pic'
8215 lt_prog_compiler_static='-Bstatic'
8219 lt_prog_compiler_can_build_shared=no
8225 # For platforms which do not support PIC, -DPIC is meaningless:
8227 lt_prog_compiler_pic=
8230 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8235 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8236 if ${lt_cv_prog_compiler_pic+:} false; then :
8237 $as_echo_n "(cached) " >&6
8239 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8242 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8243 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8246 # Check to make sure the PIC flag actually works.
8248 if test -n "$lt_prog_compiler_pic"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8250 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8251 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8252 $as_echo_n "(cached) " >&6
8254 lt_cv_prog_compiler_pic_works=no
8255 ac_outfile=conftest.$ac_objext
8256 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8257 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8258 # Insert the option either (1) after the last *FLAGS variable, or
8259 # (2) before a word containing "conftest.", or (3) at the end.
8260 # Note that $ac_compile itself does not contain backslashes and begins
8261 # with a dollar sign (not a hyphen), so the echo should work correctly.
8262 # The option is referenced via a variable to avoid confusing sed.
8263 lt_compile=`echo "$ac_compile" | $SED \
8264 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8266 -e 's:$: $lt_compiler_flag:'`
8267 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8268 (eval "$lt_compile" 2>conftest.err)
8270 cat conftest.err >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 if (exit $ac_status) && test -s "$ac_outfile"; then
8273 # The compiler can only warn and ignore the option if not recognized
8274 # So say no if there are warnings other than the usual output.
8275 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8276 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8278 lt_cv_prog_compiler_pic_works=yes
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8285 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8287 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8288 case $lt_prog_compiler_pic in
8290 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8293 lt_prog_compiler_pic=
8294 lt_prog_compiler_can_build_shared=no
8310 # Check to make sure the static flag actually works.
8312 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8314 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8315 if ${lt_cv_prog_compiler_static_works+:} false; then :
8316 $as_echo_n "(cached) " >&6
8318 lt_cv_prog_compiler_static_works=no
8319 save_LDFLAGS="$LDFLAGS"
8320 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8321 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8322 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8323 # The linker can only warn and ignore the option if not recognized
8324 # So say no if there are warnings
8325 if test -s conftest.err; then
8326 # Append any errors to the config.log.
8327 cat conftest.err 1>&5
8328 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8329 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8330 if diff conftest.exp conftest.er2 >/dev/null; then
8331 lt_cv_prog_compiler_static_works=yes
8334 lt_cv_prog_compiler_static_works=yes
8338 LDFLAGS="$save_LDFLAGS"
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8342 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8344 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8347 lt_prog_compiler_static=
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8357 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8358 if ${lt_cv_prog_compiler_c_o+:} false; then :
8359 $as_echo_n "(cached) " >&6
8361 lt_cv_prog_compiler_c_o=no
8362 $RM -r conftest 2>/dev/null
8366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8368 lt_compiler_flag="-o out/conftest2.$ac_objext"
8369 # Insert the option either (1) after the last *FLAGS variable, or
8370 # (2) before a word containing "conftest.", or (3) at the end.
8371 # Note that $ac_compile itself does not contain backslashes and begins
8372 # with a dollar sign (not a hyphen), so the echo should work correctly.
8373 lt_compile=`echo "$ac_compile" | $SED \
8374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8376 -e 's:$: $lt_compiler_flag:'`
8377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8378 (eval "$lt_compile" 2>out/conftest.err)
8380 cat out/conftest.err >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8384 # The compiler can only warn and ignore the option if not recognized
8385 # So say no if there are warnings
8386 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8387 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8388 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8389 lt_cv_prog_compiler_c_o=yes
8394 # SGI C++ compiler will create directory out/ii_files/ for
8395 # template instantiation
8396 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8397 $RM out/* && rmdir out
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8404 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8412 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8413 if ${lt_cv_prog_compiler_c_o+:} false; then :
8414 $as_echo_n "(cached) " >&6
8416 lt_cv_prog_compiler_c_o=no
8417 $RM -r conftest 2>/dev/null
8421 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8423 lt_compiler_flag="-o out/conftest2.$ac_objext"
8424 # Insert the option either (1) after the last *FLAGS variable, or
8425 # (2) before a word containing "conftest.", or (3) at the end.
8426 # Note that $ac_compile itself does not contain backslashes and begins
8427 # with a dollar sign (not a hyphen), so the echo should work correctly.
8428 lt_compile=`echo "$ac_compile" | $SED \
8429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8431 -e 's:$: $lt_compiler_flag:'`
8432 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8433 (eval "$lt_compile" 2>out/conftest.err)
8435 cat out/conftest.err >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8439 # The compiler can only warn and ignore the option if not recognized
8440 # So say no if there are warnings
8441 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8442 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8443 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8444 lt_cv_prog_compiler_c_o=yes
8449 # SGI C++ compiler will create directory out/ii_files/ for
8450 # template instantiation
8451 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8452 $RM out/* && rmdir out
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8459 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8464 hard_links="nottested"
8465 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8466 # do not overwrite the value of need_locks provided by the user
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8468 $as_echo_n "checking if we can lock with hard links... " >&6; }
8471 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8473 ln conftest.a conftest.b 2>&5 || hard_links=no
8474 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8476 $as_echo "$hard_links" >&6; }
8477 if test "$hard_links" = no; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8479 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8492 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8495 allow_undefined_flag=
8496 always_export_symbols=no
8498 archive_expsym_cmds=
8499 compiler_needs_object=no
8500 enable_shared_with_static_runtimes=no
8501 export_dynamic_flag_spec=
8502 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8503 hardcode_automatic=no
8505 hardcode_direct_absolute=no
8506 hardcode_libdir_flag_spec=
8507 hardcode_libdir_flag_spec_ld=
8508 hardcode_libdir_separator=
8510 hardcode_shlibpath_var=unsupported
8512 link_all_deplibs=unknown
8515 old_archive_from_new_cmds=
8516 old_archive_from_expsyms_cmds=
8517 thread_safe_flag_spec=
8518 whole_archive_flag_spec=
8519 # include_expsyms should be a list of space-separated symbols to be *always*
8520 # included in the symbol list
8522 # exclude_expsyms can be an extended regexp of symbols to exclude
8523 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8524 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8525 # as well as any symbol that contains `d'.
8526 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8527 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8528 # platforms (ab)use it in PIC code, but their linkers get confused if
8529 # the symbol is explicitly referenced. Since portable code cannot
8530 # rely on this symbol name, it's probably fine to never include it in
8531 # preloaded symbol tables.
8532 # Exclude shared library initialization/finalization symbols.
8533 extract_expsyms_cmds=
8536 cygwin* | mingw* | pw32* | cegcc*)
8537 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8538 # When not using gcc, we currently assume that we are using
8539 # Microsoft Visual C++.
8540 if test "$GCC" != yes; then
8545 # we just hope/assume this is gcc and not c89 (= MSVC++)
8555 # On some targets, GNU ld is compatible enough with the native linker
8556 # that we're better off using the native interface for both.
8557 lt_use_gnu_ld_interface=no
8558 if test "$with_gnu_ld" = yes; then
8561 # The AIX port of GNU ld has always aspired to compatibility
8562 # with the native linker. However, as the warning in the GNU ld
8563 # block says, versions before 2.19.5* couldn't really create working
8564 # shared libraries, regardless of the interface used.
8565 case `$LD -v 2>&1` in
8566 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8567 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8568 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8570 lt_use_gnu_ld_interface=yes
8575 lt_use_gnu_ld_interface=yes
8580 if test "$lt_use_gnu_ld_interface" = yes; then
8581 # If archive_cmds runs LD, not CC, wlarc should be empty
8584 # Set some defaults for GNU ld with shared library support. These
8585 # are reset later if shared libraries are not supported. Putting them
8586 # here allows them to be overridden if necessary.
8587 runpath_var=LD_RUN_PATH
8588 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8589 export_dynamic_flag_spec='${wl}--export-dynamic'
8590 # ancient GNU ld didn't support --whole-archive et. al.
8591 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8592 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8594 whole_archive_flag_spec=
8596 supports_anon_versioning=no
8597 case `$LD -v 2>&1` in
8598 *GNU\ gold*) supports_anon_versioning=yes ;;
8599 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8600 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8601 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8602 *\ 2.11.*) ;; # other 2.11 versions
8603 *) supports_anon_versioning=yes ;;
8606 # See if GNU ld supports shared libraries.
8609 # On AIX/PPC, the GNU linker is very broken
8610 if test "$host_cpu" != ia64; then
8614 *** Warning: the GNU linker, at least up to release 2.19, is reported
8615 *** to be unable to reliably create shared libraries on AIX.
8616 *** Therefore, libtool is disabling shared libraries support. If you
8617 *** really care for shared libraries, you may want to install binutils
8618 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8619 *** You will then need to restart the configuration process.
8628 # see comment about AmigaOS4 .so support
8629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8630 archive_expsym_cmds=''
8633 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)'
8634 hardcode_libdir_flag_spec='-L$libdir'
8635 hardcode_minus_L=yes
8641 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8642 allow_undefined_flag=unsupported
8643 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8644 # support --undefined. This deserves some investigation. FIXME
8645 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651 cygwin* | mingw* | pw32* | cegcc*)
8652 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8653 # as there is no search path for DLLs.
8654 hardcode_libdir_flag_spec='-L$libdir'
8655 export_dynamic_flag_spec='${wl}--export-all-symbols'
8656 allow_undefined_flag=unsupported
8657 always_export_symbols=no
8658 enable_shared_with_static_runtimes=yes
8659 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'
8660 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8662 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8664 # If the export-symbols file already is a .def file (1st line
8665 # is EXPORTS), use it as is; otherwise, prepend...
8666 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8667 cp $export_symbols $output_objdir/$soname.def;
8669 echo EXPORTS > $output_objdir/$soname.def;
8670 cat $export_symbols >> $output_objdir/$soname.def;
8672 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680 link_all_deplibs=yes
8685 hardcode_shlibpath_var=no
8686 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8687 export_dynamic_flag_spec='${wl}-E'
8688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8689 # Instead, shared libraries are loaded at an image base (0x10000000 by
8690 # default) and relocated if they conflict, which is a slow very memory
8691 # consuming and fragmenting process. To avoid this, we pick a random,
8692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8693 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8694 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8695 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'
8698 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8700 if test "$host_os" = linux-dietlibc; then
8701 case $cc_basename in
8702 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8705 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8706 && test "$tmp_diet" = no
8708 tmp_addflag=' $pic_flag'
8709 tmp_sharedflag='-shared'
8710 case $cc_basename,$host_cpu in
8711 pgcc*) # Portland Group C compiler
8712 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'
8713 tmp_addflag=' $pic_flag'
8715 pgf77* | pgf90* | pgf95* | pgfortran*)
8716 # Portland Group f77 and f90 compilers
8717 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'
8718 tmp_addflag=' $pic_flag -Mnomain' ;;
8719 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8720 tmp_addflag=' -i_dynamic' ;;
8721 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8722 tmp_addflag=' -i_dynamic -nofor_main' ;;
8723 ifc* | ifort*) # Intel Fortran compiler
8724 tmp_addflag=' -nofor_main' ;;
8725 lf95*) # Lahey Fortran 8.1
8726 whole_archive_flag_spec=
8727 tmp_sharedflag='--shared' ;;
8728 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8729 tmp_sharedflag='-qmkshrobj'
8731 nvcc*) # Cuda Compiler Driver 2.2
8732 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'
8733 compiler_needs_object=yes
8736 case `$CC -V 2>&1 | sed 5q` in
8737 *Sun\ C*) # Sun C 5.9
8738 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'
8739 compiler_needs_object=yes
8740 tmp_sharedflag='-G' ;;
8741 *Sun\ F*) # Sun Fortran 8.3
8742 tmp_sharedflag='-G' ;;
8744 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8746 if test "x$supports_anon_versioning" = xyes; then
8747 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8749 echo "local: *; };" >> $output_objdir/$libname.ver~
8750 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8753 case $cc_basename in
8754 xlf* | bgf* | bgxlf* | mpixlf*)
8755 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8756 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8757 hardcode_libdir_flag_spec=
8758 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8759 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8760 if test "x$supports_anon_versioning" = xyes; then
8761 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8762 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8763 echo "local: *; };" >> $output_objdir/$libname.ver~
8764 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8774 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8775 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8778 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8779 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8784 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8788 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8789 *** create shared libraries on Solaris systems. Therefore, libtool
8790 *** is disabling shared libraries support. We urge you to upgrade GNU
8791 *** binutils to release 2.9.1 or newer. Another option is to modify
8792 *** your PATH or compiler configuration so that the native linker is
8793 *** used, and then restart.
8796 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8797 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8798 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8804 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8805 case `$LD -v 2>&1` in
8806 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8810 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8811 *** reliably create shared libraries on SCO systems. Therefore, libtool
8812 *** is disabling shared libraries support. We urge you to upgrade GNU
8813 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8814 *** your PATH or compiler configuration so that the native linker is
8815 *** used, and then restart.
8820 # For security reasons, it is highly recommended that you always
8821 # use absolute paths for naming shared libraries, and exclude the
8822 # DT_RUNPATH tag from executables and libraries. But doing so
8823 # requires that you compile everything twice, which is a pain.
8824 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8825 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8826 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8827 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8836 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8839 hardcode_shlibpath_var=no
8843 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8844 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8852 if test "$ld_shlibs" = no; then
8854 hardcode_libdir_flag_spec=
8855 export_dynamic_flag_spec=
8856 whole_archive_flag_spec=
8859 # PORTME fill in a description of your system's linker (not GNU ld)
8862 allow_undefined_flag=unsupported
8863 always_export_symbols=yes
8864 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'
8865 # Note: this linker hardcodes the directories in LIBPATH if there
8866 # are no directories specified by -L.
8867 hardcode_minus_L=yes
8868 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8869 # Neither direct hardcoding nor static linking is supported with a
8871 hardcode_direct=unsupported
8876 if test "$host_cpu" = ia64; then
8877 # On IA64, the linker does run time linking by default, so we don't
8878 # have to do anything special.
8879 aix_use_runtimelinking=no
8880 exp_sym_flag='-Bexport'
8883 # If we're using GNU nm, then we don't want the "-C" option.
8884 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8885 # Also, AIX nm treats weak defined symbols like other global
8886 # defined symbols, whereas GNU nm marks them as "W".
8887 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8888 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'
8890 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'
8892 aix_use_runtimelinking=no
8894 # Test if we are trying to use run time linking or normal
8895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8896 # need to do runtime linking.
8897 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8898 for ld_flag in $LDFLAGS; do
8899 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8900 aix_use_runtimelinking=yes
8907 exp_sym_flag='-bexport'
8908 no_entry_flag='-bnoentry'
8911 # When large executables or shared objects are built, AIX ld can
8912 # have problems creating the table of contents. If linking a library
8913 # or program results in "error TOC overflow" add -mminimal-toc to
8914 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8915 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8919 hardcode_direct_absolute=yes
8920 hardcode_libdir_separator=':'
8921 link_all_deplibs=yes
8922 file_list_spec='${wl}-f,'
8924 if test "$GCC" = yes; then
8925 case $host_os in aix4.[012]|aix4.[012].*)
8926 # We only want to do this on AIX 4.2 and lower, the check
8927 # below for broken collect2 doesn't work under 4.3+
8928 collect2name=`${CC} -print-prog-name=collect2`
8929 if test -f "$collect2name" &&
8930 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8932 # We have reworked collect2
8935 # We have old collect2
8936 hardcode_direct=unsupported
8937 # It fails to find uninstalled libraries when the uninstalled
8938 # path is not listed in the libpath. Setting hardcode_minus_L
8939 # to unsupported forces relinking
8940 hardcode_minus_L=yes
8941 hardcode_libdir_flag_spec='-L$libdir'
8942 hardcode_libdir_separator=
8946 shared_flag='-shared'
8947 if test "$aix_use_runtimelinking" = yes; then
8948 shared_flag="$shared_flag "'${wl}-G'
8952 if test "$host_cpu" = ia64; then
8953 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8954 # chokes on -Wl,-G. The following line is correct:
8957 if test "$aix_use_runtimelinking" = yes; then
8958 shared_flag='${wl}-G'
8960 shared_flag='${wl}-bM:SRE'
8965 export_dynamic_flag_spec='${wl}-bexpall'
8966 # It seems that -bexpall does not export symbols beginning with
8967 # underscore (_), so it is better to generate a list of symbols to export.
8968 always_export_symbols=yes
8969 if test "$aix_use_runtimelinking" = yes; then
8970 # Warning - without using the other runtime loading flags (-brtl),
8971 # -berok will link without error, but may produce a broken library.
8972 allow_undefined_flag='-berok'
8973 # Determine the default libpath from the value encoded in an
8975 if test "${lt_cv_aix_libpath+set}" = set; then
8976 aix_libpath=$lt_cv_aix_libpath
8978 if ${lt_cv_aix_libpath_+:} false; then :
8979 $as_echo_n "(cached) " >&6
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8992 if ac_fn_c_try_link "$LINENO"; then :
8994 lt_aix_libpath_sed='
8995 /Import File Strings/,/^$/ {
8997 s/^0 *\([^ ]*\) *$/\1/
9001 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9002 # Check for a 64-bit object if we didn't find anything.
9003 if test -z "$lt_cv_aix_libpath_"; then
9004 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9007 rm -f core conftest.err conftest.$ac_objext \
9008 conftest$ac_exeext conftest.$ac_ext
9009 if test -z "$lt_cv_aix_libpath_"; then
9010 lt_cv_aix_libpath_="/usr/lib:/lib"
9015 aix_libpath=$lt_cv_aix_libpath_
9018 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9019 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"
9021 if test "$host_cpu" = ia64; then
9022 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9023 allow_undefined_flag="-z nodefs"
9024 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"
9026 # Determine the default libpath from the value encoded in an
9028 if test "${lt_cv_aix_libpath+set}" = set; then
9029 aix_libpath=$lt_cv_aix_libpath
9031 if ${lt_cv_aix_libpath_+:} false; then :
9032 $as_echo_n "(cached) " >&6
9034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9035 /* end confdefs.h. */
9045 if ac_fn_c_try_link "$LINENO"; then :
9047 lt_aix_libpath_sed='
9048 /Import File Strings/,/^$/ {
9050 s/^0 *\([^ ]*\) *$/\1/
9054 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9055 # Check for a 64-bit object if we didn't find anything.
9056 if test -z "$lt_cv_aix_libpath_"; then
9057 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9060 rm -f core conftest.err conftest.$ac_objext \
9061 conftest$ac_exeext conftest.$ac_ext
9062 if test -z "$lt_cv_aix_libpath_"; then
9063 lt_cv_aix_libpath_="/usr/lib:/lib"
9068 aix_libpath=$lt_cv_aix_libpath_
9071 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9072 # Warning - without using the other run time loading flags,
9073 # -berok will link without error, but may produce a broken library.
9074 no_undefined_flag=' ${wl}-bernotok'
9075 allow_undefined_flag=' ${wl}-berok'
9076 if test "$with_gnu_ld" = yes; then
9077 # We only use this code for GNU lds that support --whole-archive.
9078 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9080 # Exported symbols can be pulled into shared objects from archives
9081 whole_archive_flag_spec='$convenience'
9083 archive_cmds_need_lc=yes
9084 # This is similar to how AIX traditionally builds its shared libraries.
9085 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'
9093 # see comment about AmigaOS4 .so support
9094 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9095 archive_expsym_cmds=''
9098 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)'
9099 hardcode_libdir_flag_spec='-L$libdir'
9100 hardcode_minus_L=yes
9106 export_dynamic_flag_spec=-rdynamic
9109 cygwin* | mingw* | pw32* | cegcc*)
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 # hardcode_libdir_flag_spec is actually meaningless, as there is
9113 # no search path for DLLs.
9114 case $cc_basename in
9117 hardcode_libdir_flag_spec=' '
9118 allow_undefined_flag=unsupported
9119 always_export_symbols=yes
9121 # Tell ltmain to make .lib files, not .a files.
9123 # Tell ltmain to make .dll files, not .so files.
9125 # FIXME: Setting linknames here is a bad hack.
9126 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9127 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9128 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9130 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9132 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9134 # The linker will not automatically build a static lib if we build a DLL.
9135 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9136 enable_shared_with_static_runtimes=yes
9137 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9139 old_postinstall_cmds='chmod 644 $oldlib'
9140 postlink_cmds='lt_outputfile="@OUTPUT@"~
9141 lt_tool_outputfile="@TOOL_OUTPUT@"~
9142 case $lt_outputfile in
9145 lt_outputfile="$lt_outputfile.exe"
9146 lt_tool_outputfile="$lt_tool_outputfile.exe"
9149 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9150 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9151 $RM "$lt_outputfile.manifest";
9155 # Assume MSVC wrapper
9156 hardcode_libdir_flag_spec=' '
9157 allow_undefined_flag=unsupported
9158 # Tell ltmain to make .lib files, not .a files.
9160 # Tell ltmain to make .dll files, not .so files.
9162 # FIXME: Setting linknames here is a bad hack.
9163 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9164 # The linker will automatically build a .lib file if we build a DLL.
9165 old_archive_from_new_cmds='true'
9166 # FIXME: Should let the user specify the lib program.
9167 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9168 enable_shared_with_static_runtimes=yes
9173 darwin* | rhapsody*)
9176 archive_cmds_need_lc=no
9178 hardcode_automatic=yes
9179 hardcode_shlibpath_var=unsupported
9180 if test "$lt_cv_ld_force_load" = "yes"; then
9181 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\"`'
9183 whole_archive_flag_spec=''
9185 link_all_deplibs=yes
9186 allow_undefined_flag="$_lt_dar_allow_undefined"
9187 case $cc_basename in
9188 ifort*) _lt_dar_can_shared=yes ;;
9189 *) _lt_dar_can_shared=$GCC ;;
9191 if test "$_lt_dar_can_shared" = "yes"; then
9192 output_verbose_link_cmd=func_echo_all
9193 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9194 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9195 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}"
9196 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}"
9205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_shlibpath_var=no
9214 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9215 # support. Future versions do this automatically, but an explicit c++rt0.o
9216 # does not break anything, and helps significantly (at the cost of a little
9219 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9220 hardcode_libdir_flag_spec='-R$libdir'
9222 hardcode_shlibpath_var=no
9225 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9227 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9229 hardcode_minus_L=yes
9230 hardcode_shlibpath_var=no
9233 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9234 freebsd* | dragonfly*)
9235 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9236 hardcode_libdir_flag_spec='-R$libdir'
9238 hardcode_shlibpath_var=no
9242 if test "$GCC" = yes; then
9243 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'
9245 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'
9247 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9248 hardcode_libdir_separator=:
9251 # hardcode_minus_L: Not really in the search PATH,
9252 # but as the default location of the library.
9253 hardcode_minus_L=yes
9254 export_dynamic_flag_spec='${wl}-E'
9258 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9259 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9261 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9263 if test "$with_gnu_ld" = no; then
9264 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9265 hardcode_libdir_flag_spec_ld='+b $libdir'
9266 hardcode_libdir_separator=:
9268 hardcode_direct_absolute=yes
9269 export_dynamic_flag_spec='${wl}-E'
9270 # hardcode_minus_L: Not really in the search PATH,
9271 # but as the default location of the library.
9272 hardcode_minus_L=yes
9277 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9280 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9283 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9286 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9292 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9295 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9299 # Older versions of the 11.00 compiler do not understand -b yet
9300 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9302 $as_echo_n "checking if $CC understands -b... " >&6; }
9303 if ${lt_cv_prog_compiler__b+:} false; then :
9304 $as_echo_n "(cached) " >&6
9306 lt_cv_prog_compiler__b=no
9307 save_LDFLAGS="$LDFLAGS"
9308 LDFLAGS="$LDFLAGS -b"
9309 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9310 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9311 # The linker can only warn and ignore the option if not recognized
9312 # So say no if there are warnings
9313 if test -s conftest.err; then
9314 # Append any errors to the config.log.
9315 cat conftest.err 1>&5
9316 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9317 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9318 if diff conftest.exp conftest.er2 >/dev/null; then
9319 lt_cv_prog_compiler__b=yes
9322 lt_cv_prog_compiler__b=yes
9326 LDFLAGS="$save_LDFLAGS"
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9330 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9332 if test x"$lt_cv_prog_compiler__b" = xyes; then
9333 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9335 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9341 if test "$with_gnu_ld" = no; then
9342 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9343 hardcode_libdir_separator=:
9348 hardcode_shlibpath_var=no
9352 hardcode_direct_absolute=yes
9353 export_dynamic_flag_spec='${wl}-E'
9355 # hardcode_minus_L: Not really in the search PATH,
9356 # but as the default location of the library.
9357 hardcode_minus_L=yes
9363 irix5* | irix6* | nonstopux*)
9364 if test "$GCC" = yes; then
9365 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'
9366 # Try to use the -exported_symbol ld option, if it does not
9367 # work, assume that -exports_file does not work either and
9368 # implicitly export all symbols.
9369 # This should be the same for all languages, so no per-tag cache variable.
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9371 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9372 if ${lt_cv_irix_exported_symbol+:} false; then :
9373 $as_echo_n "(cached) " >&6
9375 save_LDFLAGS="$LDFLAGS"
9376 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9379 int foo (void) { return 0; }
9381 if ac_fn_c_try_link "$LINENO"; then :
9382 lt_cv_irix_exported_symbol=yes
9384 lt_cv_irix_exported_symbol=no
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 LDFLAGS="$save_LDFLAGS"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9391 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9392 if test "$lt_cv_irix_exported_symbol" = yes; then
9393 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'
9396 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'
9397 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'
9399 archive_cmds_need_lc='no'
9400 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9401 hardcode_libdir_separator=:
9403 link_all_deplibs=yes
9407 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9408 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9410 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9412 hardcode_libdir_flag_spec='-R$libdir'
9414 hardcode_shlibpath_var=no
9418 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9421 hardcode_libdir_separator=:
9422 hardcode_shlibpath_var=no
9429 if test -f /usr/libexec/ld.so; then
9431 hardcode_shlibpath_var=no
9432 hardcode_direct_absolute=yes
9433 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9434 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9435 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9436 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9437 export_dynamic_flag_spec='${wl}-E'
9440 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9441 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9442 hardcode_libdir_flag_spec='-R$libdir'
9445 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9446 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9456 hardcode_libdir_flag_spec='-L$libdir'
9457 hardcode_minus_L=yes
9458 allow_undefined_flag=unsupported
9459 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'
9460 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9464 if test "$GCC" = yes; then
9465 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9466 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'
9468 allow_undefined_flag=' -expect_unresolved \*'
9469 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'
9471 archive_cmds_need_lc='no'
9472 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9473 hardcode_libdir_separator=:
9476 osf4* | osf5*) # as osf3* with the addition of -msym flag
9477 if test "$GCC" = yes; then
9478 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9479 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'
9480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9482 allow_undefined_flag=' -expect_unresolved \*'
9483 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'
9484 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~
9485 $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'
9487 # Both c and cxx compiler support -rpath directly
9488 hardcode_libdir_flag_spec='-rpath $libdir'
9490 archive_cmds_need_lc='no'
9491 hardcode_libdir_separator=:
9495 no_undefined_flag=' -z defs'
9496 if test "$GCC" = yes; then
9498 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9500 $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'
9502 case `$CC -V 2>&1` in
9505 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9506 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9507 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9511 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9513 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9517 hardcode_libdir_flag_spec='-R$libdir'
9518 hardcode_shlibpath_var=no
9520 solaris2.[0-5] | solaris2.[0-5].*) ;;
9522 # The compiler driver will combine and reorder linker options,
9523 # but understands `-z linker_flag'. GCC discards it without `$wl',
9524 # but is careful enough not to reorder.
9525 # Supported since Solaris 2.6 (maybe 2.5.1?)
9526 if test "$GCC" = yes; then
9527 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9529 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9533 link_all_deplibs=yes
9537 if test "x$host_vendor" = xsequent; then
9538 # Use $CC to link under sequent, because it throws in some extra .o
9539 # files that make .init and .fini sections work.
9540 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9542 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9544 hardcode_libdir_flag_spec='-L$libdir'
9546 hardcode_minus_L=yes
9547 hardcode_shlibpath_var=no
9551 case $host_vendor in
9553 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9554 hardcode_direct=yes # is this really true???
9557 ## LD is ld it makes a PLAMLIB
9558 ## CC just makes a GrossModule.
9559 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9560 reload_cmds='$CC -r -o $output$reload_objs'
9564 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9568 runpath_var='LD_RUN_PATH'
9569 hardcode_shlibpath_var=no
9573 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9574 hardcode_shlibpath_var=no
9575 export_dynamic_flag_spec='-Bexport'
9579 if test -d /usr/nec; then
9580 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9581 hardcode_shlibpath_var=no
9582 runpath_var=LD_RUN_PATH
9583 hardcode_runpath_var=yes
9588 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9589 no_undefined_flag='${wl}-z,text'
9590 archive_cmds_need_lc=no
9591 hardcode_shlibpath_var=no
9592 runpath_var='LD_RUN_PATH'
9594 if test "$GCC" = yes; then
9595 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9598 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9599 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9603 sysv5* | sco3.2v5* | sco5v6*)
9604 # Note: We can NOT use -z defs as we might desire, because we do not
9605 # link with -lc, and that would cause any symbols used from libc to
9606 # always be unresolved, which means just about no library would
9607 # ever link correctly. If we're not using GNU ld we use -z text
9608 # though, which does catch some bad symbols but isn't as heavy-handed
9610 no_undefined_flag='${wl}-z,text'
9611 allow_undefined_flag='${wl}-z,nodefs'
9612 archive_cmds_need_lc=no
9613 hardcode_shlibpath_var=no
9614 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9615 hardcode_libdir_separator=':'
9616 link_all_deplibs=yes
9617 export_dynamic_flag_spec='${wl}-Bexport'
9618 runpath_var='LD_RUN_PATH'
9620 if test "$GCC" = yes; then
9621 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9622 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9624 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9625 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9630 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_libdir_flag_spec='-L$libdir'
9632 hardcode_shlibpath_var=no
9640 if test x$host_vendor = xsni; then
9642 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9643 export_dynamic_flag_spec='${wl}-Blargedynsym'
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9650 $as_echo "$ld_shlibs" >&6; }
9651 test "$ld_shlibs" = no && can_build_shared=no
9653 with_gnu_ld=$with_gnu_ld
9670 # Do we need to explicitly link libc?
9672 case "x$archive_cmds_need_lc" in
9674 # Assume -lc should be added
9675 archive_cmds_need_lc=yes
9677 if test "$enable_shared" = yes && test "$GCC" = yes; then
9678 case $archive_cmds in
9680 # FIXME: we may have to deal with multi-command sequences.
9683 # Test whether the compiler implicitly links with -lc since on some
9684 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9685 # to ld, don't add -lc before -lgcc.
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9687 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9688 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9689 $as_echo_n "(cached) " >&6
9692 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9695 (eval $ac_compile) 2>&5
9697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9698 test $ac_status = 0; } 2>conftest.err; then
9701 libobjs=conftest.$ac_objext
9703 wl=$lt_prog_compiler_wl
9704 pic_flag=$lt_prog_compiler_pic
9710 lt_save_allow_undefined_flag=$allow_undefined_flag
9711 allow_undefined_flag=
9712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9713 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9716 test $ac_status = 0; }
9718 lt_cv_archive_cmds_need_lc=no
9720 lt_cv_archive_cmds_need_lc=yes
9722 allow_undefined_flag=$lt_save_allow_undefined_flag
9724 cat conftest.err 1>&5
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9730 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9731 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9895 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9897 if test "$GCC" = yes; then
9899 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9900 *) lt_awk_arg="/^libraries:/" ;;
9903 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9904 *) lt_sed_strip_eq="s,=/,/,g" ;;
9906 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9907 case $lt_search_path_spec in
9909 # if the path contains ";" then we assume it to be the separator
9910 # otherwise default to the standard path separator (i.e. ":") - it is
9911 # assumed that no part of a normal pathname contains ";" but that should
9912 # okay in the real world where ";" in dirpaths is itself problematic.
9913 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9916 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9919 # Ok, now we have the path, separated by spaces, we can step through it
9920 # and add multilib dir if necessary.
9921 lt_tmp_lt_search_path_spec=
9922 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9923 for lt_sys_path in $lt_search_path_spec; do
9924 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9925 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9927 test -d "$lt_sys_path" && \
9928 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9931 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9932 BEGIN {RS=" "; FS="/|\n";} {
9935 for (lt_i = NF; lt_i > 0; lt_i--) {
9936 if ($lt_i != "" && $lt_i != ".") {
9937 if ($lt_i == "..") {
9940 if (lt_count == 0) {
9941 lt_foo="/" $lt_i lt_foo;
9948 if (lt_foo != "") { lt_freq[lt_foo]++; }
9949 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9951 # AWK program above erroneously prepends '/' to C:/dos/paths
9954 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9955 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9957 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9959 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9962 libname_spec='lib$name'
9970 shlibpath_overrides_runpath=unknown
9972 dynamic_linker="$host_os ld.so"
9973 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9974 need_lib_prefix=unknown
9975 hardcode_into_libs=no
9977 # when you set need_version to no, make sure it does not cause -set_version
9978 # flags to be left without arguments
9979 need_version=unknown
9984 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9985 shlibpath_var=LIBPATH
9987 # AIX 3 has no versioning support, so we append a major version to the name.
9988 soname_spec='${libname}${release}${shared_ext}$major'
9995 hardcode_into_libs=yes
9996 if test "$host_cpu" = ia64; then
9997 # AIX 5 supports IA64
9998 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9999 shlibpath_var=LD_LIBRARY_PATH
10001 # With GCC up to 2.95.x, collect2 would create an import file
10002 # for dependence libraries. The import file would start with
10003 # the line `#! .'. This would cause the generated library to
10004 # depend on `.', always an invalid library. This was fixed in
10005 # development snapshots of GCC prior to 3.0.
10007 aix4 | aix4.[01] | aix4.[01].*)
10008 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10010 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10013 can_build_shared=no
10017 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10018 # soname into executable. Probably we can add versioning support to
10019 # collect2, so additional links can be useful in future.
10020 if test "$aix_use_runtimelinking" = yes; then
10021 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10022 # instead of lib<name>.a to let people know that these are not
10023 # typical AIX shared libraries.
10024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10026 # We preserve .a as extension for shared libraries through AIX4.2
10027 # and later when we are not doing run time linking.
10028 library_names_spec='${libname}${release}.a $libname.a'
10029 soname_spec='${libname}${release}${shared_ext}$major'
10031 shlibpath_var=LIBPATH
10038 # Since July 2007 AmigaOS4 officially supports .so libraries.
10039 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10043 library_names_spec='$libname.ixlibrary $libname.a'
10044 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10045 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'
10051 library_names_spec='${libname}${shared_ext}'
10052 dynamic_linker="$host_os ld.so"
10053 shlibpath_var=LIBRARY_PATH
10059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10060 soname_spec='${libname}${release}${shared_ext}$major'
10061 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10062 shlibpath_var=LD_LIBRARY_PATH
10063 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10064 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10065 # the default ld.so.conf also contains /usr/contrib/lib and
10066 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10067 # libtool to hard-code these into programs
10070 cygwin* | mingw* | pw32* | cegcc*)
10071 version_type=windows
10076 case $GCC,$cc_basename in
10079 library_names_spec='$libname.dll.a'
10080 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10081 postinstall_cmds='base_file=`basename \${file}`~
10082 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10083 dldir=$destdir/`dirname \$dlpath`~
10084 test -d \$dldir || mkdir -p \$dldir~
10085 $install_prog $dir/$dlname \$dldir/$dlname~
10086 chmod a+x \$dldir/$dlname~
10087 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10088 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10090 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10091 dlpath=$dir/\$dldll~
10093 shlibpath_overrides_runpath=yes
10097 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10098 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10100 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10103 # MinGW DLLs use traditional 'lib' prefix
10104 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10107 # pw32 DLLs use 'pw' prefix rather than 'lib'
10108 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10111 dynamic_linker='Win32 ld.exe'
10116 libname_spec='$name'
10117 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10118 library_names_spec='${libname}.dll.lib'
10122 sys_lib_search_path_spec=
10125 for lt_path in $LIB
10128 # Let DOS variable expansion print the short 8.3 style file name.
10129 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10130 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10133 # Convert to MSYS style.
10134 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10137 # Convert to unix form, then to dos form, then back to unix form
10138 # but this time dos style (no spaces!) so that the unix form looks
10139 # like /cygdrive/c/PROGRA~1:/cygdr...
10140 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10141 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10142 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10145 sys_lib_search_path_spec="$LIB"
10146 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10147 # It is most probably a Windows format PATH.
10148 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10150 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10152 # FIXME: find the short name or the path components, as spaces are
10153 # common. (e.g. "Program Files" -> "PROGRA~1")
10157 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10158 postinstall_cmds='base_file=`basename \${file}`~
10159 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10160 dldir=$destdir/`dirname \$dlpath`~
10161 test -d \$dldir || mkdir -p \$dldir~
10162 $install_prog $dir/$dlname \$dldir/$dlname'
10163 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10164 dlpath=$dir/\$dldll~
10166 shlibpath_overrides_runpath=yes
10167 dynamic_linker='Win32 link.exe'
10171 # Assume MSVC wrapper
10172 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10173 dynamic_linker='Win32 ld.exe'
10176 # FIXME: first we should search . and the directory the executable is in
10180 darwin* | rhapsody*)
10181 dynamic_linker="$host_os dyld"
10182 version_type=darwin
10185 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10186 soname_spec='${libname}${release}${major}$shared_ext'
10187 shlibpath_overrides_runpath=yes
10188 shlibpath_var=DYLD_LIBRARY_PATH
10189 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10191 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10192 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10200 soname_spec='${libname}${release}${shared_ext}$major'
10201 shlibpath_var=LD_LIBRARY_PATH
10208 freebsd* | dragonfly*)
10209 # DragonFly does not have aout. When/if they implement a new
10210 # versioning mechanism, adjust this.
10211 if test -x /usr/bin/objformat; then
10212 objformat=`/usr/bin/objformat`
10215 freebsd[123]*) objformat=aout ;;
10216 *) objformat=elf ;;
10219 version_type=freebsd-$objformat
10220 case $version_type in
10222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10227 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10231 shlibpath_var=LD_LIBRARY_PATH
10234 shlibpath_overrides_runpath=yes
10236 freebsd3.[01]* | freebsdelf3.[01]*)
10237 shlibpath_overrides_runpath=yes
10238 hardcode_into_libs=yes
10240 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10241 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10242 shlibpath_overrides_runpath=no
10243 hardcode_into_libs=yes
10245 *) # from 4.6 on, and DragonFly
10246 shlibpath_overrides_runpath=yes
10247 hardcode_into_libs=yes
10256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10257 soname_spec='${libname}${release}${shared_ext}$major'
10258 shlibpath_var=LD_LIBRARY_PATH
10259 hardcode_into_libs=yes
10266 dynamic_linker="$host_os runtime_loader"
10267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10268 soname_spec='${libname}${release}${shared_ext}$major'
10269 shlibpath_var=LIBRARY_PATH
10270 shlibpath_overrides_runpath=yes
10271 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10272 hardcode_into_libs=yes
10275 hpux9* | hpux10* | hpux11*)
10276 # Give a soname corresponding to the major version so that dld.sl refuses to
10277 # link against other versions.
10284 hardcode_into_libs=yes
10285 dynamic_linker="$host_os dld.so"
10286 shlibpath_var=LD_LIBRARY_PATH
10287 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 if test "X$HPUX_IA64_MODE" = X32; then
10291 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10293 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10295 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10299 hardcode_into_libs=yes
10300 dynamic_linker="$host_os dld.sl"
10301 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10302 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10304 soname_spec='${libname}${release}${shared_ext}$major'
10305 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10306 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10310 dynamic_linker="$host_os dld.sl"
10311 shlibpath_var=SHLIB_PATH
10312 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314 soname_spec='${libname}${release}${shared_ext}$major'
10317 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10318 postinstall_cmds='chmod 555 $lib'
10319 # or fails outright, so override atomically:
10320 install_override_mode=555
10327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10328 soname_spec='${libname}${release}${shared_ext}$major'
10329 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10330 shlibpath_var=LD_LIBRARY_PATH
10331 shlibpath_overrides_runpath=no
10332 hardcode_into_libs=yes
10335 irix5* | irix6* | nonstopux*)
10337 nonstopux*) version_type=nonstopux ;;
10339 if test "$lt_cv_prog_gnu_ld" = yes; then
10347 soname_spec='${libname}${release}${shared_ext}$major'
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10350 irix5* | nonstopux*)
10351 libsuff= shlibsuff=
10354 case $LD in # libtool.m4 will add one of these switches to LD
10355 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10356 libsuff= shlibsuff= libmagic=32-bit;;
10357 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10358 libsuff=32 shlibsuff=N32 libmagic=N32;;
10359 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10360 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10361 *) libsuff= shlibsuff= libmagic=never-match;;
10365 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10366 shlibpath_overrides_runpath=no
10367 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10368 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10369 hardcode_into_libs=yes
10372 # No shared lib support for Linux oldld, aout, or coff.
10373 linux*oldld* | linux*aout* | linux*coff*)
10377 # This must be Linux ELF.
10378 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10383 soname_spec='${libname}${release}${shared_ext}$major'
10384 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10385 shlibpath_var=LD_LIBRARY_PATH
10386 shlibpath_overrides_runpath=no
10388 # Some binutils ld are patched to set DT_RUNPATH
10389 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10390 $as_echo_n "(cached) " >&6
10392 lt_cv_shlibpath_overrides_runpath=no
10393 save_LDFLAGS=$LDFLAGS
10394 save_libdir=$libdir
10395 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10396 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10410 lt_cv_shlibpath_overrides_runpath=yes
10413 rm -f core conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10415 LDFLAGS=$save_LDFLAGS
10416 libdir=$save_libdir
10420 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10422 # This implies no fast_install, which is unacceptable.
10423 # Some rework will be needed to allow for fast_install
10424 # before this can be enabled.
10425 hardcode_into_libs=yes
10427 # Add ABI-specific directories to the system library path.
10428 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10430 # Append ld.so.conf contents to the search path
10431 if test -f /etc/ld.so.conf; then
10432 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' ' '`
10433 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10437 # We used to test for /lib/ld.so.1 and disable shared libraries on
10438 # powerpc, because MkLinux only supported shared libraries with the
10439 # GNU dynamic linker. Since this was broken with cross compilers,
10440 # most powerpc-linux boxes support dynamic linking these days and
10441 # people can always --disable-shared, the test was removed, and we
10442 # assume the GNU/Linux dynamic linker is in use.
10443 dynamic_linker='GNU/Linux ld.so'
10450 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10452 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10453 dynamic_linker='NetBSD (a.out) ld.so'
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10456 soname_spec='${libname}${release}${shared_ext}$major'
10457 dynamic_linker='NetBSD ld.elf_so'
10459 shlibpath_var=LD_LIBRARY_PATH
10460 shlibpath_overrides_runpath=yes
10461 hardcode_into_libs=yes
10466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467 shlibpath_var=LD_LIBRARY_PATH
10468 shlibpath_overrides_runpath=yes
10475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10476 soname_spec='${libname}${release}${shared_ext}$major'
10477 shlibpath_var=LD_LIBRARY_PATH
10478 shlibpath_overrides_runpath=no
10479 hardcode_into_libs=yes
10480 dynamic_linker='ldqnx.so'
10485 sys_lib_dlsearch_path_spec="/usr/lib"
10487 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10489 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10490 *) need_version=no ;;
10492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10494 shlibpath_var=LD_LIBRARY_PATH
10495 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10497 openbsd2.[89] | openbsd2.[89].*)
10498 shlibpath_overrides_runpath=no
10501 shlibpath_overrides_runpath=yes
10505 shlibpath_overrides_runpath=yes
10510 libname_spec='$name'
10513 library_names_spec='$libname${shared_ext} $libname.a'
10514 dynamic_linker='OS/2 ld.exe'
10515 shlibpath_var=LIBPATH
10518 osf3* | osf4* | osf5*)
10522 soname_spec='${libname}${release}${shared_ext}$major'
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524 shlibpath_var=LD_LIBRARY_PATH
10525 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10526 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 shlibpath_var=LD_LIBRARY_PATH
10540 shlibpath_overrides_runpath=yes
10541 hardcode_into_libs=yes
10542 # ldd complains unless libraries are executable
10543 postinstall_cmds='chmod +x $lib'
10548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10549 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10550 shlibpath_var=LD_LIBRARY_PATH
10551 shlibpath_overrides_runpath=yes
10552 if test "$with_gnu_ld" = yes; then
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561 soname_spec='${libname}${release}${shared_ext}$major'
10562 shlibpath_var=LD_LIBRARY_PATH
10563 case $host_vendor in
10565 shlibpath_overrides_runpath=no
10567 runpath_var=LD_RUN_PATH
10575 shlibpath_overrides_runpath=no
10576 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10582 if test -d /usr/nec ;then
10584 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10585 soname_spec='$libname${shared_ext}.$major'
10586 shlibpath_var=LD_LIBRARY_PATH
10590 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10591 version_type=freebsd-elf
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 shlibpath_var=LD_LIBRARY_PATH
10597 shlibpath_overrides_runpath=yes
10598 hardcode_into_libs=yes
10599 if test "$with_gnu_ld" = yes; then
10600 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10602 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10605 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10609 sys_lib_dlsearch_path_spec='/usr/lib'
10613 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618 shlibpath_var=LD_LIBRARY_PATH
10619 shlibpath_overrides_runpath=no
10620 hardcode_into_libs=yes
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 shlibpath_var=LD_LIBRARY_PATH
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10635 $as_echo "$dynamic_linker" >&6; }
10636 test "$dynamic_linker" = no && can_build_shared=no
10638 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10639 if test "$GCC" = yes; then
10640 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10643 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10644 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10646 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10647 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10742 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10744 if test -n "$hardcode_libdir_flag_spec" ||
10745 test -n "$runpath_var" ||
10746 test "X$hardcode_automatic" = "Xyes" ; then
10748 # We can hardcode non-existent directories.
10749 if test "$hardcode_direct" != no &&
10750 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10751 # have to relink, otherwise we might link with an installed library
10752 # when we should be linking with a yet-to-be-installed one
10753 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10754 test "$hardcode_minus_L" != no; then
10755 # Linking always hardcodes the temporary library directory.
10756 hardcode_action=relink
10758 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10759 hardcode_action=immediate
10762 # We cannot hardcode anything, or else we can only hardcode existing
10764 hardcode_action=unsupported
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10767 $as_echo "$hardcode_action" >&6; }
10769 if test "$hardcode_action" = relink ||
10770 test "$inherit_rpath" = yes; then
10771 # Fast installation is not supported
10772 enable_fast_install=no
10773 elif test "$shlibpath_overrides_runpath" = yes ||
10774 test "$enable_shared" = no; then
10775 # Fast installation is not necessary
10776 enable_fast_install=needless
10784 if test "x$enable_dlopen" != xyes; then
10785 enable_dlopen=unknown
10786 enable_dlopen_self=unknown
10787 enable_dlopen_self_static=unknown
10794 lt_cv_dlopen="load_add_on"
10796 lt_cv_dlopen_self=yes
10799 mingw* | pw32* | cegcc*)
10800 lt_cv_dlopen="LoadLibrary"
10805 lt_cv_dlopen="dlopen"
10810 # if libdl is installed we need to link against it
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10812 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10813 if ${ac_cv_lib_dl_dlopen+:} false; then :
10814 $as_echo_n "(cached) " >&6
10816 ac_check_lib_save_LIBS=$LIBS
10818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10836 if ac_fn_c_try_link "$LINENO"; then :
10837 ac_cv_lib_dl_dlopen=yes
10839 ac_cv_lib_dl_dlopen=no
10841 rm -f core conftest.err conftest.$ac_objext \
10842 conftest$ac_exeext conftest.$ac_ext
10843 LIBS=$ac_check_lib_save_LIBS
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10846 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10847 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10848 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10851 lt_cv_dlopen="dyld"
10853 lt_cv_dlopen_self=yes
10860 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10861 if test "x$ac_cv_func_shl_load" = xyes; then :
10862 lt_cv_dlopen="shl_load"
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10865 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10866 if ${ac_cv_lib_dld_shl_load+:} false; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS=$LIBS
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10884 return shl_load ();
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 ac_cv_lib_dld_shl_load=yes
10892 ac_cv_lib_dld_shl_load=no
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10899 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10900 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10901 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10903 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10904 if test "x$ac_cv_func_dlopen" = xyes; then :
10905 lt_cv_dlopen="dlopen"
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10908 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10909 if ${ac_cv_lib_dl_dlopen+:} false; then :
10910 $as_echo_n "(cached) " >&6
10912 ac_check_lib_save_LIBS=$LIBS
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10932 if ac_fn_c_try_link "$LINENO"; then :
10933 ac_cv_lib_dl_dlopen=yes
10935 ac_cv_lib_dl_dlopen=no
10937 rm -f core conftest.err conftest.$ac_objext \
10938 conftest$ac_exeext conftest.$ac_ext
10939 LIBS=$ac_check_lib_save_LIBS
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10942 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10943 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10944 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10947 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10948 if ${ac_cv_lib_svld_dlopen+:} false; then :
10949 $as_echo_n "(cached) " >&6
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lsvld $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 ac_cv_lib_svld_dlopen=yes
10974 ac_cv_lib_svld_dlopen=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10981 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10982 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10983 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10986 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10987 if ${ac_cv_lib_dld_dld_link+:} false; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_lib_save_LIBS=$LIBS
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11005 return dld_link ();
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 ac_cv_lib_dld_dld_link=yes
11013 ac_cv_lib_dld_dld_link=no
11015 rm -f core conftest.err conftest.$ac_objext \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_lib_save_LIBS
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11020 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11021 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11022 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11043 if test "x$lt_cv_dlopen" != xno; then
11049 case $lt_cv_dlopen in
11051 save_CPPFLAGS="$CPPFLAGS"
11052 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11054 save_LDFLAGS="$LDFLAGS"
11055 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11058 LIBS="$lt_cv_dlopen_libs $LIBS"
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11061 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11062 if ${lt_cv_dlopen_self+:} false; then :
11063 $as_echo_n "(cached) " >&6
11065 if test "$cross_compiling" = yes; then :
11066 lt_cv_dlopen_self=cross
11068 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11069 lt_status=$lt_dlunknown
11070 cat > conftest.$ac_ext <<_LT_EOF
11071 #line $LINENO "configure"
11072 #include "confdefs.h"
11081 # define LT_DLGLOBAL RTLD_GLOBAL
11084 # define LT_DLGLOBAL DL_GLOBAL
11086 # define LT_DLGLOBAL 0
11090 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11091 find out it does not work in some platform. */
11092 #ifndef LT_DLLAZY_OR_NOW
11094 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11097 # define LT_DLLAZY_OR_NOW DL_LAZY
11100 # define LT_DLLAZY_OR_NOW RTLD_NOW
11103 # define LT_DLLAZY_OR_NOW DL_NOW
11105 # define LT_DLLAZY_OR_NOW 0
11112 /* When -fvisbility=hidden is used, assume the code has been annotated
11113 correspondingly for the symbols needed. */
11114 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11115 int fnord () __attribute__((visibility("default")));
11118 int fnord () { return 42; }
11121 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11122 int status = $lt_dlunknown;
11126 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11129 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11130 else puts (dlerror ());
11132 /* dlclose (self); */
11140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11141 (eval $ac_link) 2>&5
11143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11144 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11145 (./conftest; exit; ) >&5 2>/dev/null
11147 case x$lt_status in
11148 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11149 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11150 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11153 # compilation failed
11154 lt_cv_dlopen_self=no
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11162 $as_echo "$lt_cv_dlopen_self" >&6; }
11164 if test "x$lt_cv_dlopen_self" = xyes; then
11165 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11167 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11168 if ${lt_cv_dlopen_self_static+:} false; then :
11169 $as_echo_n "(cached) " >&6
11171 if test "$cross_compiling" = yes; then :
11172 lt_cv_dlopen_self_static=cross
11174 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11175 lt_status=$lt_dlunknown
11176 cat > conftest.$ac_ext <<_LT_EOF
11177 #line $LINENO "configure"
11178 #include "confdefs.h"
11187 # define LT_DLGLOBAL RTLD_GLOBAL
11190 # define LT_DLGLOBAL DL_GLOBAL
11192 # define LT_DLGLOBAL 0
11196 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11197 find out it does not work in some platform. */
11198 #ifndef LT_DLLAZY_OR_NOW
11200 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11203 # define LT_DLLAZY_OR_NOW DL_LAZY
11206 # define LT_DLLAZY_OR_NOW RTLD_NOW
11209 # define LT_DLLAZY_OR_NOW DL_NOW
11211 # define LT_DLLAZY_OR_NOW 0
11218 /* When -fvisbility=hidden is used, assume the code has been annotated
11219 correspondingly for the symbols needed. */
11220 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11221 int fnord () __attribute__((visibility("default")));
11224 int fnord () { return 42; }
11227 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11228 int status = $lt_dlunknown;
11232 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11235 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11236 else puts (dlerror ());
11238 /* dlclose (self); */
11246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11247 (eval $ac_link) 2>&5
11249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11250 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11251 (./conftest; exit; ) >&5 2>/dev/null
11253 case x$lt_status in
11254 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11255 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11256 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11259 # compilation failed
11260 lt_cv_dlopen_self_static=no
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11268 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11271 CPPFLAGS="$save_CPPFLAGS"
11272 LDFLAGS="$save_LDFLAGS"
11277 case $lt_cv_dlopen_self in
11278 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11279 *) enable_dlopen_self=unknown ;;
11282 case $lt_cv_dlopen_self_static in
11283 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11284 *) enable_dlopen_self_static=unknown ;;
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11307 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11308 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11309 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11310 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11312 $as_echo "yes" >&6; }
11314 # FIXME - insert some real tests, host_os isn't really good enough
11317 if test -n "$STRIP" ; then
11318 striplib="$STRIP -x"
11319 old_striplib="$STRIP -S"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11321 $as_echo "yes" >&6; }
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11324 $as_echo "no" >&6; }
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11329 $as_echo "no" >&6; }
11345 # Report which library types will actually be built
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11347 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11349 $as_echo "$can_build_shared" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11352 $as_echo_n "checking whether to build shared libraries... " >&6; }
11353 test "$can_build_shared" = "no" && enable_shared=no
11355 # On AIX, shared libraries and static libraries use the same namespace, and
11356 # are all built from PIC.
11359 test "$enable_shared" = yes && enable_static=no
11360 if test -n "$RANLIB"; then
11361 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11362 postinstall_cmds='$RANLIB $lib'
11367 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11368 test "$enable_shared" = yes && enable_static=no
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11373 $as_echo "$enable_shared" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11376 $as_echo_n "checking whether to build static libraries... " >&6; }
11377 # Make sure either enable_shared or enable_static is yes.
11378 test "$enable_shared" = yes || enable_static=yes
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11380 $as_echo "$enable_static" >&6; }
11387 ac_cpp='$CPP $CPPFLAGS'
11388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11406 ac_config_commands="$ac_config_commands libtool"
11411 # Only expand once:
11414 if test "x$CC" != xcc; then
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11416 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11419 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11421 set dummy $CC; ac_cc=`$as_echo "$2" |
11422 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11423 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11424 $as_echo_n "(cached) " >&6
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11437 # Make sure it works both with $CC and with simple cc.
11438 # We do the test twice because some compilers refuse to overwrite an
11439 # existing .o file with -o, though they will create one.
11440 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11442 if { { case "(($ac_try" in
11443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11444 *) ac_try_echo=$ac_try;;
11446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11447 $as_echo "$ac_try_echo"; } >&5
11448 (eval "$ac_try") 2>&5
11450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11451 test $ac_status = 0; } &&
11452 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;;
11456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11457 $as_echo "$ac_try_echo"; } >&5
11458 (eval "$ac_try") 2>&5
11460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11461 test $ac_status = 0; };
11463 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11464 if test "x$CC" != xcc; then
11465 # Test first that cc exists at all.
11466 if { ac_try='cc -c conftest.$ac_ext >&5'
11467 { { case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11472 $as_echo "$ac_try_echo"; } >&5
11473 (eval "$ac_try") 2>&5
11475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11476 test $ac_status = 0; }; }; then
11477 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11479 if { { case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11484 $as_echo "$ac_try_echo"; } >&5
11485 (eval "$ac_try") 2>&5
11487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488 test $ac_status = 0; } &&
11489 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11491 *) ac_try_echo=$ac_try;;
11493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11494 $as_echo "$ac_try_echo"; } >&5
11495 (eval "$ac_try") 2>&5
11497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11498 test $ac_status = 0; };
11503 # cc exists but doesn't like -o.
11504 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11509 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11511 rm -f core conftest*
11514 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11516 $as_echo "yes" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11519 $as_echo "no" >&6; }
11521 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11525 # FIXME: we rely on the cache variable name because
11526 # there is no other way.
11528 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11529 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11530 if test "$am_t" != yes; then
11531 # Losing compiler, so override with the script.
11532 # FIXME: It is wrong to rewrite CC.
11533 # But if we don't then we get into trouble of one sort or another.
11534 # A longer-term fix would be to have automake use am__CC in this case,
11535 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11536 CC="$am_aux_dir/compile $CC"
11541 ac_config_headers="$ac_config_headers config.h"
11545 cflags_save="$CFLAGS"
11546 if test -z "$GCC"; then
11550 CFLAGS="-O2 -w -signed"
11551 PROFILE="-p -g3 -O2 -signed"
11553 sparc-sun-solaris*)
11555 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
11556 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
11567 DEBUG="-g -Wall -fsigned-char"
11568 CFLAGS="-O20 -Wall -ffast-math -fsigned-char"
11569 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
11572 DEBUG="-g -Wall -fsigned-char"
11573 CFLAGS="-O20 -ffast-math -fsigned-char"
11574 PROFILE="-pg -g -O20 -fsigned-char"
11577 DEBUG="-fno-common -g -Wall -fsigned-char"
11578 CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
11579 PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
11582 DEBUG="-g -Wall -fsigned-char"
11583 CFLAGS="-O20 -fsigned-char"
11584 PROFILE="-O20 -g -pg -fsigned-char"
11588 CFLAGS="$CFLAGS $cflags_save"
11589 DEBUG="$DEBUG $cflags_save"
11590 PROFILE="$PROFILE $cflags_save"
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11595 $as_echo_n "checking for ANSI C header files... " >&6; }
11596 if ${ac_cv_header_stdc+:} false; then :
11597 $as_echo_n "(cached) " >&6
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 #include <stdlib.h>
11602 #include <stdarg.h>
11603 #include <string.h>
11614 if ac_fn_c_try_compile "$LINENO"; then :
11615 ac_cv_header_stdc=yes
11617 ac_cv_header_stdc=no
11619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11621 if test $ac_cv_header_stdc = yes; then
11622 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 #include <string.h>
11628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11629 $EGREP "memchr" >/dev/null 2>&1; then :
11632 ac_cv_header_stdc=no
11638 if test $ac_cv_header_stdc = yes; then
11639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 #include <stdlib.h>
11645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11646 $EGREP "free" >/dev/null 2>&1; then :
11649 ac_cv_header_stdc=no
11655 if test $ac_cv_header_stdc = yes; then
11656 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11657 if test "$cross_compiling" = yes; then :
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11663 #include <stdlib.h>
11664 #if ((' ' & 0x0FF) == 0x020)
11665 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11666 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11668 # define ISLOWER(c) \
11669 (('a' <= (c) && (c) <= 'i') \
11670 || ('j' <= (c) && (c) <= 'r') \
11671 || ('s' <= (c) && (c) <= 'z'))
11672 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11675 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11680 for (i = 0; i < 256; i++)
11681 if (XOR (islower (i), ISLOWER (i))
11682 || toupper (i) != TOUPPER (i))
11687 if ac_fn_c_try_run "$LINENO"; then :
11690 ac_cv_header_stdc=no
11692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11693 conftest.$ac_objext conftest.beam conftest.$ac_ext
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11699 $as_echo "$ac_cv_header_stdc" >&6; }
11700 if test $ac_cv_header_stdc = yes; then
11702 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11706 INCLUDE_INTTYPES_H=0
11708 INCLUDE_SYS_TYPES_H=0
11709 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
11710 if test "x$ac_cv_header_inttypes_h" = xyes; then :
11711 INCLUDE_INTTYPES_H=1
11715 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
11716 if test "x$ac_cv_header_stdint_h" = xyes; then :
11721 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
11722 if test "x$ac_cv_header_sys_types_h" = xyes; then :
11723 INCLUDE_SYS_TYPES_H=1
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11729 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11730 if ${ac_cv_c_const+:} false; then :
11731 $as_echo_n "(cached) " >&6
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11739 /* FIXME: Include the comments suggested by Paul. */
11740 #ifndef __cplusplus
11741 /* Ultrix mips cc rejects this. */
11742 typedef int charset[2];
11744 /* SunOS 4.1.1 cc rejects this. */
11745 char const *const *pcpcc;
11747 /* NEC SVR4.0.2 mips cc rejects this. */
11748 struct point {int x, y;};
11749 static struct point const zero = {0,0};
11750 /* AIX XL C 1.02.0.0 rejects this.
11751 It does not let you subtract one const X* pointer from another in
11752 an arm of an if-expression whose if-part is not a constant
11754 const char *g = "string";
11755 pcpcc = &g + (g ? g-g : 0);
11756 /* HPUX 7.0 cc rejects these. */
11758 ppc = (char**) pcpcc;
11759 pcpcc = (char const *const *) ppc;
11760 { /* SCO 3.2v4 cc rejects this. */
11762 char const *s = 0 ? (char *) 0 : (char const *) 0;
11767 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11768 int x[] = {25, 17};
11769 const int *foo = &x[0];
11772 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11773 typedef const int *iptr;
11777 { /* AIX XL C 1.02.0.0 rejects this saying
11778 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11779 struct s { int j; const int *ap[3]; };
11780 struct s *b; b->j = 5;
11782 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11783 const int foo = 10;
11784 if (!foo) return 0;
11786 return !cs[0] && !zero.x;
11793 if ac_fn_c_try_compile "$LINENO"; then :
11798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11801 $as_echo "$ac_cv_c_const" >&6; }
11802 if test $ac_cv_c_const = no; then
11804 $as_echo "#define const /**/" >>confdefs.h
11810 # The cast to long int works around a bug in the HP C Compiler
11811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11813 # This bug is HP SR number 8606223364.
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5
11815 $as_echo_n "checking size of int16_t... " >&6; }
11816 if ${ac_cv_sizeof_int16_t+:} false; then :
11817 $as_echo_n "(cached) " >&6
11819 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t" "$ac_includes_default"; then :
11822 if test "$ac_cv_type_int16_t" = yes; then
11823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11825 as_fn_error 77 "cannot compute sizeof (int16_t)
11826 See \`config.log' for more details" "$LINENO" 5; }
11828 ac_cv_sizeof_int16_t=0
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5
11834 $as_echo "$ac_cv_sizeof_int16_t" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
11843 # The cast to long int works around a bug in the HP C Compiler
11844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11846 # This bug is HP SR number 8606223364.
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5
11848 $as_echo_n "checking size of uint16_t... " >&6; }
11849 if ${ac_cv_sizeof_uint16_t+:} false; then :
11850 $as_echo_n "(cached) " >&6
11852 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t" "$ac_includes_default"; then :
11855 if test "$ac_cv_type_uint16_t" = yes; then
11856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11858 as_fn_error 77 "cannot compute sizeof (uint16_t)
11859 See \`config.log' for more details" "$LINENO" 5; }
11861 ac_cv_sizeof_uint16_t=0
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5
11867 $as_echo "$ac_cv_sizeof_uint16_t" >&6; }
11871 cat >>confdefs.h <<_ACEOF
11872 #define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
11876 # The cast to long int works around a bug in the HP C Compiler
11877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11879 # This bug is HP SR number 8606223364.
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int16_t" >&5
11881 $as_echo_n "checking size of u_int16_t... " >&6; }
11882 if ${ac_cv_sizeof_u_int16_t+:} false; then :
11883 $as_echo_n "(cached) " >&6
11885 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int16_t))" "ac_cv_sizeof_u_int16_t" "$ac_includes_default"; then :
11888 if test "$ac_cv_type_u_int16_t" = yes; then
11889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11891 as_fn_error 77 "cannot compute sizeof (u_int16_t)
11892 See \`config.log' for more details" "$LINENO" 5; }
11894 ac_cv_sizeof_u_int16_t=0
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int16_t" >&5
11900 $as_echo "$ac_cv_sizeof_u_int16_t" >&6; }
11904 cat >>confdefs.h <<_ACEOF
11905 #define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t
11909 # The cast to long int works around a bug in the HP C Compiler
11910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11912 # This bug is HP SR number 8606223364.
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5
11914 $as_echo_n "checking size of int32_t... " >&6; }
11915 if ${ac_cv_sizeof_int32_t+:} false; then :
11916 $as_echo_n "(cached) " >&6
11918 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t" "$ac_includes_default"; then :
11921 if test "$ac_cv_type_int32_t" = yes; then
11922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11924 as_fn_error 77 "cannot compute sizeof (int32_t)
11925 See \`config.log' for more details" "$LINENO" 5; }
11927 ac_cv_sizeof_int32_t=0
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5
11933 $as_echo "$ac_cv_sizeof_int32_t" >&6; }
11937 cat >>confdefs.h <<_ACEOF
11938 #define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
11942 # The cast to long int works around a bug in the HP C Compiler
11943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11945 # This bug is HP SR number 8606223364.
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5
11947 $as_echo_n "checking size of uint32_t... " >&6; }
11948 if ${ac_cv_sizeof_uint32_t+:} false; then :
11949 $as_echo_n "(cached) " >&6
11951 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t" "$ac_includes_default"; then :
11954 if test "$ac_cv_type_uint32_t" = yes; then
11955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11957 as_fn_error 77 "cannot compute sizeof (uint32_t)
11958 See \`config.log' for more details" "$LINENO" 5; }
11960 ac_cv_sizeof_uint32_t=0
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5
11966 $as_echo "$ac_cv_sizeof_uint32_t" >&6; }
11970 cat >>confdefs.h <<_ACEOF
11971 #define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
11975 # The cast to long int works around a bug in the HP C Compiler
11976 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11977 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11978 # This bug is HP SR number 8606223364.
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int32_t" >&5
11980 $as_echo_n "checking size of u_int32_t... " >&6; }
11981 if ${ac_cv_sizeof_u_int32_t+:} false; then :
11982 $as_echo_n "(cached) " >&6
11984 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int32_t))" "ac_cv_sizeof_u_int32_t" "$ac_includes_default"; then :
11987 if test "$ac_cv_type_u_int32_t" = yes; then
11988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11990 as_fn_error 77 "cannot compute sizeof (u_int32_t)
11991 See \`config.log' for more details" "$LINENO" 5; }
11993 ac_cv_sizeof_u_int32_t=0
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int32_t" >&5
11999 $as_echo "$ac_cv_sizeof_u_int32_t" >&6; }
12003 cat >>confdefs.h <<_ACEOF
12004 #define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t
12008 # The cast to long int works around a bug in the HP C Compiler
12009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12011 # This bug is HP SR number 8606223364.
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
12013 $as_echo_n "checking size of int64_t... " >&6; }
12014 if ${ac_cv_sizeof_int64_t+:} false; then :
12015 $as_echo_n "(cached) " >&6
12017 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then :
12020 if test "$ac_cv_type_int64_t" = yes; then
12021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12023 as_fn_error 77 "cannot compute sizeof (int64_t)
12024 See \`config.log' for more details" "$LINENO" 5; }
12026 ac_cv_sizeof_int64_t=0
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
12032 $as_echo "$ac_cv_sizeof_int64_t" >&6; }
12036 cat >>confdefs.h <<_ACEOF
12037 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
12041 # The cast to long int works around a bug in the HP C Compiler
12042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12044 # This bug is HP SR number 8606223364.
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12046 $as_echo_n "checking size of short... " >&6; }
12047 if ${ac_cv_sizeof_short+:} false; then :
12048 $as_echo_n "(cached) " >&6
12050 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12053 if test "$ac_cv_type_short" = yes; then
12054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12056 as_fn_error 77 "cannot compute sizeof (short)
12057 See \`config.log' for more details" "$LINENO" 5; }
12059 ac_cv_sizeof_short=0
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12065 $as_echo "$ac_cv_sizeof_short" >&6; }
12069 cat >>confdefs.h <<_ACEOF
12070 #define SIZEOF_SHORT $ac_cv_sizeof_short
12074 # The cast to long int works around a bug in the HP C Compiler
12075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12077 # This bug is HP SR number 8606223364.
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12079 $as_echo_n "checking size of int... " >&6; }
12080 if ${ac_cv_sizeof_int+:} false; then :
12081 $as_echo_n "(cached) " >&6
12083 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12086 if test "$ac_cv_type_int" = yes; then
12087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12089 as_fn_error 77 "cannot compute sizeof (int)
12090 See \`config.log' for more details" "$LINENO" 5; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12098 $as_echo "$ac_cv_sizeof_int" >&6; }
12102 cat >>confdefs.h <<_ACEOF
12103 #define SIZEOF_INT $ac_cv_sizeof_int
12107 # The cast to long int works around a bug in the HP C Compiler
12108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12110 # This bug is HP SR number 8606223364.
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12112 $as_echo_n "checking size of long... " >&6; }
12113 if ${ac_cv_sizeof_long+:} false; then :
12114 $as_echo_n "(cached) " >&6
12116 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12119 if test "$ac_cv_type_long" = yes; then
12120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12122 as_fn_error 77 "cannot compute sizeof (long)
12123 See \`config.log' for more details" "$LINENO" 5; }
12125 ac_cv_sizeof_long=0
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12131 $as_echo "$ac_cv_sizeof_long" >&6; }
12135 cat >>confdefs.h <<_ACEOF
12136 #define SIZEOF_LONG $ac_cv_sizeof_long
12140 # The cast to long int works around a bug in the HP C Compiler
12141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12143 # This bug is HP SR number 8606223364.
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12145 $as_echo_n "checking size of long long... " >&6; }
12146 if ${ac_cv_sizeof_long_long+:} false; then :
12147 $as_echo_n "(cached) " >&6
12149 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
12152 if test "$ac_cv_type_long_long" = yes; then
12153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12155 as_fn_error 77 "cannot compute sizeof (long long)
12156 See \`config.log' for more details" "$LINENO" 5; }
12158 ac_cv_sizeof_long_long=0
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12164 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12168 cat >>confdefs.h <<_ACEOF
12169 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12175 $ac_cv_sizeof_short) SIZE16="short";;
12176 $ac_cv_sizeof_int) SIZE16="int";;
12177 $ac_cv_sizeof_int16_t) SIZE16="int16_t";;
12181 $ac_cv_sizeof_short) USIZE16="unsigned short";;
12182 $ac_cv_sizeof_int) USIZE16="unsigned int";;
12183 $ac_cv_sizeof_u_int16_t) USIZE16="u_int16_t";;
12184 $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";;
12188 $ac_cv_sizeof_short) SIZE32="short";;
12189 $ac_cv_sizeof_int) SIZE32="int";;
12190 $ac_cv_sizeof_long) SIZE32="long";;
12191 $ac_cv_sizeof_int32_t) SIZE32="int32_t";;
12195 $ac_cv_sizeof_short) USIZE32="unsigned short";;
12196 $ac_cv_sizeof_int) USIZE32="unsigned int";;
12197 $ac_cv_sizeof_long) USIZE32="unsigned long";;
12198 $ac_cv_sizeof_u_int32_t) USIZE32="u_int32_t";;
12199 $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";;
12203 $ac_cv_sizeof_int) SIZE64="int";;
12204 $ac_cv_sizeof_long) SIZE64="long";;
12205 $ac_cv_sizeof_long_long) SIZE64="long long";;
12206 $ac_cv_sizeof_int64_t) SIZE64="int64_t";;
12209 if test -z "$SIZE16"; then
12210 as_fn_error $? "No 16 bit type found on this platform!" "$LINENO" 5
12212 if test -z "$USIZE16"; then
12213 as_fn_error $? "No unsigned 16 bit type found on this platform!" "$LINENO" 5
12215 if test -z "$SIZE32"; then
12216 as_fn_error $? "No 32 bit type found on this platform!" "$LINENO" 5
12218 if test -z "$USIZE32"; then
12219 as_fn_error $? "No unsigned 32 bit type found on this platform!" "$LINENO" 5
12221 if test -z "$SIZE64"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No 64 bit type found on this platform!" >&5
12223 $as_echo "$as_me: WARNING: No 64 bit type found on this platform!" >&2;}
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12227 $as_echo_n "checking for working memcmp... " >&6; }
12228 if ${ac_cv_func_memcmp_working+:} false; then :
12229 $as_echo_n "(cached) " >&6
12231 if test "$cross_compiling" = yes; then :
12232 ac_cv_func_memcmp_working=no
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12236 $ac_includes_default
12241 /* Some versions of memcmp are not 8-bit clean. */
12242 char c0 = '\100', c1 = '\200', c2 = '\201';
12243 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12246 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12247 or more and with at least one buffer not starting on a 4-byte boundary.
12248 William Lewis provided this test program. */
12253 for (i = 0; i < 4; i++)
12257 strcpy (a, "--------01111111");
12258 strcpy (b, "--------10000000");
12259 if (memcmp (a, b, 16) >= 0)
12269 if ac_fn_c_try_run "$LINENO"; then :
12270 ac_cv_func_memcmp_working=yes
12272 ac_cv_func_memcmp_working=no
12274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12275 conftest.$ac_objext conftest.beam conftest.$ac_ext
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12280 $as_echo "$ac_cv_func_memcmp_working" >&6; }
12281 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12282 *" memcmp.$ac_objext "* ) ;;
12283 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12305 ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile doc/libogg/Makefile include/Makefile include/ogg/Makefile include/ogg/config_types.h libogg.spec ogg.pc ogg-uninstalled.pc"
12307 cat >confcache <<\_ACEOF
12308 # This file is a shell script that caches the results of configure
12309 # tests run on this system so they can be shared between configure
12310 # scripts and configure runs, see configure's option --config-cache.
12311 # It is not useful on other systems. If it contains results you don't
12312 # want to keep, you may remove or edit it.
12314 # config.status only pays attention to the cache file if you give it
12315 # the --recheck option to rerun configure.
12317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12319 # following values.
12323 # The following way of writing the cache mishandles newlines in values,
12324 # but we know of no workaround that is simple, portable, and efficient.
12325 # So, we kill variables containing newlines.
12326 # Ultrix sh set writes to stderr and can't be redirected directly,
12327 # and sets the high bit in the cache file unless we assign to the vars.
12329 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12330 eval ac_val=\$$ac_var
12334 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12338 _ | IFS | as_nl) ;; #(
12339 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12340 *) { eval $ac_var=; unset $ac_var;} ;;
12346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12347 *${as_nl}ac_space=\ *)
12348 # `set' does not quote correctly, so add quotes: double-quote
12349 # substitution turns \\\\ into \\, and sed turns \\ into \.
12352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12355 # `set' quotes correctly as required by POSIX, so do not add quotes.
12356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12370 if test -w "$cache_file"; then
12371 if test "x$cache_file" != "x/dev/null"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12373 $as_echo "$as_me: updating cache $cache_file" >&6;}
12374 if test ! -f "$cache_file" || test -h "$cache_file"; then
12375 cat confcache >"$cache_file"
12377 case $cache_file in #(
12379 mv -f confcache "$cache_file"$$ &&
12380 mv -f "$cache_file"$$ "$cache_file" ;; #(
12382 mv -f confcache "$cache_file" ;;
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12393 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12394 # Let make expand exec_prefix.
12395 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12397 DEFS=-DHAVE_CONFIG_H
12402 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12403 # 1. Remove the extension, and $U if already installed.
12404 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12405 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12406 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12407 # will be set to the directory where LIBOBJS objects are built.
12408 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12409 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12411 LIBOBJS=$ac_libobjs
12413 LTLIBOBJS=$ac_ltlibobjs
12416 if test -n "$EXEEXT"; then
12418 am__EXEEXT_FALSE='#'
12420 am__EXEEXT_TRUE='#'
12424 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12425 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12428 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12429 as_fn_error $? "conditional \"AMDEP\" was never defined.
12430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12432 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12433 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12437 : "${CONFIG_STATUS=./config.status}"
12439 ac_clean_files_save=$ac_clean_files
12440 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12442 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12444 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12446 # Generated by $as_me.
12447 # Run this file to recreate the current configuration.
12448 # Compiler output produced by configure, useful for debugging
12449 # configure, is in config.log if it exists.
12452 ac_cs_recheck=false
12455 SHELL=\${CONFIG_SHELL-$SHELL}
12458 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12459 ## -------------------- ##
12460 ## M4sh Initialization. ##
12461 ## -------------------- ##
12463 # Be more Bourne compatible
12464 DUALCASE=1; export DUALCASE # for MKS sh
12465 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12468 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12469 # is contrary to our usage. Disable this feature.
12470 alias -g '${1+"$@"}'='"$@"'
12471 setopt NO_GLOB_SUBST
12473 case `(set -o) 2>/dev/null` in #(
12485 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12486 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12487 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12489 # Prefer a ksh shell builtin over an external printf program on Solaris,
12490 # but without wasting forks for bash or zsh.
12491 if test -z "$BASH_VERSION$ZSH_VERSION" \
12492 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12493 as_echo='print -r --'
12494 as_echo_n='print -rn --'
12495 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12496 as_echo='printf %s\n'
12497 as_echo_n='printf %s'
12499 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12500 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12501 as_echo_n='/usr/ucb/echo -n'
12503 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12504 as_echo_n_body='eval
12508 expr "X$arg" : "X\\(.*\\)$as_nl";
12509 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12511 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12513 export as_echo_n_body
12514 as_echo_n='sh -c $as_echo_n_body as_echo'
12516 export as_echo_body
12517 as_echo='sh -c $as_echo_body as_echo'
12520 # The user is always right.
12521 if test "${PATH_SEPARATOR+set}" != set; then
12523 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12524 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12531 # We need space, tab and new line, in precisely that order. Quoting is
12532 # there to prevent editors from complaining about space-tab.
12533 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12534 # splitting by setting IFS to empty value.)
12537 # Find who we are. Look in the path if we contain no directory separator.
12540 *[\\/]* ) as_myself=$0 ;;
12541 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12542 for as_dir in $PATH
12545 test -z "$as_dir" && as_dir=.
12546 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12552 # We did not find ourselves, most probably we were run as `sh COMMAND'
12553 # in which case we are not to be found in the path.
12554 if test "x$as_myself" = x; then
12557 if test ! -f "$as_myself"; then
12558 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12562 # Unset variables that we do not need and which cause bugs (e.g. in
12563 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12564 # suppresses any "Segmentation fault" message there. '((' could
12565 # trigger a bug in pdksh 5.2.14.
12566 for as_var in BASH_ENV ENV MAIL MAILPATH
12567 do eval test x\${$as_var+set} = xset \
12568 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12581 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12584 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12585 # ----------------------------------------
12586 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12587 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12588 # script with STATUS, using 1 if that was 0.
12591 as_status=$1; test $as_status -eq 0 && as_status=1
12593 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12594 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12596 $as_echo "$as_me: error: $2" >&2
12597 as_fn_exit $as_status
12601 # as_fn_set_status STATUS
12602 # -----------------------
12603 # Set $? to STATUS, without forking.
12604 as_fn_set_status ()
12607 } # as_fn_set_status
12609 # as_fn_exit STATUS
12610 # -----------------
12611 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12615 as_fn_set_status $1
12621 # Portably unset VAR.
12624 { eval $1=; unset $1;}
12626 as_unset=as_fn_unset
12627 # as_fn_append VAR VALUE
12628 # ----------------------
12629 # Append the text in VALUE to the end of the definition contained in VAR. Take
12630 # advantage of any shell optimizations that allow amortized linear growth over
12631 # repeated appends, instead of the typical quadratic growth present in naive
12633 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12634 eval 'as_fn_append ()
12645 # as_fn_arith ARG...
12646 # ------------------
12647 # Perform arithmetic evaluation on the ARGs, and store the result in the
12648 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12649 # must be portable across $(()) and expr.
12650 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12651 eval 'as_fn_arith ()
12658 as_val=`expr "$@" || test $? -eq 1`
12663 if expr a : '\(a\)' >/dev/null 2>&1 &&
12664 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12670 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12671 as_basename=basename
12676 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12682 as_me=`$as_basename -- "$0" ||
12683 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12684 X"$0" : 'X\(//\)$' \| \
12685 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12687 sed '/^.*\/\([^/][^/]*\)\/*$/{
12701 # Avoid depending upon Character Ranges.
12702 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12703 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12704 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12705 as_cr_digits='0123456789'
12706 as_cr_alnum=$as_cr_Letters$as_cr_digits
12708 ECHO_C= ECHO_N= ECHO_T=
12709 case `echo -n x` in #(((((
12711 case `echo 'xy\c'` in
12712 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12714 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12721 rm -f conf$$ conf$$.exe conf$$.file
12722 if test -d conf$$.dir; then
12723 rm -f conf$$.dir/conf$$.file
12726 mkdir conf$$.dir 2>/dev/null
12728 if (echo >conf$$.file) 2>/dev/null; then
12729 if ln -s conf$$.file conf$$ 2>/dev/null; then
12731 # ... but there are two gotchas:
12732 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12733 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12734 # In both cases, we have to default to `cp -p'.
12735 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12737 elif ln conf$$.file conf$$ 2>/dev/null; then
12745 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12746 rmdir conf$$.dir 2>/dev/null
12751 # Create "$as_dir" as a directory, including parents if necessary.
12756 -*) as_dir=./$as_dir;;
12758 test -d "$as_dir" || eval $as_mkdir_p || {
12762 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12763 *) as_qdir=$as_dir;;
12765 as_dirs="'$as_qdir' $as_dirs"
12766 as_dir=`$as_dirname -- "$as_dir" ||
12767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12768 X"$as_dir" : 'X\(//\)[^/]' \| \
12769 X"$as_dir" : 'X\(//\)$' \| \
12770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12771 $as_echo X"$as_dir" |
12772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12776 /^X\(\/\/\)[^/].*/{
12789 test -d "$as_dir" && break
12791 test -z "$as_dirs" || eval "mkdir $as_dirs"
12792 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12796 if mkdir -p . 2>/dev/null; then
12797 as_mkdir_p='mkdir -p "$as_dir"'
12799 test -d ./-p && rmdir ./-p
12803 if test -x / >/dev/null 2>&1; then
12804 as_test_x='test -x'
12806 if ls -dL / >/dev/null 2>&1; then
12813 if test -d "$1"; then
12819 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12820 ???[sx]*):;;*)false;;esac;fi
12824 as_executable_p=$as_test_x
12826 # Sed expression to map a string onto a valid CPP name.
12827 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12829 # Sed expression to map a string onto a valid variable name.
12830 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12834 ## ----------------------------------- ##
12835 ## Main body of $CONFIG_STATUS script. ##
12836 ## ----------------------------------- ##
12838 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12841 # Save the log message, to keep $0 and so on meaningful, and to
12842 # report actual input values of CONFIG_FILES etc. instead of their
12843 # values after options handling.
12845 This file was extended by $as_me, which was
12846 generated by GNU Autoconf 2.68. Invocation command line was
12848 CONFIG_FILES = $CONFIG_FILES
12849 CONFIG_HEADERS = $CONFIG_HEADERS
12850 CONFIG_LINKS = $CONFIG_LINKS
12851 CONFIG_COMMANDS = $CONFIG_COMMANDS
12854 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12859 case $ac_config_files in *"
12860 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12863 case $ac_config_headers in *"
12864 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12869 # Files that config.status was made for.
12870 config_files="$ac_config_files"
12871 config_headers="$ac_config_headers"
12872 config_commands="$ac_config_commands"
12876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12878 \`$as_me' instantiates files and other configuration actions
12879 from templates according to the current configuration. Unless the files
12880 and actions are specified as TAGs, all are instantiated by default.
12882 Usage: $0 [OPTION]... [TAG]...
12884 -h, --help print this help, then exit
12885 -V, --version print version number and configuration settings, then exit
12886 --config print configuration, then exit
12887 -q, --quiet, --silent
12888 do not print progress messages
12889 -d, --debug don't remove temporary files
12890 --recheck update $as_me by reconfiguring in the same conditions
12891 --file=FILE[:TEMPLATE]
12892 instantiate the configuration file FILE
12893 --header=FILE[:TEMPLATE]
12894 instantiate the configuration header FILE
12896 Configuration files:
12899 Configuration headers:
12902 Configuration commands:
12905 Report bugs to the package provider."
12908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12909 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12912 configured by $0, generated by GNU Autoconf 2.68,
12913 with options \\"\$ac_cs_config\\"
12915 Copyright (C) 2010 Free Software Foundation, Inc.
12916 This config.status script is free software; the Free Software Foundation
12917 gives unlimited permission to copy, distribute and modify it."
12924 test -n "\$AWK" || AWK=awk
12927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12928 # The default lists apply if the user does not specify any file.
12934 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12935 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12939 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12951 # Handling of the options.
12952 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12954 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12955 $as_echo "$ac_cs_version"; exit ;;
12956 --config | --confi | --conf | --con | --co | --c )
12957 $as_echo "$ac_cs_config"; exit ;;
12958 --debug | --debu | --deb | --de | --d | -d )
12960 --file | --fil | --fi | --f )
12963 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12964 '') as_fn_error $? "missing file argument" ;;
12966 as_fn_append CONFIG_FILES " '$ac_optarg'"
12967 ac_need_defaults=false;;
12968 --header | --heade | --head | --hea )
12971 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12973 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12974 ac_need_defaults=false;;
12976 # Conflict between --help and --header
12977 as_fn_error $? "ambiguous option: \`$1'
12978 Try \`$0 --help' for more information.";;
12979 --help | --hel | -h )
12980 $as_echo "$ac_cs_usage"; exit ;;
12981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12982 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12985 # This is an error.
12986 -*) as_fn_error $? "unrecognized option: \`$1'
12987 Try \`$0 --help' for more information." ;;
12989 *) as_fn_append ac_config_targets " $1"
12990 ac_need_defaults=false ;;
12996 ac_configure_extra_args=
12998 if $ac_cs_silent; then
13000 ac_configure_extra_args="$ac_configure_extra_args --silent"
13004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13005 if \$ac_cs_recheck; then
13006 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13008 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13009 CONFIG_SHELL='$SHELL'
13010 export CONFIG_SHELL
13015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13019 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13020 ## Running $as_me. ##
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13030 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13033 # The HP-UX ksh and POSIX shell print the target directory to stdout
13034 # if CDPATH is set.
13035 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13037 sed_quote_subst='$sed_quote_subst'
13038 double_quote_subst='$double_quote_subst'
13039 delay_variable_subst='$delay_variable_subst'
13040 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13041 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13042 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13043 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13044 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13045 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13046 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13047 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13048 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13049 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13050 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13051 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13052 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13053 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13054 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13055 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13056 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13057 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13058 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13059 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13060 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13061 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13062 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13063 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13064 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13065 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13066 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13067 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13068 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13069 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13070 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13071 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13072 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13073 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13074 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13075 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13076 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13077 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13078 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13079 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13080 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13081 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13082 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13083 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13084 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13085 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13086 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13087 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13088 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13089 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13090 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13091 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13092 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13093 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13094 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13095 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"`'
13096 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13097 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13098 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13099 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13100 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13101 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13102 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13103 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13104 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13105 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13106 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13107 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13108 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13109 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13110 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13111 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13112 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13113 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13114 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13115 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13116 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13117 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13118 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13119 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13120 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13121 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13122 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13123 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13124 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13125 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13126 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13127 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13128 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13129 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13130 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13131 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13132 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13133 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13134 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13135 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13136 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13137 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13138 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13139 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13140 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13141 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13142 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13143 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13144 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13145 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13146 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13147 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13148 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13149 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13150 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13151 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13152 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13153 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13154 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13155 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13156 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13157 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13158 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13159 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13160 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13161 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13162 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13163 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13164 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13165 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13166 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13167 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13168 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13169 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13172 LTCFLAGS='$LTCFLAGS'
13173 compiler='$compiler_DEFAULT'
13175 # A function that is used when there is no print builtin or printf.
13176 func_fallback_echo ()
13178 eval 'cat <<_LTECHO_EOF
13183 # Quote evaled strings.
13197 deplibs_check_method \
13202 sharedlib_from_linklib_cmd \
13205 archiver_list_spec \
13211 lt_cv_sys_global_symbol_pipe \
13212 lt_cv_sys_global_symbol_to_cdecl \
13213 lt_cv_sys_global_symbol_to_c_name_address \
13214 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13215 nm_file_list_spec \
13216 lt_prog_compiler_no_builtin_flag \
13217 lt_prog_compiler_pic \
13218 lt_prog_compiler_wl \
13219 lt_prog_compiler_static \
13220 lt_cv_prog_compiler_c_o \
13229 export_dynamic_flag_spec \
13230 whole_archive_flag_spec \
13231 compiler_needs_object \
13233 allow_undefined_flag \
13234 no_undefined_flag \
13235 hardcode_libdir_flag_spec \
13236 hardcode_libdir_flag_spec_ld \
13237 hardcode_libdir_separator \
13241 variables_saved_for_relink \
13243 library_names_spec \
13245 install_override_mode \
13249 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13250 *[\\\\\\\`\\"\\\$]*)
13251 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13254 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13259 # Double-quote double-evaled strings.
13260 for var in reload_cmds \
13261 old_postinstall_cmds \
13262 old_postuninstall_cmds \
13264 extract_expsyms_cmds \
13265 old_archive_from_new_cmds \
13266 old_archive_from_expsyms_cmds \
13268 archive_expsym_cmds \
13270 module_expsym_cmds \
13271 export_symbols_cmds \
13275 postuninstall_cmds \
13277 sys_lib_search_path_spec \
13278 sys_lib_dlsearch_path_spec; do
13279 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13280 *[\\\\\\\`\\"\\\$]*)
13281 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13284 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13289 ac_aux_dir='$ac_aux_dir'
13290 xsi_shell='$xsi_shell'
13291 lt_shell_append='$lt_shell_append'
13293 # See if we are running on zsh, and set the options which allow our
13294 # commands through without removal of \ escapes INIT.
13295 if test -n "\${ZSH_VERSION+set}" ; then
13296 setopt NO_GLOB_SUBST
13302 TIMESTAMP='$TIMESTAMP'
13311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13313 # Handling of arguments.
13314 for ac_config_target in $ac_config_targets
13316 case $ac_config_target in
13317 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13318 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13319 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13320 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13321 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13322 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13323 "doc/libogg/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libogg/Makefile" ;;
13324 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13325 "include/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES include/ogg/Makefile" ;;
13326 "include/ogg/config_types.h") CONFIG_FILES="$CONFIG_FILES include/ogg/config_types.h" ;;
13327 "libogg.spec") CONFIG_FILES="$CONFIG_FILES libogg.spec" ;;
13328 "ogg.pc") CONFIG_FILES="$CONFIG_FILES ogg.pc" ;;
13329 "ogg-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ogg-uninstalled.pc" ;;
13331 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13336 # If the user did not use the arguments to specify the items to instantiate,
13337 # then the envvar interface is used. Set only those that are not.
13338 # We use the long form for the default assignment because of an extremely
13339 # bizarre bug on SunOS 4.1.3.
13340 if $ac_need_defaults; then
13341 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13342 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13343 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13346 # Have a temporary directory for convenience. Make it in the build tree
13347 # simply because there is no reason against having it here, and in addition,
13348 # creating and moving files from /tmp can sometimes cause problems.
13349 # Hook for its removal unless debugging.
13350 # Note that there is a small window in which the directory will not be cleaned:
13351 # after its creation but before its name has been assigned to `$tmp'.
13355 trap 'exit_status=$?
13356 : "${ac_tmp:=$tmp}"
13357 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13359 trap 'as_fn_exit 1' 1 2 13 15
13361 # Create a (secure) tmp directory for tmp files.
13364 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13368 tmp=./conf$$-$RANDOM
13369 (umask 077 && mkdir "$tmp")
13370 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13373 # Set up the scripts for CONFIG_FILES section.
13374 # No need to generate them if there are no CONFIG_FILES.
13375 # This happens for instance with `./config.status config.h'.
13376 if test -n "$CONFIG_FILES"; then
13379 ac_cr=`echo X | tr X '\015'`
13380 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13381 # But we know of no other shell where ac_cr would be empty at this
13382 # point, so we can use a bashism as a fallback.
13383 if test "x$ac_cr" = x; then
13384 eval ac_cr=\$\'\\r\'
13386 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13387 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13390 ac_cs_awk_cr=$ac_cr
13393 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13398 echo "cat >conf$$subs.awk <<_ACEOF" &&
13399 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13401 } >conf$$subs.sh ||
13402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13403 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13405 for ac_last_try in false false false false false :; do
13406 . ./conf$$subs.sh ||
13407 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13409 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13410 if test $ac_delim_n = $ac_delim_num; then
13412 elif $ac_last_try; then
13413 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13415 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13418 rm -f conf$$subs.sh
13420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13421 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13425 s/^/S["/; s/!.*/"]=/
13435 s/\(.\{148\}\)..*/\1/
13437 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13442 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13449 s/\(.\{148\}\)..*/\1/
13451 s/["\\]/\\&/g; s/^/"/; s/$/"/
13455 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13460 ' <conf$$subs.awk | sed '
13465 ' >>$CONFIG_STATUS || ac_write_fail=1
13466 rm -f conf$$subs.awk
13467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13469 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13470 for (key in S) S_is_set[key] = 1
13476 nfields = split(line, field, "@")
13478 len = length(field[1])
13479 for (i = 2; i < nfields; i++) {
13481 keylen = length(key)
13482 if (S_is_set[key]) {
13484 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13485 len += length(value) + length(field[++i])
13496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13497 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13498 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13501 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13502 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13505 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13506 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13507 # trailing colons and then remove the whole line if VPATH becomes empty
13508 # (actually we leave an empty line to preserve line numbers).
13509 if test "x$srcdir" = x.; then
13510 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13529 fi # test -n "$CONFIG_FILES"
13531 # Set up the scripts for CONFIG_HEADERS section.
13532 # No need to generate them if there are no CONFIG_HEADERS.
13533 # This happens for instance with `./config.status Makefile'.
13534 if test -n "$CONFIG_HEADERS"; then
13535 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13539 # Transform confdefs.h into an awk script `defines.awk', embedded as
13540 # here-document in config.status, that substitutes the proper values into
13541 # config.h.in to produce config.h.
13543 # Create a delimiter string that does not exist in confdefs.h, to ease
13544 # handling of long lines.
13546 for ac_last_try in false false :; do
13547 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13548 if test -z "$ac_tt"; then
13550 elif $ac_last_try; then
13551 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13553 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13557 # For the awk script, D is an array of macro values keyed by name,
13558 # likewise P contains macro parameters if any. Preserve backslash
13559 # newline sequences.
13561 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13563 s/.\{148\}/&'"$ac_delim"'/g
13566 s/^[ ]*#[ ]*define[ ][ ]*/ /
13573 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13575 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13579 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13580 D["\1"]=" \3\\\\\\n"\\/p
13582 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13587 s/.\{148\}/&'"$ac_delim"'/g
13592 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13595 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13597 ' <confdefs.h | sed '
13598 s/'"$ac_delim"'/"\\\
13599 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13602 for (key in D) D_is_set[key] = 1
13605 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13607 split(line, arg, " ")
13608 if (arg[1] == "#") {
13612 defundef = substr(arg[1], 2)
13615 split(mac1, mac2, "(") #)
13617 prefix = substr(line, 1, index(line, defundef) - 1)
13618 if (D_is_set[macro]) {
13619 # Preserve the white space surrounding the "#".
13620 print prefix "define", macro P[macro] D[macro]
13623 # Replace #undef with comments. This is necessary, for example,
13624 # in the case of _POSIX_SOURCE, which is predefined and required
13625 # on some systems where configure will not decide to define it.
13626 if (defundef == "undef") {
13627 print "/*", prefix defundef, macro, "*/"
13635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13636 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13637 fi # test -n "$CONFIG_HEADERS"
13640 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13645 :[FHLC]) ac_mode=$ac_tag; continue;;
13647 case $ac_mode$ac_tag in
13649 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13650 :[FH]-) ac_tag=-:-;;
13651 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13668 -) ac_f="$ac_tmp/stdin";;
13669 *) # Look for the file first in the build tree, then in the source tree
13670 # (if the path is not absolute). The absolute path cannot be DOS-style,
13671 # because $ac_f cannot contain `:'.
13675 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13677 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13679 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13680 as_fn_append ac_file_inputs " '$ac_f'"
13683 # Let's still pretend it is `configure' which instantiates (i.e., don't
13684 # use $as_me), people would be surprised to read:
13685 # /* config.h. Generated by config.status. */
13686 configure_input='Generated from '`
13687 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13689 if test x"$ac_file" != x-; then
13690 configure_input="$ac_file. $configure_input"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13692 $as_echo "$as_me: creating $ac_file" >&6;}
13694 # Neutralize special characters interpreted by sed in replacement strings.
13695 case $configure_input in #(
13696 *\&* | *\|* | *\\* )
13697 ac_sed_conf_input=`$as_echo "$configure_input" |
13698 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13699 *) ac_sed_conf_input=$configure_input;;
13703 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13704 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13709 ac_dir=`$as_dirname -- "$ac_file" ||
13710 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13711 X"$ac_file" : 'X\(//\)[^/]' \| \
13712 X"$ac_file" : 'X\(//\)$' \| \
13713 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13714 $as_echo X"$ac_file" |
13715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13719 /^X\(\/\/\)[^/].*/{
13732 as_dir="$ac_dir"; as_fn_mkdir_p
13736 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13738 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13739 # A ".." for each directory in $ac_dir_suffix.
13740 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13741 case $ac_top_builddir_sub in
13742 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13743 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13746 ac_abs_top_builddir=$ac_pwd
13747 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13748 # for backward compatibility:
13749 ac_top_builddir=$ac_top_build_prefix
13752 .) # We are building in place.
13754 ac_top_srcdir=$ac_top_builddir_sub
13755 ac_abs_top_srcdir=$ac_pwd ;;
13756 [\\/]* | ?:[\\/]* ) # Absolute name.
13757 ac_srcdir=$srcdir$ac_dir_suffix;
13758 ac_top_srcdir=$srcdir
13759 ac_abs_top_srcdir=$srcdir ;;
13760 *) # Relative name.
13761 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13762 ac_top_srcdir=$ac_top_build_prefix$srcdir
13763 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13765 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13775 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13776 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13778 ac_MKDIR_P=$MKDIR_P
13780 [\\/$]* | ?:[\\/]* ) ;;
13781 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13786 # If the template does not know about datarootdir, expand it.
13787 # FIXME: This hack should be removed a few years after 2.60.
13788 ac_datarootdir_hack=; ac_datarootdir_seen=
13799 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13800 *datarootdir*) ac_datarootdir_seen=yes;;
13801 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13803 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13806 ac_datarootdir_hack='
13807 s&@datadir@&$datadir&g
13808 s&@docdir@&$docdir&g
13809 s&@infodir@&$infodir&g
13810 s&@localedir@&$localedir&g
13811 s&@mandir@&$mandir&g
13812 s&\\\${datarootdir}&$datarootdir&g' ;;
13816 # Neutralize VPATH when `$srcdir' = `.'.
13817 # Shell code in configure.ac might set extrasub.
13818 # FIXME: do we really want to maintain this feature?
13819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13820 ac_sed_extra="$ac_vpsub
13823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13825 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13826 s|@configure_input@|$ac_sed_conf_input|;t t
13827 s&@top_builddir@&$ac_top_builddir_sub&;t t
13828 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13829 s&@srcdir@&$ac_srcdir&;t t
13830 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13831 s&@top_srcdir@&$ac_top_srcdir&;t t
13832 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13833 s&@builddir@&$ac_builddir&;t t
13834 s&@abs_builddir@&$ac_abs_builddir&;t t
13835 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13836 s&@INSTALL@&$ac_INSTALL&;t t
13837 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13838 $ac_datarootdir_hack
13840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13841 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13846 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13848 which seems to be undefined. Please make sure it is defined" >&5
13849 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13850 which seems to be undefined. Please make sure it is defined" >&2;}
13852 rm -f "$ac_tmp/stdin"
13854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13863 if test x"$ac_file" != x-; then
13865 $as_echo "/* $configure_input */" \
13866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13867 } >"$ac_tmp/config.h" \
13868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13871 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13874 mv "$ac_tmp/config.h" "$ac_file" \
13875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13878 $as_echo "/* $configure_input */" \
13879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13880 || as_fn_error $? "could not create -" "$LINENO" 5
13882 # Compute "$ac_file"'s index in $config_headers.
13885 for _am_header in $config_headers :; do
13886 case $_am_header in
13887 $_am_arg | $_am_arg:* )
13890 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13893 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13894 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13895 X"$_am_arg" : 'X\(//\)[^/]' \| \
13896 X"$_am_arg" : 'X\(//\)$' \| \
13897 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13898 $as_echo X"$_am_arg" |
13899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13903 /^X\(\/\/\)[^/].*/{
13915 s/.*/./; q'`/stamp-h$_am_stamp_count
13918 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13919 $as_echo "$as_me: executing $ac_file commands" >&6;}
13924 case $ac_file$ac_mode in
13925 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13926 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13927 # are listed without --file. Let's play safe and only enable the eval
13928 # if we detect the quoting.
13929 case $CONFIG_FILES in
13930 *\'*) eval set x "$CONFIG_FILES" ;;
13931 *) set x $CONFIG_FILES ;;
13936 # Strip MF so we end up with the name of the file.
13937 mf=`echo "$mf" | sed -e 's/:.*$//'`
13938 # Check whether this is an Automake generated Makefile or not.
13939 # We used to match only the files named `Makefile.in', but
13940 # some people rename them; so instead we look at the file content.
13941 # Grep'ing the first line is not enough: some people post-process
13942 # each Makefile.in and add a new line on top of each file to say so.
13943 # Grep'ing the whole file is not good either: AIX grep has a line
13944 # limit of 2048, but all sed's we know have understand at least 4000.
13945 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13946 dirpart=`$as_dirname -- "$mf" ||
13947 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13948 X"$mf" : 'X\(//\)[^/]' \| \
13949 X"$mf" : 'X\(//\)$' \| \
13950 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13956 /^X\(\/\/\)[^/].*/{
13972 # Extract the definition of DEPDIR, am__include, and am__quote
13973 # from the Makefile without running `make'.
13974 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13975 test -z "$DEPDIR" && continue
13976 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13977 test -z "am__include" && continue
13978 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13979 # When using ansi2knr, U may be empty or an underscore; expand it
13980 U=`sed -n 's/^U = //p' < "$mf"`
13981 # Find all dependency output files, they are included files with
13982 # $(DEPDIR) in their names. We invoke sed twice because it is the
13983 # simplest approach to changing $(DEPDIR) to its actual value in the
13985 for file in `sed -n "
13986 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13987 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13988 # Make sure the directory exists.
13989 test -f "$dirpart/$file" && continue
13990 fdir=`$as_dirname -- "$file" ||
13991 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13992 X"$file" : 'X\(//\)[^/]' \| \
13993 X"$file" : 'X\(//\)$' \| \
13994 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13995 $as_echo X"$file" |
13996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14000 /^X\(\/\/\)[^/].*/{
14013 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14014 # echo "creating $dirpart/$file"
14015 echo '# dummy' > "$dirpart/$file"
14022 # See if we are running on zsh, and set the options which allow our
14023 # commands through without removal of \ escapes.
14024 if test -n "${ZSH_VERSION+set}" ; then
14025 setopt NO_GLOB_SUBST
14028 cfgfile="${ofile}T"
14029 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14032 cat <<_LT_EOF >> "$cfgfile"
14035 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14036 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14037 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14038 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14040 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14041 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14043 # Written by Gordon Matzigkeit, 1996
14045 # This file is part of GNU Libtool.
14047 # GNU Libtool is free software; you can redistribute it and/or
14048 # modify it under the terms of the GNU General Public License as
14049 # published by the Free Software Foundation; either version 2 of
14050 # the License, or (at your option) any later version.
14052 # As a special exception to the GNU General Public License,
14053 # if you distribute this file as part of a program or library that
14054 # is built using GNU Libtool, you may include this file under the
14055 # same distribution terms that you use for the rest of that program.
14057 # GNU Libtool is distributed in the hope that it will be useful,
14058 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14059 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14060 # GNU General Public License for more details.
14062 # You should have received a copy of the GNU General Public License
14063 # along with GNU Libtool; see the file COPYING. If not, a copy
14064 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14065 # obtained by writing to the Free Software Foundation, Inc.,
14066 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14069 # The names of the tagged configurations supported by this script.
14072 # ### BEGIN LIBTOOL CONFIG
14074 # Which release of libtool.m4 was used?
14075 macro_version=$macro_version
14076 macro_revision=$macro_revision
14078 # Whether or not to build shared libraries.
14079 build_libtool_libs=$enable_shared
14081 # Whether or not to build static libraries.
14082 build_old_libs=$enable_static
14084 # What type of objects to build.
14087 # Whether or not to optimize for fast installation.
14088 fast_install=$enable_fast_install
14090 # Shell to use when invoking shell scripts.
14093 # An echo program that protects backslashes.
14097 host_alias=$host_alias
14101 # The build system.
14102 build_alias=$build_alias
14106 # A sed program that does not truncate output.
14109 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14110 Xsed="\$SED -e 1s/^X//"
14112 # A grep program that handles long lines.
14118 # A literal string matcher.
14121 # A BSD- or MS-compatible name lister.
14124 # Whether we need soft or hard links.
14127 # What is the maximum length of a command?
14128 max_cmd_len=$max_cmd_len
14130 # Object file suffix (normally "o").
14133 # Executable file suffix (normally "").
14136 # whether the shell understands "unset".
14139 # turn spaces into newlines.
14142 # turn newlines into spaces.
14145 # convert \$build file names to \$host format.
14146 to_host_file_cmd=$lt_cv_to_host_file_cmd
14148 # convert \$build files to toolchain format.
14149 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14151 # An object symbol dumper.
14152 OBJDUMP=$lt_OBJDUMP
14154 # Method to check whether dependent libraries are shared objects.
14155 deplibs_check_method=$lt_deplibs_check_method
14157 # Command to use when deplibs_check_method = "file_magic".
14158 file_magic_cmd=$lt_file_magic_cmd
14160 # How to find potential files when deplibs_check_method = "file_magic".
14161 file_magic_glob=$lt_file_magic_glob
14163 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14164 want_nocaseglob=$lt_want_nocaseglob
14166 # DLL creation program.
14167 DLLTOOL=$lt_DLLTOOL
14169 # Command to associate shared and link libraries.
14170 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14175 # Flags to create an archive.
14176 AR_FLAGS=$lt_AR_FLAGS
14178 # How to feed a file listing to the archiver.
14179 archiver_list_spec=$lt_archiver_list_spec
14181 # A symbol stripping program.
14184 # Commands used to install an old-style archive.
14186 old_postinstall_cmds=$lt_old_postinstall_cmds
14187 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14189 # Whether to use a lock for old archive extraction.
14190 lock_old_archive_extraction=$lock_old_archive_extraction
14195 # LTCC compiler flags.
14196 LTCFLAGS=$lt_CFLAGS
14198 # Take the output of nm and produce a listing of raw symbols and C names.
14199 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14201 # Transform the output of nm in a proper C declaration.
14202 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14204 # Transform the output of nm in a C name address pair.
14205 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14207 # Transform the output of nm in a C name address pair when lib prefix is needed.
14208 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14210 # Specify filename containing input files for \$NM.
14211 nm_file_list_spec=$lt_nm_file_list_spec
14213 # The root where to search for dependent libraries,and in which our libraries should be installed.
14214 lt_sysroot=$lt_sysroot
14216 # The name of the directory that contains temporary libtool files.
14219 # Used to examine libraries when file_magic_cmd begins with "file".
14220 MAGIC_CMD=$MAGIC_CMD
14222 # Must we lock files when doing compilation?
14223 need_locks=$lt_need_locks
14226 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14228 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14229 DSYMUTIL=$lt_DSYMUTIL
14231 # Tool to change global to local symbols on Mac OS X.
14234 # Tool to manipulate fat objects and archives on Mac OS X.
14237 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14240 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14241 OTOOL64=$lt_OTOOL64
14243 # Old archive suffix (normally "a").
14246 # Shared library suffix (normally ".so").
14247 shrext_cmds=$lt_shrext_cmds
14249 # The commands to extract the exported symbol list from a shared archive.
14250 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14252 # Variables whose values should be saved in libtool wrapper scripts and
14253 # restored at link time.
14254 variables_saved_for_relink=$lt_variables_saved_for_relink
14256 # Do we need the "lib" prefix for modules?
14257 need_lib_prefix=$need_lib_prefix
14259 # Do we need a version for libraries?
14260 need_version=$need_version
14262 # Library versioning type.
14263 version_type=$version_type
14265 # Shared library runtime path variable.
14266 runpath_var=$runpath_var
14268 # Shared library path variable.
14269 shlibpath_var=$shlibpath_var
14271 # Is shlibpath searched before the hard-coded library search path?
14272 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14274 # Format of library name prefix.
14275 libname_spec=$lt_libname_spec
14277 # List of archive names. First name is the real one, the rest are links.
14278 # The last name is the one that the linker finds with -lNAME
14279 library_names_spec=$lt_library_names_spec
14281 # The coded name of the library, if different from the real name.
14282 soname_spec=$lt_soname_spec
14284 # Permission mode override for installation of shared libraries.
14285 install_override_mode=$lt_install_override_mode
14287 # Command to use after installation of a shared archive.
14288 postinstall_cmds=$lt_postinstall_cmds
14290 # Command to use after uninstallation of a shared archive.
14291 postuninstall_cmds=$lt_postuninstall_cmds
14293 # Commands used to finish a libtool library installation in a directory.
14294 finish_cmds=$lt_finish_cmds
14296 # As "finish_cmds", except a single script fragment to be evaled but
14298 finish_eval=$lt_finish_eval
14300 # Whether we should hardcode library paths into libraries.
14301 hardcode_into_libs=$hardcode_into_libs
14303 # Compile-time system search path for libraries.
14304 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14306 # Run-time system search path for libraries.
14307 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14309 # Whether dlopen is supported.
14310 dlopen_support=$enable_dlopen
14312 # Whether dlopen of programs is supported.
14313 dlopen_self=$enable_dlopen_self
14315 # Whether dlopen of statically linked programs is supported.
14316 dlopen_self_static=$enable_dlopen_self_static
14318 # Commands to strip libraries.
14319 old_striplib=$lt_old_striplib
14320 striplib=$lt_striplib
14323 # The linker used to build libraries.
14326 # How to create reloadable object files.
14327 reload_flag=$lt_reload_flag
14328 reload_cmds=$lt_reload_cmds
14330 # Commands used to build an old-style archive.
14331 old_archive_cmds=$lt_old_archive_cmds
14333 # A language specific compiler.
14336 # Is the compiler the GNU compiler?
14339 # Compiler flag to turn off builtin functions.
14340 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14342 # Additional compiler flags for building library objects.
14343 pic_flag=$lt_lt_prog_compiler_pic
14345 # How to pass a linker flag through the compiler.
14346 wl=$lt_lt_prog_compiler_wl
14348 # Compiler flag to prevent dynamic linking.
14349 link_static_flag=$lt_lt_prog_compiler_static
14351 # Does compiler simultaneously support -c and -o options?
14352 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14354 # Whether or not to add -lc for building shared libraries.
14355 build_libtool_need_lc=$archive_cmds_need_lc
14357 # Whether or not to disallow shared libs when runtime libs are static.
14358 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14360 # Compiler flag to allow reflexive dlopens.
14361 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14363 # Compiler flag to generate shared objects directly from archives.
14364 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14366 # Whether the compiler copes with passing no objects directly.
14367 compiler_needs_object=$lt_compiler_needs_object
14369 # Create an old-style archive from a shared archive.
14370 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14372 # Create a temporary old-style archive to link instead of a shared archive.
14373 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14375 # Commands used to build a shared archive.
14376 archive_cmds=$lt_archive_cmds
14377 archive_expsym_cmds=$lt_archive_expsym_cmds
14379 # Commands used to build a loadable module if different from building
14380 # a shared archive.
14381 module_cmds=$lt_module_cmds
14382 module_expsym_cmds=$lt_module_expsym_cmds
14384 # Whether we are building with GNU ld or not.
14385 with_gnu_ld=$lt_with_gnu_ld
14387 # Flag that allows shared libraries with undefined symbols to be built.
14388 allow_undefined_flag=$lt_allow_undefined_flag
14390 # Flag that enforces no undefined symbols.
14391 no_undefined_flag=$lt_no_undefined_flag
14393 # Flag to hardcode \$libdir into a binary during linking.
14394 # This must work even if \$libdir does not exist
14395 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14397 # If ld is used when linking, flag to hardcode \$libdir into a binary
14398 # during linking. This must work even if \$libdir does not exist.
14399 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14401 # Whether we need a single "-rpath" flag with a separated argument.
14402 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14404 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14405 # DIR into the resulting binary.
14406 hardcode_direct=$hardcode_direct
14408 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14409 # DIR into the resulting binary and the resulting library dependency is
14410 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14411 # library is relocated.
14412 hardcode_direct_absolute=$hardcode_direct_absolute
14414 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14415 # into the resulting binary.
14416 hardcode_minus_L=$hardcode_minus_L
14418 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14419 # into the resulting binary.
14420 hardcode_shlibpath_var=$hardcode_shlibpath_var
14422 # Set to "yes" if building a shared library automatically hardcodes DIR
14423 # into the library and all subsequent libraries and executables linked
14425 hardcode_automatic=$hardcode_automatic
14427 # Set to yes if linker adds runtime paths of dependent libraries
14428 # to runtime path list.
14429 inherit_rpath=$inherit_rpath
14431 # Whether libtool must link a program against all its dependency libraries.
14432 link_all_deplibs=$link_all_deplibs
14434 # Set to "yes" if exported symbols are required.
14435 always_export_symbols=$always_export_symbols
14437 # The commands to list exported symbols.
14438 export_symbols_cmds=$lt_export_symbols_cmds
14440 # Symbols that should not be listed in the preloaded symbols.
14441 exclude_expsyms=$lt_exclude_expsyms
14443 # Symbols that must always be exported.
14444 include_expsyms=$lt_include_expsyms
14446 # Commands necessary for linking programs (against libraries) with templates.
14447 prelink_cmds=$lt_prelink_cmds
14449 # Commands necessary for finishing linking programs.
14450 postlink_cmds=$lt_postlink_cmds
14452 # Specify filename containing input files.
14453 file_list_spec=$lt_file_list_spec
14455 # How to hardcode a shared library path into an executable.
14456 hardcode_action=$hardcode_action
14458 # ### END LIBTOOL CONFIG
14464 cat <<\_LT_EOF >> "$cfgfile"
14465 # AIX sometimes has problems with the GCC collect2 program. For some
14466 # reason, if we set the COLLECT_NAMES environment variable, the problems
14467 # vanish in a puff of smoke.
14468 if test "X${COLLECT_NAMES+set}" != Xset; then
14470 export COLLECT_NAMES
14477 ltmain="$ac_aux_dir/ltmain.sh"
14480 # We use sed instead of cat because bash on DJGPP gets confused if
14481 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14482 # text mode, it properly converts lines to CR/LF. This bash problem
14483 # is reportedly fixed, but why not run on old versions too?
14484 sed '$q' "$ltmain" >> "$cfgfile" \
14485 || (rm -f "$cfgfile"; exit 1)
14487 if test x"$xsi_shell" = xyes; then
14488 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14492 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14493 \ * ) func_dirname_result="${3}" ;;\
14495 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14496 && mv -f "$cfgfile.tmp" "$cfgfile" \
14497 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14498 test 0 -eq $? || _lt_function_replace_fail=:
14501 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14504 \ func_basename_result="${1##*/}"\
14505 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14506 && mv -f "$cfgfile.tmp" "$cfgfile" \
14507 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14508 test 0 -eq $? || _lt_function_replace_fail=:
14511 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14512 func_dirname_and_basename ()\
14515 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14516 \ * ) func_dirname_result="${3}" ;;\
14518 \ func_basename_result="${1##*/}"\
14519 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14520 && mv -f "$cfgfile.tmp" "$cfgfile" \
14521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14522 test 0 -eq $? || _lt_function_replace_fail=:
14525 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14528 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14529 \ # positional parameters, so assign one to ordinary parameter first.\
14530 \ func_stripname_result=${3}\
14531 \ func_stripname_result=${func_stripname_result#"${1}"}\
14532 \ func_stripname_result=${func_stripname_result%"${2}"}\
14533 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14534 && mv -f "$cfgfile.tmp" "$cfgfile" \
14535 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14536 test 0 -eq $? || _lt_function_replace_fail=:
14539 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14540 func_split_long_opt ()\
14542 \ func_split_long_opt_name=${1%%=*}\
14543 \ func_split_long_opt_arg=${1#*=}\
14544 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14545 && mv -f "$cfgfile.tmp" "$cfgfile" \
14546 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14547 test 0 -eq $? || _lt_function_replace_fail=:
14550 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14551 func_split_short_opt ()\
14553 \ func_split_short_opt_arg=${1#??}\
14554 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14555 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14556 && mv -f "$cfgfile.tmp" "$cfgfile" \
14557 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14558 test 0 -eq $? || _lt_function_replace_fail=:
14561 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14565 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14566 \ *) func_lo2o_result=${1} ;;\
14568 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14569 && mv -f "$cfgfile.tmp" "$cfgfile" \
14570 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14571 test 0 -eq $? || _lt_function_replace_fail=:
14574 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14577 func_xform_result=${1%.*}.lo\
14578 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14579 && mv -f "$cfgfile.tmp" "$cfgfile" \
14580 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14581 test 0 -eq $? || _lt_function_replace_fail=:
14584 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14587 func_arith_result=$(( $* ))\
14588 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14589 && mv -f "$cfgfile.tmp" "$cfgfile" \
14590 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14591 test 0 -eq $? || _lt_function_replace_fail=:
14594 sed -e '/^func_len ()$/,/^} # func_len /c\
14597 func_len_result=${#1}\
14598 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14599 && mv -f "$cfgfile.tmp" "$cfgfile" \
14600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14601 test 0 -eq $? || _lt_function_replace_fail=:
14605 if test x"$lt_shell_append" = xyes; then
14606 sed -e '/^func_append ()$/,/^} # func_append /c\
14609 eval "${1}+=\\${2}"\
14610 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14611 && mv -f "$cfgfile.tmp" "$cfgfile" \
14612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14613 test 0 -eq $? || _lt_function_replace_fail=:
14616 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14617 func_append_quoted ()\
14619 \ func_quote_for_eval "${2}"\
14620 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14621 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14622 && mv -f "$cfgfile.tmp" "$cfgfile" \
14623 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14624 test 0 -eq $? || _lt_function_replace_fail=:
14627 # Save a `func_append' function call where possible by direct use of '+='
14628 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14629 && mv -f "$cfgfile.tmp" "$cfgfile" \
14630 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14631 test 0 -eq $? || _lt_function_replace_fail=:
14633 # Save a `func_append' function call even when '+=' is not available
14634 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14635 && mv -f "$cfgfile.tmp" "$cfgfile" \
14636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14637 test 0 -eq $? || _lt_function_replace_fail=:
14640 if test x"$_lt_function_replace_fail" = x":"; then
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14642 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14646 mv -f "$cfgfile" "$ofile" ||
14647 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14658 ac_clean_files=$ac_clean_files_save
14660 test $ac_write_fail = 0 ||
14661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14664 # configure is writing to config.log, and then calls config.status.
14665 # config.status does its own redirection, appending to config.log.
14666 # Unfortunately, on DOS this fails, as config.log is still kept open
14667 # by configure, so config.status won't be able to write to it; its
14668 # output is simply discarded. So we exec the FD to /dev/null,
14669 # effectively closing config.log, so it can be properly (re)opened and
14670 # appended to by config.status. When coming back to configure, we
14671 # need to make the FD available again.
14672 if test "$no_create" != yes; then
14674 ac_config_status_args=
14675 test "$silent" = yes &&
14676 ac_config_status_args="$ac_config_status_args --quiet"
14678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14681 # would make configure fail if this is the last instruction.
14682 $ac_cs_success || as_fn_exit 1
14684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}