2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gprof 2.24.51.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
558 PACKAGE_TARNAME='gprof'
559 PACKAGE_VERSION='2.24.51'
560 PACKAGE_STRING='gprof 2.24.51'
564 ac_unique_file="gprof.c"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='am__EXEEXT_FALSE
610 MAINTAINER_MODE_FALSE
663 INSTALL_STRIP_PROGRAM
724 program_transform_name
737 enable_option_checking
738 enable_dependency_tracking
748 enable_maintainer_mode
750 enable_build_warnings
752 ac_precious_vars='build_alias
763 # Initialize some variables set by options.
765 ac_init_version=false
766 ac_unrecognized_opts=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
777 program_transform_name=s,x,x,
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir='${exec_prefix}/bin'
792 sbindir='${exec_prefix}/sbin'
793 libexecdir='${exec_prefix}/libexec'
794 datarootdir='${prefix}/share'
795 datadir='${datarootdir}'
796 sysconfdir='${prefix}/etc'
797 sharedstatedir='${prefix}/com'
798 localstatedir='${prefix}/var'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\$ac_option
823 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
827 # Accept the important Cygnus configure options, so we can diagnose typos.
829 case $ac_dashdash$ac_option in
833 -bindir | --bindir | --bindi | --bind | --bin | --bi)
835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838 -build | --build | --buil | --bui | --bu)
839 ac_prev=build_alias ;;
840 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841 build_alias=$ac_optarg ;;
843 -cache-file | --cache-file | --cache-fil | --cache-fi \
844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845 ac_prev=cache_file ;;
846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848 cache_file=$ac_optarg ;;
851 cache_file=config.cache ;;
853 -datadir | --datadir | --datadi | --datad)
855 -datadir=* | --datadir=* | --datadi=* | --datad=*)
856 datadir=$ac_optarg ;;
858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859 | --dataroo | --dataro | --datar)
860 ac_prev=datarootdir ;;
861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863 datarootdir=$ac_optarg ;;
865 -disable-* | --disable-*)
866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867 # Reject names that are not valid shell variable names.
868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869 as_fn_error "invalid feature name: $ac_useropt"
870 ac_useropt_orig=$ac_useropt
871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872 case $ac_user_opts in
876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877 ac_unrecognized_sep=', ';;
879 eval enable_$ac_useropt=no ;;
881 -docdir | --docdir | --docdi | --doc | --do)
883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 -enable-* | --enable-*)
892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895 as_fn_error "invalid feature name: $ac_useropt"
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
905 eval enable_$ac_useropt=\$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev=exec_prefix ;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923 ac_init_help=recursive ;;
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925 ac_init_help=short ;;
927 -host | --host | --hos | --ho)
928 ac_prev=host_alias ;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev=includedir ;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev=libexecdir ;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev=localstatedir ;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev=oldincludedir ;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev=program_prefix ;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev=program_suffix ;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev=program_transform_name ;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1125 eval with_$ac_useropt=no ;;
1128 # Obsolete; use --with-x.
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) as_fn_error "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir
1189 eval ac_val=\$$ac_var
1190 # Remove trailing slashes.
1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$]* | ?:[\\/]* ) continue;;
1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1201 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213 if test "x$build_alias" = x; then
1214 cross_compiling=maybe
1215 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216 If a cross compiler is detected then cross compile mode will be used." >&2
1217 elif test "x$build_alias" != "x$host_alias"; then
1223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225 test "$silent" = yes && exec 6>/dev/null
1228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di=`ls -di .` &&
1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231 as_fn_error "working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233 as_fn_error "pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238 ac_srcdir_defaulted=yes
1239 # Try the directory containing this script, then the parent directory.
1240 ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242 X"$as_myself" : 'X\(//\)[^/]' \| \
1243 X"$as_myself" : 'X\(//\)$' \| \
1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1268 ac_srcdir_defaulted=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 for ac_var in $ac_precious_vars; do
1289 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_env_${ac_var}_value=\$${ac_var}
1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299 # Omit some internal or obsolete options to make the list less imposing.
1300 # This message is too long to be a string in the A/UX 3.1 sh.
1302 \`configure' configures gprof 2.24.51 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE. See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1312 -h, --help display this help and exit
1313 --help=short display options specific to this package
1314 --help=recursive display the short help of all the included packages
1315 -V, --version display version information and exit
1316 -q, --quiet, --silent do not print \`checking...' messages
1317 --cache-file=FILE cache test results in FILE [disabled]
1318 -C, --config-cache alias for \`--cache-file=config.cache'
1319 -n, --no-create do not create output files
1320 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323 --prefix=PREFIX install architecture-independent files in PREFIX
1324 [$ac_default_prefix]
1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336 --bindir=DIR user executables [EPREFIX/bin]
1337 --sbindir=DIR system admin executables [EPREFIX/sbin]
1338 --libexecdir=DIR program executables [EPREFIX/libexec]
1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1342 --libdir=DIR object code libraries [EPREFIX/lib]
1343 --includedir=DIR C header files [PREFIX/include]
1344 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1347 --infodir=DIR info documentation [DATAROOTDIR/info]
1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1349 --mandir=DIR man documentation [DATAROOTDIR/man]
1350 --docdir=DIR documentation root [DATAROOTDIR/doc/gprof]
1351 --htmldir=DIR html documentation [DOCDIR]
1352 --dvidir=DIR dvi documentation [DOCDIR]
1353 --pdfdir=DIR pdf documentation [DOCDIR]
1354 --psdir=DIR ps documentation [DOCDIR]
1360 --program-prefix=PREFIX prepend PREFIX to installed program names
1361 --program-suffix=SUFFIX append SUFFIX to installed program names
1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1365 --build=BUILD configure for building on BUILD [guessed]
1366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1367 --target=TARGET configure for building compilers for TARGET [HOST]
1371 if test -n "$ac_init_help"; then
1372 case $ac_init_help in
1373 short | recursive ) echo "Configuration of gprof 2.24.51:";;
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 --disable-dependency-tracking speeds up one-time build
1382 --enable-dependency-tracking do not reject slow dependency extractors
1383 --enable-plugins Enable support for plugins (defaults no)
1384 --disable-largefile omit support for large files
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)
1390 --disable-nls do not use Native Language Support
1391 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing) to the casual installer
1393 --enable-werror treat compile warnings as errors
1394 --enable-build-warnings enable build-time compiler warnings
1397 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1398 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1399 --with-pic try to use only PIC/non-PIC objects [default=use
1401 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1403 Some influential environment variables:
1404 CC C compiler command
1405 CFLAGS C compiler flags
1406 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1407 nonstandard directory <lib dir>
1408 LIBS libraries to pass to the linker, e.g. -l<library>
1409 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1410 you have headers in a nonstandard directory <include dir>
1413 Use these variables to override the choices made by `configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1416 Report bugs to the package provider.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1446 .) # We are building in place.
1448 ac_top_srcdir=$ac_top_builddir_sub
1449 ac_abs_top_srcdir=$ac_pwd ;;
1450 [\\/]* | ?:[\\/]* ) # Absolute name.
1451 ac_srcdir=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir=$srcdir
1453 ac_abs_top_srcdir=$srcdir ;;
1455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" || { ac_status=$?; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" || { ac_status=$?; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 gprof configure 2.24.51
1480 generated by GNU Autoconf 2.64
1482 Copyright (C) 2009 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 rm -f conftest.$ac_objext
1500 if { { ac_try="$ac_compile"
1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503 *) ac_try_echo=$ac_try;;
1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507 (eval "$ac_compile") 2>conftest.err
1509 if test -s conftest.err; then
1510 grep -v '^ *+' conftest.err >conftest.er1
1511 cat conftest.er1 >&5
1512 mv -f conftest.er1 conftest.err
1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515 test $ac_status = 0; } && {
1516 test -z "$ac_c_werror_flag" ||
1517 test ! -s conftest.err
1518 } && test -s conftest.$ac_objext; then :
1521 $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1529 } # ac_fn_c_try_compile
1531 # ac_fn_c_try_link LINENO
1532 # -----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded.
1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537 rm -f conftest.$ac_objext conftest$ac_exeext
1538 if { { ac_try="$ac_link"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_link") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest$ac_exeext && {
1557 test "$cross_compiling" = yes ||
1558 $as_test_x conftest$ac_exeext
1562 $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1569 # interfere with the next link command; also delete a directory that is
1570 # left behind by Apple's compiler. We do this before executing the actions.
1571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1575 } # ac_fn_c_try_link
1577 # ac_fn_c_try_cpp LINENO
1578 # ----------------------
1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583 if { { ac_try="$ac_cpp conftest.$ac_ext"
1585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } >/dev/null && {
1599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1617 # the include files in INCLUDES and setting the cache variable VAR
1619 ac_fn_c_check_header_mongrel ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1626 $as_echo_n "(cached) " >&6
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1632 # Is the header compilable?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1634 $as_echo_n "checking $2 usability... " >&6; }
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 ac_header_compiler=yes
1643 ac_header_compiler=no
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1647 $as_echo "$ac_header_compiler" >&6; }
1649 # Is the header present?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1651 $as_echo_n "checking $2 presence... " >&6; }
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 if ac_fn_c_try_cpp "$LINENO"; then :
1657 ac_header_preproc=yes
1659 ac_header_preproc=no
1661 rm -f conftest.err conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1663 $as_echo "$ac_header_preproc" >&6; }
1665 # So? What about this header?
1666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1689 $as_echo_n "(cached) " >&6
1691 eval "$3=\$ac_header_compiler"
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1699 } # ac_fn_c_check_header_mongrel
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_link"
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.$ac_ext >&5
1735 ac_retval=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists and can be compiled using the include files in
1746 # INCLUDES, setting the cache variable VAR accordingly.
1747 ac_fn_c_check_header_compile ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile "$LINENO"; then :
1765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 } # ac_fn_c_check_header_compile
1774 # ac_fn_c_check_func LINENO FUNC VAR
1775 # ----------------------------------
1776 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1777 ac_fn_c_check_func ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1789 #define $2 innocuous_$2
1791 /* System header to define __stub macros and hopefully few prototypes,
1792 which can conflict with char $2 (); below.
1793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794 <limits.h> exists even on freestanding compilers. */
1797 # include <limits.h>
1799 # include <assert.h>
1804 /* Override any GCC internal prototype to avoid an error.
1805 Use char because int might match the return type of a GCC
1806 builtin and then its argument prototype would still apply. */
1811 /* The GNU C library defines this for functions which it implements
1812 to always fail with ENOSYS. Some functions are actually named
1813 something starting with __ and the normal name is an alias. */
1814 #if defined __stub_$2 || defined __stub___$2
1826 if ac_fn_c_try_link "$LINENO"; then :
1831 rm -f core conftest.err conftest.$ac_objext \
1832 conftest$ac_exeext conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 } # ac_fn_c_check_func
1840 cat >config.log <<_ACEOF
1841 This file contains any messages produced by compilers while
1842 running configure, to aid debugging if configure makes a mistake.
1844 It was created by gprof $as_me 2.24.51, which was
1845 generated by GNU Autoconf 2.64. Invocation command line was
1857 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1858 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1859 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1860 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1861 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1863 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1864 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1866 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1867 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1868 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1869 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1870 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1871 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1872 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 $as_echo "PATH: $as_dir"
1897 # Keep a trace of the command line.
1898 # Strip out --no-create and --no-recursion so they do not pile up.
1899 # Strip out --silent because we don't want to record it for future runs.
1900 # Also quote any args containing shell meta-characters.
1901 # Make two passes to allow for proper duplicate-argument suppression.
1905 ac_must_keep_next=false
1911 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1913 | -silent | --silent | --silen | --sile | --sil)
1916 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1919 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1921 as_fn_append ac_configure_args1 " '$ac_arg'"
1922 if test $ac_must_keep_next = true; then
1923 ac_must_keep_next=false # Got value, back to normal.
1926 *=* | --config-cache | -C | -disable-* | --disable-* \
1927 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1928 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1929 | -with-* | --with-* | -without-* | --without-* | --x)
1930 case "$ac_configure_args0 " in
1931 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1934 -* ) ac_must_keep_next=true ;;
1937 as_fn_append ac_configure_args " '$ac_arg'"
1942 { ac_configure_args0=; unset ac_configure_args0;}
1943 { ac_configure_args1=; unset ac_configure_args1;}
1945 # When interrupted or exit'd, cleanup temporary files, and complete
1946 # config.log. We remove comments because anyway the quotes in there
1947 # would cause problems or look ugly.
1948 # WARNING: Use '\'' to represent an apostrophe within the trap.
1949 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1950 trap 'exit_status=$?
1951 # Save into config.log some information that might help in debugging.
1956 ## ---------------- ##
1957 ## Cache variables. ##
1958 ## ---------------- ##
1961 # The following way of writing the cache mishandles newlines in values,
1963 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1964 eval ac_val=\$$ac_var
1968 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1972 _ | IFS | as_nl) ;; #(
1973 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1974 *) { eval $ac_var=; unset $ac_var;} ;;
1979 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1980 *${as_nl}ac_space=\ *)
1982 "s/'\''/'\''\\\\'\'''\''/g;
1983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1986 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1994 ## ----------------- ##
1995 ## Output variables. ##
1996 ## ----------------- ##
1999 for ac_var in $ac_subst_vars
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2009 if test -n "$ac_subst_files"; then
2011 ## ------------------- ##
2012 ## File substitutions. ##
2013 ## ------------------- ##
2016 for ac_var in $ac_subst_files
2018 eval ac_val=\$$ac_var
2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022 $as_echo "$ac_var='\''$ac_val'\''"
2027 if test -s confdefs.h; then
2037 test "$ac_signal" != 0 &&
2038 $as_echo "$as_me: caught signal $ac_signal"
2039 $as_echo "$as_me: exit $exit_status"
2041 rm -f core *.core core.conftest.* &&
2042 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2045 for ac_signal in 1 2 13 15; do
2046 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2050 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2051 rm -f -r conftest* confdefs.h
2053 $as_echo "/* confdefs.h */" > confdefs.h
2055 # Predefined preprocessor variables.
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_NAME "$PACKAGE_NAME"
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_STRING "$PACKAGE_STRING"
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_URL "$PACKAGE_URL"
2082 # Let the site file select an alternate cache file if it wants to.
2083 # Prefer an explicitly selected file to automatically selected ones.
2086 if test -n "$CONFIG_SITE"; then
2087 ac_site_file1=$CONFIG_SITE
2088 elif test "x$prefix" != xNONE; then
2089 ac_site_file1=$prefix/share/config.site
2090 ac_site_file2=$prefix/etc/config.site
2092 ac_site_file1=$ac_default_prefix/share/config.site
2093 ac_site_file2=$ac_default_prefix/etc/config.site
2095 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2097 test "x$ac_site_file" = xNONE && continue
2098 if test -r "$ac_site_file"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2100 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2101 sed 's/^/| /' "$ac_site_file" >&5
2106 if test -r "$cache_file"; then
2107 # Some versions of bash will fail to source /dev/null (special
2108 # files actually), so we avoid doing that.
2109 if test -f "$cache_file"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2111 $as_echo "$as_me: loading cache $cache_file" >&6;}
2113 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2114 *) . "./$cache_file";;
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2119 $as_echo "$as_me: creating cache $cache_file" >&6;}
2123 # Check that the precious variables saved in the cache have kept the same
2125 ac_cache_corrupted=false
2126 for ac_var in $ac_precious_vars; do
2127 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2128 eval ac_new_set=\$ac_env_${ac_var}_set
2129 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2130 eval ac_new_val=\$ac_env_${ac_var}_value
2131 case $ac_old_set,$ac_new_set in
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2134 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2135 ac_cache_corrupted=: ;;
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2138 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2139 ac_cache_corrupted=: ;;
2142 if test "x$ac_old_val" != "x$ac_new_val"; then
2143 # differences in whitespace do not lead to failure.
2144 ac_old_val_w=`echo x $ac_old_val`
2145 ac_new_val_w=`echo x $ac_new_val`
2146 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2148 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2149 ac_cache_corrupted=:
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2152 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2153 eval $ac_var=\$ac_old_val
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2156 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2158 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2161 # Pass precious variables to config.status.
2162 if test "$ac_new_set" = set; then
2164 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2165 *) ac_arg=$ac_var=$ac_new_val ;;
2167 case " $ac_configure_args " in
2168 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2169 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2173 if $ac_cache_corrupted; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2177 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2178 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2180 ## -------------------- ##
2181 ## Main body of script. ##
2182 ## -------------------- ##
2185 ac_cpp='$CPP $CPPFLAGS'
2186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2197 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2198 for ac_t in install-sh install.sh shtool; do
2199 if test -f "$ac_dir/$ac_t"; then
2201 ac_install_sh="$ac_aux_dir/$ac_t -c"
2206 if test -z "$ac_aux_dir"; then
2207 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2210 # These three variables are undocumented and unsupported,
2211 # and are intended to be withdrawn in a future Autoconf release.
2212 # They can cause serious problems if a builder's source tree is in a directory
2213 # whose full name contains unusual characters.
2214 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2215 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2216 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2219 # Make sure we can run config.sub.
2220 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2221 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2224 $as_echo_n "checking build system type... " >&6; }
2225 if test "${ac_cv_build+set}" = set; then :
2226 $as_echo_n "(cached) " >&6
2228 ac_build_alias=$build_alias
2229 test "x$ac_build_alias" = x &&
2230 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2231 test "x$ac_build_alias" = x &&
2232 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2233 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2234 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2238 $as_echo "$ac_cv_build" >&6; }
2239 case $ac_cv_build in
2241 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2244 ac_save_IFS=$IFS; IFS='-'
2250 # Remember, the first character of IFS is used to create $*,
2251 # except with old shells:
2254 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2258 $as_echo_n "checking host system type... " >&6; }
2259 if test "${ac_cv_host+set}" = set; then :
2260 $as_echo_n "(cached) " >&6
2262 if test "x$host_alias" = x; then
2263 ac_cv_host=$ac_cv_build
2265 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2266 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2271 $as_echo "$ac_cv_host" >&6; }
2274 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2277 ac_save_IFS=$IFS; IFS='-'
2283 # Remember, the first character of IFS is used to create $*,
2284 # except with old shells:
2287 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2291 $as_echo_n "checking target system type... " >&6; }
2292 if test "${ac_cv_target+set}" = set; then :
2293 $as_echo_n "(cached) " >&6
2295 if test "x$target_alias" = x; then
2296 ac_cv_target=$ac_cv_host
2298 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2299 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2304 $as_echo "$ac_cv_target" >&6; }
2305 case $ac_cv_target in
2307 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2309 target=$ac_cv_target
2310 ac_save_IFS=$IFS; IFS='-'
2316 # Remember, the first character of IFS is used to create $*,
2317 # except with old shells:
2320 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2323 # The aliases save the names the user supplied, while $host etc.
2324 # will get canonicalized.
2325 test -n "$target_alias" &&
2326 test "$program_prefix$program_suffix$program_transform_name" = \
2328 program_prefix=${target_alias}-
2330 ac_cpp='$CPP $CPPFLAGS'
2331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2334 if test -n "$ac_tool_prefix"; then
2335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2336 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2338 $as_echo_n "checking for $ac_word... " >&6; }
2339 if test "${ac_cv_prog_CC+set}" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 if test -n "$CC"; then
2343 ac_cv_prog_CC="$CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$CC"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2365 $as_echo "$CC" >&6; }
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2368 $as_echo "no" >&6; }
2373 if test -z "$ac_cv_prog_CC"; then
2375 # Extract the first word of "gcc", so it can be a program name with args.
2376 set dummy gcc; ac_word=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$ac_ct_CC"; then
2383 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2392 ac_cv_prog_ac_ct_CC="gcc"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2403 if test -n "$ac_ct_CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2405 $as_echo "$ac_ct_CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2411 if test "x$ac_ct_CC" = x; then
2414 case $cross_compiling:$ac_tool_warned in
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2418 ac_tool_warned=yes ;;
2426 if test -z "$CC"; then
2427 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2429 set dummy ${ac_tool_prefix}cc; ac_word=$2
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431 $as_echo_n "checking for $ac_word... " >&6; }
2432 if test "${ac_cv_prog_CC+set}" = set; then :
2433 $as_echo_n "(cached) " >&6
2435 if test -n "$CC"; then
2436 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_CC="${ac_tool_prefix}cc"
2446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 if test -n "$CC"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2458 $as_echo "$CC" >&6; }
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2461 $as_echo "no" >&6; }
2467 if test -z "$CC"; then
2468 # Extract the first word of "cc", so it can be a program name with args.
2469 set dummy cc; ac_word=$2
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471 $as_echo_n "checking for $ac_word... " >&6; }
2472 if test "${ac_cv_prog_CC+set}" = set; then :
2473 $as_echo_n "(cached) " >&6
2475 if test -n "$CC"; then
2476 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir=.
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2487 ac_prog_rejected=yes
2491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2498 if test $ac_prog_rejected = yes; then
2499 # We found a bogon in the path, so make sure we never use it.
2500 set dummy $ac_cv_prog_CC
2502 if test $# != 0; then
2503 # We chose a different compiler from the bogus one.
2504 # However, it has the same basename, so the bogon will be chosen
2505 # first if we set CC to just the basename; use the full file name.
2507 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2513 if test -n "$CC"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2515 $as_echo "$CC" >&6; }
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2518 $as_echo "no" >&6; }
2523 if test -z "$CC"; then
2524 if test -n "$ac_tool_prefix"; then
2525 for ac_prog in cl.exe
2527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if test "${ac_cv_prog_CC+set}" = set; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$CC"; then
2535 ac_cv_prog_CC="$CC" # Let the user override the test.
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2555 if test -n "$CC"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2557 $as_echo "$CC" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2564 test -n "$CC" && break
2567 if test -z "$CC"; then
2569 for ac_prog in cl.exe
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2588 ac_cv_prog_ac_ct_CC="$ac_prog"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599 if test -n "$ac_ct_CC"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2601 $as_echo "$ac_ct_CC" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2608 test -n "$ac_ct_CC" && break
2611 if test "x$ac_ct_CC" = x; then
2614 case $cross_compiling:$ac_tool_warned in
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2618 ac_tool_warned=yes ;;
2627 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2629 as_fn_error "no acceptable C compiler found in \$PATH
2630 See \`config.log' for more details." "$LINENO" 5; }
2632 # Provide some information about the compiler.
2633 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2636 for ac_option in --version -v -V -qversion; do
2637 { { ac_try="$ac_compiler $ac_option >&5"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2643 $as_echo "$ac_try_echo"; } >&5
2644 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2646 if test -s conftest.err; then
2648 ... rest of stderr output deleted ...
2649 10q' conftest.err >conftest.er1
2650 cat conftest.er1 >&5
2651 rm -f conftest.er1 conftest.err
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; }
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2668 ac_clean_files_save=$ac_clean_files
2669 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2670 # Try to create an executable without -o first, disregard a.out.
2671 # It will help us diagnose broken compilers, and finding out an intuition
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2674 $as_echo_n "checking for C compiler default output file name... " >&6; }
2675 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2677 # The possible output files:
2678 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2681 for ac_file in $ac_files
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2690 if { { ac_try="$ac_link_default"
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link_default") 2>&5
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }; then :
2701 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2702 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2703 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2704 # so that the user can short-circuit this test for compilers unknown to
2706 for ac_file in $ac_files ''
2708 test -f "$ac_file" || continue
2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2713 # We found the default executable, but exeext='' is most
2717 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2719 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2721 # We set ac_cv_exeext here because the later test for it is not
2722 # safe: cross compilers may not add the suffix if given an `-o'
2723 # argument, so we may need to know it at that point already.
2724 # Even if this section looks crufty: it has the advantage of
2731 test "$ac_cv_exeext" = no && ac_cv_exeext=
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2737 $as_echo "$ac_file" >&6; }
2738 if test -z "$ac_file"; then :
2739 $as_echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2744 { as_fn_set_status 77
2745 as_fn_error "C compiler cannot create executables
2746 See \`config.log' for more details." "$LINENO" 5; }; }
2748 ac_exeext=$ac_cv_exeext
2750 # Check that the compiler produces executables we can run. If not, either
2751 # the compiler is broken, or we cross compile.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2753 $as_echo_n "checking whether the C compiler works... " >&6; }
2754 # If not cross compiling, check that we can run a simple program.
2755 if test "$cross_compiling" != yes; then
2756 if { ac_try='./$ac_file'
2757 { { case "(($ac_try" in
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2762 $as_echo "$ac_try_echo"; } >&5
2763 (eval "$ac_try") 2>&5
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; }; }; then
2769 if test "$cross_compiling" = maybe; then
2772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2774 as_fn_error "cannot run C compiled programs.
2775 If you meant to cross compile, use \`--host'.
2776 See \`config.log' for more details." "$LINENO" 5; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2783 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2784 ac_clean_files=$ac_clean_files_save
2785 # Check that the compiler produces executables we can run. If not, either
2786 # the compiler is broken, or we cross compile.
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2788 $as_echo_n "checking whether we are cross compiling... " >&6; }
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2790 $as_echo "$cross_compiling" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2793 $as_echo_n "checking for suffix of executables... " >&6; }
2794 if { { ac_try="$ac_link"
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 $as_echo "$ac_try_echo"; } >&5
2801 (eval "$ac_link") 2>&5
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; }; then :
2805 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2806 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2807 # work properly (i.e., refer to `conftest.exe'), while it won't with
2809 for ac_file in conftest.exe conftest conftest.*; do
2810 test -f "$ac_file" || continue
2812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2813 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2821 as_fn_error "cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." "$LINENO" 5; }
2824 rm -f conftest$ac_cv_exeext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2826 $as_echo "$ac_cv_exeext" >&6; }
2828 rm -f conftest.$ac_ext
2829 EXEEXT=$ac_cv_exeext
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2832 $as_echo_n "checking for suffix of object files... " >&6; }
2833 if test "${ac_cv_objext+set}" = set; then :
2834 $as_echo_n "(cached) " >&6
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2847 rm -f conftest.o conftest.obj
2848 if { { ac_try="$ac_compile"
2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851 *) ac_try_echo=$ac_try;;
2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2854 $as_echo "$ac_try_echo"; } >&5
2855 (eval "$ac_compile") 2>&5
2857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; }; then :
2859 for ac_file in conftest.o conftest.obj conftest.*; do
2860 test -f "$ac_file" || continue;
2862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2863 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2868 $as_echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2873 as_fn_error "cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." "$LINENO" 5; }
2876 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2879 $as_echo "$ac_cv_objext" >&6; }
2880 OBJEXT=$ac_cv_objext
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2883 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2884 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2911 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2912 if test $ac_compiler_gnu = yes; then
2917 ac_test_CFLAGS=${CFLAGS+set}
2918 ac_save_CFLAGS=$CFLAGS
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2920 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2921 if test "${ac_cv_prog_cc_g+set}" = set; then :
2922 $as_echo_n "(cached) " >&6
2924 ac_save_c_werror_flag=$ac_c_werror_flag
2925 ac_c_werror_flag=yes
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2939 if ac_fn_c_try_compile "$LINENO"; then :
2943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2944 /* end confdefs.h. */
2954 if ac_fn_c_try_compile "$LINENO"; then :
2957 ac_c_werror_flag=$ac_save_c_werror_flag
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2970 if ac_fn_c_try_compile "$LINENO"; then :
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 ac_c_werror_flag=$ac_save_c_werror_flag
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2981 $as_echo "$ac_cv_prog_cc_g" >&6; }
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2998 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2999 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3000 $as_echo_n "(cached) " >&6
3002 ac_cv_prog_cc_c89=no
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 #include <sys/types.h>
3009 #include <sys/stat.h>
3010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3011 struct buf { int x; };
3012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3013 static char *e (p, i)
3019 static char *f (char * (*g) (char **, int), char **p, ...)
3024 s = g (p, va_arg (v,int));
3029 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3030 function prototypes and stuff, but not '\xHH' hex character constants.
3031 These don't provoke an error unfortunately, instead are silently treated
3032 as 'x'. The following induces an error, until -std is added to get
3033 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3034 array size at least. It's necessary to write '\x00'==0 to get something
3035 that's true only with -std. */
3036 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3038 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3039 inside strings and character constants. */
3041 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3043 int test (int i, double x);
3044 struct s1 {int (*f) (int a);};
3045 struct s2 {int (*f) (double a);};
3046 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3052 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3057 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3058 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3060 CC="$ac_save_CC $ac_arg"
3061 if ac_fn_c_try_compile "$LINENO"; then :
3062 ac_cv_prog_cc_c89=$ac_arg
3064 rm -f core conftest.err conftest.$ac_objext
3065 test "x$ac_cv_prog_cc_c89" != "xno" && break
3067 rm -f conftest.$ac_ext
3072 case "x$ac_cv_prog_cc_c89" in
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3075 $as_echo "none needed" >&6; } ;;
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3078 $as_echo "unsupported" >&6; } ;;
3080 CC="$CC $ac_cv_prog_cc_c89"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3082 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3084 if test "x$ac_cv_prog_cc_c89" != xno; then :
3089 ac_cpp='$CPP $CPPFLAGS'
3090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3096 $as_echo_n "checking for library containing strerror... " >&6; }
3097 if test "${ac_cv_search_strerror+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3100 ac_func_search_save_LIBS=$LIBS
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 /* Override any GCC internal prototype to avoid an error.
3105 Use char because int might match the return type of a GCC
3106 builtin and then its argument prototype would still apply. */
3119 for ac_lib in '' cposix; do
3120 if test -z "$ac_lib"; then
3121 ac_res="none required"
3124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3126 if ac_fn_c_try_link "$LINENO"; then :
3127 ac_cv_search_strerror=$ac_res
3129 rm -f core conftest.err conftest.$ac_objext \
3131 if test "${ac_cv_search_strerror+set}" = set; then :
3135 if test "${ac_cv_search_strerror+set}" = set; then :
3138 ac_cv_search_strerror=no
3141 LIBS=$ac_func_search_save_LIBS
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3144 $as_echo "$ac_cv_search_strerror" >&6; }
3145 ac_res=$ac_cv_search_strerror
3146 if test "$ac_res" != no; then :
3147 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3152 am__api_version='1.11'
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3223 rm -rf conftest.one conftest.two conftest.dir
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3271 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3274 set X `ls -t "$srcdir/configure" conftest.file`
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3288 test "$2" = conftest.file
3294 as_fn_error "newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE &&
3300 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE &&
3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir=`cd $ac_aux_dir && pwd`
3312 if test x"${MISSING+set}" != xset; then
3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3317 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run="$MISSING --run "
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3329 if test x"${install_sh}" != xset; then
3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3334 install_sh="\${SHELL} $am_aux_dir/install-sh"
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}strip; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 STRIP=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_STRIP"; then
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_STRIP" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3432 STRIP="$ac_cv_prog_STRIP"
3436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3448 test -z "$as_dir" && as_dir=.
3449 for ac_prog in mkdir gmkdir; do
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P="$ac_cv_path_mkdir -p"
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d ./--version && rmdir ./--version
3474 MKDIR_P="$ac_install_sh -d"
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3482 [\\/$]* | ?:[\\/]*) ;;
3483 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3486 for ac_prog in gawk mawk nawk awk
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$AWK" && break
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3535 cat >conftest.make <<\_ACEOF
3538 @echo '@@@%%%=$(MAKE)=@@@%%%'
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3543 eval ac_cv_prog_make_${ac_make}_set=yes;;
3545 eval ac_cv_prog_make_${ac_make}_set=no;;
3549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE="MAKE=${MAKE-make}"
3559 rm -rf .tst 2>/dev/null
3560 mkdir .tst 2>/dev/null
3561 if test -d .tst; then
3566 rmdir .tst 2>/dev/null
3568 DEPDIR="${am__leading_dot}deps"
3570 ac_config_commands="$ac_config_commands depfiles"
3573 am_make=${MAKE-make}
3574 cat > confinc << 'END'
3576 @echo this is the am__doit target
3579 # If we don't find an include directive, just comment out the code.
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3581 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3585 # First try GNU make style include.
3586 echo "include confinc" > confmf
3587 # Ignore all kinds of additional output from `make'.
3588 case `$am_make -s -f confmf 2> /dev/null` in #(
3589 *the\ am__doit\ target*)
3595 # Now try BSD make style include.
3596 if test "$am__include" = "#"; then
3597 echo '.include "confinc"' > confmf
3598 case `$am_make -s -f confmf 2> /dev/null` in #(
3599 *the\ am__doit\ target*)
3600 am__include=.include
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3609 $as_echo "$_am_result" >&6; }
3610 rm -f confinc confmf
3612 # Check whether --enable-dependency-tracking was given.
3613 if test "${enable_dependency_tracking+set}" = set; then :
3614 enableval=$enable_dependency_tracking;
3617 if test "x$enable_dependency_tracking" != xno; then
3618 am_depcomp="$ac_aux_dir/depcomp"
3621 if test "x$enable_dependency_tracking" != xno; then
3630 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3631 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3632 # is not polluted with repeated "-I."
3633 am__isrc=' -I$(srcdir)'
3634 # test to see if srcdir already configured
3635 if test -f $srcdir/config.status; then
3636 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3640 # test whether we have cygpath
3641 if test -z "$CYGPATH_W"; then
3642 if (cygpath --version) >/dev/null 2>/dev/null; then
3643 CYGPATH_W='cygpath -w'
3650 # Define the identity of the package.
3655 cat >>confdefs.h <<_ACEOF
3656 #define PACKAGE "$PACKAGE"
3660 cat >>confdefs.h <<_ACEOF
3661 #define VERSION "$VERSION"
3664 # Some tools Automake needs.
3666 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3669 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3672 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3675 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3678 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3680 # We need awk for the "check" target. The system "awk" is bad on
3682 # Always define AMTAR for backward compatibility.
3684 AMTAR=${AMTAR-"${am_missing_run}tar"}
3686 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3691 depcc="$CC" am_compiler_list=
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3694 $as_echo_n "checking dependency style of $depcc... " >&6; }
3695 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3699 # We make a subdir and do the tests there. Otherwise we can end up
3700 # making bogus files that we don't know about and never remove. For
3701 # instance it was reported that on HP-UX the gcc test will end up
3702 # making a dummy file named `D' -- because `-MD' means `put the output
3705 # Copy depcomp to subdir because otherwise we won't find it if we're
3706 # using a relative directory.
3707 cp "$am_depcomp" conftest.dir
3709 # We will build objects and dependencies in a subdirectory because
3710 # it helps to detect inapplicable dependency modes. For instance
3711 # both Tru64's cc and ICC support -MD to output dependencies as a
3712 # side effect of compilation, but ICC will put the dependencies in
3713 # the current directory while Tru64 will put them in the object
3717 am_cv_CC_dependencies_compiler_type=none
3718 if test "$am_compiler_list" = ""; then
3719 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3722 case " $depcc " in #(
3723 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3726 for depmode in $am_compiler_list; do
3727 # Setup a source with many dependencies, because some compilers
3728 # like to wrap large dependency lists on column 80 (with \), and
3729 # we should not choose a depcomp mode which is confused by this.
3731 # We need to recreate these files for each test, as the compiler may
3732 # overwrite some of them when testing with obscure command lines.
3733 # This happens at least with the AIX C compiler.
3735 for i in 1 2 3 4 5 6; do
3736 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3737 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3738 # Solaris 8's {/usr,}/bin/sh.
3739 touch sub/conftst$i.h
3741 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3743 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3744 # mode. It turns out that the SunPro C++ compiler does not properly
3745 # handle `-M -o', and we need to detect this. Also, some Intel
3746 # versions had trouble with output in subdirs
3747 am__obj=sub/conftest.${OBJEXT-o}
3748 am__minus_obj="-o $am__obj"
3751 # This depmode causes a compiler race in universal mode.
3752 test "$am__universal" = false || continue
3755 # after this tag, mechanisms are not by side-effect, so they'll
3756 # only be used when explicitly requested
3757 if test "x$enable_dependency_tracking" = xyes; then
3763 msvisualcpp | msvcmsys)
3764 # This compiler won't grok `-c -o', but also, the minuso test has
3765 # not run yet. These depmodes are late enough in the game, and
3766 # so weak that their functioning should not be impacted.
3767 am__obj=conftest.${OBJEXT-o}
3772 if depmode=$depmode \
3773 source=sub/conftest.c object=$am__obj \
3774 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3775 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3776 >/dev/null 2>conftest.err &&
3777 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3778 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3779 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3780 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3781 # icc doesn't choke on unknown options, it will just issue warnings
3782 # or remarks (even with -Werror). So we grep stderr for any message
3783 # that says an option was ignored or not supported.
3784 # When given -MP, icc 7.0 and 7.1 complain thusly:
3785 # icc: Command line warning: ignoring option '-M'; no argument required
3786 # The diagnosis changed in icc 8.0:
3787 # icc: Command line remark: option '-MP' not supported
3788 if (grep 'ignoring option' conftest.err ||
3789 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3790 am_cv_CC_dependencies_compiler_type=$depmode
3799 am_cv_CC_dependencies_compiler_type=none
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3804 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3805 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3808 test "x$enable_dependency_tracking" != xno \
3809 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3811 am__fastdepCC_FALSE='#'
3813 am__fastdepCC_TRUE='#'
3814 am__fastdepCC_FALSE=
3820 ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
3824 ac_cpp='$CPP $CPPFLAGS'
3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_prog_CC+set}" = set; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC="$CC" # Let the user override the test.
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3867 if test -z "$ac_cv_prog_CC"; then
3869 # Extract the first word of "gcc", so it can be a program name with args.
3870 set dummy gcc; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_ac_ct_CC="gcc"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3897 if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899 $as_echo "$ac_ct_CC" >&6; }
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3905 if test "x$ac_ct_CC" = x; then
3908 case $cross_compiling:$ac_tool_warned in
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3912 ac_tool_warned=yes ;;
3920 if test -z "$CC"; then
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3923 set dummy ${ac_tool_prefix}cc; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if test "${ac_cv_prog_CC+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$CC"; then
3930 ac_cv_prog_CC="$CC" # Let the user override the test.
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_prog_CC="${ac_tool_prefix}cc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3952 $as_echo "$CC" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3961 if test -z "$CC"; then
3962 # Extract the first word of "cc", so it can be a program name with args.
3963 set dummy cc; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if test "${ac_cv_prog_CC+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CC"; then
3970 ac_cv_prog_CC="$CC" # Let the user override the test.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3981 ac_prog_rejected=yes
3985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 if test $ac_prog_rejected = yes; then
3993 # We found a bogon in the path, so make sure we never use it.
3994 set dummy $ac_cv_prog_CC
3996 if test $# != 0; then
3997 # We chose a different compiler from the bogus one.
3998 # However, it has the same basename, so the bogon will be chosen
3999 # first if we set CC to just the basename; use the full file name.
4001 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test -z "$CC"; then
4018 if test -n "$ac_tool_prefix"; then
4019 for ac_prog in cl.exe
4021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_CC+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4058 test -n "$CC" && break
4061 if test -z "$CC"; then
4063 for ac_prog in cl.exe
4065 # Extract the first word of "$ac_prog", so it can be a program name with args.
4066 set dummy $ac_prog; ac_word=$2
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4068 $as_echo_n "checking for $ac_word... " >&6; }
4069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4070 $as_echo_n "(cached) " >&6
4072 if test -n "$ac_ct_CC"; then
4073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir=.
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4082 ac_cv_prog_ac_ct_CC="$ac_prog"
4083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4093 if test -n "$ac_ct_CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4095 $as_echo "$ac_ct_CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4102 test -n "$ac_ct_CC" && break
4105 if test "x$ac_ct_CC" = x; then
4108 case $cross_compiling:$ac_tool_warned in
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned=yes ;;
4121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123 as_fn_error "no acceptable C compiler found in \$PATH
4124 See \`config.log' for more details." "$LINENO" 5; }
4126 # Provide some information about the compiler.
4127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4130 for ac_option in --version -v -V -qversion; do
4131 { { ac_try="$ac_compiler $ac_option >&5"
4133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134 *) ac_try_echo=$ac_try;;
4136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137 $as_echo "$ac_try_echo"; } >&5
4138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4140 if test -s conftest.err; then
4142 ... rest of stderr output deleted ...
4143 10q' conftest.err >conftest.er1
4144 cat conftest.er1 >&5
4145 rm -f conftest.er1 conftest.err
4147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148 test $ac_status = 0; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if test "${ac_cv_prog_cc_g+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4223 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4239 if ac_fn_c_try_compile "$LINENO"; then :
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4260 if test "$GCC" = yes; then
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4271 ac_cv_prog_cc_c89=no
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4277 #include <sys/types.h>
4278 #include <sys/stat.h>
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4293 s = g (p, va_arg (v,int));
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4336 rm -f conftest.$ac_ext
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4364 ac_cpp='$CPP $CPPFLAGS'
4365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4369 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4370 # On Suns, sometimes $CPP names a directory.
4371 if test -n "$CPP" && test -d "$CPP"; then
4374 if test -z "$CPP"; then
4375 if test "${ac_cv_prog_CPP+set}" = set; then :
4376 $as_echo_n "(cached) " >&6
4378 # Double quotes because CPP needs to be expanded
4379 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4382 for ac_c_preproc_warn_flag in '' yes
4384 # Use a header file that comes with gcc, so configuring glibc
4385 # with a fresh cross-compiler works.
4386 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4387 # <limits.h> exists even on freestanding compilers.
4388 # On the NeXT, cc -E runs the code through the compiler's parser,
4389 # not just through cpp. "Syntax error" is here to catch this case.
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4393 # include <limits.h>
4395 # include <assert.h>
4399 if ac_fn_c_try_cpp "$LINENO"; then :
4402 # Broken: fails on valid input.
4405 rm -f conftest.err conftest.$ac_ext
4407 # OK, works on sane cases. Now check whether nonexistent headers
4408 # can be detected and how.
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <ac_nonexistent.h>
4413 if ac_fn_c_try_cpp "$LINENO"; then :
4414 # Broken: success on invalid input.
4417 # Passes both tests.
4421 rm -f conftest.err conftest.$ac_ext
4424 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4425 rm -f conftest.err conftest.$ac_ext
4426 if $ac_preproc_ok; then :
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4439 $as_echo "$CPP" >&6; }
4441 for ac_c_preproc_warn_flag in '' yes
4443 # Use a header file that comes with gcc, so configuring glibc
4444 # with a fresh cross-compiler works.
4445 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4446 # <limits.h> exists even on freestanding compilers.
4447 # On the NeXT, cc -E runs the code through the compiler's parser,
4448 # not just through cpp. "Syntax error" is here to catch this case.
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4452 # include <limits.h>
4454 # include <assert.h>
4458 if ac_fn_c_try_cpp "$LINENO"; then :
4461 # Broken: fails on valid input.
4464 rm -f conftest.err conftest.$ac_ext
4466 # OK, works on sane cases. Now check whether nonexistent headers
4467 # can be detected and how.
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4470 #include <ac_nonexistent.h>
4472 if ac_fn_c_try_cpp "$LINENO"; then :
4473 # Broken: success on invalid input.
4476 # Passes both tests.
4480 rm -f conftest.err conftest.$ac_ext
4483 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4484 rm -f conftest.err conftest.$ac_ext
4485 if $ac_preproc_ok; then :
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4491 See \`config.log' for more details." "$LINENO" 5; }
4495 ac_cpp='$CPP $CPPFLAGS'
4496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4502 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4503 if test "${ac_cv_path_GREP+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -z "$GREP"; then
4507 ac_path_GREP_found=false
4508 # Loop through the user's path and test for each of PROGNAME-LIST
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4513 test -z "$as_dir" && as_dir=.
4514 for ac_prog in grep ggrep; do
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4517 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4518 # Check for GNU ac_path_GREP and select it if it is found.
4519 # Check for GNU $ac_path_GREP
4520 case `"$ac_path_GREP" --version 2>&1` in
4522 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4525 $as_echo_n 0123456789 >"conftest.in"
4528 cat "conftest.in" "conftest.in" >"conftest.tmp"
4529 mv "conftest.tmp" "conftest.in"
4530 cp "conftest.in" "conftest.nl"
4531 $as_echo 'GREP' >> "conftest.nl"
4532 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4534 as_fn_arith $ac_count + 1 && ac_count=$as_val
4535 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4536 # Best one so far, save it but keep looking for a better one
4537 ac_cv_path_GREP="$ac_path_GREP"
4538 ac_path_GREP_max=$ac_count
4540 # 10*(2^10) chars as input seems more than enough
4541 test $ac_count -gt 10 && break
4543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4546 $ac_path_GREP_found && break 3
4551 if test -z "$ac_cv_path_GREP"; then
4552 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4555 ac_cv_path_GREP=$GREP
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4560 $as_echo "$ac_cv_path_GREP" >&6; }
4561 GREP="$ac_cv_path_GREP"
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4565 $as_echo_n "checking for egrep... " >&6; }
4566 if test "${ac_cv_path_EGREP+set}" = set; then :
4567 $as_echo_n "(cached) " >&6
4569 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4570 then ac_cv_path_EGREP="$GREP -E"
4572 if test -z "$EGREP"; then
4573 ac_path_EGREP_found=false
4574 # Loop through the user's path and test for each of PROGNAME-LIST
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4579 test -z "$as_dir" && as_dir=.
4580 for ac_prog in egrep; do
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4583 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4584 # Check for GNU ac_path_EGREP and select it if it is found.
4585 # Check for GNU $ac_path_EGREP
4586 case `"$ac_path_EGREP" --version 2>&1` in
4588 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4591 $as_echo_n 0123456789 >"conftest.in"
4594 cat "conftest.in" "conftest.in" >"conftest.tmp"
4595 mv "conftest.tmp" "conftest.in"
4596 cp "conftest.in" "conftest.nl"
4597 $as_echo 'EGREP' >> "conftest.nl"
4598 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4600 as_fn_arith $ac_count + 1 && ac_count=$as_val
4601 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4602 # Best one so far, save it but keep looking for a better one
4603 ac_cv_path_EGREP="$ac_path_EGREP"
4604 ac_path_EGREP_max=$ac_count
4606 # 10*(2^10) chars as input seems more than enough
4607 test $ac_count -gt 10 && break
4609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612 $ac_path_EGREP_found && break 3
4617 if test -z "$ac_cv_path_EGREP"; then
4618 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4621 ac_cv_path_EGREP=$EGREP
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4627 $as_echo "$ac_cv_path_EGREP" >&6; }
4628 EGREP="$ac_cv_path_EGREP"
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4632 $as_echo_n "checking for ANSI C header files... " >&6; }
4633 if test "${ac_cv_header_stdc+set}" = set; then :
4634 $as_echo_n "(cached) " >&6
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4651 if ac_fn_c_try_compile "$LINENO"; then :
4652 ac_cv_header_stdc=yes
4654 ac_cv_header_stdc=no
4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 if test $ac_cv_header_stdc = yes; then
4659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4666 $EGREP "memchr" >/dev/null 2>&1; then :
4669 ac_cv_header_stdc=no
4675 if test $ac_cv_header_stdc = yes; then
4676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4683 $EGREP "free" >/dev/null 2>&1; then :
4686 ac_cv_header_stdc=no
4692 if test $ac_cv_header_stdc = yes; then
4693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4694 if test "$cross_compiling" = yes; then :
4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4701 #if ((' ' & 0x0FF) == 0x020)
4702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4705 # define ISLOWER(c) \
4706 (('a' <= (c) && (c) <= 'i') \
4707 || ('j' <= (c) && (c) <= 'r') \
4708 || ('s' <= (c) && (c) <= 'z'))
4709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4717 for (i = 0; i < 256; i++)
4718 if (XOR (islower (i), ISLOWER (i))
4719 || toupper (i) != TOUPPER (i))
4724 if ac_fn_c_try_run "$LINENO"; then :
4727 ac_cv_header_stdc=no
4729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4730 conftest.$ac_objext conftest.beam conftest.$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4736 $as_echo "$ac_cv_header_stdc" >&6; }
4737 if test $ac_cv_header_stdc = yes; then
4739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4744 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4745 inttypes.h stdint.h unistd.h
4747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4748 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4750 eval as_val=\$$as_ac_Header
4751 if test "x$as_val" = x""yes; then :
4752 cat >>confdefs.h <<_ACEOF
4753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4762 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4763 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4770 if test "$MINIX" = yes; then
4772 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4775 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4778 $as_echo "#define _MINIX 1" >>confdefs.h
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4784 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4785 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4791 # define __EXTENSIONS__ 1
4792 $ac_includes_default
4801 if ac_fn_c_try_compile "$LINENO"; then :
4802 ac_cv_safe_to_define___extensions__=yes
4804 ac_cv_safe_to_define___extensions__=no
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4809 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4810 test $ac_cv_safe_to_define___extensions__ = yes &&
4811 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4813 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4815 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4817 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4819 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4825 # The tests for host and target for $enable_largefile require
4830 # As the $enable_largefile decision depends on --enable-plugins we must set it
4831 # even in directories otherwise not depending on the $plugins option.
4834 # Check whether --enable-plugins was given.
4835 if test "${enable_plugins+set}" = set; then :
4836 enableval=$enable_plugins; case "${enableval}" in
4837 yes | "") plugins=yes ;;
4848 sparc-*-solaris*|i[3-7]86-*-solaris*)
4849 # On native 32bit sparc and ia32 solaris, large-file and procfs support
4850 # are mutually exclusive; and without procfs support, the bfd/ elf module
4851 # cannot provide certain routines such as elfcore_write_prpsinfo
4852 # or elfcore_write_prstatus. So unless the user explicitly requested
4853 # large-file support through the --enable-largefile switch, disable
4854 # large-file support in favor of procfs support.
4855 test "${target}" = "${host}" -a "x$plugins" = xno \
4856 && : ${enable_largefile="no"}
4860 # Check whether --enable-largefile was given.
4861 if test "${enable_largefile+set}" = set; then :
4862 enableval=$enable_largefile;
4865 if test "$enable_largefile" != no; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4868 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4869 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4870 $as_echo_n "(cached) " >&6
4872 ac_cv_sys_largefile_CC=no
4873 if test "$GCC" != yes; then
4876 # IRIX 6.2 and later do not support large files by default,
4877 # so use the C compiler's -n32 option if that helps.
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <sys/types.h>
4881 /* Check that off_t can represent 2**63 - 1 correctly.
4882 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4883 since some C++ compilers masquerading as C compilers
4884 incorrectly reject 9223372036854775807. */
4885 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4886 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4887 && LARGE_OFF_T % 2147483647 == 1)
4897 if ac_fn_c_try_compile "$LINENO"; then :
4900 rm -f core conftest.err conftest.$ac_objext
4902 if ac_fn_c_try_compile "$LINENO"; then :
4903 ac_cv_sys_largefile_CC=' -n32'; break
4905 rm -f core conftest.err conftest.$ac_objext
4909 rm -f conftest.$ac_ext
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4913 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4914 if test "$ac_cv_sys_largefile_CC" != no; then
4915 CC=$CC$ac_cv_sys_largefile_CC
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4919 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4920 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4921 $as_echo_n "(cached) " >&6
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4926 #include <sys/types.h>
4927 /* Check that off_t can represent 2**63 - 1 correctly.
4928 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4929 since some C++ compilers masquerading as C compilers
4930 incorrectly reject 9223372036854775807. */
4931 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4932 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4933 && LARGE_OFF_T % 2147483647 == 1)
4943 if ac_fn_c_try_compile "$LINENO"; then :
4944 ac_cv_sys_file_offset_bits=no; break
4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4949 #define _FILE_OFFSET_BITS 64
4950 #include <sys/types.h>
4951 /* Check that off_t can represent 2**63 - 1 correctly.
4952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4953 since some C++ compilers masquerading as C compilers
4954 incorrectly reject 9223372036854775807. */
4955 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4957 && LARGE_OFF_T % 2147483647 == 1)
4967 if ac_fn_c_try_compile "$LINENO"; then :
4968 ac_cv_sys_file_offset_bits=64; break
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_cv_sys_file_offset_bits=unknown
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4976 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4977 case $ac_cv_sys_file_offset_bits in #(
4980 cat >>confdefs.h <<_ACEOF
4981 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4986 if test $ac_cv_sys_file_offset_bits = unknown; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4988 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4989 if test "${ac_cv_sys_large_files+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4995 #include <sys/types.h>
4996 /* Check that off_t can represent 2**63 - 1 correctly.
4997 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4998 since some C++ compilers masquerading as C compilers
4999 incorrectly reject 9223372036854775807. */
5000 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5001 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5002 && LARGE_OFF_T % 2147483647 == 1)
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013 ac_cv_sys_large_files=no; break
5015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5018 #define _LARGE_FILES 1
5019 #include <sys/types.h>
5020 /* Check that off_t can represent 2**63 - 1 correctly.
5021 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5022 since some C++ compilers masquerading as C compilers
5023 incorrectly reject 9223372036854775807. */
5024 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5025 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5026 && LARGE_OFF_T % 2147483647 == 1)
5036 if ac_fn_c_try_compile "$LINENO"; then :
5037 ac_cv_sys_large_files=1; break
5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 ac_cv_sys_large_files=unknown
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5045 $as_echo "$ac_cv_sys_large_files" >&6; }
5046 case $ac_cv_sys_large_files in #(
5049 cat >>confdefs.h <<_ACEOF
5050 #define _LARGE_FILES $ac_cv_sys_large_files
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5064 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5069 macro_version='2.2.7a'
5070 macro_revision='1.3134'
5084 ltmain="$ac_aux_dir/ltmain.sh"
5086 # Backslashify metacharacters that are still active within
5087 # double-quoted strings.
5088 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5090 # Same as above, but do not quote variable references.
5091 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5093 # Sed substitution to delay expansion of an escaped shell variable in a
5094 # double_quote_subst'ed string.
5095 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5097 # Sed substitution to delay expansion of an escaped single quote.
5098 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5100 # Sed substitution to avoid accidental globbing in evaled expressions
5101 no_glob_subst='s/\*/\\\*/g'
5103 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5104 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5105 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5108 $as_echo_n "checking how to print strings... " >&6; }
5109 # Test print first, because it will be a builtin if present.
5110 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5111 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5113 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5116 # Use this function as a fallback that always works.
5117 func_fallback_echo ()
5119 eval 'cat <<_LTECHO_EOF
5123 ECHO='func_fallback_echo'
5126 # func_echo_all arg...
5127 # Invoke $ECHO with all args, space-separated.
5134 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5135 $as_echo "printf" >&6; } ;;
5136 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5137 $as_echo "print -r" >&6; } ;;
5138 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5139 $as_echo "cat" >&6; } ;;
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5156 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5157 if test "${ac_cv_path_SED+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5160 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5161 for ac_i in 1 2 3 4 5 6 7; do
5162 ac_script="$ac_script$as_nl$ac_script"
5164 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5165 { ac_script=; unset ac_script;}
5166 if test -z "$SED"; then
5167 ac_path_SED_found=false
5168 # Loop through the user's path and test for each of PROGNAME-LIST
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir=.
5174 for ac_prog in sed gsed; do
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5177 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5178 # Check for GNU ac_path_SED and select it if it is found.
5179 # Check for GNU $ac_path_SED
5180 case `"$ac_path_SED" --version 2>&1` in
5182 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5185 $as_echo_n 0123456789 >"conftest.in"
5188 cat "conftest.in" "conftest.in" >"conftest.tmp"
5189 mv "conftest.tmp" "conftest.in"
5190 cp "conftest.in" "conftest.nl"
5191 $as_echo '' >> "conftest.nl"
5192 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5193 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5194 as_fn_arith $ac_count + 1 && ac_count=$as_val
5195 if test $ac_count -gt ${ac_path_SED_max-0}; then
5196 # Best one so far, save it but keep looking for a better one
5197 ac_cv_path_SED="$ac_path_SED"
5198 ac_path_SED_max=$ac_count
5200 # 10*(2^10) chars as input seems more than enough
5201 test $ac_count -gt 10 && break
5203 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5206 $ac_path_SED_found && break 3
5211 if test -z "$ac_cv_path_SED"; then
5212 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5220 $as_echo "$ac_cv_path_SED" >&6; }
5221 SED="$ac_cv_path_SED"
5224 test -z "$SED" && SED=sed
5225 Xsed="$SED -e 1s/^X//"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5238 $as_echo_n "checking for fgrep... " >&6; }
5239 if test "${ac_cv_path_FGREP+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5242 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5243 then ac_cv_path_FGREP="$GREP -F"
5245 if test -z "$FGREP"; then
5246 ac_path_FGREP_found=false
5247 # Loop through the user's path and test for each of PROGNAME-LIST
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5252 test -z "$as_dir" && as_dir=.
5253 for ac_prog in fgrep; do
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5256 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5257 # Check for GNU ac_path_FGREP and select it if it is found.
5258 # Check for GNU $ac_path_FGREP
5259 case `"$ac_path_FGREP" --version 2>&1` in
5261 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5264 $as_echo_n 0123456789 >"conftest.in"
5267 cat "conftest.in" "conftest.in" >"conftest.tmp"
5268 mv "conftest.tmp" "conftest.in"
5269 cp "conftest.in" "conftest.nl"
5270 $as_echo 'FGREP' >> "conftest.nl"
5271 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5272 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5273 as_fn_arith $ac_count + 1 && ac_count=$as_val
5274 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5275 # Best one so far, save it but keep looking for a better one
5276 ac_cv_path_FGREP="$ac_path_FGREP"
5277 ac_path_FGREP_max=$ac_count
5279 # 10*(2^10) chars as input seems more than enough
5280 test $ac_count -gt 10 && break
5282 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5285 $ac_path_FGREP_found && break 3
5290 if test -z "$ac_cv_path_FGREP"; then
5291 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5294 ac_cv_path_FGREP=$FGREP
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5300 $as_echo "$ac_cv_path_FGREP" >&6; }
5301 FGREP="$ac_cv_path_FGREP"
5304 test -z "$GREP" && GREP=grep
5324 # Check whether --with-gnu-ld was given.
5325 if test "${with_gnu_ld+set}" = set; then :
5326 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5332 if test "$GCC" = yes; then
5333 # Check if gcc -print-prog-name=ld gives a path.
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5335 $as_echo_n "checking for ld used by $CC... " >&6; }
5338 # gcc leaves a trailing carriage return which upsets mingw
5339 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5341 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5344 # Accept absolute paths.
5346 re_direlt='/[^/][^/]*/\.\./'
5347 # Canonicalize the pathname of ld
5348 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5349 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5350 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5352 test -z "$LD" && LD="$ac_prog"
5355 # If it fails, then pretend we aren't using GCC.
5359 # If it is relative, then search for the first ld in PATH.
5363 elif test "$with_gnu_ld" = yes; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5365 $as_echo_n "checking for GNU ld... " >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5368 $as_echo_n "checking for non-GNU ld... " >&6; }
5370 if test "${lt_cv_path_LD+set}" = set; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -z "$LD"; then
5374 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5375 for ac_dir in $PATH; do
5377 test -z "$ac_dir" && ac_dir=.
5378 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5379 lt_cv_path_LD="$ac_dir/$ac_prog"
5380 # Check to see if the program is GNU ld. I'd rather use --version,
5381 # but apparently some variants of GNU ld only accept -v.
5382 # Break only if it was the GNU/non-GNU ld that we prefer.
5383 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5384 *GNU* | *'with BFD'*)
5385 test "$with_gnu_ld" != no && break
5388 test "$with_gnu_ld" != yes && break
5395 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5400 if test -n "$LD"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5402 $as_echo "$LD" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5407 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5409 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5410 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5411 $as_echo_n "(cached) " >&6
5413 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5414 case `$LD -v 2>&1 </dev/null` in
5415 *GNU* | *'with BFD'*)
5416 lt_cv_prog_gnu_ld=yes
5419 lt_cv_prog_gnu_ld=no
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5424 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5425 with_gnu_ld=$lt_cv_prog_gnu_ld
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5436 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5437 if test "${lt_cv_path_NM+set}" = set; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$NM"; then
5441 # Let the user override the test.
5444 lt_nm_to_check="${ac_tool_prefix}nm"
5445 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5446 lt_nm_to_check="$lt_nm_to_check nm"
5448 for lt_tmp_nm in $lt_nm_to_check; do
5449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5450 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5452 test -z "$ac_dir" && ac_dir=.
5453 tmp_nm="$ac_dir/$lt_tmp_nm"
5454 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5455 # Check to see if the nm accepts a BSD-compat flag.
5456 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5457 # nm: unknown option "B" ignored
5458 # Tru64's nm complains that /dev/null is an invalid object file
5459 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5460 */dev/null* | *'Invalid file or object type'*)
5461 lt_cv_path_NM="$tmp_nm -B"
5465 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5467 lt_cv_path_NM="$tmp_nm -p"
5471 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5472 continue # so that we can try to find one that supports BSD flags
5481 : ${lt_cv_path_NM=no}
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5485 $as_echo "$lt_cv_path_NM" >&6; }
5486 if test "$lt_cv_path_NM" != "no"; then
5489 # Didn't find any BSD compatible name lister, look for dumpbin.
5490 if test -n "$DUMPBIN"; then :
5491 # Let the user override the test.
5493 if test -n "$ac_tool_prefix"; then
5494 for ac_prog in dumpbin "link -dump"
5496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$DUMPBIN"; then
5504 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5513 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 DUMPBIN=$ac_cv_prog_DUMPBIN
5524 if test -n "$DUMPBIN"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5526 $as_echo "$DUMPBIN" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5533 test -n "$DUMPBIN" && break
5536 if test -z "$DUMPBIN"; then
5537 ac_ct_DUMPBIN=$DUMPBIN
5538 for ac_prog in dumpbin "link -dump"
5540 # Extract the first word of "$ac_prog", so it can be a program name with args.
5541 set dummy $ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$ac_ct_DUMPBIN"; then
5548 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5568 if test -n "$ac_ct_DUMPBIN"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5570 $as_echo "$ac_ct_DUMPBIN" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5577 test -n "$ac_ct_DUMPBIN" && break
5580 if test "x$ac_ct_DUMPBIN" = x; then
5583 case $cross_compiling:$ac_tool_warned in
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5587 ac_tool_warned=yes ;;
5589 DUMPBIN=$ac_ct_DUMPBIN
5593 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5595 DUMPBIN="$DUMPBIN -symbols"
5603 if test "$DUMPBIN" != ":"; then
5607 test -z "$NM" && NM=nm
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5615 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5616 if test "${lt_cv_nm_interface+set}" = set; then :
5617 $as_echo_n "(cached) " >&6
5619 lt_cv_nm_interface="BSD nm"
5620 echo "int some_variable = 0;" > conftest.$ac_ext
5621 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5622 (eval "$ac_compile" 2>conftest.err)
5623 cat conftest.err >&5
5624 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5625 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5626 cat conftest.err >&5
5627 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5628 cat conftest.out >&5
5629 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5630 lt_cv_nm_interface="MS dumpbin"
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5635 $as_echo "$lt_cv_nm_interface" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5638 $as_echo_n "checking whether ln -s works... " >&6; }
5640 if test "$LN_S" = "ln -s"; then
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5642 $as_echo "yes" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5645 $as_echo "no, using $LN_S" >&6; }
5648 # find the maximum length of command line arguments
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5650 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5651 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5659 # On DJGPP, this test can blow up pretty badly due to problems in libc
5660 # (any single argument exceeding 2000 bytes causes a buffer overrun
5661 # during glob expansion). Even if it were fixed, the result of this
5662 # check would be larger than it should be.
5663 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5667 # Under GNU Hurd, this test is not required because there is
5668 # no limit to the length of command line arguments.
5669 # Libtool will interpret -1 as no limit whatsoever
5670 lt_cv_sys_max_cmd_len=-1;
5673 cygwin* | mingw* | cegcc*)
5674 # On Win9x/ME, this test blows up -- it succeeds, but takes
5675 # about 5 minutes as the teststring grows exponentially.
5676 # Worse, since 9x/ME are not pre-emptively multitasking,
5677 # you end up with a "frozen" computer, even though with patience
5678 # the test eventually succeeds (with a max line length of 256k).
5679 # Instead, let's just punt: use the minimum linelength reported by
5680 # all of the supported platforms: 8192 (on NT/2K/XP).
5681 lt_cv_sys_max_cmd_len=8192;
5685 # On MiNT this can take a long time and run out of memory.
5686 lt_cv_sys_max_cmd_len=8192;
5690 # On AmigaOS with pdksh, this test takes hours, literally.
5691 # So we just punt and use a minimum line length of 8192.
5692 lt_cv_sys_max_cmd_len=8192;
5695 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5696 # This has been around since 386BSD, at least. Likely further.
5697 if test -x /sbin/sysctl; then
5698 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5699 elif test -x /usr/sbin/sysctl; then
5700 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5702 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5704 # And add a safety zone
5705 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5706 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5710 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5711 lt_cv_sys_max_cmd_len=196608
5715 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5716 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5717 # nice to cause kernel panics so lets avoid the loop below.
5718 # First set a reasonable default.
5719 lt_cv_sys_max_cmd_len=16384
5721 if test -x /sbin/sysconfig; then
5722 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5723 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5728 lt_cv_sys_max_cmd_len=102400
5730 sysv5* | sco5v6* | sysv4.2uw2*)
5731 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5732 if test -n "$kargmax"; then
5733 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5735 lt_cv_sys_max_cmd_len=32768
5739 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5740 if test -n "$lt_cv_sys_max_cmd_len"; then
5741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5742 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5744 # Make teststring a little bigger before we do anything with it.
5745 # a 1K string should be a reasonable start.
5746 for i in 1 2 3 4 5 6 7 8 ; do
5747 teststring=$teststring$teststring
5749 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5750 # If test is not a shell built-in, we'll probably end up computing a
5751 # maximum length that is only half of the actual maximum length, but
5753 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5754 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5755 test $i != 17 # 1/2 MB should be enough
5758 teststring=$teststring$teststring
5760 # Only check the string length outside the loop.
5761 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5763 # Add a significant safety factor because C++ compilers can tack on
5764 # massive amounts of additional arguments before passing them to the
5765 # linker. It appears as though 1/2 is a usable value.
5766 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5773 if test -n $lt_cv_sys_max_cmd_len ; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5775 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5778 $as_echo "none" >&6; }
5780 max_cmd_len=$lt_cv_sys_max_cmd_len
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5792 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5793 # Try some XSI features
5796 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5798 && eval 'test $(( 1 + 1 )) -eq 2 \
5799 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5802 $as_echo "$xsi_shell" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5806 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5808 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5810 && lt_shell_append=yes
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5812 $as_echo "$lt_shell_append" >&6; }
5815 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5825 # test EBCDIC or ASCII
5826 case `echo X|tr X '\101'` in
5827 A) # ASCII based system
5828 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5829 lt_SP2NL='tr \040 \012'
5830 lt_NL2SP='tr \015\012 \040\040'
5832 *) # EBCDIC based system
5833 lt_SP2NL='tr \100 \n'
5834 lt_NL2SP='tr \r\n \100\100'
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5847 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5848 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5849 $as_echo_n "(cached) " >&6
5851 lt_cv_ld_reload_flag='-r'
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5854 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5855 reload_flag=$lt_cv_ld_reload_flag
5856 case $reload_flag in
5858 *) reload_flag=" $reload_flag" ;;
5860 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5863 if test "$GCC" = yes; then
5864 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5866 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$OBJDUMP"; then
5888 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 OBJDUMP=$ac_cv_prog_OBJDUMP
5908 if test -n "$OBJDUMP"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5910 $as_echo "$OBJDUMP" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if test -z "$ac_cv_prog_OBJDUMP"; then
5919 ac_ct_OBJDUMP=$OBJDUMP
5920 # Extract the first word of "objdump", so it can be a program name with args.
5921 set dummy objdump; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$ac_ct_OBJDUMP"; then
5928 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5948 if test -n "$ac_ct_OBJDUMP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5950 $as_echo "$ac_ct_OBJDUMP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5956 if test "x$ac_ct_OBJDUMP" = x; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned=yes ;;
5965 OBJDUMP=$ac_ct_OBJDUMP
5968 OBJDUMP="$ac_cv_prog_OBJDUMP"
5971 test -z "$OBJDUMP" && OBJDUMP=objdump
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5982 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5983 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5984 $as_echo_n "(cached) " >&6
5986 lt_cv_file_magic_cmd='$MAGIC_CMD'
5987 lt_cv_file_magic_test_file=
5988 lt_cv_deplibs_check_method='unknown'
5989 # Need to set the preceding variable on all platforms that support
5990 # interlibrary dependencies.
5991 # 'none' -- dependencies not supported.
5992 # `unknown' -- same as none, but documents that we really don't know.
5993 # 'pass_all' -- all dependencies passed with no checks.
5994 # 'test_compile' -- check by making test program.
5995 # 'file_magic [[regex]]' -- check by looking for files in library path
5996 # which responds to the $file_magic_cmd with a given extended regex.
5997 # If you have `file' or equivalent on your system and you're not sure
5998 # whether `pass_all' will *always* work, you probably want this one.
6002 lt_cv_deplibs_check_method=pass_all
6006 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6011 lt_cv_file_magic_cmd='/usr/bin/file -L'
6012 lt_cv_file_magic_test_file=/shlib/libc.so
6016 # func_win32_libid is a shell function defined in ltmain.sh
6017 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6018 lt_cv_file_magic_cmd='func_win32_libid'
6022 # Base MSYS/MinGW do not provide the 'file' command needed by
6023 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6024 # unless we find 'file', for example because we are cross-compiling.
6025 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6026 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6027 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6028 lt_cv_file_magic_cmd='func_win32_libid'
6030 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6031 lt_cv_file_magic_cmd='$OBJDUMP -f'
6036 # use the weaker test based on 'objdump'. See mingw*.
6037 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6038 lt_cv_file_magic_cmd='$OBJDUMP -f'
6041 darwin* | rhapsody*)
6042 lt_cv_deplibs_check_method=pass_all
6045 freebsd* | dragonfly*)
6046 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6049 # Not sure whether the presence of OpenBSD here was a mistake.
6050 # Let's accept both of them until this is cleared up.
6051 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6052 lt_cv_file_magic_cmd=/usr/bin/file
6053 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6057 lt_cv_deplibs_check_method=pass_all
6062 lt_cv_deplibs_check_method=pass_all
6066 lt_cv_deplibs_check_method=pass_all
6069 hpux10.20* | hpux11*)
6070 lt_cv_file_magic_cmd=/usr/bin/file
6073 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6074 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6077 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]'
6078 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6081 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6082 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6088 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6089 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6092 irix5* | irix6* | nonstopux*)
6094 *-32|*"-32 ") libmagic=32-bit;;
6095 *-n32|*"-n32 ") libmagic=N32;;
6096 *-64|*"-64 ") libmagic=64-bit;;
6097 *) libmagic=never-match;;
6099 lt_cv_deplibs_check_method=pass_all
6102 # This must be Linux ELF.
6103 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6104 lt_cv_deplibs_check_method=pass_all
6108 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6109 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6111 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6116 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6117 lt_cv_file_magic_cmd=/usr/bin/file
6118 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6122 lt_cv_deplibs_check_method=pass_all
6126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6127 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6133 osf3* | osf4* | osf5*)
6134 lt_cv_deplibs_check_method=pass_all
6138 lt_cv_deplibs_check_method=pass_all
6142 lt_cv_deplibs_check_method=pass_all
6145 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6146 lt_cv_deplibs_check_method=pass_all
6150 case $host_vendor in
6152 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]'
6153 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6156 lt_cv_deplibs_check_method=pass_all
6159 lt_cv_file_magic_cmd='/bin/file'
6160 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6163 lt_cv_file_magic_cmd='/bin/file'
6164 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6165 lt_cv_file_magic_test_file=/lib/libc.so
6168 lt_cv_deplibs_check_method=pass_all
6171 lt_cv_deplibs_check_method=pass_all
6177 lt_cv_deplibs_check_method=pass_all
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6183 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6184 file_magic_cmd=$lt_cv_file_magic_cmd
6185 deplibs_check_method=$lt_cv_deplibs_check_method
6186 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6199 if test -n "$ac_tool_prefix"; then
6200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6201 set dummy ${ac_tool_prefix}ar; ac_word=$2
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 $as_echo_n "checking for $ac_word... " >&6; }
6204 if test "${ac_cv_prog_AR+set}" = set; then :
6205 $as_echo_n "(cached) " >&6
6207 if test -n "$AR"; then
6208 ac_cv_prog_AR="$AR" # Let the user override the test.
6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir=.
6215 for ac_exec_ext in '' $ac_executable_extensions; do
6216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6217 ac_cv_prog_AR="${ac_tool_prefix}ar"
6218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 if test -n "$AR"; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6230 $as_echo "$AR" >&6; }
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6233 $as_echo "no" >&6; }
6238 if test -z "$ac_cv_prog_AR"; then
6240 # Extract the first word of "ar", so it can be a program name with args.
6241 set dummy ar; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6245 $as_echo_n "(cached) " >&6
6247 if test -n "$ac_ct_AR"; then
6248 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6257 ac_cv_prog_ac_ct_AR="ar"
6258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6268 if test -n "$ac_ct_AR"; then
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6270 $as_echo "$ac_ct_AR" >&6; }
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6273 $as_echo "no" >&6; }
6276 if test "x$ac_ct_AR" = x; then
6279 case $cross_compiling:$ac_tool_warned in
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6283 ac_tool_warned=yes ;;
6291 test -z "$AR" && AR=ar
6292 test -z "$AR_FLAGS" && AR_FLAGS=cru
6304 if test -n "$ac_tool_prefix"; then
6305 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6306 set dummy ${ac_tool_prefix}strip; ac_word=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if test "${ac_cv_prog_STRIP+set}" = set; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$STRIP"; then
6313 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir=.
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 STRIP=$ac_cv_prog_STRIP
6333 if test -n "$STRIP"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6335 $as_echo "$STRIP" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6343 if test -z "$ac_cv_prog_STRIP"; then
6345 # Extract the first word of "strip", so it can be a program name with args.
6346 set dummy strip; ac_word=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348 $as_echo_n "checking for $ac_word... " >&6; }
6349 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6350 $as_echo_n "(cached) " >&6
6352 if test -n "$ac_ct_STRIP"; then
6353 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6362 ac_cv_prog_ac_ct_STRIP="strip"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6373 if test -n "$ac_ct_STRIP"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6375 $as_echo "$ac_ct_STRIP" >&6; }
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6381 if test "x$ac_ct_STRIP" = x; then
6384 case $cross_compiling:$ac_tool_warned in
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388 ac_tool_warned=yes ;;
6393 STRIP="$ac_cv_prog_STRIP"
6396 test -z "$STRIP" && STRIP=:
6403 if test -n "$ac_tool_prefix"; then
6404 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6405 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6409 $as_echo_n "(cached) " >&6
6411 if test -n "$RANLIB"; then
6412 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir=.
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 RANLIB=$ac_cv_prog_RANLIB
6432 if test -n "$RANLIB"; then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6434 $as_echo "$RANLIB" >&6; }
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6442 if test -z "$ac_cv_prog_RANLIB"; then
6443 ac_ct_RANLIB=$RANLIB
6444 # Extract the first word of "ranlib", so it can be a program name with args.
6445 set dummy ranlib; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6449 $as_echo_n "(cached) " >&6
6451 if test -n "$ac_ct_RANLIB"; then
6452 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6461 ac_cv_prog_ac_ct_RANLIB="ranlib"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6472 if test -n "$ac_ct_RANLIB"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6474 $as_echo "$ac_ct_RANLIB" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6480 if test "x$ac_ct_RANLIB" = x; then
6483 case $cross_compiling:$ac_tool_warned in
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6487 ac_tool_warned=yes ;;
6489 RANLIB=$ac_ct_RANLIB
6492 RANLIB="$ac_cv_prog_RANLIB"
6495 test -z "$RANLIB" && RANLIB=:
6502 # Determine commands to create old-style static archives.
6503 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6504 old_postinstall_cmds='chmod 644 $oldlib'
6505 old_postuninstall_cmds=
6507 if test -n "$RANLIB"; then
6510 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6513 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6516 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6521 lock_old_archive_extraction=yes ;;
6523 lock_old_archive_extraction=no ;;
6564 # If no C compiler was specified, use CC.
6567 # If no C compiler flags were specified, use CFLAGS.
6568 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6570 # Allow CC to be a program name with arguments.
6574 # Check for command to grab the raw symbol name followed by C symbol from nm.
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6576 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6577 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6578 $as_echo_n "(cached) " >&6
6581 # These are sane defaults that work on at least a few old systems.
6582 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6584 # Character class describing NM global symbol codes.
6585 symcode='[BCDEGRST]'
6587 # Regexp to match symbols that can be accessed directly from C.
6588 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6590 # Define system-specific variables.
6595 cygwin* | mingw* | pw32* | cegcc*)
6596 symcode='[ABCDGISTW]'
6599 if test "$host_cpu" = ia64; then
6600 symcode='[ABCDEGRST]'
6604 symcode='[BCDEGRST]'
6607 symcode='[BCDEGQRST]'
6618 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6626 # If we're using GNU nm, then use its standard symbol codes.
6627 case `$NM -V 2>&1` in
6628 *GNU* | *'with BFD'*)
6629 symcode='[ABCDGIRSTW]' ;;
6632 # Transform an extracted symbol line into a proper C declaration.
6633 # Some systems (esp. on ia64) link data and code symbols differently,
6634 # so use this general approach.
6635 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6637 # Transform an extracted symbol line into symbol name and symbol address
6638 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6639 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'"
6641 # Handle CRLF in mingw tool chain
6645 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6649 # Try without a prefix underscore, then with it.
6650 for ac_symprfx in "" "_"; do
6652 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6653 symxfrm="\\1 $ac_symprfx\\2 \\2"
6655 # Write the raw and C identifiers.
6656 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6657 # Fake it for dumpbin and say T for any non-static function
6658 # and D for any global variable.
6659 # Also find C++ and __fastcall symbols from MSVC++,
6660 # which start with @ or ?.
6661 lt_cv_sys_global_symbol_pipe="$AWK '"\
6662 " {last_section=section; section=\$ 3};"\
6663 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6664 " \$ 0!~/External *\|/{next};"\
6665 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6666 " {if(hide[section]) next};"\
6667 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6668 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6669 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6670 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6671 " ' prfx=^$ac_symprfx"
6673 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6676 # Check to see that the pipe works correctly.
6680 cat > conftest.$ac_ext <<_LT_EOF
6685 void nm_test_func(void);
6686 void nm_test_func(void){}
6690 int main(){nm_test_var='a';nm_test_func();return(0);}
6693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694 (eval $ac_compile) 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6697 test $ac_status = 0; }; then
6698 # Now try to grab the symbols.
6700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6701 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6704 test $ac_status = 0; } && test -s "$nlist"; then
6705 # Try sorting and uniquifying the output.
6706 if sort "$nlist" | uniq > "$nlist"T; then
6707 mv -f "$nlist"T "$nlist"
6712 # Make sure that we snagged all the symbols we need.
6713 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6714 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6715 cat <<_LT_EOF > conftest.$ac_ext
6721 # Now generate the symbol file.
6722 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6724 cat <<_LT_EOF >> conftest.$ac_ext
6726 /* The mapping between symbol names and symbols. */
6731 lt__PROGRAM__LTX_preloaded_symbols[] =
6733 { "@PROGRAM@", (void *) 0 },
6735 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6736 cat <<\_LT_EOF >> conftest.$ac_ext
6740 /* This works around a problem in FreeBSD linker */
6741 #ifdef FREEBSD_WORKAROUND
6742 static const void *lt_preloaded_setup() {
6743 return lt__PROGRAM__LTX_preloaded_symbols;
6751 # Now try linking the two files.
6752 mv conftest.$ac_objext conftstm.$ac_objext
6753 lt_save_LIBS="$LIBS"
6754 lt_save_CFLAGS="$CFLAGS"
6755 LIBS="conftstm.$ac_objext"
6756 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6758 (eval $ac_link) 2>&5
6760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6761 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6764 LIBS="$lt_save_LIBS"
6765 CFLAGS="$lt_save_CFLAGS"
6767 echo "cannot find nm_test_func in $nlist" >&5
6770 echo "cannot find nm_test_var in $nlist" >&5
6773 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6776 echo "$progname: failed program was:" >&5
6777 cat conftest.$ac_ext >&5
6779 rm -rf conftest* conftst*
6781 # Do not use the global_symbol_pipe unless it works.
6782 if test "$pipe_works" = yes; then
6785 lt_cv_sys_global_symbol_pipe=
6791 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6792 lt_cv_sys_global_symbol_to_cdecl=
6794 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6796 $as_echo "failed" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6799 $as_echo "ok" >&6; }
6823 # Check whether --enable-libtool-lock was given.
6824 if test "${enable_libtool_lock+set}" = set; then :
6825 enableval=$enable_libtool_lock;
6828 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6830 # Some flags need to be propagated to the compiler or linker for good
6834 # Find out which ABI we are using.
6835 echo 'int i;' > conftest.$ac_ext
6836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6837 (eval $ac_compile) 2>&5
6839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6840 test $ac_status = 0; }; then
6841 case `/usr/bin/file conftest.$ac_objext` in
6853 # Find out which ABI we are using.
6854 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6855 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6856 (eval $ac_compile) 2>&5
6858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6859 test $ac_status = 0; }; then
6860 if test "$lt_cv_prog_gnu_ld" = yes; then
6861 case `/usr/bin/file conftest.$ac_objext` in
6863 LD="${LD-ld} -melf32bsmip"
6866 LD="${LD-ld} -melf32bmipn32"
6869 LD="${LD-ld} -melf64bmip"
6873 case `/usr/bin/file conftest.$ac_objext` in
6889 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6890 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6891 # Find out which ABI we are using.
6892 echo 'int i;' > conftest.$ac_ext
6893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6894 (eval $ac_compile) 2>&5
6896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6897 test $ac_status = 0; }; then
6898 case `/usr/bin/file conftest.o` in
6901 x86_64-*kfreebsd*-gnu)
6902 LD="${LD-ld} -m elf_i386_fbsd"
6905 case `/usr/bin/file conftest.o` in
6907 LD="${LD-ld} -m elf32_x86_64"
6910 LD="${LD-ld} -m elf_i386"
6914 powerpc64le-*linux*)
6915 LD="${LD-ld} -m elf32lppclinux"
6918 LD="${LD-ld} -m elf32ppclinux"
6921 LD="${LD-ld} -m elf_s390"
6924 LD="${LD-ld} -m elf32_sparc"
6930 x86_64-*kfreebsd*-gnu)
6931 LD="${LD-ld} -m elf_x86_64_fbsd"
6934 LD="${LD-ld} -m elf_x86_64"
6937 LD="${LD-ld} -m elf64lppc"
6940 LD="${LD-ld} -m elf64ppc"
6942 s390*-*linux*|s390*-*tpf*)
6943 LD="${LD-ld} -m elf64_s390"
6946 LD="${LD-ld} -m elf64_sparc"
6956 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6957 SAVE_CFLAGS="$CFLAGS"
6958 CFLAGS="$CFLAGS -belf"
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6960 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6961 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6962 $as_echo_n "(cached) " >&6
6965 ac_cpp='$CPP $CPPFLAGS'
6966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 /* end confdefs.h. */
6981 if ac_fn_c_try_link "$LINENO"; then :
6982 lt_cv_cc_needs_belf=yes
6984 lt_cv_cc_needs_belf=no
6986 rm -f core conftest.err conftest.$ac_objext \
6987 conftest$ac_exeext conftest.$ac_ext
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6996 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6997 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6998 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6999 CFLAGS="$SAVE_CFLAGS"
7003 # Find out which ABI we are using.
7004 echo 'int i;' > conftest.$ac_ext
7005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006 (eval $ac_compile) 2>&5
7008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7009 test $ac_status = 0; }; then
7010 case `/usr/bin/file conftest.o` in
7012 case $lt_cv_prog_gnu_ld in
7013 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7015 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7027 need_locks="$enable_libtool_lock"
7031 rhapsody* | darwin*)
7032 if test -n "$ac_tool_prefix"; then
7033 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7034 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$DSYMUTIL"; then
7041 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7061 if test -n "$DSYMUTIL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7063 $as_echo "$DSYMUTIL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7071 if test -z "$ac_cv_prog_DSYMUTIL"; then
7072 ac_ct_DSYMUTIL=$DSYMUTIL
7073 # Extract the first word of "dsymutil", so it can be a program name with args.
7074 set dummy dsymutil; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$ac_ct_DSYMUTIL"; then
7081 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7101 if test -n "$ac_ct_DSYMUTIL"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7103 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7109 if test "x$ac_ct_DSYMUTIL" = x; then
7112 case $cross_compiling:$ac_tool_warned in
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7116 ac_tool_warned=yes ;;
7118 DSYMUTIL=$ac_ct_DSYMUTIL
7121 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7124 if test -n "$ac_tool_prefix"; then
7125 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7126 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$NMEDIT"; then
7133 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 NMEDIT=$ac_cv_prog_NMEDIT
7153 if test -n "$NMEDIT"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7155 $as_echo "$NMEDIT" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7163 if test -z "$ac_cv_prog_NMEDIT"; then
7164 ac_ct_NMEDIT=$NMEDIT
7165 # Extract the first word of "nmedit", so it can be a program name with args.
7166 set dummy nmedit; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168 $as_echo_n "checking for $ac_word... " >&6; }
7169 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7172 if test -n "$ac_ct_NMEDIT"; then
7173 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7193 if test -n "$ac_ct_NMEDIT"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7195 $as_echo "$ac_ct_NMEDIT" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198 $as_echo "no" >&6; }
7201 if test "x$ac_ct_NMEDIT" = x; then
7204 case $cross_compiling:$ac_tool_warned in
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208 ac_tool_warned=yes ;;
7210 NMEDIT=$ac_ct_NMEDIT
7213 NMEDIT="$ac_cv_prog_NMEDIT"
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_LIPO+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$LIPO"; then
7225 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 LIPO=$ac_cv_prog_LIPO
7245 if test -n "$LIPO"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7247 $as_echo "$LIPO" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7255 if test -z "$ac_cv_prog_LIPO"; then
7257 # Extract the first word of "lipo", so it can be a program name with args.
7258 set dummy lipo; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7264 if test -n "$ac_ct_LIPO"; then
7265 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7274 ac_cv_prog_ac_ct_LIPO="lipo"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7285 if test -n "$ac_ct_LIPO"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7287 $as_echo "$ac_ct_LIPO" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7293 if test "x$ac_ct_LIPO" = x; then
7296 case $cross_compiling:$ac_tool_warned in
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300 ac_tool_warned=yes ;;
7305 LIPO="$ac_cv_prog_LIPO"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$OTOOL"; then
7317 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 OTOOL=$ac_cv_prog_OTOOL
7337 if test -n "$OTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7339 $as_echo "$OTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7347 if test -z "$ac_cv_prog_OTOOL"; then
7349 # Extract the first word of "otool", so it can be a program name with args.
7350 set dummy otool; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7354 $as_echo_n "(cached) " >&6
7356 if test -n "$ac_ct_OTOOL"; then
7357 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7366 ac_cv_prog_ac_ct_OTOOL="otool"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7377 if test -n "$ac_ct_OTOOL"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7379 $as_echo "$ac_ct_OTOOL" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7385 if test "x$ac_ct_OTOOL" = x; then
7388 case $cross_compiling:$ac_tool_warned in
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7392 ac_tool_warned=yes ;;
7397 OTOOL="$ac_cv_prog_OTOOL"
7400 if test -n "$ac_tool_prefix"; then
7401 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7402 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$OTOOL64"; then
7409 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 OTOOL64=$ac_cv_prog_OTOOL64
7429 if test -n "$OTOOL64"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7431 $as_echo "$OTOOL64" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7439 if test -z "$ac_cv_prog_OTOOL64"; then
7440 ac_ct_OTOOL64=$OTOOL64
7441 # Extract the first word of "otool64", so it can be a program name with args.
7442 set dummy otool64; ac_word=$2
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 $as_echo_n "checking for $ac_word... " >&6; }
7445 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7446 $as_echo_n "(cached) " >&6
7448 if test -n "$ac_ct_OTOOL64"; then
7449 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455 test -z "$as_dir" && as_dir=.
7456 for ac_exec_ext in '' $ac_executable_extensions; do
7457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458 ac_cv_prog_ac_ct_OTOOL64="otool64"
7459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7469 if test -n "$ac_ct_OTOOL64"; then
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7471 $as_echo "$ac_ct_OTOOL64" >&6; }
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474 $as_echo "no" >&6; }
7477 if test "x$ac_ct_OTOOL64" = x; then
7480 case $cross_compiling:$ac_tool_warned in
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7484 ac_tool_warned=yes ;;
7486 OTOOL64=$ac_ct_OTOOL64
7489 OTOOL64="$ac_cv_prog_OTOOL64"
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7519 $as_echo_n "checking for -single_module linker flag... " >&6; }
7520 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7523 lt_cv_apple_cc_single_mod=no
7524 if test -z "${LT_MULTI_MODULE}"; then
7525 # By default we will add the -single_module flag. You can override
7526 # by either setting the environment variable LT_MULTI_MODULE
7527 # non-empty at configure time, or by adding -multi_module to the
7529 rm -rf libconftest.dylib*
7530 echo "int foo(void){return 1;}" > conftest.c
7531 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7532 -dynamiclib -Wl,-single_module conftest.c" >&5
7533 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7534 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7536 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7537 lt_cv_apple_cc_single_mod=yes
7539 cat conftest.err >&5
7541 rm -rf libconftest.dylib*
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7546 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7548 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7549 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 lt_cv_ld_exported_symbols_list=no
7553 save_LDFLAGS=$LDFLAGS
7554 echo "_main" > conftest.sym
7555 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7557 /* end confdefs.h. */
7567 if ac_fn_c_try_link "$LINENO"; then :
7568 lt_cv_ld_exported_symbols_list=yes
7570 lt_cv_ld_exported_symbols_list=no
7572 rm -f core conftest.err conftest.$ac_objext \
7573 conftest$ac_exeext conftest.$ac_ext
7574 LDFLAGS="$save_LDFLAGS"
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7578 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7580 $as_echo_n "checking for -force_load linker flag... " >&6; }
7581 if test "${lt_cv_ld_force_load+set}" = set; then :
7582 $as_echo_n "(cached) " >&6
7584 lt_cv_ld_force_load=no
7585 cat > conftest.c << _LT_EOF
7586 int forced_loaded() { return 2;}
7588 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7589 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7590 echo "$AR cru libconftest.a conftest.o" >&5
7591 $AR cru libconftest.a conftest.o 2>&5
7592 cat > conftest.c << _LT_EOF
7593 int main() { return 0;}
7595 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7596 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7598 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7599 lt_cv_ld_force_load=yes
7601 cat conftest.err >&5
7603 rm -f conftest.err libconftest.a conftest conftest.c
7604 rm -rf conftest.dSYM
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7608 $as_echo "$lt_cv_ld_force_load" >&6; }
7610 rhapsody* | darwin1.[012])
7611 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7613 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7614 darwin*) # darwin 5.x on
7615 # if running on 10.5 or later, the deployment target defaults
7616 # to the OS version, if on x86, and 10.4, the deployment
7617 # target defaults to 10.4. Don't you love it?
7618 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7619 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7620 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7622 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7624 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7628 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7629 _lt_dar_single_mod='$single_module'
7631 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7632 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7634 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7636 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7637 _lt_dsymutil='~$DSYMUTIL $lib || :'
7644 for ac_header in dlfcn.h
7646 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7648 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7649 cat >>confdefs.h <<_ACEOF
7650 #define HAVE_DLFCN_H 1
7671 # Check whether --enable-shared was given.
7672 if test "${enable_shared+set}" = set; then :
7673 enableval=$enable_shared; p=${PACKAGE-default}
7675 yes) enable_shared=yes ;;
7676 no) enable_shared=no ;;
7679 # Look at the argument we got. We use all the common list separators.
7680 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7681 for pkg in $enableval; do
7683 if test "X$pkg" = "X$p"; then
7702 # Check whether --enable-static was given.
7703 if test "${enable_static+set}" = set; then :
7704 enableval=$enable_static; p=${PACKAGE-default}
7706 yes) enable_static=yes ;;
7707 no) enable_static=no ;;
7710 # Look at the argument we got. We use all the common list separators.
7711 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7712 for pkg in $enableval; do
7714 if test "X$pkg" = "X$p"; then
7734 # Check whether --with-pic was given.
7735 if test "${with_pic+set}" = set; then :
7736 withval=$with_pic; pic_mode="$withval"
7742 test -z "$pic_mode" && pic_mode=default
7750 # Check whether --enable-fast-install was given.
7751 if test "${enable_fast_install+set}" = set; then :
7752 enableval=$enable_fast_install; p=${PACKAGE-default}
7754 yes) enable_fast_install=yes ;;
7755 no) enable_fast_install=no ;;
7757 enable_fast_install=no
7758 # Look at the argument we got. We use all the common list separators.
7759 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7760 for pkg in $enableval; do
7762 if test "X$pkg" = "X$p"; then
7763 enable_fast_install=yes
7770 enable_fast_install=yes
7783 # This can be used to rebuild libtool when needed
7784 LIBTOOL_DEPS="$ltmain"
7786 # Always use our own libtool.
7787 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7814 test -z "$LN_S" && LN_S="ln -s"
7829 if test -n "${ZSH_VERSION+set}" ; then
7830 setopt NO_GLOB_SUBST
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7834 $as_echo_n "checking for objdir... " >&6; }
7835 if test "${lt_cv_objdir+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7838 rm -f .libs 2>/dev/null
7839 mkdir .libs 2>/dev/null
7840 if test -d .libs; then
7843 # MS-DOS does not allow filenames that begin with a dot.
7846 rmdir .libs 2>/dev/null
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7849 $as_echo "$lt_cv_objdir" >&6; }
7850 objdir=$lt_cv_objdir
7856 cat >>confdefs.h <<_ACEOF
7857 #define LT_OBJDIR "$lt_cv_objdir/"
7865 # AIX sometimes has problems with the GCC collect2 program. For some
7866 # reason, if we set the COLLECT_NAMES environment variable, the problems
7867 # vanish in a puff of smoke.
7868 if test "X${COLLECT_NAMES+set}" != Xset; then
7870 export COLLECT_NAMES
7877 can_build_shared=yes
7879 # All known linkers require a `.a' archive for static linking (except MSVC,
7880 # which needs '.lib').
7883 with_gnu_ld="$lt_cv_prog_gnu_ld"
7886 old_CFLAGS="$CFLAGS"
7888 # Set sane defaults for various variables
7889 test -z "$CC" && CC=cc
7890 test -z "$LTCC" && LTCC=$CC
7891 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7892 test -z "$LD" && LD=ld
7893 test -z "$ac_objext" && ac_objext=o
7895 for cc_temp in $compiler""; do
7897 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7898 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7903 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7906 # Only perform the check for file, if the check method requires it
7907 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7908 case $deplibs_check_method in
7910 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7912 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7913 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7914 $as_echo_n "(cached) " >&6
7918 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7921 lt_save_MAGIC_CMD="$MAGIC_CMD"
7922 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7923 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7924 for ac_dir in $ac_dummy; do
7926 test -z "$ac_dir" && ac_dir=.
7927 if test -f $ac_dir/${ac_tool_prefix}file; then
7928 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7929 if test -n "$file_magic_test_file"; then
7930 case $deplibs_check_method in
7932 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7933 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7934 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7935 $EGREP "$file_magic_regex" > /dev/null; then
7940 *** Warning: the command libtool uses to detect shared libraries,
7941 *** $file_magic_cmd, produces output that libtool cannot recognize.
7942 *** The result is that libtool may fail to recognize shared libraries
7943 *** as such. This will affect the creation of libtool libraries that
7944 *** depend on shared libraries, but programs linked with such libtool
7945 *** libraries will work regardless of this problem. Nevertheless, you
7946 *** may want to report the problem to your system manager and/or to
7947 *** bug-libtool@gnu.org
7957 MAGIC_CMD="$lt_save_MAGIC_CMD"
7962 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7963 if test -n "$MAGIC_CMD"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7965 $as_echo "$MAGIC_CMD" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7975 if test -z "$lt_cv_path_MAGIC_CMD"; then
7976 if test -n "$ac_tool_prefix"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7978 $as_echo_n "checking for file... " >&6; }
7979 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7980 $as_echo_n "(cached) " >&6
7984 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7987 lt_save_MAGIC_CMD="$MAGIC_CMD"
7988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7989 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7990 for ac_dir in $ac_dummy; do
7992 test -z "$ac_dir" && ac_dir=.
7993 if test -f $ac_dir/file; then
7994 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7995 if test -n "$file_magic_test_file"; then
7996 case $deplibs_check_method in
7998 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8001 $EGREP "$file_magic_regex" > /dev/null; then
8006 *** Warning: the command libtool uses to detect shared libraries,
8007 *** $file_magic_cmd, produces output that libtool cannot recognize.
8008 *** The result is that libtool may fail to recognize shared libraries
8009 *** as such. This will affect the creation of libtool libraries that
8010 *** depend on shared libraries, but programs linked with such libtool
8011 *** libraries will work regardless of this problem. Nevertheless, you
8012 *** may want to report the problem to your system manager and/or to
8013 *** bug-libtool@gnu.org
8023 MAGIC_CMD="$lt_save_MAGIC_CMD"
8028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8029 if test -n "$MAGIC_CMD"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8031 $as_echo "$MAGIC_CMD" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8047 # Use C for the default configuration in the libtool script
8051 ac_cpp='$CPP $CPPFLAGS'
8052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8057 # Source file extension for C test sources.
8060 # Object file extension for compiled C test sources.
8064 # Code to be used in simple compile tests
8065 lt_simple_compile_test_code="int some_variable = 0;"
8067 # Code to be used in simple link tests
8068 lt_simple_link_test_code='int main(){return(0);}'
8076 # If no C compiler was specified, use CC.
8079 # If no C compiler flags were specified, use CFLAGS.
8080 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8082 # Allow CC to be a program name with arguments.
8085 # Save the default compiler, since it gets overwritten when the other
8086 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8087 compiler_DEFAULT=$CC
8089 # save warnings/boilerplate of simple test code
8090 ac_outfile=conftest.$ac_objext
8091 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8092 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8093 _lt_compiler_boilerplate=`cat conftest.err`
8096 ac_outfile=conftest.$ac_objext
8097 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8098 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8099 _lt_linker_boilerplate=`cat conftest.err`
8104 ## There is no encapsulation within the following macros, do not change
8105 ## the running order or otherwise move them around unless you know exactly
8106 ## what you are doing...
8107 if test -n "$compiler"; then
8109 lt_prog_compiler_no_builtin_flag=
8111 if test "$GCC" = yes; then
8112 case $cc_basename in
8114 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8116 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8120 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8121 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8122 $as_echo_n "(cached) " >&6
8124 lt_cv_prog_compiler_rtti_exceptions=no
8125 ac_outfile=conftest.$ac_objext
8126 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8127 lt_compiler_flag="-fno-rtti -fno-exceptions"
8128 # Insert the option either (1) after the last *FLAGS variable, or
8129 # (2) before a word containing "conftest.", or (3) at the end.
8130 # Note that $ac_compile itself does not contain backslashes and begins
8131 # with a dollar sign (not a hyphen), so the echo should work correctly.
8132 # The option is referenced via a variable to avoid confusing sed.
8133 lt_compile=`echo "$ac_compile" | $SED \
8134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8136 -e 's:$: $lt_compiler_flag:'`
8137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8138 (eval "$lt_compile" 2>conftest.err)
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 if (exit $ac_status) && test -s "$ac_outfile"; then
8143 # The compiler can only warn and ignore the option if not recognized
8144 # So say no if there are warnings other than the usual output.
8145 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8147 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8148 lt_cv_prog_compiler_rtti_exceptions=yes
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8155 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8157 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8158 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8170 lt_prog_compiler_wl=
8171 lt_prog_compiler_pic=
8172 lt_prog_compiler_static=
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8175 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8177 if test "$GCC" = yes; then
8178 lt_prog_compiler_wl='-Wl,'
8179 lt_prog_compiler_static='-static'
8183 # All AIX code is PIC.
8184 if test "$host_cpu" = ia64; then
8185 # AIX 5 now supports IA64 processor
8186 lt_prog_compiler_static='-Bstatic'
8188 lt_prog_compiler_pic='-fPIC'
8194 # see comment about AmigaOS4 .so support
8195 lt_prog_compiler_pic='-fPIC'
8198 # FIXME: we need at least 68020 code to build shared libraries, but
8199 # adding the `-m68020' flag to GCC prevents building anything better,
8201 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8206 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8207 # PIC is the default for these OSes.
8210 mingw* | cygwin* | pw32* | os2* | cegcc*)
8211 # This hack is so that the source file can tell whether it is being
8212 # built for inclusion in a dll (and should export symbols for example).
8213 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8214 # (--disable-auto-import) libraries
8215 lt_prog_compiler_pic='-DDLL_EXPORT'
8218 darwin* | rhapsody*)
8219 # PIC is the default on this platform
8220 # Common symbols not allowed in MH_DYLIB files
8221 lt_prog_compiler_pic='-fno-common'
8225 # PIC is the default for Haiku.
8226 # The "-static" flag exists, but is broken.
8227 lt_prog_compiler_static=
8231 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8232 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8233 # sets the default TLS model and affects inlining.
8239 lt_prog_compiler_pic='-fPIC'
8245 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8246 # Instead, we relocate shared libraries at runtime.
8250 # Just because we use GCC doesn't mean we suddenly get shared libraries
8251 # on systems that don't support them.
8252 lt_prog_compiler_can_build_shared=no
8257 # QNX uses GNU C++, but need to define -shared option too, otherwise
8259 lt_prog_compiler_pic='-fPIC -shared'
8263 if test -d /usr/nec; then
8264 lt_prog_compiler_pic=-Kconform_pic
8269 lt_prog_compiler_pic='-fPIC'
8273 case $cc_basename in
8274 nvcc*) # Cuda Compiler Driver 2.2
8275 lt_prog_compiler_wl='-Xlinker '
8276 lt_prog_compiler_pic='-Xcompiler -fPIC'
8280 # PORTME Check for flag to pass linker flags through the system compiler.
8283 lt_prog_compiler_wl='-Wl,'
8284 if test "$host_cpu" = ia64; then
8285 # AIX 5 now supports IA64 processor
8286 lt_prog_compiler_static='-Bstatic'
8288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8292 mingw* | cygwin* | pw32* | os2* | cegcc*)
8293 # This hack is so that the source file can tell whether it is being
8294 # built for inclusion in a dll (and should export symbols for example).
8295 lt_prog_compiler_pic='-DDLL_EXPORT'
8298 hpux9* | hpux10* | hpux11*)
8299 lt_prog_compiler_wl='-Wl,'
8300 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8307 lt_prog_compiler_pic='+Z'
8310 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8311 lt_prog_compiler_static='${wl}-a ${wl}archive'
8314 irix5* | irix6* | nonstopux*)
8315 lt_prog_compiler_wl='-Wl,'
8316 # PIC (with -KPIC) is the default.
8317 lt_prog_compiler_static='-non_shared'
8320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8321 case $cc_basename in
8322 # old Intel for x86_64 which still supported -KPIC.
8324 lt_prog_compiler_wl='-Wl,'
8325 lt_prog_compiler_pic='-KPIC'
8326 lt_prog_compiler_static='-static'
8328 # icc used to be incompatible with GCC.
8329 # ICC 10 doesn't accept -KPIC any more.
8331 lt_prog_compiler_wl='-Wl,'
8332 lt_prog_compiler_pic='-fPIC'
8333 lt_prog_compiler_static='-static'
8335 # Lahey Fortran 8.1.
8337 lt_prog_compiler_wl='-Wl,'
8338 lt_prog_compiler_pic='--shared'
8339 lt_prog_compiler_static='--static'
8341 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8342 # Portland Group compilers (*not* the Pentium gcc compiler,
8343 # which looks to be a dead project)
8344 lt_prog_compiler_wl='-Wl,'
8345 lt_prog_compiler_pic='-fpic'
8346 lt_prog_compiler_static='-Bstatic'
8349 lt_prog_compiler_wl='-Wl,'
8350 # All Alpha code is PIC.
8351 lt_prog_compiler_static='-non_shared'
8353 xl* | bgxl* | bgf* | mpixl*)
8354 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8355 lt_prog_compiler_wl='-Wl,'
8356 lt_prog_compiler_pic='-qpic'
8357 lt_prog_compiler_static='-qstaticlink'
8360 case `$CC -V 2>&1 | sed 5q` in
8361 *Sun\ F* | *Sun*Fortran*)
8362 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8363 lt_prog_compiler_pic='-KPIC'
8364 lt_prog_compiler_static='-Bstatic'
8365 lt_prog_compiler_wl=''
8369 lt_prog_compiler_pic='-KPIC'
8370 lt_prog_compiler_static='-Bstatic'
8371 lt_prog_compiler_wl='-Wl,'
8379 lt_prog_compiler_pic='-KPIC'
8380 lt_prog_compiler_static='-Bstatic'
8384 # QNX uses GNU C++, but need to define -shared option too, otherwise
8386 lt_prog_compiler_pic='-fPIC -shared'
8389 osf3* | osf4* | osf5*)
8390 lt_prog_compiler_wl='-Wl,'
8391 # All OSF/1 code is PIC.
8392 lt_prog_compiler_static='-non_shared'
8396 lt_prog_compiler_static='-non_shared'
8400 lt_prog_compiler_pic='-KPIC'
8401 lt_prog_compiler_static='-Bstatic'
8402 case $cc_basename in
8404 lt_prog_compiler_wl='-Qoption ld ';;
8406 lt_prog_compiler_wl='-Wl,';;
8411 lt_prog_compiler_wl='-Qoption ld '
8412 lt_prog_compiler_pic='-PIC'
8413 lt_prog_compiler_static='-Bstatic'
8416 sysv4 | sysv4.2uw2* | sysv4.3*)
8417 lt_prog_compiler_wl='-Wl,'
8418 lt_prog_compiler_pic='-KPIC'
8419 lt_prog_compiler_static='-Bstatic'
8423 if test -d /usr/nec ;then
8424 lt_prog_compiler_pic='-Kconform_pic'
8425 lt_prog_compiler_static='-Bstatic'
8429 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8430 lt_prog_compiler_wl='-Wl,'
8431 lt_prog_compiler_pic='-KPIC'
8432 lt_prog_compiler_static='-Bstatic'
8436 lt_prog_compiler_wl='-Wl,'
8437 lt_prog_compiler_can_build_shared=no
8441 lt_prog_compiler_pic='-pic'
8442 lt_prog_compiler_static='-Bstatic'
8446 lt_prog_compiler_can_build_shared=no
8452 # For platforms which do not support PIC, -DPIC is meaningless:
8454 lt_prog_compiler_pic=
8457 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8461 $as_echo "$lt_prog_compiler_pic" >&6; }
8469 # Check to make sure the PIC flag actually works.
8471 if test -n "$lt_prog_compiler_pic"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8473 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8474 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8475 $as_echo_n "(cached) " >&6
8477 lt_cv_prog_compiler_pic_works=no
8478 ac_outfile=conftest.$ac_objext
8479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8480 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8481 # Insert the option either (1) after the last *FLAGS variable, or
8482 # (2) before a word containing "conftest.", or (3) at the end.
8483 # Note that $ac_compile itself does not contain backslashes and begins
8484 # with a dollar sign (not a hyphen), so the echo should work correctly.
8485 # The option is referenced via a variable to avoid confusing sed.
8486 lt_compile=`echo "$ac_compile" | $SED \
8487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8489 -e 's:$: $lt_compiler_flag:'`
8490 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8491 (eval "$lt_compile" 2>conftest.err)
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 if (exit $ac_status) && test -s "$ac_outfile"; then
8496 # The compiler can only warn and ignore the option if not recognized
8497 # So say no if there are warnings other than the usual output.
8498 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8499 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8500 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8501 lt_cv_prog_compiler_pic_works=yes
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8508 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8510 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8511 case $lt_prog_compiler_pic in
8513 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8516 lt_prog_compiler_pic=
8517 lt_prog_compiler_can_build_shared=no
8528 # Check to make sure the static flag actually works.
8530 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8532 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8533 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8534 $as_echo_n "(cached) " >&6
8536 lt_cv_prog_compiler_static_works=no
8537 save_LDFLAGS="$LDFLAGS"
8538 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8539 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8540 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8541 # The linker can only warn and ignore the option if not recognized
8542 # So say no if there are warnings
8543 if test -s conftest.err; then
8544 # Append any errors to the config.log.
8545 cat conftest.err 1>&5
8546 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8547 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8548 if diff conftest.exp conftest.er2 >/dev/null; then
8549 lt_cv_prog_compiler_static_works=yes
8552 lt_cv_prog_compiler_static_works=yes
8556 LDFLAGS="$save_LDFLAGS"
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8560 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8562 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8565 lt_prog_compiler_static=
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8575 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8576 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8577 $as_echo_n "(cached) " >&6
8579 lt_cv_prog_compiler_c_o=no
8580 $RM -r conftest 2>/dev/null
8584 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8586 lt_compiler_flag="-o out/conftest2.$ac_objext"
8587 # Insert the option either (1) after the last *FLAGS variable, or
8588 # (2) before a word containing "conftest.", or (3) at the end.
8589 # Note that $ac_compile itself does not contain backslashes and begins
8590 # with a dollar sign (not a hyphen), so the echo should work correctly.
8591 lt_compile=`echo "$ac_compile" | $SED \
8592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8594 -e 's:$: $lt_compiler_flag:'`
8595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8596 (eval "$lt_compile" 2>out/conftest.err)
8598 cat out/conftest.err >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8602 # The compiler can only warn and ignore the option if not recognized
8603 # So say no if there are warnings
8604 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8605 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8606 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8607 lt_cv_prog_compiler_c_o=yes
8612 # SGI C++ compiler will create directory out/ii_files/ for
8613 # template instantiation
8614 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8615 $RM out/* && rmdir out
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8622 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8630 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8631 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8632 $as_echo_n "(cached) " >&6
8634 lt_cv_prog_compiler_c_o=no
8635 $RM -r conftest 2>/dev/null
8639 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8641 lt_compiler_flag="-o out/conftest2.$ac_objext"
8642 # Insert the option either (1) after the last *FLAGS variable, or
8643 # (2) before a word containing "conftest.", or (3) at the end.
8644 # Note that $ac_compile itself does not contain backslashes and begins
8645 # with a dollar sign (not a hyphen), so the echo should work correctly.
8646 lt_compile=`echo "$ac_compile" | $SED \
8647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8649 -e 's:$: $lt_compiler_flag:'`
8650 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8651 (eval "$lt_compile" 2>out/conftest.err)
8653 cat out/conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8657 # The compiler can only warn and ignore the option if not recognized
8658 # So say no if there are warnings
8659 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8660 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8661 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8662 lt_cv_prog_compiler_c_o=yes
8667 # SGI C++ compiler will create directory out/ii_files/ for
8668 # template instantiation
8669 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8670 $RM out/* && rmdir out
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8677 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8682 hard_links="nottested"
8683 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8684 # do not overwrite the value of need_locks provided by the user
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8686 $as_echo_n "checking if we can lock with hard links... " >&6; }
8689 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8691 ln conftest.a conftest.b 2>&5 || hard_links=no
8692 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8694 $as_echo "$hard_links" >&6; }
8695 if test "$hard_links" = no; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8697 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8710 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8713 allow_undefined_flag=
8714 always_export_symbols=no
8716 archive_expsym_cmds=
8717 compiler_needs_object=no
8718 enable_shared_with_static_runtimes=no
8719 export_dynamic_flag_spec=
8720 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8721 hardcode_automatic=no
8723 hardcode_direct_absolute=no
8724 hardcode_libdir_flag_spec=
8725 hardcode_libdir_flag_spec_ld=
8726 hardcode_libdir_separator=
8728 hardcode_shlibpath_var=unsupported
8730 link_all_deplibs=unknown
8733 old_archive_from_new_cmds=
8734 old_archive_from_expsyms_cmds=
8735 thread_safe_flag_spec=
8736 whole_archive_flag_spec=
8737 # include_expsyms should be a list of space-separated symbols to be *always*
8738 # included in the symbol list
8740 # exclude_expsyms can be an extended regexp of symbols to exclude
8741 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8742 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8743 # as well as any symbol that contains `d'.
8744 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8745 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8746 # platforms (ab)use it in PIC code, but their linkers get confused if
8747 # the symbol is explicitly referenced. Since portable code cannot
8748 # rely on this symbol name, it's probably fine to never include it in
8749 # preloaded symbol tables.
8750 # Exclude shared library initialization/finalization symbols.
8751 extract_expsyms_cmds=
8754 cygwin* | mingw* | pw32* | cegcc*)
8755 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8756 # When not using gcc, we currently assume that we are using
8757 # Microsoft Visual C++.
8758 if test "$GCC" != yes; then
8763 # we just hope/assume this is gcc and not c89 (= MSVC++)
8773 # On some targets, GNU ld is compatible enough with the native linker
8774 # that we're better off using the native interface for both.
8775 lt_use_gnu_ld_interface=no
8776 if test "$with_gnu_ld" = yes; then
8779 # The AIX port of GNU ld has always aspired to compatibility
8780 # with the native linker. However, as the warning in the GNU ld
8781 # block says, versions before 2.19.5* couldn't really create working
8782 # shared libraries, regardless of the interface used.
8783 case `$LD -v 2>&1` in
8784 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8785 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8786 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8788 lt_use_gnu_ld_interface=yes
8793 lt_use_gnu_ld_interface=yes
8798 if test "$lt_use_gnu_ld_interface" = yes; then
8799 # If archive_cmds runs LD, not CC, wlarc should be empty
8802 # Set some defaults for GNU ld with shared library support. These
8803 # are reset later if shared libraries are not supported. Putting them
8804 # here allows them to be overridden if necessary.
8805 runpath_var=LD_RUN_PATH
8806 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8807 export_dynamic_flag_spec='${wl}--export-dynamic'
8808 # ancient GNU ld didn't support --whole-archive et. al.
8809 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8810 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8812 whole_archive_flag_spec=
8814 supports_anon_versioning=no
8815 case `$LD -v 2>&1` in
8816 *GNU\ gold*) supports_anon_versioning=yes ;;
8817 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8818 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8819 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8820 *\ 2.11.*) ;; # other 2.11 versions
8821 *) supports_anon_versioning=yes ;;
8824 # See if GNU ld supports shared libraries.
8827 # On AIX/PPC, the GNU linker is very broken
8828 if test "$host_cpu" != ia64; then
8832 *** Warning: the GNU linker, at least up to release 2.19, is reported
8833 *** to be unable to reliably create shared libraries on AIX.
8834 *** Therefore, libtool is disabling shared libraries support. If you
8835 *** really care for shared libraries, you may want to install binutils
8836 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8837 *** You will then need to restart the configuration process.
8846 # see comment about AmigaOS4 .so support
8847 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848 archive_expsym_cmds=''
8851 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)'
8852 hardcode_libdir_flag_spec='-L$libdir'
8853 hardcode_minus_L=yes
8859 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8860 allow_undefined_flag=unsupported
8861 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8862 # support --undefined. This deserves some investigation. FIXME
8863 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8869 cygwin* | mingw* | pw32* | cegcc*)
8870 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8871 # as there is no search path for DLLs.
8872 hardcode_libdir_flag_spec='-L$libdir'
8873 export_dynamic_flag_spec='${wl}--export-all-symbols'
8874 allow_undefined_flag=unsupported
8875 always_export_symbols=no
8876 enable_shared_with_static_runtimes=yes
8877 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8879 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8880 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8881 # If the export-symbols file already is a .def file (1st line
8882 # is EXPORTS), use it as is; otherwise, prepend...
8883 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8884 cp $export_symbols $output_objdir/$soname.def;
8886 echo EXPORTS > $output_objdir/$soname.def;
8887 cat $export_symbols >> $output_objdir/$soname.def;
8889 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8897 link_all_deplibs=yes
8902 hardcode_shlibpath_var=no
8903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8904 export_dynamic_flag_spec='${wl}-E'
8905 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8906 # Instead, shared libraries are loaded at an image base (0x10000000 by
8907 # default) and relocated if they conflict, which is a slow very memory
8908 # consuming and fragmenting process. To avoid this, we pick a random,
8909 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8910 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8911 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8912 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'
8915 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8917 if test "$host_os" = linux-dietlibc; then
8918 case $cc_basename in
8919 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8922 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8923 && test "$tmp_diet" = no
8926 tmp_sharedflag='-shared'
8927 case $cc_basename,$host_cpu in
8928 pgcc*) # Portland Group C compiler
8929 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'
8930 tmp_addflag=' $pic_flag'
8932 pgf77* | pgf90* | pgf95* | pgfortran*)
8933 # Portland Group f77 and f90 compilers
8934 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'
8935 tmp_addflag=' $pic_flag -Mnomain' ;;
8936 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8937 tmp_addflag=' -i_dynamic' ;;
8938 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8939 tmp_addflag=' -i_dynamic -nofor_main' ;;
8940 ifc* | ifort*) # Intel Fortran compiler
8941 tmp_addflag=' -nofor_main' ;;
8942 lf95*) # Lahey Fortran 8.1
8943 whole_archive_flag_spec=
8944 tmp_sharedflag='--shared' ;;
8945 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8946 tmp_sharedflag='-qmkshrobj'
8948 nvcc*) # Cuda Compiler Driver 2.2
8949 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'
8950 compiler_needs_object=yes
8953 case `$CC -V 2>&1 | sed 5q` in
8954 *Sun\ C*) # Sun C 5.9
8955 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'
8956 compiler_needs_object=yes
8957 tmp_sharedflag='-G' ;;
8958 *Sun\ F*) # Sun Fortran 8.3
8959 tmp_sharedflag='-G' ;;
8961 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963 if test "x$supports_anon_versioning" = xyes; then
8964 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8965 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8966 echo "local: *; };" >> $output_objdir/$libname.ver~
8967 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8970 case $cc_basename in
8971 xlf* | bgf* | bgxlf* | mpixlf*)
8972 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8973 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8974 hardcode_libdir_flag_spec=
8975 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8976 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8977 if test "x$supports_anon_versioning" = xyes; then
8978 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8980 echo "local: *; };" >> $output_objdir/$libname.ver~
8981 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8991 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8992 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8995 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8996 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9001 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9005 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9006 *** create shared libraries on Solaris systems. Therefore, libtool
9007 *** is disabling shared libraries support. We urge you to upgrade GNU
9008 *** binutils to release 2.9.1 or newer. Another option is to modify
9009 *** your PATH or compiler configuration so that the native linker is
9010 *** used, and then restart.
9013 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9014 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9015 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9021 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9022 case `$LD -v 2>&1` in
9023 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9027 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9028 *** reliably create shared libraries on SCO systems. Therefore, libtool
9029 *** is disabling shared libraries support. We urge you to upgrade GNU
9030 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9031 *** your PATH or compiler configuration so that the native linker is
9032 *** used, and then restart.
9037 # For security reasons, it is highly recommended that you always
9038 # use absolute paths for naming shared libraries, and exclude the
9039 # DT_RUNPATH tag from executables and libraries. But doing so
9040 # requires that you compile everything twice, which is a pain.
9041 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9043 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9053 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9056 hardcode_shlibpath_var=no
9060 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9062 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9069 if test "$ld_shlibs" = no; then
9071 hardcode_libdir_flag_spec=
9072 export_dynamic_flag_spec=
9073 whole_archive_flag_spec=
9076 # PORTME fill in a description of your system's linker (not GNU ld)
9079 allow_undefined_flag=unsupported
9080 always_export_symbols=yes
9081 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'
9082 # Note: this linker hardcodes the directories in LIBPATH if there
9083 # are no directories specified by -L.
9084 hardcode_minus_L=yes
9085 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9086 # Neither direct hardcoding nor static linking is supported with a
9088 hardcode_direct=unsupported
9093 if test "$host_cpu" = ia64; then
9094 # On IA64, the linker does run time linking by default, so we don't
9095 # have to do anything special.
9096 aix_use_runtimelinking=no
9097 exp_sym_flag='-Bexport'
9100 # If we're using GNU nm, then we don't want the "-C" option.
9101 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9102 # Also, AIX nm treats weak defined symbols like other global
9103 # defined symbols, whereas GNU nm marks them as "W".
9104 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9105 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'
9107 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'
9109 aix_use_runtimelinking=no
9111 # Test if we are trying to use run time linking or normal
9112 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9113 # need to do runtime linking.
9114 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9115 for ld_flag in $LDFLAGS; do
9116 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9117 aix_use_runtimelinking=yes
9124 exp_sym_flag='-bexport'
9125 no_entry_flag='-bnoentry'
9128 # When large executables or shared objects are built, AIX ld can
9129 # have problems creating the table of contents. If linking a library
9130 # or program results in "error TOC overflow" add -mminimal-toc to
9131 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9132 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9136 hardcode_direct_absolute=yes
9137 hardcode_libdir_separator=':'
9138 link_all_deplibs=yes
9139 file_list_spec='${wl}-f,'
9141 if test "$GCC" = yes; then
9142 case $host_os in aix4.[012]|aix4.[012].*)
9143 # We only want to do this on AIX 4.2 and lower, the check
9144 # below for broken collect2 doesn't work under 4.3+
9145 collect2name=`${CC} -print-prog-name=collect2`
9146 if test -f "$collect2name" &&
9147 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9149 # We have reworked collect2
9152 # We have old collect2
9153 hardcode_direct=unsupported
9154 # It fails to find uninstalled libraries when the uninstalled
9155 # path is not listed in the libpath. Setting hardcode_minus_L
9156 # to unsupported forces relinking
9157 hardcode_minus_L=yes
9158 hardcode_libdir_flag_spec='-L$libdir'
9159 hardcode_libdir_separator=
9163 shared_flag='-shared'
9164 if test "$aix_use_runtimelinking" = yes; then
9165 shared_flag="$shared_flag "'${wl}-G'
9169 if test "$host_cpu" = ia64; then
9170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9171 # chokes on -Wl,-G. The following line is correct:
9174 if test "$aix_use_runtimelinking" = yes; then
9175 shared_flag='${wl}-G'
9177 shared_flag='${wl}-bM:SRE'
9182 export_dynamic_flag_spec='${wl}-bexpall'
9183 # It seems that -bexpall does not export symbols beginning with
9184 # underscore (_), so it is better to generate a list of symbols to export.
9185 always_export_symbols=yes
9186 if test "$aix_use_runtimelinking" = yes; then
9187 # Warning - without using the other runtime loading flags (-brtl),
9188 # -berok will link without error, but may produce a broken library.
9189 allow_undefined_flag='-berok'
9190 # Determine the default libpath from the value encoded in an
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9203 if ac_fn_c_try_link "$LINENO"; then :
9205 lt_aix_libpath_sed='
9206 /Import File Strings/,/^$/ {
9212 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9213 # Check for a 64-bit object if we didn't find anything.
9214 if test -z "$aix_libpath"; then
9215 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9222 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9223 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"
9225 if test "$host_cpu" = ia64; then
9226 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9227 allow_undefined_flag="-z nodefs"
9228 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"
9230 # Determine the default libpath from the value encoded in an
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9243 if ac_fn_c_try_link "$LINENO"; then :
9245 lt_aix_libpath_sed='
9246 /Import File Strings/,/^$/ {
9252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9253 # Check for a 64-bit object if we didn't find anything.
9254 if test -z "$aix_libpath"; then
9255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9263 # Warning - without using the other run time loading flags,
9264 # -berok will link without error, but may produce a broken library.
9265 no_undefined_flag=' ${wl}-bernotok'
9266 allow_undefined_flag=' ${wl}-berok'
9267 if test "$with_gnu_ld" = yes; then
9268 # We only use this code for GNU lds that support --whole-archive.
9269 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9271 # Exported symbols can be pulled into shared objects from archives
9272 whole_archive_flag_spec='$convenience'
9274 archive_cmds_need_lc=yes
9275 # This is similar to how AIX traditionally builds its shared libraries.
9276 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'
9284 # see comment about AmigaOS4 .so support
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds=''
9289 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)'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9297 export_dynamic_flag_spec=-rdynamic
9300 cygwin* | mingw* | pw32* | cegcc*)
9301 # When not using gcc, we currently assume that we are using
9302 # Microsoft Visual C++.
9303 # hardcode_libdir_flag_spec is actually meaningless, as there is
9304 # no search path for DLLs.
9305 hardcode_libdir_flag_spec=' '
9306 allow_undefined_flag=unsupported
9307 # Tell ltmain to make .lib files, not .a files.
9309 # Tell ltmain to make .dll files, not .so files.
9311 # FIXME: Setting linknames here is a bad hack.
9312 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9313 # The linker will automatically build a .lib file if we build a DLL.
9314 old_archive_from_new_cmds='true'
9315 # FIXME: Should let the user specify the lib program.
9316 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9317 fix_srcfile_path='`cygpath -w "$srcfile"`'
9318 enable_shared_with_static_runtimes=yes
9321 darwin* | rhapsody*)
9324 archive_cmds_need_lc=no
9326 hardcode_automatic=yes
9327 hardcode_shlibpath_var=unsupported
9328 if test "$lt_cv_ld_force_load" = "yes"; then
9329 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\"`'
9331 whole_archive_flag_spec=''
9333 link_all_deplibs=yes
9334 allow_undefined_flag="$_lt_dar_allow_undefined"
9335 case $cc_basename in
9336 ifort*) _lt_dar_can_shared=yes ;;
9337 *) _lt_dar_can_shared=$GCC ;;
9339 if test "$_lt_dar_can_shared" = "yes"; then
9340 output_verbose_link_cmd=func_echo_all
9341 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9342 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9343 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}"
9344 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}"
9353 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9354 hardcode_libdir_flag_spec='-L$libdir'
9355 hardcode_shlibpath_var=no
9358 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9359 # support. Future versions do this automatically, but an explicit c++rt0.o
9360 # does not break anything, and helps significantly (at the cost of a little
9363 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9364 hardcode_libdir_flag_spec='-R$libdir'
9366 hardcode_shlibpath_var=no
9369 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9371 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9373 hardcode_minus_L=yes
9374 hardcode_shlibpath_var=no
9377 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9378 freebsd* | dragonfly*)
9379 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9380 hardcode_libdir_flag_spec='-R$libdir'
9382 hardcode_shlibpath_var=no
9386 if test "$GCC" = yes; then
9387 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9389 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'
9391 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9392 hardcode_libdir_separator=:
9395 # hardcode_minus_L: Not really in the search PATH,
9396 # but as the default location of the library.
9397 hardcode_minus_L=yes
9398 export_dynamic_flag_spec='${wl}-E'
9402 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9403 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9405 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9407 if test "$with_gnu_ld" = no; then
9408 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9409 hardcode_libdir_flag_spec_ld='+b $libdir'
9410 hardcode_libdir_separator=:
9412 hardcode_direct_absolute=yes
9413 export_dynamic_flag_spec='${wl}-E'
9414 # hardcode_minus_L: Not really in the search PATH,
9415 # but as the default location of the library.
9416 hardcode_minus_L=yes
9421 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9424 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9427 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9430 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9436 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9439 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9443 # Older versions of the 11.00 compiler do not understand -b yet
9444 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9446 $as_echo_n "checking if $CC understands -b... " >&6; }
9447 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9448 $as_echo_n "(cached) " >&6
9450 lt_cv_prog_compiler__b=no
9451 save_LDFLAGS="$LDFLAGS"
9452 LDFLAGS="$LDFLAGS -b"
9453 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9454 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9455 # The linker can only warn and ignore the option if not recognized
9456 # So say no if there are warnings
9457 if test -s conftest.err; then
9458 # Append any errors to the config.log.
9459 cat conftest.err 1>&5
9460 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9461 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9462 if diff conftest.exp conftest.er2 >/dev/null; then
9463 lt_cv_prog_compiler__b=yes
9466 lt_cv_prog_compiler__b=yes
9470 LDFLAGS="$save_LDFLAGS"
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9474 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9476 if test x"$lt_cv_prog_compiler__b" = xyes; then
9477 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9485 if test "$with_gnu_ld" = no; then
9486 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9487 hardcode_libdir_separator=:
9492 hardcode_shlibpath_var=no
9496 hardcode_direct_absolute=yes
9497 export_dynamic_flag_spec='${wl}-E'
9499 # hardcode_minus_L: Not really in the search PATH,
9500 # but as the default location of the library.
9501 hardcode_minus_L=yes
9507 irix5* | irix6* | nonstopux*)
9508 if test "$GCC" = yes; then
9509 archive_cmds='$CC -shared $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'
9510 # Try to use the -exported_symbol ld option, if it does not
9511 # work, assume that -exports_file does not work either and
9512 # implicitly export all symbols.
9513 save_LDFLAGS="$LDFLAGS"
9514 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 archive_expsym_cmds='$CC -shared $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'
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 LDFLAGS="$save_LDFLAGS"
9527 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'
9528 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'
9530 archive_cmds_need_lc='no'
9531 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9532 hardcode_libdir_separator=:
9534 link_all_deplibs=yes
9538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9539 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9541 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9543 hardcode_libdir_flag_spec='-R$libdir'
9545 hardcode_shlibpath_var=no
9549 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9551 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9552 hardcode_libdir_separator=:
9553 hardcode_shlibpath_var=no
9560 if test -f /usr/libexec/ld.so; then
9562 hardcode_shlibpath_var=no
9563 hardcode_direct_absolute=yes
9564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9565 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9566 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9567 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9568 export_dynamic_flag_spec='${wl}-E'
9571 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9572 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9573 hardcode_libdir_flag_spec='-R$libdir'
9576 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9577 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9587 hardcode_libdir_flag_spec='-L$libdir'
9588 hardcode_minus_L=yes
9589 allow_undefined_flag=unsupported
9590 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'
9591 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9595 if test "$GCC" = yes; then
9596 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9597 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'
9599 allow_undefined_flag=' -expect_unresolved \*'
9600 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'
9602 archive_cmds_need_lc='no'
9603 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9604 hardcode_libdir_separator=:
9607 osf4* | osf5*) # as osf3* with the addition of -msym flag
9608 if test "$GCC" = yes; then
9609 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9610 archive_cmds='$CC -shared${allow_undefined_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'
9611 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9613 allow_undefined_flag=' -expect_unresolved \*'
9614 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'
9615 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~
9616 $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'
9618 # Both c and cxx compiler support -rpath directly
9619 hardcode_libdir_flag_spec='-rpath $libdir'
9621 archive_cmds_need_lc='no'
9622 hardcode_libdir_separator=:
9626 no_undefined_flag=' -z defs'
9627 if test "$GCC" = yes; then
9629 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9630 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9631 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9633 case `$CC -V 2>&1` in
9636 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9637 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9638 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9642 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9644 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9648 hardcode_libdir_flag_spec='-R$libdir'
9649 hardcode_shlibpath_var=no
9651 solaris2.[0-5] | solaris2.[0-5].*) ;;
9653 # The compiler driver will combine and reorder linker options,
9654 # but understands `-z linker_flag'. GCC discards it without `$wl',
9655 # but is careful enough not to reorder.
9656 # Supported since Solaris 2.6 (maybe 2.5.1?)
9657 if test "$GCC" = yes; then
9658 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9660 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9664 link_all_deplibs=yes
9668 if test "x$host_vendor" = xsequent; then
9669 # Use $CC to link under sequent, because it throws in some extra .o
9670 # files that make .init and .fini sections work.
9671 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_libdir_flag_spec='-L$libdir'
9677 hardcode_minus_L=yes
9678 hardcode_shlibpath_var=no
9682 case $host_vendor in
9684 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9685 hardcode_direct=yes # is this really true???
9688 ## LD is ld it makes a PLAMLIB
9689 ## CC just makes a GrossModule.
9690 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9691 reload_cmds='$CC -r -o $output$reload_objs'
9695 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9696 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9699 runpath_var='LD_RUN_PATH'
9700 hardcode_shlibpath_var=no
9704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_shlibpath_var=no
9706 export_dynamic_flag_spec='-Bexport'
9710 if test -d /usr/nec; then
9711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9712 hardcode_shlibpath_var=no
9713 runpath_var=LD_RUN_PATH
9714 hardcode_runpath_var=yes
9719 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9720 no_undefined_flag='${wl}-z,text'
9721 archive_cmds_need_lc=no
9722 hardcode_shlibpath_var=no
9723 runpath_var='LD_RUN_PATH'
9725 if test "$GCC" = yes; then
9726 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9729 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9730 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9734 sysv5* | sco3.2v5* | sco5v6*)
9735 # Note: We can NOT use -z defs as we might desire, because we do not
9736 # link with -lc, and that would cause any symbols used from libc to
9737 # always be unresolved, which means just about no library would
9738 # ever link correctly. If we're not using GNU ld we use -z text
9739 # though, which does catch some bad symbols but isn't as heavy-handed
9741 no_undefined_flag='${wl}-z,text'
9742 allow_undefined_flag='${wl}-z,nodefs'
9743 archive_cmds_need_lc=no
9744 hardcode_shlibpath_var=no
9745 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9746 hardcode_libdir_separator=':'
9747 link_all_deplibs=yes
9748 export_dynamic_flag_spec='${wl}-Bexport'
9749 runpath_var='LD_RUN_PATH'
9751 if test "$GCC" = yes; then
9752 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9753 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762 hardcode_libdir_flag_spec='-L$libdir'
9763 hardcode_shlibpath_var=no
9771 if test x$host_vendor = xsni; then
9773 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9774 export_dynamic_flag_spec='${wl}-Blargedynsym'
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9781 $as_echo "$ld_shlibs" >&6; }
9782 test "$ld_shlibs" = no && can_build_shared=no
9784 with_gnu_ld=$with_gnu_ld
9801 # Do we need to explicitly link libc?
9803 case "x$archive_cmds_need_lc" in
9805 # Assume -lc should be added
9806 archive_cmds_need_lc=yes
9808 if test "$enable_shared" = yes && test "$GCC" = yes; then
9809 case $archive_cmds in
9811 # FIXME: we may have to deal with multi-command sequences.
9814 # Test whether the compiler implicitly links with -lc since on some
9815 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9816 # to ld, don't add -lc before -lgcc.
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9818 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9819 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9820 $as_echo_n "(cached) " >&6
9823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9825 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9826 (eval $ac_compile) 2>&5
9828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9829 test $ac_status = 0; } 2>conftest.err; then
9832 libobjs=conftest.$ac_objext
9834 wl=$lt_prog_compiler_wl
9835 pic_flag=$lt_prog_compiler_pic
9841 lt_save_allow_undefined_flag=$allow_undefined_flag
9842 allow_undefined_flag=
9843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9844 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9847 test $ac_status = 0; }
9849 lt_cv_archive_cmds_need_lc=no
9851 lt_cv_archive_cmds_need_lc=yes
9853 allow_undefined_flag=$lt_save_allow_undefined_flag
9855 cat conftest.err 1>&5
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9861 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9862 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10026 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10028 if test "$GCC" = yes; then
10030 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10031 *) lt_awk_arg="/^libraries:/" ;;
10034 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10035 *) lt_sed_strip_eq="s,=/,/,g" ;;
10037 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10038 case $lt_search_path_spec in
10040 # if the path contains ";" then we assume it to be the separator
10041 # otherwise default to the standard path separator (i.e. ":") - it is
10042 # assumed that no part of a normal pathname contains ";" but that should
10043 # okay in the real world where ";" in dirpaths is itself problematic.
10044 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10050 # Ok, now we have the path, separated by spaces, we can step through it
10051 # and add multilib dir if necessary.
10052 lt_tmp_lt_search_path_spec=
10053 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10054 for lt_sys_path in $lt_search_path_spec; do
10055 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10056 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10058 test -d "$lt_sys_path" && \
10059 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10062 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10063 BEGIN {RS=" "; FS="/|\n";} {
10066 for (lt_i = NF; lt_i > 0; lt_i--) {
10067 if ($lt_i != "" && $lt_i != ".") {
10068 if ($lt_i == "..") {
10071 if (lt_count == 0) {
10072 lt_foo="/" $lt_i lt_foo;
10079 if (lt_foo != "") { lt_freq[lt_foo]++; }
10080 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10082 # AWK program above erroneously prepends '/' to C:/dos/paths
10085 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10086 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10088 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10090 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10092 library_names_spec=
10093 libname_spec='lib$name'
10097 postuninstall_cmds=
10101 shlibpath_overrides_runpath=unknown
10103 dynamic_linker="$host_os ld.so"
10104 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10105 need_lib_prefix=unknown
10106 hardcode_into_libs=no
10108 # when you set need_version to no, make sure it does not cause -set_version
10109 # flags to be left without arguments
10110 need_version=unknown
10115 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10116 shlibpath_var=LIBPATH
10118 # AIX 3 has no versioning support, so we append a major version to the name.
10119 soname_spec='${libname}${release}${shared_ext}$major'
10126 hardcode_into_libs=yes
10127 if test "$host_cpu" = ia64; then
10128 # AIX 5 supports IA64
10129 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10130 shlibpath_var=LD_LIBRARY_PATH
10132 # With GCC up to 2.95.x, collect2 would create an import file
10133 # for dependence libraries. The import file would start with
10134 # the line `#! .'. This would cause the generated library to
10135 # depend on `.', always an invalid library. This was fixed in
10136 # development snapshots of GCC prior to 3.0.
10138 aix4 | aix4.[01] | aix4.[01].*)
10139 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10141 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10144 can_build_shared=no
10148 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10149 # soname into executable. Probably we can add versioning support to
10150 # collect2, so additional links can be useful in future.
10151 if test "$aix_use_runtimelinking" = yes; then
10152 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10153 # instead of lib<name>.a to let people know that these are not
10154 # typical AIX shared libraries.
10155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10157 # We preserve .a as extension for shared libraries through AIX4.2
10158 # and later when we are not doing run time linking.
10159 library_names_spec='${libname}${release}.a $libname.a'
10160 soname_spec='${libname}${release}${shared_ext}$major'
10162 shlibpath_var=LIBPATH
10169 # Since July 2007 AmigaOS4 officially supports .so libraries.
10170 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10174 library_names_spec='$libname.ixlibrary $libname.a'
10175 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10176 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'
10182 library_names_spec='${libname}${shared_ext}'
10183 dynamic_linker="$host_os ld.so"
10184 shlibpath_var=LIBRARY_PATH
10190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10191 soname_spec='${libname}${release}${shared_ext}$major'
10192 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10193 shlibpath_var=LD_LIBRARY_PATH
10194 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10195 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10196 # the default ld.so.conf also contains /usr/contrib/lib and
10197 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10198 # libtool to hard-code these into programs
10201 cygwin* | mingw* | pw32* | cegcc*)
10202 version_type=windows
10207 case $GCC,$host_os in
10208 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10209 library_names_spec='$libname.dll.a'
10210 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10211 postinstall_cmds='base_file=`basename \${file}`~
10212 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10213 dldir=$destdir/`dirname \$dlpath`~
10214 test -d \$dldir || mkdir -p \$dldir~
10215 $install_prog $dir/$dlname \$dldir/$dlname~
10216 chmod a+x \$dldir/$dlname~
10217 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10218 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10220 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10221 dlpath=$dir/\$dldll~
10223 shlibpath_overrides_runpath=yes
10227 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10228 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10230 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10233 # MinGW DLLs use traditional 'lib' prefix
10234 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10237 # pw32 DLLs use 'pw' prefix rather than 'lib'
10238 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10244 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10247 dynamic_linker='Win32 ld.exe'
10248 # FIXME: first we should search . and the directory the executable is in
10252 darwin* | rhapsody*)
10253 dynamic_linker="$host_os dyld"
10254 version_type=darwin
10257 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10258 soname_spec='${libname}${release}${major}$shared_ext'
10259 shlibpath_overrides_runpath=yes
10260 shlibpath_var=DYLD_LIBRARY_PATH
10261 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10263 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10264 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10272 soname_spec='${libname}${release}${shared_ext}$major'
10273 shlibpath_var=LD_LIBRARY_PATH
10276 freebsd* | dragonfly*)
10277 # DragonFly does not have aout. When/if they implement a new
10278 # versioning mechanism, adjust this.
10279 if test -x /usr/bin/objformat; then
10280 objformat=`/usr/bin/objformat`
10283 freebsd[23].*) objformat=aout ;;
10284 *) objformat=elf ;;
10287 version_type=freebsd-$objformat
10288 case $version_type in
10290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10295 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10299 shlibpath_var=LD_LIBRARY_PATH
10302 shlibpath_overrides_runpath=yes
10304 freebsd3.[01]* | freebsdelf3.[01]*)
10305 shlibpath_overrides_runpath=yes
10306 hardcode_into_libs=yes
10308 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10309 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10310 shlibpath_overrides_runpath=no
10311 hardcode_into_libs=yes
10313 *) # from 4.6 on, and DragonFly
10314 shlibpath_overrides_runpath=yes
10315 hardcode_into_libs=yes
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10325 soname_spec='${libname}${release}${shared_ext}$major'
10326 shlibpath_var=LD_LIBRARY_PATH
10327 hardcode_into_libs=yes
10334 dynamic_linker="$host_os runtime_loader"
10335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10336 soname_spec='${libname}${release}${shared_ext}$major'
10337 shlibpath_var=LIBRARY_PATH
10338 shlibpath_overrides_runpath=yes
10339 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10340 hardcode_into_libs=yes
10343 hpux9* | hpux10* | hpux11*)
10344 # Give a soname corresponding to the major version so that dld.sl refuses to
10345 # link against other versions.
10352 hardcode_into_libs=yes
10353 dynamic_linker="$host_os dld.so"
10354 shlibpath_var=LD_LIBRARY_PATH
10355 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 soname_spec='${libname}${release}${shared_ext}$major'
10358 if test "X$HPUX_IA64_MODE" = X32; then
10359 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10361 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10363 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10367 hardcode_into_libs=yes
10368 dynamic_linker="$host_os dld.sl"
10369 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10370 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10372 soname_spec='${libname}${release}${shared_ext}$major'
10373 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10374 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10378 dynamic_linker="$host_os dld.sl"
10379 shlibpath_var=SHLIB_PATH
10380 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382 soname_spec='${libname}${release}${shared_ext}$major'
10385 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10386 postinstall_cmds='chmod 555 $lib'
10387 # or fails outright, so override atomically:
10388 install_override_mode=555
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath=no
10400 hardcode_into_libs=yes
10403 irix5* | irix6* | nonstopux*)
10405 nonstopux*) version_type=nonstopux ;;
10407 if test "$lt_cv_prog_gnu_ld" = yes; then
10415 soname_spec='${libname}${release}${shared_ext}$major'
10416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10418 irix5* | nonstopux*)
10419 libsuff= shlibsuff=
10422 case $LD in # libtool.m4 will add one of these switches to LD
10423 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10424 libsuff= shlibsuff= libmagic=32-bit;;
10425 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10426 libsuff=32 shlibsuff=N32 libmagic=N32;;
10427 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10428 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10429 *) libsuff= shlibsuff= libmagic=never-match;;
10433 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10434 shlibpath_overrides_runpath=no
10435 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10436 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10437 hardcode_into_libs=yes
10440 # No shared lib support for Linux oldld, aout, or coff.
10441 linux*oldld* | linux*aout* | linux*coff*)
10445 # This must be Linux ELF.
10446 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 soname_spec='${libname}${release}${shared_ext}$major'
10452 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10453 shlibpath_var=LD_LIBRARY_PATH
10454 shlibpath_overrides_runpath=no
10456 # Some binutils ld are patched to set DT_RUNPATH
10457 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10458 $as_echo_n "(cached) " >&6
10460 lt_cv_shlibpath_overrides_runpath=no
10461 save_LDFLAGS=$LDFLAGS
10462 save_libdir=$libdir
10463 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10464 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10476 if ac_fn_c_try_link "$LINENO"; then :
10477 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10478 lt_cv_shlibpath_overrides_runpath=yes
10481 rm -f core conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LDFLAGS=$save_LDFLAGS
10484 libdir=$save_libdir
10488 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10490 # This implies no fast_install, which is unacceptable.
10491 # Some rework will be needed to allow for fast_install
10492 # before this can be enabled.
10493 hardcode_into_libs=yes
10495 # Append ld.so.conf contents to the search path
10496 if test -f /etc/ld.so.conf; then
10497 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' ' '`
10498 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10501 # We used to test for /lib/ld.so.1 and disable shared libraries on
10502 # powerpc, because MkLinux only supported shared libraries with the
10503 # GNU dynamic linker. Since this was broken with cross compilers,
10504 # most powerpc-linux boxes support dynamic linking these days and
10505 # people can always --disable-shared, the test was removed, and we
10506 # assume the GNU/Linux dynamic linker is in use.
10507 dynamic_linker='GNU/Linux ld.so'
10514 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10516 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10517 dynamic_linker='NetBSD (a.out) ld.so'
10519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10520 soname_spec='${libname}${release}${shared_ext}$major'
10521 dynamic_linker='NetBSD ld.elf_so'
10523 shlibpath_var=LD_LIBRARY_PATH
10524 shlibpath_overrides_runpath=yes
10525 hardcode_into_libs=yes
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 shlibpath_overrides_runpath=yes
10539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10540 soname_spec='${libname}${release}${shared_ext}$major'
10541 shlibpath_var=LD_LIBRARY_PATH
10542 shlibpath_overrides_runpath=no
10543 hardcode_into_libs=yes
10544 dynamic_linker='ldqnx.so'
10549 sys_lib_dlsearch_path_spec="/usr/lib"
10551 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10553 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10554 *) need_version=no ;;
10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10558 shlibpath_var=LD_LIBRARY_PATH
10559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10561 openbsd2.[89] | openbsd2.[89].*)
10562 shlibpath_overrides_runpath=no
10565 shlibpath_overrides_runpath=yes
10569 shlibpath_overrides_runpath=yes
10574 libname_spec='$name'
10577 library_names_spec='$libname${shared_ext} $libname.a'
10578 dynamic_linker='OS/2 ld.exe'
10579 shlibpath_var=LIBPATH
10582 osf3* | osf4* | osf5*)
10586 soname_spec='${libname}${release}${shared_ext}$major'
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 shlibpath_var=LD_LIBRARY_PATH
10589 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10590 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 soname_spec='${libname}${release}${shared_ext}$major'
10603 shlibpath_var=LD_LIBRARY_PATH
10604 shlibpath_overrides_runpath=yes
10605 hardcode_into_libs=yes
10606 # ldd complains unless libraries are executable
10607 postinstall_cmds='chmod +x $lib'
10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10613 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10614 shlibpath_var=LD_LIBRARY_PATH
10615 shlibpath_overrides_runpath=yes
10616 if test "$with_gnu_ld" = yes; then
10624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625 soname_spec='${libname}${release}${shared_ext}$major'
10626 shlibpath_var=LD_LIBRARY_PATH
10627 case $host_vendor in
10629 shlibpath_overrides_runpath=no
10631 runpath_var=LD_RUN_PATH
10639 shlibpath_overrides_runpath=no
10640 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10646 if test -d /usr/nec ;then
10648 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10649 soname_spec='$libname${shared_ext}.$major'
10650 shlibpath_var=LD_LIBRARY_PATH
10654 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10655 version_type=freebsd-elf
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10663 if test "$with_gnu_ld" = yes; then
10664 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10666 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10669 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10673 sys_lib_dlsearch_path_spec='/usr/lib'
10677 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 shlibpath_var=LD_LIBRARY_PATH
10683 shlibpath_overrides_runpath=no
10684 hardcode_into_libs=yes
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 shlibpath_var=LD_LIBRARY_PATH
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10699 $as_echo "$dynamic_linker" >&6; }
10700 test "$dynamic_linker" = no && can_build_shared=no
10702 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10703 if test "$GCC" = yes; then
10704 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10707 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10708 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10710 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10711 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10806 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10808 if test -n "$hardcode_libdir_flag_spec" ||
10809 test -n "$runpath_var" ||
10810 test "X$hardcode_automatic" = "Xyes" ; then
10812 # We can hardcode non-existent directories.
10813 if test "$hardcode_direct" != no &&
10814 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10815 # have to relink, otherwise we might link with an installed library
10816 # when we should be linking with a yet-to-be-installed one
10817 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10818 test "$hardcode_minus_L" != no; then
10819 # Linking always hardcodes the temporary library directory.
10820 hardcode_action=relink
10822 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10823 hardcode_action=immediate
10826 # We cannot hardcode anything, or else we can only hardcode existing
10828 hardcode_action=unsupported
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10831 $as_echo "$hardcode_action" >&6; }
10833 if test "$hardcode_action" = relink ||
10834 test "$inherit_rpath" = yes; then
10835 # Fast installation is not supported
10836 enable_fast_install=no
10837 elif test "$shlibpath_overrides_runpath" = yes ||
10838 test "$enable_shared" = no; then
10839 # Fast installation is not necessary
10840 enable_fast_install=needless
10848 if test "x$enable_dlopen" != xyes; then
10849 enable_dlopen=unknown
10850 enable_dlopen_self=unknown
10851 enable_dlopen_self_static=unknown
10858 lt_cv_dlopen="load_add_on"
10860 lt_cv_dlopen_self=yes
10863 mingw* | pw32* | cegcc*)
10864 lt_cv_dlopen="LoadLibrary"
10869 lt_cv_dlopen="dlopen"
10874 # if libdl is installed we need to link against it
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10876 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10877 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10878 $as_echo_n "(cached) " >&6
10880 ac_check_lib_save_LIBS=$LIBS
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_dl_dlopen=yes
10903 ac_cv_lib_dl_dlopen=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10910 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10911 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10912 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10915 lt_cv_dlopen="dyld"
10917 lt_cv_dlopen_self=yes
10924 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10925 if test "x$ac_cv_func_shl_load" = x""yes; then :
10926 lt_cv_dlopen="shl_load"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10929 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10930 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_lib_save_LIBS=$LIBS
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10948 return shl_load ();
10953 if ac_fn_c_try_link "$LINENO"; then :
10954 ac_cv_lib_dld_shl_load=yes
10956 ac_cv_lib_dld_shl_load=no
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10963 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10964 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10965 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10967 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10968 if test "x$ac_cv_func_dlopen" = x""yes; then :
10969 lt_cv_dlopen="dlopen"
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10972 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10973 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10974 $as_echo_n "(cached) " >&6
10976 ac_check_lib_save_LIBS=$LIBS
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_dl_dlopen=yes
10999 ac_cv_lib_dl_dlopen=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11006 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11007 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11008 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11011 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11012 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11013 $as_echo_n "(cached) " >&6
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lsvld $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_svld_dlopen=yes
11038 ac_cv_lib_svld_dlopen=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11045 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11046 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11047 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11050 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11051 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11052 $as_echo_n "(cached) " >&6
11054 ac_check_lib_save_LIBS=$LIBS
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11069 return dld_link ();
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_dld_dld_link=yes
11077 ac_cv_lib_dld_dld_link=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11084 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11085 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11086 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11107 if test "x$lt_cv_dlopen" != xno; then
11113 case $lt_cv_dlopen in
11115 save_CPPFLAGS="$CPPFLAGS"
11116 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11118 save_LDFLAGS="$LDFLAGS"
11119 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11122 LIBS="$lt_cv_dlopen_libs $LIBS"
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11125 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11126 if test "${lt_cv_dlopen_self+set}" = set; then :
11127 $as_echo_n "(cached) " >&6
11129 if test "$cross_compiling" = yes; then :
11130 lt_cv_dlopen_self=cross
11132 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11133 lt_status=$lt_dlunknown
11134 cat > conftest.$ac_ext <<_LT_EOF
11135 #line 11135 "configure"
11136 #include "confdefs.h"
11145 # define LT_DLGLOBAL RTLD_GLOBAL
11148 # define LT_DLGLOBAL DL_GLOBAL
11150 # define LT_DLGLOBAL 0
11154 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11155 find out it does not work in some platform. */
11156 #ifndef LT_DLLAZY_OR_NOW
11158 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11161 # define LT_DLLAZY_OR_NOW DL_LAZY
11164 # define LT_DLLAZY_OR_NOW RTLD_NOW
11167 # define LT_DLLAZY_OR_NOW DL_NOW
11169 # define LT_DLLAZY_OR_NOW 0
11176 /* When -fvisbility=hidden is used, assume the code has been annotated
11177 correspondingly for the symbols needed. */
11178 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11179 void fnord () __attribute__((visibility("default")));
11182 void fnord () { int i=42; }
11185 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11186 int status = $lt_dlunknown;
11190 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11193 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11194 else puts (dlerror ());
11196 /* dlclose (self); */
11204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11205 (eval $ac_link) 2>&5
11207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11208 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11209 (./conftest; exit; ) >&5 2>/dev/null
11211 case x$lt_status in
11212 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11213 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11214 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11217 # compilation failed
11218 lt_cv_dlopen_self=no
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11226 $as_echo "$lt_cv_dlopen_self" >&6; }
11228 if test "x$lt_cv_dlopen_self" = xyes; then
11229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11231 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11232 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11233 $as_echo_n "(cached) " >&6
11235 if test "$cross_compiling" = yes; then :
11236 lt_cv_dlopen_self_static=cross
11238 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11239 lt_status=$lt_dlunknown
11240 cat > conftest.$ac_ext <<_LT_EOF
11241 #line 11241 "configure"
11242 #include "confdefs.h"
11251 # define LT_DLGLOBAL RTLD_GLOBAL
11254 # define LT_DLGLOBAL DL_GLOBAL
11256 # define LT_DLGLOBAL 0
11260 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11261 find out it does not work in some platform. */
11262 #ifndef LT_DLLAZY_OR_NOW
11264 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11267 # define LT_DLLAZY_OR_NOW DL_LAZY
11270 # define LT_DLLAZY_OR_NOW RTLD_NOW
11273 # define LT_DLLAZY_OR_NOW DL_NOW
11275 # define LT_DLLAZY_OR_NOW 0
11282 /* When -fvisbility=hidden is used, assume the code has been annotated
11283 correspondingly for the symbols needed. */
11284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11285 void fnord () __attribute__((visibility("default")));
11288 void fnord () { int i=42; }
11291 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11292 int status = $lt_dlunknown;
11296 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11299 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11300 else puts (dlerror ());
11302 /* dlclose (self); */
11310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11311 (eval $ac_link) 2>&5
11313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11314 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11315 (./conftest; exit; ) >&5 2>/dev/null
11317 case x$lt_status in
11318 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11319 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11320 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11323 # compilation failed
11324 lt_cv_dlopen_self_static=no
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11332 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11335 CPPFLAGS="$save_CPPFLAGS"
11336 LDFLAGS="$save_LDFLAGS"
11341 case $lt_cv_dlopen_self in
11342 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11343 *) enable_dlopen_self=unknown ;;
11346 case $lt_cv_dlopen_self_static in
11347 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11348 *) enable_dlopen_self_static=unknown ;;
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11371 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11372 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11373 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11374 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11376 $as_echo "yes" >&6; }
11378 # FIXME - insert some real tests, host_os isn't really good enough
11381 if test -n "$STRIP" ; then
11382 striplib="$STRIP -x"
11383 old_striplib="$STRIP -S"
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385 $as_echo "yes" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11388 $as_echo "no" >&6; }
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11393 $as_echo "no" >&6; }
11409 # Report which library types will actually be built
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11411 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11413 $as_echo "$can_build_shared" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11416 $as_echo_n "checking whether to build shared libraries... " >&6; }
11417 test "$can_build_shared" = "no" && enable_shared=no
11419 # On AIX, shared libraries and static libraries use the same namespace, and
11420 # are all built from PIC.
11423 test "$enable_shared" = yes && enable_static=no
11424 if test -n "$RANLIB"; then
11425 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11426 postinstall_cmds='$RANLIB $lib'
11431 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11432 test "$enable_shared" = yes && enable_static=no
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11437 $as_echo "$enable_shared" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11440 $as_echo_n "checking whether to build static libraries... " >&6; }
11441 # Make sure either enable_shared or enable_static is yes.
11442 test "$enable_shared" = yes || enable_static=yes
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11444 $as_echo "$enable_static" >&6; }
11451 ac_cpp='$CPP $CPPFLAGS'
11452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11470 ac_config_commands="$ac_config_commands libtool"
11475 # Only expand once:
11479 for ac_func in setmode
11481 ac_fn_c_check_func "$LINENO" "setmode" "ac_cv_func_setmode"
11482 if test "x$ac_cv_func_setmode" = x""yes; then :
11483 cat >>confdefs.h <<_ACEOF
11484 #define HAVE_SETMODE 1
11491 ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl bg eo ja sr"
11492 # If we haven't got the data from the intl directory,
11493 # assume NLS is disabled.
11502 if test -f ../intl/config.intl; then
11503 . ../intl/config.intl
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11506 $as_echo_n "checking whether NLS is requested... " >&6; }
11507 if test x"$USE_NLS" != xyes; then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11509 $as_echo "no" >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11512 $as_echo "yes" >&6; }
11514 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11518 $as_echo_n "checking for catalogs to be installed... " >&6; }
11519 # Look for .po and .gmo files in the source directory.
11522 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11523 # If there aren't any .gmo files the shell will give us the
11524 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11526 case "$cat" in *\**)
11529 # The quadruple backslash is collapsed to a double backslash
11530 # by the backticks, then collapsed again by the double quotes,
11531 # leaving us with one backslash in the sed expression (right
11532 # before the dot that mustn't act as a wildcard).
11533 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11534 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11535 # The user is allowed to set LINGUAS to a list of languages to
11536 # install catalogs for. If it's empty that means "all of them."
11537 if test "x$LINGUAS" = x; then
11538 CATALOGS="$CATALOGS $cat"
11539 XLINGUAS="$XLINGUAS $lang"
11541 case "$LINGUAS" in *$lang*)
11542 CATALOGS="$CATALOGS $cat"
11543 XLINGUAS="$XLINGUAS $lang"
11548 LINGUAS="$XLINGUAS"
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11550 $as_echo "$LINGUAS" >&6; }
11564 if test -n "$ac_aux_dir"; then
11565 case "$ac_aux_dir" in
11566 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11567 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11570 if test -z "$MKINSTALLDIRS"; then
11571 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11577 $as_echo_n "checking whether NLS is requested... " >&6; }
11578 # Check whether --enable-nls was given.
11579 if test "${enable_nls+set}" = set; then :
11580 enableval=$enable_nls; USE_NLS=$enableval
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11586 $as_echo "$USE_NLS" >&6; }
11593 # Prepare PATH_SEPARATOR.
11594 # The user is always right.
11595 if test "${PATH_SEPARATOR+set}" != set; then
11596 echo "#! /bin/sh" >conf$$.sh
11597 echo "exit 0" >>conf$$.sh
11599 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11607 # Find out how to test for executable files. Don't use a zero-byte file,
11608 # as systems may use methods other than mode bits to determine executability.
11609 cat >conf$$.file <<_ASEOF
11613 chmod +x conf$$.file
11614 if test -x conf$$.file >/dev/null 2>&1; then
11615 ac_executable_p="test -x"
11617 ac_executable_p="test -f"
11621 # Extract the first word of "msgfmt", so it can be a program name with args.
11622 set dummy msgfmt; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11624 $as_echo_n "checking for $ac_word... " >&6; }
11625 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11626 $as_echo_n "(cached) " >&6
11630 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11633 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11634 for ac_dir in $PATH; do
11636 test -z "$ac_dir" && ac_dir=.
11637 for ac_exec_ext in '' $ac_executable_extensions; do
11638 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11639 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11640 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11641 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11648 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11652 MSGFMT="$ac_cv_path_MSGFMT"
11653 if test "$MSGFMT" != ":"; then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11655 $as_echo "$MSGFMT" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658 $as_echo "no" >&6; }
11661 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11662 set dummy gmsgfmt; ac_word=$2
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11664 $as_echo_n "checking for $ac_word... " >&6; }
11665 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11666 $as_echo_n "(cached) " >&6
11670 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11680 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11688 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11692 GMSGFMT=$ac_cv_path_GMSGFMT
11693 if test -n "$GMSGFMT"; then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11695 $as_echo "$GMSGFMT" >&6; }
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11698 $as_echo "no" >&6; }
11704 # Prepare PATH_SEPARATOR.
11705 # The user is always right.
11706 if test "${PATH_SEPARATOR+set}" != set; then
11707 echo "#! /bin/sh" >conf$$.sh
11708 echo "exit 0" >>conf$$.sh
11710 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11718 # Find out how to test for executable files. Don't use a zero-byte file,
11719 # as systems may use methods other than mode bits to determine executability.
11720 cat >conf$$.file <<_ASEOF
11724 chmod +x conf$$.file
11725 if test -x conf$$.file >/dev/null 2>&1; then
11726 ac_executable_p="test -x"
11728 ac_executable_p="test -f"
11732 # Extract the first word of "xgettext", so it can be a program name with args.
11733 set dummy xgettext; ac_word=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 case "$XGETTEXT" in
11741 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11744 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11745 for ac_dir in $PATH; do
11747 test -z "$ac_dir" && ac_dir=.
11748 for ac_exec_ext in '' $ac_executable_extensions; do
11749 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11750 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11751 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11752 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11759 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11763 XGETTEXT="$ac_cv_path_XGETTEXT"
11764 if test "$XGETTEXT" != ":"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11766 $as_echo "$XGETTEXT" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11775 # Prepare PATH_SEPARATOR.
11776 # The user is always right.
11777 if test "${PATH_SEPARATOR+set}" != set; then
11778 echo "#! /bin/sh" >conf$$.sh
11779 echo "exit 0" >>conf$$.sh
11781 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11789 # Find out how to test for executable files. Don't use a zero-byte file,
11790 # as systems may use methods other than mode bits to determine executability.
11791 cat >conf$$.file <<_ASEOF
11795 chmod +x conf$$.file
11796 if test -x conf$$.file >/dev/null 2>&1; then
11797 ac_executable_p="test -x"
11799 ac_executable_p="test -f"
11803 # Extract the first word of "msgmerge", so it can be a program name with args.
11804 set dummy msgmerge; ac_word=$2
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11806 $as_echo_n "checking for $ac_word... " >&6; }
11807 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11808 $as_echo_n "(cached) " >&6
11810 case "$MSGMERGE" in
11812 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11815 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11816 for ac_dir in $PATH; do
11818 test -z "$ac_dir" && ac_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11821 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11822 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11829 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11833 MSGMERGE="$ac_cv_path_MSGMERGE"
11834 if test "$MSGMERGE" != ":"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11836 $as_echo "$MSGMERGE" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11843 if test "$GMSGFMT" != ":"; then
11844 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11845 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11848 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11850 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11855 if test "$XGETTEXT" != ":"; then
11856 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11857 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11861 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11867 ac_config_commands="$ac_config_commands default-1"
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11873 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11874 # Check whether --enable-maintainer-mode was given.
11875 if test "${enable_maintainer_mode+set}" = set; then :
11876 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11878 USE_MAINTAINER_MODE=no
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11882 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11883 if test $USE_MAINTAINER_MODE = yes; then
11884 MAINTAINER_MODE_TRUE=
11885 MAINTAINER_MODE_FALSE='#'
11887 MAINTAINER_MODE_TRUE='#'
11888 MAINTAINER_MODE_FALSE=
11891 MAINT=$MAINTAINER_MODE_TRUE
11895 GENINSRC_NEVER_TRUE=
11896 GENINSRC_NEVER_FALSE='#'
11898 GENINSRC_NEVER_TRUE='#'
11899 GENINSRC_NEVER_FALSE=
11904 for ac_header in sys/gmon_out.h
11906 ac_fn_c_check_header_mongrel "$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
11907 if test "x$ac_cv_header_sys_gmon_out_h" = x""yes; then :
11908 cat >>confdefs.h <<_ACEOF
11909 #define HAVE_SYS_GMON_OUT_H 1
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
11918 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
11919 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
11920 $as_echo_n "(cached) " >&6
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11924 #include <unistd.h>
11928 extern int getopt (int, char *const*, const char *);
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934 gprof_cv_decl_getopt_unistd_h=yes
11936 gprof_cv_decl_getopt_unistd_h=no
11938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
11942 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
11943 if test $gprof_cv_decl_getopt_unistd_h = yes; then
11945 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
11949 # Some systems have fabs only in -lm, not in -lc.
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
11951 $as_echo_n "checking for library containing fabs... " >&6; }
11952 if test "${ac_cv_search_fabs+set}" = set; then :
11953 $as_echo_n "(cached) " >&6
11955 ac_func_search_save_LIBS=$LIBS
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11974 for ac_lib in '' m; do
11975 if test -z "$ac_lib"; then
11976 ac_res="none required"
11979 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11981 if ac_fn_c_try_link "$LINENO"; then :
11982 ac_cv_search_fabs=$ac_res
11984 rm -f core conftest.err conftest.$ac_objext \
11986 if test "${ac_cv_search_fabs+set}" = set; then :
11990 if test "${ac_cv_search_fabs+set}" = set; then :
11993 ac_cv_search_fabs=no
11995 rm conftest.$ac_ext
11996 LIBS=$ac_func_search_save_LIBS
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
11999 $as_echo "$ac_cv_search_fabs" >&6; }
12000 ac_res=$ac_cv_search_fabs
12001 if test "$ac_res" != no; then :
12002 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12008 # Set the 'development' global.
12009 . $srcdir/../bfd/development.sh
12011 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12017 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
12020 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
12025 # Check whether --enable-werror was given.
12026 if test "${enable_werror+set}" = set; then :
12027 enableval=$enable_werror; case "${enableval}" in
12028 yes | y) ERROR_ON_WARNING="yes" ;;
12029 no | n) ERROR_ON_WARNING="no" ;;
12030 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12035 # Disable -Wformat by default when using gcc on mingw
12038 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12039 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12045 # Enable -Werror by default when using gcc. Turn it off for releases.
12046 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
12047 ERROR_ON_WARNING=yes
12051 if test "${ERROR_ON_WARNING}" = yes ; then
12052 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12053 NO_WERROR="-Wno-error"
12056 if test "${GCC}" = yes ; then
12057 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12060 # Check whether --enable-build-warnings was given.
12061 if test "${enable_build_warnings+set}" = set; then :
12062 enableval=$enable_build_warnings; case "${enableval}" in
12063 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
12064 no) if test "${GCC}" = yes ; then
12067 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12068 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
12069 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12070 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
12071 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12076 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12077 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12089 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12091 cat >confcache <<\_ACEOF
12092 # This file is a shell script that caches the results of configure
12093 # tests run on this system so they can be shared between configure
12094 # scripts and configure runs, see configure's option --config-cache.
12095 # It is not useful on other systems. If it contains results you don't
12096 # want to keep, you may remove or edit it.
12098 # config.status only pays attention to the cache file if you give it
12099 # the --recheck option to rerun configure.
12101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12103 # following values.
12107 # The following way of writing the cache mishandles newlines in values,
12108 # but we know of no workaround that is simple, portable, and efficient.
12109 # So, we kill variables containing newlines.
12110 # Ultrix sh set writes to stderr and can't be redirected directly,
12111 # and sets the high bit in the cache file unless we assign to the vars.
12113 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12114 eval ac_val=\$$ac_var
12118 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12122 _ | IFS | as_nl) ;; #(
12123 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12124 *) { eval $ac_var=; unset $ac_var;} ;;
12130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12131 *${as_nl}ac_space=\ *)
12132 # `set' does not quote correctly, so add quotes: double-quote
12133 # substitution turns \\\\ into \\, and sed turns \\ into \.
12136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12139 # `set' quotes correctly as required by POSIX, so do not add quotes.
12140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12154 if test -w "$cache_file"; then
12155 test "x$cache_file" != "x/dev/null" &&
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12157 $as_echo "$as_me: updating cache $cache_file" >&6;}
12158 cat confcache >$cache_file
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12167 # Let make expand exec_prefix.
12168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12170 DEFS=-DHAVE_CONFIG_H
12174 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12175 # 1. Remove the extension, and $U if already installed.
12176 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12177 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12178 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12179 # will be set to the directory where LIBOBJS objects are built.
12180 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12181 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12183 LIBOBJS=$ac_libobjs
12185 LTLIBOBJS=$ac_ltlibobjs
12188 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12189 as_fn_error "conditional \"AMDEP\" was never defined.
12190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12192 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12193 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12196 if test -n "$EXEEXT"; then
12198 am__EXEEXT_FALSE='#'
12200 am__EXEEXT_TRUE='#'
12204 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12205 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12208 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12209 as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
12210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12213 : ${CONFIG_STATUS=./config.status}
12215 ac_clean_files_save=$ac_clean_files
12216 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12222 # Generated by $as_me.
12223 # Run this file to recreate the current configuration.
12224 # Compiler output produced by configure, useful for debugging
12225 # configure, is in config.log if it exists.
12228 ac_cs_recheck=false
12231 SHELL=\${CONFIG_SHELL-$SHELL}
12234 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12235 ## -------------------- ##
12236 ## M4sh Initialization. ##
12237 ## -------------------- ##
12239 # Be more Bourne compatible
12240 DUALCASE=1; export DUALCASE # for MKS sh
12241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12245 # is contrary to our usage. Disable this feature.
12246 alias -g '${1+"$@"}'='"$@"'
12247 setopt NO_GLOB_SUBST
12249 case `(set -o) 2>/dev/null` in #(
12261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12262 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12265 # Prefer a ksh shell builtin over an external printf program on Solaris,
12266 # but without wasting forks for bash or zsh.
12267 if test -z "$BASH_VERSION$ZSH_VERSION" \
12268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12269 as_echo='print -r --'
12270 as_echo_n='print -rn --'
12271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12272 as_echo='printf %s\n'
12273 as_echo_n='printf %s'
12275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12276 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12277 as_echo_n='/usr/ucb/echo -n'
12279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12280 as_echo_n_body='eval
12284 expr "X$arg" : "X\\(.*\\)$as_nl";
12285 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12287 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12289 export as_echo_n_body
12290 as_echo_n='sh -c $as_echo_n_body as_echo'
12292 export as_echo_body
12293 as_echo='sh -c $as_echo_body as_echo'
12296 # The user is always right.
12297 if test "${PATH_SEPARATOR+set}" != set; then
12299 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12300 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12307 # We need space, tab and new line, in precisely that order. Quoting is
12308 # there to prevent editors from complaining about space-tab.
12309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12310 # splitting by setting IFS to empty value.)
12313 # Find who we are. Look in the path if we contain no directory separator.
12315 *[\\/]* ) as_myself=$0 ;;
12316 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12317 for as_dir in $PATH
12320 test -z "$as_dir" && as_dir=.
12321 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12327 # We did not find ourselves, most probably we were run as `sh COMMAND'
12328 # in which case we are not to be found in the path.
12329 if test "x$as_myself" = x; then
12332 if test ! -f "$as_myself"; then
12333 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12337 # Unset variables that we do not need and which cause bugs (e.g. in
12338 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12339 # suppresses any "Segmentation fault" message there. '((' could
12340 # trigger a bug in pdksh 5.2.14.
12341 for as_var in BASH_ENV ENV MAIL MAILPATH
12342 do eval test x\${$as_var+set} = xset \
12343 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12359 # as_fn_error ERROR [LINENO LOG_FD]
12360 # ---------------------------------
12361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12363 # script with status $?, using 1 if that was 0.
12366 as_status=$?; test $as_status -eq 0 && as_status=1
12368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12371 $as_echo "$as_me: error: $1" >&2
12372 as_fn_exit $as_status
12376 # as_fn_set_status STATUS
12377 # -----------------------
12378 # Set $? to STATUS, without forking.
12379 as_fn_set_status ()
12382 } # as_fn_set_status
12384 # as_fn_exit STATUS
12385 # -----------------
12386 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12390 as_fn_set_status $1
12396 # Portably unset VAR.
12399 { eval $1=; unset $1;}
12401 as_unset=as_fn_unset
12402 # as_fn_append VAR VALUE
12403 # ----------------------
12404 # Append the text in VALUE to the end of the definition contained in VAR. Take
12405 # advantage of any shell optimizations that allow amortized linear growth over
12406 # repeated appends, instead of the typical quadratic growth present in naive
12408 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12409 eval 'as_fn_append ()
12420 # as_fn_arith ARG...
12421 # ------------------
12422 # Perform arithmetic evaluation on the ARGs, and store the result in the
12423 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12424 # must be portable across $(()) and expr.
12425 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12426 eval 'as_fn_arith ()
12433 as_val=`expr "$@" || test $? -eq 1`
12438 if expr a : '\(a\)' >/dev/null 2>&1 &&
12439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12446 as_basename=basename
12451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12457 as_me=`$as_basename -- "$0" ||
12458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12459 X"$0" : 'X\(//\)$' \| \
12460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12462 sed '/^.*\/\([^/][^/]*\)\/*$/{
12476 # Avoid depending upon Character Ranges.
12477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12480 as_cr_digits='0123456789'
12481 as_cr_alnum=$as_cr_Letters$as_cr_digits
12483 ECHO_C= ECHO_N= ECHO_T=
12484 case `echo -n x` in #(((((
12486 case `echo 'xy\c'` in
12487 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12489 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12496 rm -f conf$$ conf$$.exe conf$$.file
12497 if test -d conf$$.dir; then
12498 rm -f conf$$.dir/conf$$.file
12501 mkdir conf$$.dir 2>/dev/null
12503 if (echo >conf$$.file) 2>/dev/null; then
12504 if ln -s conf$$.file conf$$ 2>/dev/null; then
12506 # ... but there are two gotchas:
12507 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12508 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12509 # In both cases, we have to default to `cp -p'.
12510 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12512 elif ln conf$$.file conf$$ 2>/dev/null; then
12520 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12521 rmdir conf$$.dir 2>/dev/null
12526 # Create "$as_dir" as a directory, including parents if necessary.
12531 -*) as_dir=./$as_dir;;
12533 test -d "$as_dir" || eval $as_mkdir_p || {
12537 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12538 *) as_qdir=$as_dir;;
12540 as_dirs="'$as_qdir' $as_dirs"
12541 as_dir=`$as_dirname -- "$as_dir" ||
12542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12543 X"$as_dir" : 'X\(//\)[^/]' \| \
12544 X"$as_dir" : 'X\(//\)$' \| \
12545 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12546 $as_echo X"$as_dir" |
12547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12551 /^X\(\/\/\)[^/].*/{
12564 test -d "$as_dir" && break
12566 test -z "$as_dirs" || eval "mkdir $as_dirs"
12567 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12571 if mkdir -p . 2>/dev/null; then
12572 as_mkdir_p='mkdir -p "$as_dir"'
12574 test -d ./-p && rmdir ./-p
12578 if test -x / >/dev/null 2>&1; then
12579 as_test_x='test -x'
12581 if ls -dL / >/dev/null 2>&1; then
12588 if test -d "$1"; then
12594 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12595 ???[sx]*):;;*)false;;esac;fi
12599 as_executable_p=$as_test_x
12601 # Sed expression to map a string onto a valid CPP name.
12602 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12604 # Sed expression to map a string onto a valid variable name.
12605 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12609 ## ----------------------------------- ##
12610 ## Main body of $CONFIG_STATUS script. ##
12611 ## ----------------------------------- ##
12613 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12616 # Save the log message, to keep $0 and so on meaningful, and to
12617 # report actual input values of CONFIG_FILES etc. instead of their
12618 # values after options handling.
12620 This file was extended by gprof $as_me 2.24.51, which was
12621 generated by GNU Autoconf 2.64. Invocation command line was
12623 CONFIG_FILES = $CONFIG_FILES
12624 CONFIG_HEADERS = $CONFIG_HEADERS
12625 CONFIG_LINKS = $CONFIG_LINKS
12626 CONFIG_COMMANDS = $CONFIG_COMMANDS
12629 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12634 case $ac_config_files in *"
12635 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12638 case $ac_config_headers in *"
12639 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12644 # Files that config.status was made for.
12645 config_files="$ac_config_files"
12646 config_headers="$ac_config_headers"
12647 config_commands="$ac_config_commands"
12651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12653 \`$as_me' instantiates files and other configuration actions
12654 from templates according to the current configuration. Unless the files
12655 and actions are specified as TAGs, all are instantiated by default.
12657 Usage: $0 [OPTION]... [TAG]...
12659 -h, --help print this help, then exit
12660 -V, --version print version number and configuration settings, then exit
12661 -q, --quiet, --silent
12662 do not print progress messages
12663 -d, --debug don't remove temporary files
12664 --recheck update $as_me by reconfiguring in the same conditions
12665 --file=FILE[:TEMPLATE]
12666 instantiate the configuration file FILE
12667 --header=FILE[:TEMPLATE]
12668 instantiate the configuration header FILE
12670 Configuration files:
12673 Configuration headers:
12676 Configuration commands:
12679 Report bugs to the package provider."
12682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12684 gprof config.status 2.24.51
12685 configured by $0, generated by GNU Autoconf 2.64,
12686 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12688 Copyright (C) 2009 Free Software Foundation, Inc.
12689 This config.status script is free software; the Free Software Foundation
12690 gives unlimited permission to copy, distribute and modify it."
12697 test -n "\$AWK" || AWK=awk
12700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12701 # The default lists apply if the user does not specify any file.
12707 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12708 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12719 # Handling of the options.
12720 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12722 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12723 $as_echo "$ac_cs_version"; exit ;;
12724 --debug | --debu | --deb | --de | --d | -d )
12726 --file | --fil | --fi | --f )
12729 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12731 as_fn_append CONFIG_FILES " '$ac_optarg'"
12732 ac_need_defaults=false;;
12733 --header | --heade | --head | --hea )
12736 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12738 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12739 ac_need_defaults=false;;
12741 # Conflict between --help and --header
12742 as_fn_error "ambiguous option: \`$1'
12743 Try \`$0 --help' for more information.";;
12744 --help | --hel | -h )
12745 $as_echo "$ac_cs_usage"; exit ;;
12746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12747 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12750 # This is an error.
12751 -*) as_fn_error "unrecognized option: \`$1'
12752 Try \`$0 --help' for more information." ;;
12754 *) as_fn_append ac_config_targets " $1"
12755 ac_need_defaults=false ;;
12761 ac_configure_extra_args=
12763 if $ac_cs_silent; then
12765 ac_configure_extra_args="$ac_configure_extra_args --silent"
12769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12770 if \$ac_cs_recheck; then
12771 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12773 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12774 CONFIG_SHELL='$SHELL'
12775 export CONFIG_SHELL
12780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12784 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12785 ## Running $as_me. ##
12791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12795 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12798 # The HP-UX ksh and POSIX shell print the target directory to stdout
12799 # if CDPATH is set.
12800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12802 sed_quote_subst='$sed_quote_subst'
12803 double_quote_subst='$double_quote_subst'
12804 delay_variable_subst='$delay_variable_subst'
12805 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12806 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12807 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12808 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12809 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12810 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12811 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12812 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12813 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12814 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12815 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12816 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12817 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12818 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12819 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12820 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12821 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12822 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12823 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12824 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12825 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12826 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12827 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12828 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12829 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12830 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12831 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12832 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12833 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12834 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12835 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12836 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12837 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12838 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12839 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12840 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12841 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12842 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12843 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12844 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12845 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12846 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12847 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12848 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12849 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12850 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12851 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12852 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12853 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"`'
12854 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12855 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12856 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12857 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12858 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12859 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12860 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12861 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12862 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12863 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12864 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12865 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12866 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12867 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12868 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12869 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12870 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12871 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12872 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12873 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12874 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12875 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12876 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12877 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12878 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12879 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12880 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12881 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12882 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12883 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12884 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12885 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12886 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12887 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12888 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12889 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12890 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12891 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12892 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12893 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12894 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12895 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12896 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12897 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12898 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12899 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12900 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12901 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12902 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12903 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12904 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12905 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12906 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12907 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12908 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12909 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12910 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12911 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12912 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12913 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12914 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12915 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12916 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12917 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12918 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12919 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12920 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12921 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12922 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12923 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12924 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12927 LTCFLAGS='$LTCFLAGS'
12928 compiler='$compiler_DEFAULT'
12930 # A function that is used when there is no print builtin or printf.
12931 func_fallback_echo ()
12933 eval 'cat <<_LTECHO_EOF
12938 # Quote evaled strings.
12952 deplibs_check_method \
12961 lt_cv_sys_global_symbol_pipe \
12962 lt_cv_sys_global_symbol_to_cdecl \
12963 lt_cv_sys_global_symbol_to_c_name_address \
12964 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12965 lt_prog_compiler_no_builtin_flag \
12966 lt_prog_compiler_wl \
12967 lt_prog_compiler_pic \
12968 lt_prog_compiler_static \
12969 lt_cv_prog_compiler_c_o \
12977 export_dynamic_flag_spec \
12978 whole_archive_flag_spec \
12979 compiler_needs_object \
12981 allow_undefined_flag \
12982 no_undefined_flag \
12983 hardcode_libdir_flag_spec \
12984 hardcode_libdir_flag_spec_ld \
12985 hardcode_libdir_separator \
12990 variables_saved_for_relink \
12992 library_names_spec \
12994 install_override_mode \
12998 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12999 *[\\\\\\\`\\"\\\$]*)
13000 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13003 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13008 # Double-quote double-evaled strings.
13009 for var in reload_cmds \
13010 old_postinstall_cmds \
13011 old_postuninstall_cmds \
13013 extract_expsyms_cmds \
13014 old_archive_from_new_cmds \
13015 old_archive_from_expsyms_cmds \
13017 archive_expsym_cmds \
13019 module_expsym_cmds \
13020 export_symbols_cmds \
13023 postuninstall_cmds \
13025 sys_lib_search_path_spec \
13026 sys_lib_dlsearch_path_spec; do
13027 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13028 *[\\\\\\\`\\"\\\$]*)
13029 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13032 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13037 ac_aux_dir='$ac_aux_dir'
13038 xsi_shell='$xsi_shell'
13039 lt_shell_append='$lt_shell_append'
13041 # See if we are running on zsh, and set the options which allow our
13042 # commands through without removal of \ escapes INIT.
13043 if test -n "\${ZSH_VERSION+set}" ; then
13044 setopt NO_GLOB_SUBST
13050 TIMESTAMP='$TIMESTAMP'
13056 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13057 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13059 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13060 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13061 LINGUAS="${LINGUAS-%UNSET%}"
13066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13068 # Handling of arguments.
13069 for ac_config_target in $ac_config_targets
13071 case $ac_config_target in
13072 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13073 "gconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
13074 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13075 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13076 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13077 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13079 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13084 # If the user did not use the arguments to specify the items to instantiate,
13085 # then the envvar interface is used. Set only those that are not.
13086 # We use the long form for the default assignment because of an extremely
13087 # bizarre bug on SunOS 4.1.3.
13088 if $ac_need_defaults; then
13089 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13090 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13094 # Have a temporary directory for convenience. Make it in the build tree
13095 # simply because there is no reason against having it here, and in addition,
13096 # creating and moving files from /tmp can sometimes cause problems.
13097 # Hook for its removal unless debugging.
13098 # Note that there is a small window in which the directory will not be cleaned:
13099 # after its creation but before its name has been assigned to `$tmp'.
13103 trap 'exit_status=$?
13104 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13106 trap 'as_fn_exit 1' 1 2 13 15
13108 # Create a (secure) tmp directory for tmp files.
13111 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13112 test -n "$tmp" && test -d "$tmp"
13115 tmp=./conf$$-$RANDOM
13116 (umask 077 && mkdir "$tmp")
13117 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13119 # Set up the scripts for CONFIG_FILES section.
13120 # No need to generate them if there are no CONFIG_FILES.
13121 # This happens for instance with `./config.status config.h'.
13122 if test -n "$CONFIG_FILES"; then
13125 ac_cr=`echo X | tr X '\015'`
13126 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13127 # But we know of no other shell where ac_cr would be empty at this
13128 # point, so we can use a bashism as a fallback.
13129 if test "x$ac_cr" = x; then
13130 eval ac_cr=\$\'\\r\'
13132 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13133 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13136 ac_cs_awk_cr=$ac_cr
13139 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13144 echo "cat >conf$$subs.awk <<_ACEOF" &&
13145 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13147 } >conf$$subs.sh ||
13148 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13149 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13151 for ac_last_try in false false false false false :; do
13152 . ./conf$$subs.sh ||
13153 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13155 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13156 if test $ac_delim_n = $ac_delim_num; then
13158 elif $ac_last_try; then
13159 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13164 rm -f conf$$subs.sh
13166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13167 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13171 s/^/S["/; s/!.*/"]=/
13181 s/\(.\{148\}\).*/\1/
13183 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13188 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13195 s/\(.\{148\}\).*/\1/
13197 s/["\\]/\\&/g; s/^/"/; s/$/"/
13201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13206 ' <conf$$subs.awk | sed '
13211 ' >>$CONFIG_STATUS || ac_write_fail=1
13212 rm -f conf$$subs.awk
13213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13215 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13216 for (key in S) S_is_set[key] = 1
13222 nfields = split(line, field, "@")
13224 len = length(field[1])
13225 for (i = 2; i < nfields; i++) {
13227 keylen = length(key)
13228 if (S_is_set[key]) {
13230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13231 len += length(value) + length(field[++i])
13242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13243 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13244 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13247 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13248 || as_fn_error "could not setup config files machinery" "$LINENO" 5
13251 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13252 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13253 # trailing colons and then remove the whole line if VPATH becomes empty
13254 # (actually we leave an empty line to preserve line numbers).
13255 if test "x$srcdir" = x.; then
13256 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13257 s/:*\$(srcdir):*/:/
13258 s/:*\${srcdir}:*/:/
13260 s/^\([^=]*=[ ]*\):*/\1/
13266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13267 fi # test -n "$CONFIG_FILES"
13269 # Set up the scripts for CONFIG_HEADERS section.
13270 # No need to generate them if there are no CONFIG_HEADERS.
13271 # This happens for instance with `./config.status Makefile'.
13272 if test -n "$CONFIG_HEADERS"; then
13273 cat >"$tmp/defines.awk" <<\_ACAWK ||
13277 # Transform confdefs.h into an awk script `defines.awk', embedded as
13278 # here-document in config.status, that substitutes the proper values into
13279 # config.h.in to produce config.h.
13281 # Create a delimiter string that does not exist in confdefs.h, to ease
13282 # handling of long lines.
13284 for ac_last_try in false false :; do
13285 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13286 if test -z "$ac_t"; then
13288 elif $ac_last_try; then
13289 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13295 # For the awk script, D is an array of macro values keyed by name,
13296 # likewise P contains macro parameters if any. Preserve backslash
13297 # newline sequences.
13299 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13301 s/.\{148\}/&'"$ac_delim"'/g
13304 s/^[ ]*#[ ]*define[ ][ ]*/ /
13311 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13313 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13317 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13318 D["\1"]=" \3\\\\\\n"\\/p
13320 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13325 s/.\{148\}/&'"$ac_delim"'/g
13330 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13333 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13335 ' <confdefs.h | sed '
13336 s/'"$ac_delim"'/"\\\
13337 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13340 for (key in D) D_is_set[key] = 1
13343 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13345 split(line, arg, " ")
13346 if (arg[1] == "#") {
13350 defundef = substr(arg[1], 2)
13353 split(mac1, mac2, "(") #)
13355 prefix = substr(line, 1, index(line, defundef) - 1)
13356 if (D_is_set[macro]) {
13357 # Preserve the white space surrounding the "#".
13358 print prefix "define", macro P[macro] D[macro]
13361 # Replace #undef with comments. This is necessary, for example,
13362 # in the case of _POSIX_SOURCE, which is predefined and required
13363 # on some systems where configure will not decide to define it.
13364 if (defundef == "undef") {
13365 print "/*", prefix defundef, macro, "*/"
13373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13374 as_fn_error "could not setup config headers machinery" "$LINENO" 5
13375 fi # test -n "$CONFIG_HEADERS"
13378 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13383 :[FHLC]) ac_mode=$ac_tag; continue;;
13385 case $ac_mode$ac_tag in
13387 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13388 :[FH]-) ac_tag=-:-;;
13389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13406 -) ac_f="$tmp/stdin";;
13407 *) # Look for the file first in the build tree, then in the source tree
13408 # (if the path is not absolute). The absolute path cannot be DOS-style,
13409 # because $ac_f cannot contain `:'.
13413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13415 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13417 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13418 as_fn_append ac_file_inputs " '$ac_f'"
13421 # Let's still pretend it is `configure' which instantiates (i.e., don't
13422 # use $as_me), people would be surprised to read:
13423 # /* config.h. Generated by config.status. */
13424 configure_input='Generated from '`
13425 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13427 if test x"$ac_file" != x-; then
13428 configure_input="$ac_file. $configure_input"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13430 $as_echo "$as_me: creating $ac_file" >&6;}
13432 # Neutralize special characters interpreted by sed in replacement strings.
13433 case $configure_input in #(
13434 *\&* | *\|* | *\\* )
13435 ac_sed_conf_input=`$as_echo "$configure_input" |
13436 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13437 *) ac_sed_conf_input=$configure_input;;
13441 *:-:* | *:-) cat >"$tmp/stdin" \
13442 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13447 ac_dir=`$as_dirname -- "$ac_file" ||
13448 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13449 X"$ac_file" : 'X\(//\)[^/]' \| \
13450 X"$ac_file" : 'X\(//\)$' \| \
13451 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13452 $as_echo X"$ac_file" |
13453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13457 /^X\(\/\/\)[^/].*/{
13470 as_dir="$ac_dir"; as_fn_mkdir_p
13474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13476 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13477 # A ".." for each directory in $ac_dir_suffix.
13478 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13479 case $ac_top_builddir_sub in
13480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13484 ac_abs_top_builddir=$ac_pwd
13485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13486 # for backward compatibility:
13487 ac_top_builddir=$ac_top_build_prefix
13490 .) # We are building in place.
13492 ac_top_srcdir=$ac_top_builddir_sub
13493 ac_abs_top_srcdir=$ac_pwd ;;
13494 [\\/]* | ?:[\\/]* ) # Absolute name.
13495 ac_srcdir=$srcdir$ac_dir_suffix;
13496 ac_top_srcdir=$srcdir
13497 ac_abs_top_srcdir=$srcdir ;;
13498 *) # Relative name.
13499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13500 ac_top_srcdir=$ac_top_build_prefix$srcdir
13501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13516 ac_MKDIR_P=$MKDIR_P
13518 [\\/$]* | ?:[\\/]* ) ;;
13519 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13524 # If the template does not know about datarootdir, expand it.
13525 # FIXME: This hack should be removed a few years after 2.60.
13526 ac_datarootdir_hack=; ac_datarootdir_seen=
13537 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13538 *datarootdir*) ac_datarootdir_seen=yes;;
13539 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13541 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13544 ac_datarootdir_hack='
13545 s&@datadir@&$datadir&g
13546 s&@docdir@&$docdir&g
13547 s&@infodir@&$infodir&g
13548 s&@localedir@&$localedir&g
13549 s&@mandir@&$mandir&g
13550 s&\\\${datarootdir}&$datarootdir&g' ;;
13554 # Neutralize VPATH when `$srcdir' = `.'.
13555 # Shell code in configure.ac might set extrasub.
13556 # FIXME: do we really want to maintain this feature?
13557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13558 ac_sed_extra="$ac_vpsub
13561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13563 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13564 s|@configure_input@|$ac_sed_conf_input|;t t
13565 s&@top_builddir@&$ac_top_builddir_sub&;t t
13566 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13567 s&@srcdir@&$ac_srcdir&;t t
13568 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13569 s&@top_srcdir@&$ac_top_srcdir&;t t
13570 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13571 s&@builddir@&$ac_builddir&;t t
13572 s&@abs_builddir@&$ac_abs_builddir&;t t
13573 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13574 s&@INSTALL@&$ac_INSTALL&;t t
13575 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13576 $ac_datarootdir_hack
13578 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13579 || as_fn_error "could not create $ac_file" "$LINENO" 5
13581 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13582 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13583 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13585 which seems to be undefined. Please make sure it is defined." >&5
13586 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13587 which seems to be undefined. Please make sure it is defined." >&2;}
13591 -) cat "$tmp/out" && rm -f "$tmp/out";;
13592 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13594 || as_fn_error "could not create $ac_file" "$LINENO" 5
13600 if test x"$ac_file" != x-; then
13602 $as_echo "/* $configure_input */" \
13603 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13604 } >"$tmp/config.h" \
13605 || as_fn_error "could not create $ac_file" "$LINENO" 5
13606 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13608 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13611 mv "$tmp/config.h" "$ac_file" \
13612 || as_fn_error "could not create $ac_file" "$LINENO" 5
13615 $as_echo "/* $configure_input */" \
13616 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13617 || as_fn_error "could not create -" "$LINENO" 5
13619 # Compute "$ac_file"'s index in $config_headers.
13622 for _am_header in $config_headers :; do
13623 case $_am_header in
13624 $_am_arg | $_am_arg:* )
13627 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13630 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13631 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13632 X"$_am_arg" : 'X\(//\)[^/]' \| \
13633 X"$_am_arg" : 'X\(//\)$' \| \
13634 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13635 $as_echo X"$_am_arg" |
13636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13640 /^X\(\/\/\)[^/].*/{
13652 s/.*/./; q'`/stamp-h$_am_stamp_count
13655 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13656 $as_echo "$as_me: executing $ac_file commands" >&6;}
13661 case $ac_file$ac_mode in
13662 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13663 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13664 # are listed without --file. Let's play safe and only enable the eval
13665 # if we detect the quoting.
13666 case $CONFIG_FILES in
13667 *\'*) eval set x "$CONFIG_FILES" ;;
13668 *) set x $CONFIG_FILES ;;
13673 # Strip MF so we end up with the name of the file.
13674 mf=`echo "$mf" | sed -e 's/:.*$//'`
13675 # Check whether this is an Automake generated Makefile or not.
13676 # We used to match only the files named `Makefile.in', but
13677 # some people rename them; so instead we look at the file content.
13678 # Grep'ing the first line is not enough: some people post-process
13679 # each Makefile.in and add a new line on top of each file to say so.
13680 # Grep'ing the whole file is not good either: AIX grep has a line
13681 # limit of 2048, but all sed's we know have understand at least 4000.
13682 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13683 dirpart=`$as_dirname -- "$mf" ||
13684 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13685 X"$mf" : 'X\(//\)[^/]' \| \
13686 X"$mf" : 'X\(//\)$' \| \
13687 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13693 /^X\(\/\/\)[^/].*/{
13709 # Extract the definition of DEPDIR, am__include, and am__quote
13710 # from the Makefile without running `make'.
13711 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13712 test -z "$DEPDIR" && continue
13713 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13714 test -z "am__include" && continue
13715 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13716 # When using ansi2knr, U may be empty or an underscore; expand it
13717 U=`sed -n 's/^U = //p' < "$mf"`
13718 # Find all dependency output files, they are included files with
13719 # $(DEPDIR) in their names. We invoke sed twice because it is the
13720 # simplest approach to changing $(DEPDIR) to its actual value in the
13722 for file in `sed -n "
13723 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13724 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13725 # Make sure the directory exists.
13726 test -f "$dirpart/$file" && continue
13727 fdir=`$as_dirname -- "$file" ||
13728 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13729 X"$file" : 'X\(//\)[^/]' \| \
13730 X"$file" : 'X\(//\)$' \| \
13731 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13732 $as_echo X"$file" |
13733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13737 /^X\(\/\/\)[^/].*/{
13750 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13751 # echo "creating $dirpart/$file"
13752 echo '# dummy' > "$dirpart/$file"
13759 # See if we are running on zsh, and set the options which allow our
13760 # commands through without removal of \ escapes.
13761 if test -n "${ZSH_VERSION+set}" ; then
13762 setopt NO_GLOB_SUBST
13765 cfgfile="${ofile}T"
13766 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13769 cat <<_LT_EOF >> "$cfgfile"
13772 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13773 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13774 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13775 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13777 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13778 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13779 # Written by Gordon Matzigkeit, 1996
13781 # This file is part of GNU Libtool.
13783 # GNU Libtool is free software; you can redistribute it and/or
13784 # modify it under the terms of the GNU General Public License as
13785 # published by the Free Software Foundation; either version 2 of
13786 # the License, or (at your option) any later version.
13788 # As a special exception to the GNU General Public License,
13789 # if you distribute this file as part of a program or library that
13790 # is built using GNU Libtool, you may include this file under the
13791 # same distribution terms that you use for the rest of that program.
13793 # GNU Libtool is distributed in the hope that it will be useful,
13794 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13795 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13796 # GNU General Public License for more details.
13798 # You should have received a copy of the GNU General Public License
13799 # along with GNU Libtool; see the file COPYING. If not, a copy
13800 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13801 # obtained by writing to the Free Software Foundation, Inc.,
13802 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13805 # The names of the tagged configurations supported by this script.
13808 # ### BEGIN LIBTOOL CONFIG
13810 # Which release of libtool.m4 was used?
13811 macro_version=$macro_version
13812 macro_revision=$macro_revision
13814 # Whether or not to build shared libraries.
13815 build_libtool_libs=$enable_shared
13817 # Whether or not to build static libraries.
13818 build_old_libs=$enable_static
13820 # What type of objects to build.
13823 # Whether or not to optimize for fast installation.
13824 fast_install=$enable_fast_install
13826 # Shell to use when invoking shell scripts.
13829 # An echo program that protects backslashes.
13833 host_alias=$host_alias
13837 # The build system.
13838 build_alias=$build_alias
13842 # A sed program that does not truncate output.
13845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13846 Xsed="\$SED -e 1s/^X//"
13848 # A grep program that handles long lines.
13854 # A literal string matcher.
13857 # A BSD- or MS-compatible name lister.
13860 # Whether we need soft or hard links.
13863 # What is the maximum length of a command?
13864 max_cmd_len=$max_cmd_len
13866 # Object file suffix (normally "o").
13869 # Executable file suffix (normally "").
13872 # whether the shell understands "unset".
13875 # turn spaces into newlines.
13878 # turn newlines into spaces.
13881 # An object symbol dumper.
13882 OBJDUMP=$lt_OBJDUMP
13884 # Method to check whether dependent libraries are shared objects.
13885 deplibs_check_method=$lt_deplibs_check_method
13887 # Command to use when deplibs_check_method == "file_magic".
13888 file_magic_cmd=$lt_file_magic_cmd
13892 AR_FLAGS=$lt_AR_FLAGS
13894 # A symbol stripping program.
13897 # Commands used to install an old-style archive.
13899 old_postinstall_cmds=$lt_old_postinstall_cmds
13900 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13902 # Whether to use a lock for old archive extraction.
13903 lock_old_archive_extraction=$lock_old_archive_extraction
13908 # LTCC compiler flags.
13909 LTCFLAGS=$lt_CFLAGS
13911 # Take the output of nm and produce a listing of raw symbols and C names.
13912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13914 # Transform the output of nm in a proper C declaration.
13915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13917 # Transform the output of nm in a C name address pair.
13918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13920 # Transform the output of nm in a C name address pair when lib prefix is needed.
13921 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13923 # The name of the directory that contains temporary libtool files.
13926 # Used to examine libraries when file_magic_cmd begins with "file".
13927 MAGIC_CMD=$MAGIC_CMD
13929 # Must we lock files when doing compilation?
13930 need_locks=$lt_need_locks
13932 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13933 DSYMUTIL=$lt_DSYMUTIL
13935 # Tool to change global to local symbols on Mac OS X.
13938 # Tool to manipulate fat objects and archives on Mac OS X.
13941 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13944 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13945 OTOOL64=$lt_OTOOL64
13947 # Old archive suffix (normally "a").
13950 # Shared library suffix (normally ".so").
13951 shrext_cmds=$lt_shrext_cmds
13953 # The commands to extract the exported symbol list from a shared archive.
13954 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13956 # Variables whose values should be saved in libtool wrapper scripts and
13957 # restored at link time.
13958 variables_saved_for_relink=$lt_variables_saved_for_relink
13960 # Do we need the "lib" prefix for modules?
13961 need_lib_prefix=$need_lib_prefix
13963 # Do we need a version for libraries?
13964 need_version=$need_version
13966 # Library versioning type.
13967 version_type=$version_type
13969 # Shared library runtime path variable.
13970 runpath_var=$runpath_var
13972 # Shared library path variable.
13973 shlibpath_var=$shlibpath_var
13975 # Is shlibpath searched before the hard-coded library search path?
13976 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13978 # Format of library name prefix.
13979 libname_spec=$lt_libname_spec
13981 # List of archive names. First name is the real one, the rest are links.
13982 # The last name is the one that the linker finds with -lNAME
13983 library_names_spec=$lt_library_names_spec
13985 # The coded name of the library, if different from the real name.
13986 soname_spec=$lt_soname_spec
13988 # Permission mode override for installation of shared libraries.
13989 install_override_mode=$lt_install_override_mode
13991 # Command to use after installation of a shared archive.
13992 postinstall_cmds=$lt_postinstall_cmds
13994 # Command to use after uninstallation of a shared archive.
13995 postuninstall_cmds=$lt_postuninstall_cmds
13997 # Commands used to finish a libtool library installation in a directory.
13998 finish_cmds=$lt_finish_cmds
14000 # As "finish_cmds", except a single script fragment to be evaled but
14002 finish_eval=$lt_finish_eval
14004 # Whether we should hardcode library paths into libraries.
14005 hardcode_into_libs=$hardcode_into_libs
14007 # Compile-time system search path for libraries.
14008 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14010 # Run-time system search path for libraries.
14011 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14013 # Whether dlopen is supported.
14014 dlopen_support=$enable_dlopen
14016 # Whether dlopen of programs is supported.
14017 dlopen_self=$enable_dlopen_self
14019 # Whether dlopen of statically linked programs is supported.
14020 dlopen_self_static=$enable_dlopen_self_static
14022 # Commands to strip libraries.
14023 old_striplib=$lt_old_striplib
14024 striplib=$lt_striplib
14027 # The linker used to build libraries.
14030 # How to create reloadable object files.
14031 reload_flag=$lt_reload_flag
14032 reload_cmds=$lt_reload_cmds
14034 # Commands used to build an old-style archive.
14035 old_archive_cmds=$lt_old_archive_cmds
14037 # A language specific compiler.
14040 # Is the compiler the GNU compiler?
14043 # Compiler flag to turn off builtin functions.
14044 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14046 # How to pass a linker flag through the compiler.
14047 wl=$lt_lt_prog_compiler_wl
14049 # Additional compiler flags for building library objects.
14050 pic_flag=$lt_lt_prog_compiler_pic
14052 # Compiler flag to prevent dynamic linking.
14053 link_static_flag=$lt_lt_prog_compiler_static
14055 # Does compiler simultaneously support -c and -o options?
14056 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14058 # Whether or not to add -lc for building shared libraries.
14059 build_libtool_need_lc=$archive_cmds_need_lc
14061 # Whether or not to disallow shared libs when runtime libs are static.
14062 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14064 # Compiler flag to allow reflexive dlopens.
14065 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14067 # Compiler flag to generate shared objects directly from archives.
14068 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14070 # Whether the compiler copes with passing no objects directly.
14071 compiler_needs_object=$lt_compiler_needs_object
14073 # Create an old-style archive from a shared archive.
14074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14076 # Create a temporary old-style archive to link instead of a shared archive.
14077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14079 # Commands used to build a shared archive.
14080 archive_cmds=$lt_archive_cmds
14081 archive_expsym_cmds=$lt_archive_expsym_cmds
14083 # Commands used to build a loadable module if different from building
14084 # a shared archive.
14085 module_cmds=$lt_module_cmds
14086 module_expsym_cmds=$lt_module_expsym_cmds
14088 # Whether we are building with GNU ld or not.
14089 with_gnu_ld=$lt_with_gnu_ld
14091 # Flag that allows shared libraries with undefined symbols to be built.
14092 allow_undefined_flag=$lt_allow_undefined_flag
14094 # Flag that enforces no undefined symbols.
14095 no_undefined_flag=$lt_no_undefined_flag
14097 # Flag to hardcode \$libdir into a binary during linking.
14098 # This must work even if \$libdir does not exist
14099 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14101 # If ld is used when linking, flag to hardcode \$libdir into a binary
14102 # during linking. This must work even if \$libdir does not exist.
14103 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14105 # Whether we need a single "-rpath" flag with a separated argument.
14106 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14108 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14109 # DIR into the resulting binary.
14110 hardcode_direct=$hardcode_direct
14112 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14113 # DIR into the resulting binary and the resulting library dependency is
14114 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14115 # library is relocated.
14116 hardcode_direct_absolute=$hardcode_direct_absolute
14118 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14119 # into the resulting binary.
14120 hardcode_minus_L=$hardcode_minus_L
14122 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14123 # into the resulting binary.
14124 hardcode_shlibpath_var=$hardcode_shlibpath_var
14126 # Set to "yes" if building a shared library automatically hardcodes DIR
14127 # into the library and all subsequent libraries and executables linked
14129 hardcode_automatic=$hardcode_automatic
14131 # Set to yes if linker adds runtime paths of dependent libraries
14132 # to runtime path list.
14133 inherit_rpath=$inherit_rpath
14135 # Whether libtool must link a program against all its dependency libraries.
14136 link_all_deplibs=$link_all_deplibs
14138 # Fix the shell variable \$srcfile for the compiler.
14139 fix_srcfile_path=$lt_fix_srcfile_path
14141 # Set to "yes" if exported symbols are required.
14142 always_export_symbols=$always_export_symbols
14144 # The commands to list exported symbols.
14145 export_symbols_cmds=$lt_export_symbols_cmds
14147 # Symbols that should not be listed in the preloaded symbols.
14148 exclude_expsyms=$lt_exclude_expsyms
14150 # Symbols that must always be exported.
14151 include_expsyms=$lt_include_expsyms
14153 # Commands necessary for linking programs (against libraries) with templates.
14154 prelink_cmds=$lt_prelink_cmds
14156 # Specify filename containing input files.
14157 file_list_spec=$lt_file_list_spec
14159 # How to hardcode a shared library path into an executable.
14160 hardcode_action=$hardcode_action
14162 # ### END LIBTOOL CONFIG
14168 cat <<\_LT_EOF >> "$cfgfile"
14169 # AIX sometimes has problems with the GCC collect2 program. For some
14170 # reason, if we set the COLLECT_NAMES environment variable, the problems
14171 # vanish in a puff of smoke.
14172 if test "X${COLLECT_NAMES+set}" != Xset; then
14174 export COLLECT_NAMES
14181 ltmain="$ac_aux_dir/ltmain.sh"
14184 # We use sed instead of cat because bash on DJGPP gets confused if
14185 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14186 # text mode, it properly converts lines to CR/LF. This bash problem
14187 # is reportedly fixed, but why not run on old versions too?
14188 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14189 || (rm -f "$cfgfile"; exit 1)
14193 cat << \_LT_EOF >> "$cfgfile"
14195 # func_dirname file append nondir_replacement
14196 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14197 # otherwise set result to NONDIR_REPLACEMENT.
14201 */*) func_dirname_result="${1%/*}${2}" ;;
14202 * ) func_dirname_result="${3}" ;;
14206 # func_basename file
14209 func_basename_result="${1##*/}"
14212 # func_dirname_and_basename file append nondir_replacement
14213 # perform func_basename and func_dirname in a single function
14215 # dirname: Compute the dirname of FILE. If nonempty,
14216 # add APPEND to the result, otherwise set result
14217 # to NONDIR_REPLACEMENT.
14218 # value returned in "$func_dirname_result"
14219 # basename: Compute filename of FILE.
14220 # value retuned in "$func_basename_result"
14221 # Implementation must be kept synchronized with func_dirname
14222 # and func_basename. For efficiency, we do not delegate to
14223 # those functions but instead duplicate the functionality here.
14224 func_dirname_and_basename ()
14227 */*) func_dirname_result="${1%/*}${2}" ;;
14228 * ) func_dirname_result="${3}" ;;
14230 func_basename_result="${1##*/}"
14233 # func_stripname prefix suffix name
14234 # strip PREFIX and SUFFIX off of NAME.
14235 # PREFIX and SUFFIX must not contain globbing or regex special
14236 # characters, hashes, percent signs, but SUFFIX may contain a leading
14237 # dot (in which case that matches only a dot).
14240 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14241 # positional parameters, so assign one to ordinary parameter first.
14242 func_stripname_result=${3}
14243 func_stripname_result=${func_stripname_result#"${1}"}
14244 func_stripname_result=${func_stripname_result%"${2}"}
14250 func_opt_split_opt=${1%%=*}
14251 func_opt_split_arg=${1#*=}
14258 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14259 *) func_lo2o_result=${1} ;;
14263 # func_xform libobj-or-source
14266 func_xform_result=${1%.*}.lo
14269 # func_arith arithmetic-term...
14272 func_arith_result=$(( $* ))
14276 # STRING may not start with a hyphen.
14279 func_len_result=${#1}
14284 *) # Bourne compatible functions.
14285 cat << \_LT_EOF >> "$cfgfile"
14287 # func_dirname file append nondir_replacement
14288 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14289 # otherwise set result to NONDIR_REPLACEMENT.
14292 # Extract subdirectory from the argument.
14293 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14294 if test "X$func_dirname_result" = "X${1}"; then
14295 func_dirname_result="${3}"
14297 func_dirname_result="$func_dirname_result${2}"
14301 # func_basename file
14304 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14308 # func_stripname prefix suffix name
14309 # strip PREFIX and SUFFIX off of NAME.
14310 # PREFIX and SUFFIX must not contain globbing or regex special
14311 # characters, hashes, percent signs, but SUFFIX may contain a leading
14312 # dot (in which case that matches only a dot).
14313 # func_strip_suffix prefix name
14317 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14318 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14323 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14324 my_sed_long_arg='1s/^-[^=]*=//'
14329 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14330 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14336 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14339 # func_xform libobj-or-source
14342 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14345 # func_arith arithmetic-term...
14348 func_arith_result=`expr "$@"`
14352 # STRING may not start with a hyphen.
14355 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14361 case $lt_shell_append in
14363 cat << \_LT_EOF >> "$cfgfile"
14365 # func_append var value
14366 # Append VALUE to the end of shell variable VAR.
14374 cat << \_LT_EOF >> "$cfgfile"
14376 # func_append var value
14377 # Append VALUE to the end of shell variable VAR.
14388 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14389 || (rm -f "$cfgfile"; exit 1)
14391 mv -f "$cfgfile" "$ofile" ||
14392 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14397 for ac_file in $CONFIG_FILES; do
14398 # Support "outfile[:infile[:infile...]]"
14400 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14402 # PO directories have a Makefile.in generated from Makefile.in.in.
14403 case "$ac_file" in */Makefile.in)
14404 # Adjust a relative srcdir.
14405 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14406 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
14407 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14408 # In autoconf-2.13 it is called $ac_given_srcdir.
14409 # In autoconf-2.50 it is called $srcdir.
14410 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14411 case "$ac_given_srcdir" in
14412 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14413 /*) top_srcdir="$ac_given_srcdir" ;;
14414 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14416 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14417 rm -f "$ac_dir/POTFILES"
14418 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14419 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14420 POMAKEFILEDEPS="POTFILES.in"
14421 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14422 # on $ac_dir but don't depend on user-specified configuration
14424 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14425 # The LINGUAS file contains the set of available languages.
14426 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14427 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
14429 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14430 # Hide the ALL_LINGUAS assigment from automake.
14431 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14432 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14434 # The set of available languages was given in configure.in.
14435 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14437 case "$ac_given_srcdir" in
14439 *) srcdirpre='$(srcdir)/' ;;
14445 for lang in $ALL_LINGUAS; do
14446 POFILES="$POFILES $srcdirpre$lang.po"
14447 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14448 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14449 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14451 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14452 # environment variable.
14454 if test -n "$ALL_LINGUAS"; then
14455 for presentlang in $ALL_LINGUAS; do
14457 if test "%UNSET%" != "$LINGUAS"; then
14458 desiredlanguages="$LINGUAS"
14460 desiredlanguages="$ALL_LINGUAS"
14462 for desiredlang in $desiredlanguages; do
14463 # Use the presentlang catalog if desiredlang is
14464 # a. equal to presentlang, or
14465 # b. a variant of presentlang (because in this case,
14466 # presentlang can be used as a fallback for messages
14467 # which are not translated in the desiredlang catalog).
14468 case "$desiredlang" in
14469 "$presentlang"*) useit=yes;;
14472 if test $useit = yes; then
14473 INST_LINGUAS="$INST_LINGUAS $presentlang"
14478 if test -n "$INST_LINGUAS"; then
14479 for lang in $INST_LINGUAS; do
14480 CATALOGS="$CATALOGS $lang.gmo"
14483 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14484 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14485 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14486 if test -f "$f"; then
14488 *.orig | *.bak | *~) ;;
14489 *) cat "$f" >> "$ac_dir/Makefile" ;;
14504 ac_clean_files=$ac_clean_files_save
14506 test $ac_write_fail = 0 ||
14507 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14510 # configure is writing to config.log, and then calls config.status.
14511 # config.status does its own redirection, appending to config.log.
14512 # Unfortunately, on DOS this fails, as config.log is still kept open
14513 # by configure, so config.status won't be able to write to it; its
14514 # output is simply discarded. So we exec the FD to /dev/null,
14515 # effectively closing config.log, so it can be properly (re)opened and
14516 # appended to by config.status. When coming back to configure, we
14517 # need to make the FD available again.
14518 if test "$no_create" != yes; then
14520 ac_config_status_args=
14521 test "$silent" = yes &&
14522 ac_config_status_args="$ac_config_status_args --quiet"
14524 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14526 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14527 # would make configure fail if this is the last instruction.
14528 $ac_cs_success || as_fn_exit $?
14530 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14532 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}