2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for gprof 2.26.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.26.51'
560 PACKAGE_STRING='gprof 2.26.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
611 MAINTAINER_MODE_FALSE
665 INSTALL_STRIP_PROGRAM
726 program_transform_name
739 enable_option_checking
740 enable_dependency_tracking
750 enable_maintainer_mode
752 enable_build_warnings
754 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
829 # Accept the important Cygnus configure options, so we can diagnose typos.
831 case $ac_dashdash$ac_option in
835 -bindir | --bindir | --bindi | --bind | --bin | --bi)
837 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
840 -build | --build | --buil | --bui | --bu)
841 ac_prev=build_alias ;;
842 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
843 build_alias=$ac_optarg ;;
845 -cache-file | --cache-file | --cache-fil | --cache-fi \
846 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
847 ac_prev=cache_file ;;
848 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
849 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
850 cache_file=$ac_optarg ;;
853 cache_file=config.cache ;;
855 -datadir | --datadir | --datadi | --datad)
857 -datadir=* | --datadir=* | --datadi=* | --datad=*)
858 datadir=$ac_optarg ;;
860 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
861 | --dataroo | --dataro | --datar)
862 ac_prev=datarootdir ;;
863 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
864 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
865 datarootdir=$ac_optarg ;;
867 -disable-* | --disable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
881 eval enable_$ac_useropt=no ;;
883 -docdir | --docdir | --docdi | --doc | --do)
885 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
888 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
890 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
893 -enable-* | --enable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
907 eval enable_$ac_useropt=\$ac_optarg ;;
909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
910 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
911 | --exec | --exe | --ex)
912 ac_prev=exec_prefix ;;
913 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
914 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
915 | --exec=* | --exe=* | --ex=*)
916 exec_prefix=$ac_optarg ;;
918 -gas | --gas | --ga | --g)
919 # Obsolete; use --with-gas.
922 -help | --help | --hel | --he | -h)
924 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
925 ac_init_help=recursive ;;
926 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 ac_init_help=short ;;
929 -host | --host | --hos | --ho)
930 ac_prev=host_alias ;;
931 -host=* | --host=* | --hos=* | --ho=*)
932 host_alias=$ac_optarg ;;
934 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 htmldir=$ac_optarg ;;
940 -includedir | --includedir | --includedi | --included | --include \
941 | --includ | --inclu | --incl | --inc)
942 ac_prev=includedir ;;
943 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
944 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 includedir=$ac_optarg ;;
947 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 infodir=$ac_optarg ;;
952 -libdir | --libdir | --libdi | --libd)
954 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
958 | --libexe | --libex | --libe)
959 ac_prev=libexecdir ;;
960 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
961 | --libexe=* | --libex=* | --libe=*)
962 libexecdir=$ac_optarg ;;
964 -localedir | --localedir | --localedi | --localed | --locale)
966 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 localedir=$ac_optarg ;;
969 -localstatedir | --localstatedir | --localstatedi | --localstated \
970 | --localstate | --localstat | --localsta | --localst | --locals)
971 ac_prev=localstatedir ;;
972 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
973 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 localstatedir=$ac_optarg ;;
976 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
982 # Obsolete; use --without-fp.
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
986 | --no-cr | --no-c | -n)
989 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
994 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
995 | --oldin | --oldi | --old | --ol | --o)
996 ac_prev=oldincludedir ;;
997 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
998 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
999 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 oldincludedir=$ac_optarg ;;
1002 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 prefix=$ac_optarg ;;
1007 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1008 | --program-pre | --program-pr | --program-p)
1009 ac_prev=program_prefix ;;
1010 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1011 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 program_prefix=$ac_optarg ;;
1014 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1015 | --program-suf | --program-su | --program-s)
1016 ac_prev=program_suffix ;;
1017 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1018 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 program_suffix=$ac_optarg ;;
1021 -program-transform-name | --program-transform-name \
1022 | --program-transform-nam | --program-transform-na \
1023 | --program-transform-n | --program-transform- \
1024 | --program-transform | --program-transfor \
1025 | --program-transfo | --program-transf \
1026 | --program-trans | --program-tran \
1027 | --progr-tra | --program-tr | --program-t)
1028 ac_prev=program_transform_name ;;
1029 -program-transform-name=* | --program-transform-name=* \
1030 | --program-transform-nam=* | --program-transform-na=* \
1031 | --program-transform-n=* | --program-transform-=* \
1032 | --program-transform=* | --program-transfor=* \
1033 | --program-transfo=* | --program-transf=* \
1034 | --program-trans=* | --program-tran=* \
1035 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 program_transform_name=$ac_optarg ;;
1038 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 pdfdir=$ac_optarg ;;
1043 -psdir | --psdir | --psdi | --psd | --ps)
1045 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 sbindir=$ac_optarg ;;
1058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1060 | --sharedst | --shareds | --shared | --share | --shar \
1062 ac_prev=sharedstatedir ;;
1063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 sharedstatedir=$ac_optarg ;;
1069 -site | --site | --sit)
1071 -site=* | --site=* | --sit=*)
1074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1077 srcdir=$ac_optarg ;;
1079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1080 | --syscon | --sysco | --sysc | --sys | --sy)
1081 ac_prev=sysconfdir ;;
1082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1084 sysconfdir=$ac_optarg ;;
1086 -target | --target | --targe | --targ | --tar | --ta | --t)
1087 ac_prev=target_alias ;;
1088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1089 target_alias=$ac_optarg ;;
1091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 -version | --version | --versio | --versi | --vers | -V)
1095 ac_init_version=: ;;
1098 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error "invalid package name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1111 eval with_$ac_useropt=\$ac_optarg ;;
1113 -without-* | --without-*)
1114 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid package name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval with_$ac_useropt=no ;;
1130 # Obsolete; use --with-x.
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1147 -*) as_fn_error "unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information."
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 case $ac_envvar in #(
1155 '' | [0-9]* | *[!_$as_cr_alnum]* )
1156 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 as_fn_error "missing argument to $ac_option"
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1180 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1185 # Check all directory arguments for consistency.
1186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1191 eval ac_val=\$$ac_var
1192 # Remove trailing slashes.
1195 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\$ac_val;;
1198 # Be sure to have absolute directory names.
1200 [\\/$]* | ?:[\\/]* ) continue;;
1201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1203 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1206 # There might be people who depend on the old broken behavior: `$host'
1207 # used to hold the argument of --host etc.
1208 # FIXME: To remove some day.
1211 target=$target_alias
1213 # FIXME: To remove some day.
1214 if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then
1216 cross_compiling=maybe
1217 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used." >&2
1219 elif test "x$build_alias" != "x$host_alias"; then
1225 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1227 test "$silent" = yes && exec 6>/dev/null
1230 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di=`ls -di .` &&
1232 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error "working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error "pwd does not report name of working directory"
1238 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted=yes
1241 # Try the directory containing this script, then the parent directory.
1242 ac_confdir=`$as_dirname -- "$as_myself" ||
1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1244 X"$as_myself" : 'X\(//\)[^/]' \| \
1245 X"$as_myself" : 'X\(//\)$' \| \
1246 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1247 $as_echo X"$as_myself" |
1248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1270 ac_srcdir_defaulted=no
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1274 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 for ac_var in $ac_precious_vars; do
1291 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_${ac_var}_value=\$${ac_var}
1293 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298 # Report the --help message.
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1304 \`configure' configures gprof 2.26.51 to adapt to many kinds of systems.
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1311 Defaults for the options are specified in brackets.
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1335 For better control, use the options below.
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/gprof]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1362 --program-prefix=PREFIX prepend PREFIX to installed program names
1363 --program-suffix=SUFFIX append SUFFIX to installed program names
1364 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1367 --build=BUILD configure for building on BUILD [guessed]
1368 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1369 --target=TARGET configure for building compilers for TARGET [HOST]
1373 if test -n "$ac_init_help"; then
1374 case $ac_init_help in
1375 short | recursive ) echo "Configuration of gprof 2.26.51:";;
1380 --disable-option-checking ignore unrecognized --enable/--with options
1381 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383 --disable-dependency-tracking speeds up one-time build
1384 --enable-dependency-tracking do not reject slow dependency extractors
1385 --enable-shared[=PKGS] build shared libraries [default=yes]
1386 --enable-static[=PKGS] build static libraries [default=yes]
1387 --enable-fast-install[=PKGS]
1388 optimize for fast installation [default=yes]
1389 --disable-libtool-lock avoid locking (might break parallel builds)
1390 --enable-plugins Enable support for plugins
1391 --disable-largefile omit support for large files
1392 --disable-nls do not use Native Language Support
1393 --enable-maintainer-mode enable make rules and dependencies not useful
1394 (and sometimes confusing) to the casual installer
1395 --enable-werror treat compile warnings as errors
1396 --enable-build-warnings enable build-time compiler warnings
1399 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1400 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1401 --with-pic try to use only PIC/non-PIC objects [default=use
1403 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1405 Some influential environment variables:
1406 CC C compiler command
1407 CFLAGS C compiler flags
1408 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1409 nonstandard directory <lib dir>
1410 LIBS libraries to pass to the linker, e.g. -l<library>
1411 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1412 you have headers in a nonstandard directory <include dir>
1415 Use these variables to override the choices made by `configure' or to help
1416 it to find libraries and programs with nonstandard names/locations.
1418 Report bugs to the package provider.
1423 if test "$ac_init_help" = "recursive"; then
1424 # If there are subdirs, report their specific --help.
1425 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426 test -d "$ac_dir" ||
1427 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1435 # A ".." for each directory in $ac_dir_suffix.
1436 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1437 case $ac_top_builddir_sub in
1438 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442 ac_abs_top_builddir=$ac_pwd
1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1444 # for backward compatibility:
1445 ac_top_builddir=$ac_top_build_prefix
1448 .) # We are building in place.
1450 ac_top_srcdir=$ac_top_builddir_sub
1451 ac_abs_top_srcdir=$ac_pwd ;;
1452 [\\/]* | ?:[\\/]* ) # Absolute name.
1453 ac_srcdir=$srcdir$ac_dir_suffix;
1454 ac_top_srcdir=$srcdir
1455 ac_abs_top_srcdir=$srcdir ;;
1457 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1458 ac_top_srcdir=$ac_top_build_prefix$srcdir
1459 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463 cd "$ac_dir" || { ac_status=$?; continue; }
1464 # Check for guested configure.
1465 if test -f "$ac_srcdir/configure.gnu"; then
1467 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1468 elif test -f "$ac_srcdir/configure"; then
1470 $SHELL "$ac_srcdir/configure" --help=recursive
1472 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474 cd "$ac_pwd" || { ac_status=$?; break; }
1478 test -n "$ac_init_help" && exit $ac_status
1479 if $ac_init_version; then
1481 gprof configure 2.26.51
1482 generated by GNU Autoconf 2.64
1484 Copyright (C) 2009 Free Software Foundation, Inc.
1485 This configure script is free software; the Free Software Foundation
1486 gives unlimited permission to copy, distribute and modify it.
1491 ## ------------------------ ##
1492 ## Autoconf initialization. ##
1493 ## ------------------------ ##
1495 # ac_fn_c_try_compile LINENO
1496 # --------------------------
1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1498 ac_fn_c_try_compile ()
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 rm -f conftest.$ac_objext
1502 if { { ac_try="$ac_compile"
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_compile") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && {
1518 test -z "$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 } && test -s conftest.$ac_objext; then :
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1528 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1531 } # ac_fn_c_try_compile
1533 # ac_fn_c_try_link LINENO
1534 # -----------------------
1535 # Try to link conftest.$ac_ext, and return whether this succeeded.
1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539 rm -f conftest.$ac_objext conftest$ac_exeext
1540 if { { ac_try="$ac_link"
1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_link") 2>conftest.err
1549 if test -s conftest.err; then
1550 grep -v '^ *+' conftest.err >conftest.er1
1551 cat conftest.er1 >&5
1552 mv -f conftest.er1 conftest.err
1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555 test $ac_status = 0; } && {
1556 test -z "$ac_c_werror_flag" ||
1557 test ! -s conftest.err
1558 } && test -s conftest$ac_exeext && {
1559 test "$cross_compiling" = yes ||
1560 $as_test_x conftest$ac_exeext
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1569 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1570 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1571 # interfere with the next link command; also delete a directory that is
1572 # left behind by Apple's compiler. We do this before executing the actions.
1573 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577 } # ac_fn_c_try_link
1579 # ac_fn_c_try_cpp LINENO
1580 # ----------------------
1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585 if { { ac_try="$ac_cpp conftest.$ac_ext"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } >/dev/null && {
1601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1617 # -------------------------------------------------------
1618 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619 # the include files in INCLUDES and setting the cache variable VAR
1621 ac_fn_c_check_header_mongrel ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 $as_echo_n "(cached) " >&6
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1634 # Is the header compilable?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636 $as_echo_n "checking $2 usability... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1642 if ac_fn_c_try_compile "$LINENO"; then :
1643 ac_header_compiler=yes
1645 ac_header_compiler=no
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649 $as_echo "$ac_header_compiler" >&6; }
1651 # Is the header present?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653 $as_echo_n "checking $2 presence... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1658 if ac_fn_c_try_cpp "$LINENO"; then :
1659 ac_header_preproc=yes
1661 ac_header_preproc=no
1663 rm -f conftest.err conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665 $as_echo "$ac_header_preproc" >&6; }
1667 # So? What about this header?
1668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1679 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1683 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1691 $as_echo_n "(cached) " >&6
1693 eval "$3=\$ac_header_compiler"
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 } # ac_fn_c_check_header_mongrel
1703 # ac_fn_c_try_run LINENO
1704 # ----------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1706 # that executables *can* be run.
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { { ac_try="$ac_link"
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>&5
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1721 { { case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_try") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; }; }; then :
1733 $as_echo "$as_me: program exited with status $ac_status" >&5
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1737 ac_retval=$ac_status
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_check_func LINENO FUNC VAR
1777 # ----------------------------------
1778 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1779 ac_fn_c_check_func ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1789 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1791 #define $2 innocuous_$2
1793 /* System header to define __stub macros and hopefully few prototypes,
1794 which can conflict with char $2 (); below.
1795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1796 <limits.h> exists even on freestanding compilers. */
1799 # include <limits.h>
1801 # include <assert.h>
1806 /* Override any GCC internal prototype to avoid an error.
1807 Use char because int might match the return type of a GCC
1808 builtin and then its argument prototype would still apply. */
1813 /* The GNU C library defines this for functions which it implements
1814 to always fail with ENOSYS. Some functions are actually named
1815 something starting with __ and the normal name is an alias. */
1816 #if defined __stub_$2 || defined __stub___$2
1828 if ac_fn_c_try_link "$LINENO"; then :
1833 rm -f core conftest.err conftest.$ac_objext \
1834 conftest$ac_exeext conftest.$ac_ext
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1838 $as_echo "$ac_res" >&6; }
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 } # ac_fn_c_check_func
1842 cat >config.log <<_ACEOF
1843 This file contains any messages produced by compilers while
1844 running configure, to aid debugging if configure makes a mistake.
1846 It was created by gprof $as_me 2.26.51, which was
1847 generated by GNU Autoconf 2.64. Invocation command line was
1859 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1860 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1861 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1862 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1863 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1865 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1866 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1868 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1869 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1870 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1871 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1872 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1873 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1874 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 test -z "$as_dir" && as_dir=.
1883 $as_echo "PATH: $as_dir"
1899 # Keep a trace of the command line.
1900 # Strip out --no-create and --no-recursion so they do not pile up.
1901 # Strip out --silent because we don't want to record it for future runs.
1902 # Also quote any args containing shell meta-characters.
1903 # Make two passes to allow for proper duplicate-argument suppression.
1907 ac_must_keep_next=false
1913 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1915 | -silent | --silent | --silen | --sile | --sil)
1918 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1921 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1923 as_fn_append ac_configure_args1 " '$ac_arg'"
1924 if test $ac_must_keep_next = true; then
1925 ac_must_keep_next=false # Got value, back to normal.
1928 *=* | --config-cache | -C | -disable-* | --disable-* \
1929 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1930 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1931 | -with-* | --with-* | -without-* | --without-* | --x)
1932 case "$ac_configure_args0 " in
1933 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1936 -* ) ac_must_keep_next=true ;;
1939 as_fn_append ac_configure_args " '$ac_arg'"
1944 { ac_configure_args0=; unset ac_configure_args0;}
1945 { ac_configure_args1=; unset ac_configure_args1;}
1947 # When interrupted or exit'd, cleanup temporary files, and complete
1948 # config.log. We remove comments because anyway the quotes in there
1949 # would cause problems or look ugly.
1950 # WARNING: Use '\'' to represent an apostrophe within the trap.
1951 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1952 trap 'exit_status=$?
1953 # Save into config.log some information that might help in debugging.
1958 ## ---------------- ##
1959 ## Cache variables. ##
1960 ## ---------------- ##
1963 # The following way of writing the cache mishandles newlines in values,
1965 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966 eval ac_val=\$$ac_var
1970 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1974 _ | IFS | as_nl) ;; #(
1975 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976 *) { eval $ac_var=; unset $ac_var;} ;;
1981 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982 *${as_nl}ac_space=\ *)
1984 "s/'\''/'\''\\\\'\'''\''/g;
1985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1988 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1996 ## ----------------- ##
1997 ## Output variables. ##
1998 ## ----------------- ##
2001 for ac_var in $ac_subst_vars
2003 eval ac_val=\$$ac_var
2005 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2007 $as_echo "$ac_var='\''$ac_val'\''"
2011 if test -n "$ac_subst_files"; then
2013 ## ------------------- ##
2014 ## File substitutions. ##
2015 ## ------------------- ##
2018 for ac_var in $ac_subst_files
2020 eval ac_val=\$$ac_var
2022 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2024 $as_echo "$ac_var='\''$ac_val'\''"
2029 if test -s confdefs.h; then
2039 test "$ac_signal" != 0 &&
2040 $as_echo "$as_me: caught signal $ac_signal"
2041 $as_echo "$as_me: exit $exit_status"
2043 rm -f core *.core core.conftest.* &&
2044 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2047 for ac_signal in 1 2 13 15; do
2048 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2052 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2053 rm -f -r conftest* confdefs.h
2055 $as_echo "/* confdefs.h */" > confdefs.h
2057 # Predefined preprocessor variables.
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_NAME "$PACKAGE_NAME"
2063 cat >>confdefs.h <<_ACEOF
2064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_STRING "$PACKAGE_STRING"
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_URL "$PACKAGE_URL"
2084 # Let the site file select an alternate cache file if it wants to.
2085 # Prefer an explicitly selected file to automatically selected ones.
2088 if test -n "$CONFIG_SITE"; then
2089 ac_site_file1=$CONFIG_SITE
2090 elif test "x$prefix" != xNONE; then
2091 ac_site_file1=$prefix/share/config.site
2092 ac_site_file2=$prefix/etc/config.site
2094 ac_site_file1=$ac_default_prefix/share/config.site
2095 ac_site_file2=$ac_default_prefix/etc/config.site
2097 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2099 test "x$ac_site_file" = xNONE && continue
2100 if test -r "$ac_site_file"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2102 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2103 sed 's/^/| /' "$ac_site_file" >&5
2108 if test -r "$cache_file"; then
2109 # Some versions of bash will fail to source /dev/null (special
2110 # files actually), so we avoid doing that.
2111 if test -f "$cache_file"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2113 $as_echo "$as_me: loading cache $cache_file" >&6;}
2115 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2116 *) . "./$cache_file";;
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2121 $as_echo "$as_me: creating cache $cache_file" >&6;}
2125 # Check that the precious variables saved in the cache have kept the same
2127 ac_cache_corrupted=false
2128 for ac_var in $ac_precious_vars; do
2129 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2130 eval ac_new_set=\$ac_env_${ac_var}_set
2131 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2132 eval ac_new_val=\$ac_env_${ac_var}_value
2133 case $ac_old_set,$ac_new_set in
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2136 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2137 ac_cache_corrupted=: ;;
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2140 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2141 ac_cache_corrupted=: ;;
2144 if test "x$ac_old_val" != "x$ac_new_val"; then
2145 # differences in whitespace do not lead to failure.
2146 ac_old_val_w=`echo x $ac_old_val`
2147 ac_new_val_w=`echo x $ac_new_val`
2148 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2150 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2151 ac_cache_corrupted=:
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2154 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2155 eval $ac_var=\$ac_old_val
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2158 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2160 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2163 # Pass precious variables to config.status.
2164 if test "$ac_new_set" = set; then
2166 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2167 *) ac_arg=$ac_var=$ac_new_val ;;
2169 case " $ac_configure_args " in
2170 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2171 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2175 if $ac_cache_corrupted; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2179 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2180 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2182 ## -------------------- ##
2183 ## Main body of script. ##
2184 ## -------------------- ##
2187 ac_cpp='$CPP $CPPFLAGS'
2188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2199 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2200 for ac_t in install-sh install.sh shtool; do
2201 if test -f "$ac_dir/$ac_t"; then
2203 ac_install_sh="$ac_aux_dir/$ac_t -c"
2208 if test -z "$ac_aux_dir"; then
2209 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2212 # These three variables are undocumented and unsupported,
2213 # and are intended to be withdrawn in a future Autoconf release.
2214 # They can cause serious problems if a builder's source tree is in a directory
2215 # whose full name contains unusual characters.
2216 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2217 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2218 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2221 # Make sure we can run config.sub.
2222 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2223 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2226 $as_echo_n "checking build system type... " >&6; }
2227 if test "${ac_cv_build+set}" = set; then :
2228 $as_echo_n "(cached) " >&6
2230 ac_build_alias=$build_alias
2231 test "x$ac_build_alias" = x &&
2232 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2233 test "x$ac_build_alias" = x &&
2234 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2235 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2236 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2240 $as_echo "$ac_cv_build" >&6; }
2241 case $ac_cv_build in
2243 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2246 ac_save_IFS=$IFS; IFS='-'
2252 # Remember, the first character of IFS is used to create $*,
2253 # except with old shells:
2256 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2260 $as_echo_n "checking host system type... " >&6; }
2261 if test "${ac_cv_host+set}" = set; then :
2262 $as_echo_n "(cached) " >&6
2264 if test "x$host_alias" = x; then
2265 ac_cv_host=$ac_cv_build
2267 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2268 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2273 $as_echo "$ac_cv_host" >&6; }
2276 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2279 ac_save_IFS=$IFS; IFS='-'
2285 # Remember, the first character of IFS is used to create $*,
2286 # except with old shells:
2289 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2293 $as_echo_n "checking target system type... " >&6; }
2294 if test "${ac_cv_target+set}" = set; then :
2295 $as_echo_n "(cached) " >&6
2297 if test "x$target_alias" = x; then
2298 ac_cv_target=$ac_cv_host
2300 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2301 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2306 $as_echo "$ac_cv_target" >&6; }
2307 case $ac_cv_target in
2309 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2311 target=$ac_cv_target
2312 ac_save_IFS=$IFS; IFS='-'
2318 # Remember, the first character of IFS is used to create $*,
2319 # except with old shells:
2322 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2325 # The aliases save the names the user supplied, while $host etc.
2326 # will get canonicalized.
2327 test -n "$target_alias" &&
2328 test "$program_prefix$program_suffix$program_transform_name" = \
2330 program_prefix=${target_alias}-
2332 ac_cpp='$CPP $CPPFLAGS'
2333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if test "${ac_cv_prog_CC+set}" = set; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$CC"; then
2345 ac_cv_prog_CC="$CC" # Let the user override the test.
2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir=.
2352 for ac_exec_ext in '' $ac_executable_extensions; do
2353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2354 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test -n "$CC"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2367 $as_echo "$CC" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2375 if test -z "$ac_cv_prog_CC"; then
2377 # Extract the first word of "gcc", so it can be a program name with args.
2378 set dummy gcc; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$ac_ct_CC"; then
2385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_ac_ct_CC="gcc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2407 $as_echo "$ac_ct_CC" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2413 if test "x$ac_ct_CC" = x; then
2416 case $cross_compiling:$ac_tool_warned in
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2420 ac_tool_warned=yes ;;
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2431 set dummy ${ac_tool_prefix}cc; ac_word=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if test "${ac_cv_prog_CC+set}" = set; then :
2435 $as_echo_n "(cached) " >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC="$CC" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 ac_cv_prog_CC="${ac_tool_prefix}cc"
2448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2460 $as_echo "$CC" >&6; }
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463 $as_echo "no" >&6; }
2469 if test -z "$CC"; then
2470 # Extract the first word of "cc", so it can be a program name with args.
2471 set dummy cc; ac_word=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if test "${ac_cv_prog_CC+set}" = set; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC="$CC" # Let the user override the test.
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2489 ac_prog_rejected=yes
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 if test $ac_prog_rejected = yes; then
2501 # We found a bogon in the path, so make sure we never use it.
2502 set dummy $ac_cv_prog_CC
2504 if test $# != 0; then
2505 # We chose a different compiler from the bogus one.
2506 # However, it has the same basename, so the bogon will be chosen
2507 # first if we set CC to just the basename; use the full file name.
2509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2515 if test -n "$CC"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2517 $as_echo "$CC" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2525 if test -z "$CC"; then
2526 if test -n "$ac_tool_prefix"; then
2527 for ac_prog in cl.exe
2529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532 $as_echo_n "checking for $ac_word... " >&6; }
2533 if test "${ac_cv_prog_CC+set}" = set; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC="$CC" # Let the user override the test.
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 if test -n "$CC"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2559 $as_echo "$CC" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2566 test -n "$CC" && break
2569 if test -z "$CC"; then
2571 for ac_prog in cl.exe
2573 # Extract the first word of "$ac_prog", so it can be a program name with args.
2574 set dummy $ac_prog; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$ac_ct_CC"; then
2581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_ac_ct_CC="$ac_prog"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2601 if test -n "$ac_ct_CC"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2603 $as_echo "$ac_ct_CC" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2610 test -n "$ac_ct_CC" && break
2613 if test "x$ac_ct_CC" = x; then
2616 case $cross_compiling:$ac_tool_warned in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620 ac_tool_warned=yes ;;
2629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2631 as_fn_error "no acceptable C compiler found in \$PATH
2632 See \`config.log' for more details." "$LINENO" 5; }
2634 # Provide some information about the compiler.
2635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2638 for ac_option in --version -v -V -qversion; do
2639 { { ac_try="$ac_compiler $ac_option >&5"
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2648 if test -s conftest.err; then
2650 ... rest of stderr output deleted ...
2651 10q' conftest.err >conftest.er1
2652 cat conftest.er1 >&5
2653 rm -f conftest.er1 conftest.err
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2670 ac_clean_files_save=$ac_clean_files
2671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2676 $as_echo_n "checking for C compiler default output file name... " >&6; }
2677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2679 # The possible output files:
2680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2683 for ac_file in $ac_files
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2692 if { { ac_try="$ac_link_default"
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_link_default") 2>&5
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; then :
2703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2706 # so that the user can short-circuit this test for compilers unknown to
2708 for ac_file in $ac_files ''
2710 test -f "$ac_file" || continue
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2715 # We found the default executable, but exeext='' is most
2719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2723 # We set ac_cv_exeext here because the later test for it is not
2724 # safe: cross compilers may not add the suffix if given an `-o'
2725 # argument, so we may need to know it at that point already.
2726 # Even if this section looks crufty: it has the advantage of
2733 test "$ac_cv_exeext" = no && ac_cv_exeext=
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2739 $as_echo "$ac_file" >&6; }
2740 if test -z "$ac_file"; then :
2741 $as_echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2746 { as_fn_set_status 77
2747 as_fn_error "C compiler cannot create executables
2748 See \`config.log' for more details." "$LINENO" 5; }; }
2750 ac_exeext=$ac_cv_exeext
2752 # Check that the compiler produces executables we can run. If not, either
2753 # the compiler is broken, or we cross compile.
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2755 $as_echo_n "checking whether the C compiler works... " >&6; }
2756 # If not cross compiling, check that we can run a simple program.
2757 if test "$cross_compiling" != yes; then
2758 if { ac_try='./$ac_file'
2759 { { case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 $as_echo "$ac_try_echo"; } >&5
2765 (eval "$ac_try") 2>&5
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; }; }; then
2771 if test "$cross_compiling" = maybe; then
2774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 as_fn_error "cannot run C compiled programs.
2777 If you meant to cross compile, use \`--host'.
2778 See \`config.log' for more details." "$LINENO" 5; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2783 $as_echo "yes" >&6; }
2785 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2786 ac_clean_files=$ac_clean_files_save
2787 # Check that the compiler produces executables we can run. If not, either
2788 # the compiler is broken, or we cross compile.
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2790 $as_echo_n "checking whether we are cross compiling... " >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2792 $as_echo "$cross_compiling" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2795 $as_echo_n "checking for suffix of executables... " >&6; }
2796 if { { ac_try="$ac_link"
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2802 $as_echo "$ac_try_echo"; } >&5
2803 (eval "$ac_link") 2>&5
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; }; then :
2807 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2808 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2809 # work properly (i.e., refer to `conftest.exe'), while it won't with
2811 for ac_file in conftest.exe conftest conftest.*; do
2812 test -f "$ac_file" || continue
2814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2815 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2823 as_fn_error "cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." "$LINENO" 5; }
2826 rm -f conftest$ac_cv_exeext
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2828 $as_echo "$ac_cv_exeext" >&6; }
2830 rm -f conftest.$ac_ext
2831 EXEEXT=$ac_cv_exeext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2834 $as_echo_n "checking for suffix of object files... " >&6; }
2835 if test "${ac_cv_objext+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h. */
2849 rm -f conftest.o conftest.obj
2850 if { { ac_try="$ac_compile"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856 $as_echo "$ac_try_echo"; } >&5
2857 (eval "$ac_compile") 2>&5
2859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; }; then :
2861 for ac_file in conftest.o conftest.obj conftest.*; do
2862 test -f "$ac_file" || continue;
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875 as_fn_error "cannot compute suffix of object files: cannot compile
2876 See \`config.log' for more details." "$LINENO" 5; }
2878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2881 $as_echo "$ac_cv_objext" >&6; }
2882 OBJEXT=$ac_cv_objext
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2886 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2887 $as_echo_n "(cached) " >&6
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2903 if ac_fn_c_try_compile "$LINENO"; then :
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2914 if test $ac_compiler_gnu = yes; then
2919 ac_test_CFLAGS=${CFLAGS+set}
2920 ac_save_CFLAGS=$CFLAGS
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2923 if test "${ac_cv_prog_cc_g+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 ac_save_c_werror_flag=$ac_c_werror_flag
2927 ac_c_werror_flag=yes
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931 /* end confdefs.h. */
2941 if ac_fn_c_try_compile "$LINENO"; then :
2945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946 /* end confdefs.h. */
2956 if ac_fn_c_try_compile "$LINENO"; then :
2959 ac_c_werror_flag=$ac_save_c_werror_flag
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2972 if ac_fn_c_try_compile "$LINENO"; then :
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 ac_c_werror_flag=$ac_save_c_werror_flag
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2983 $as_echo "$ac_cv_prog_cc_g" >&6; }
2984 if test "$ac_test_CFLAGS" = set; then
2985 CFLAGS=$ac_save_CFLAGS
2986 elif test $ac_cv_prog_cc_g = yes; then
2987 if test "$GCC" = yes; then
2993 if test "$GCC" = yes; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3001 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3004 ac_cv_prog_cc_c89=no
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3010 #include <sys/types.h>
3011 #include <sys/stat.h>
3012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3013 struct buf { int x; };
3014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3015 static char *e (p, i)
3021 static char *f (char * (*g) (char **, int), char **p, ...)
3026 s = g (p, va_arg (v,int));
3031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3032 function prototypes and stuff, but not '\xHH' hex character constants.
3033 These don't provoke an error unfortunately, instead are silently treated
3034 as 'x'. The following induces an error, until -std is added to get
3035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3036 array size at least. It's necessary to write '\x00'==0 to get something
3037 that's true only with -std. */
3038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3041 inside strings and character constants. */
3043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3045 int test (int i, double x);
3046 struct s1 {int (*f) (int a);};
3047 struct s2 {int (*f) (double a);};
3048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3062 CC="$ac_save_CC $ac_arg"
3063 if ac_fn_c_try_compile "$LINENO"; then :
3064 ac_cv_prog_cc_c89=$ac_arg
3066 rm -f core conftest.err conftest.$ac_objext
3067 test "x$ac_cv_prog_cc_c89" != "xno" && break
3069 rm -f conftest.$ac_ext
3074 case "x$ac_cv_prog_cc_c89" in
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3077 $as_echo "none needed" >&6; } ;;
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3080 $as_echo "unsupported" >&6; } ;;
3082 CC="$CC $ac_cv_prog_cc_c89"
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3086 if test "x$ac_cv_prog_cc_c89" != xno; then :
3091 ac_cpp='$CPP $CPPFLAGS'
3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3098 $as_echo_n "checking for library containing strerror... " >&6; }
3099 if test "${ac_cv_search_strerror+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 ac_func_search_save_LIBS=$LIBS
3103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104 /* end confdefs.h. */
3106 /* Override any GCC internal prototype to avoid an error.
3107 Use char because int might match the return type of a GCC
3108 builtin and then its argument prototype would still apply. */
3121 for ac_lib in '' cposix; do
3122 if test -z "$ac_lib"; then
3123 ac_res="none required"
3126 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3128 if ac_fn_c_try_link "$LINENO"; then :
3129 ac_cv_search_strerror=$ac_res
3131 rm -f core conftest.err conftest.$ac_objext \
3133 if test "${ac_cv_search_strerror+set}" = set; then :
3137 if test "${ac_cv_search_strerror+set}" = set; then :
3140 ac_cv_search_strerror=no
3143 LIBS=$ac_func_search_save_LIBS
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3146 $as_echo "$ac_cv_search_strerror" >&6; }
3147 ac_res=$ac_cv_search_strerror
3148 if test "$ac_res" != no; then :
3149 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3154 am__api_version='1.11'
3156 # Find a good install program. We prefer a C program (faster),
3157 # so one script is as good as another. But avoid the broken or
3158 # incompatible versions:
3159 # SysV /etc/install, /usr/sbin/install
3160 # SunOS /usr/etc/install
3161 # IRIX /sbin/install
3163 # AmigaOS /C/install, which installs bootblocks on floppy discs
3164 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3165 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3166 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3167 # OS/2's system install, which has a completely different semantic
3168 # ./install, which can be erroneously created by make from ./install.sh.
3169 # Reject install programs that cannot install multiple files.
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3171 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3172 if test -z "$INSTALL"; then
3173 if test "${ac_cv_path_install+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir=.
3181 # Account for people who put trailing slashes in PATH elements.
3182 case $as_dir/ in #((
3183 ./ | .// | /[cC]/* | \
3184 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3185 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3188 # OSF1 and SCO ODT 3.0 have their own names for install.
3189 # Don't use installbsd from OSF since it installs stuff as root
3191 for ac_prog in ginstall scoinst install; do
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3194 if test $ac_prog = install &&
3195 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3196 # AIX install. It has an incompatible calling convention.
3198 elif test $ac_prog = install &&
3199 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3200 # program-specific install script used by HP pwplus--don't use.
3203 rm -rf conftest.one conftest.two conftest.dir
3204 echo one > conftest.one
3205 echo two > conftest.two
3207 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3208 test -s conftest.one && test -s conftest.two &&
3209 test -s conftest.dir/conftest.one &&
3210 test -s conftest.dir/conftest.two
3212 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3225 rm -rf conftest.one conftest.two conftest.dir
3228 if test "${ac_cv_path_install+set}" = set; then
3229 INSTALL=$ac_cv_path_install
3231 # As a last resort, use the slow shell script. Don't cache a
3232 # value for INSTALL within a source directory, because that will
3233 # break other packages using the cache if that directory is
3234 # removed, or if the value is a relative name.
3235 INSTALL=$ac_install_sh
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3239 $as_echo "$INSTALL" >&6; }
3241 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3242 # It thinks the first close brace ends the variable substitution.
3243 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3245 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3247 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3250 $as_echo_n "checking whether build environment is sane... " >&6; }
3253 echo timestamp > conftest.file
3254 # Reject unsafe characters in $srcdir or the absolute working directory
3255 # name. Accept space and tab only in the latter.
3259 *[\\\"\#\$\&\'\`$am_lf]*)
3260 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3263 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3264 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3267 # Do `set' in a subshell so we don't clobber the current shell's
3268 # arguments. Must try -L first in case configure is actually a
3269 # symlink; some systems play weird games with the mod time of symlinks
3270 # (eg FreeBSD returns the mod time of the symlink's containing
3273 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3274 if test "$*" = "X"; then
3276 set X `ls -t "$srcdir/configure" conftest.file`
3279 if test "$*" != "X $srcdir/configure conftest.file" \
3280 && test "$*" != "X conftest.file $srcdir/configure"; then
3282 # If neither matched, then we have a broken ls. This can happen
3283 # if, for instance, CONFIG_SHELL is bash and it inherits a
3284 # broken ls alias from the environment. This has actually
3285 # happened. Such a system could not be considered "sane".
3286 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3287 alias in your environment" "$LINENO" 5
3290 test "$2" = conftest.file
3296 as_fn_error "newly created file is older than distributed files!
3297 Check your system clock" "$LINENO" 5
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3300 $as_echo "yes" >&6; }
3301 test "$program_prefix" != NONE &&
3302 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3303 # Use a double $ so make ignores it.
3304 test "$program_suffix" != NONE &&
3305 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3306 # Double any \ or $.
3307 # By default was `s,x,x', remove it if useless.
3308 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3309 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3311 # expand $ac_aux_dir to an absolute path
3312 am_aux_dir=`cd $ac_aux_dir && pwd`
3314 if test x"${MISSING+set}" != xset; then
3317 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3319 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3322 # Use eval to expand $SHELL
3323 if eval "$MISSING --run true"; then
3324 am_missing_run="$MISSING --run "
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3328 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3331 if test x"${install_sh}" != xset; then
3334 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3336 install_sh="\${SHELL} $am_aux_dir/install-sh"
3340 # Installed binaries are usually stripped using `strip' when the user
3341 # run `make install-strip'. However `strip' might not be the right
3342 # tool to use in cross-compilation environments, therefore Automake
3343 # will honor the `STRIP' environment variable to overrule this program.
3344 if test "$cross_compiling" != no; then
3345 if test -n "$ac_tool_prefix"; then
3346 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3347 set dummy ${ac_tool_prefix}strip; ac_word=$2
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3349 $as_echo_n "checking for $ac_word... " >&6; }
3350 if test "${ac_cv_prog_STRIP+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3353 if test -n "$STRIP"; then
3354 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 test -z "$as_dir" && as_dir=.
3361 for ac_exec_ext in '' $ac_executable_extensions; do
3362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3363 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 STRIP=$ac_cv_prog_STRIP
3374 if test -n "$STRIP"; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3376 $as_echo "$STRIP" >&6; }
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 $as_echo "no" >&6; }
3384 if test -z "$ac_cv_prog_STRIP"; then
3386 # Extract the first word of "strip", so it can be a program name with args.
3387 set dummy strip; ac_word=$2
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3389 $as_echo_n "checking for $ac_word... " >&6; }
3390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3393 if test -n "$ac_ct_STRIP"; then
3394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 test -z "$as_dir" && as_dir=.
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3403 ac_cv_prog_ac_ct_STRIP="strip"
3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3414 if test -n "$ac_ct_STRIP"; then
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3416 $as_echo "$ac_ct_STRIP" >&6; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3422 if test "x$ac_ct_STRIP" = x; then
3425 case $cross_compiling:$ac_tool_warned in
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3429 ac_tool_warned=yes ;;
3434 STRIP="$ac_cv_prog_STRIP"
3438 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3441 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3442 if test -z "$MKDIR_P"; then
3443 if test "${ac_cv_path_mkdir+set}" = set; then :
3444 $as_echo_n "(cached) " >&6
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3450 test -z "$as_dir" && as_dir=.
3451 for ac_prog in mkdir gmkdir; do
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3454 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3455 'mkdir (GNU coreutils) '* | \
3456 'mkdir (coreutils) '* | \
3457 'mkdir (fileutils) '4.1*)
3458 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3468 if test "${ac_cv_path_mkdir+set}" = set; then
3469 MKDIR_P="$ac_cv_path_mkdir -p"
3471 # As a last resort, use the slow shell script. Don't cache a
3472 # value for MKDIR_P within a source directory, because that will
3473 # break other packages using the cache if that directory is
3474 # removed, or if the value is a relative name.
3475 test -d ./--version && rmdir ./--version
3476 MKDIR_P="$ac_install_sh -d"
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3480 $as_echo "$MKDIR_P" >&6; }
3484 [\\/$]* | ?:[\\/]*) ;;
3485 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3488 for ac_prog in gawk mawk nawk awk
3490 # Extract the first word of "$ac_prog", so it can be a program name with args.
3491 set dummy $ac_prog; ac_word=$2
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3493 $as_echo_n "checking for $ac_word... " >&6; }
3494 if test "${ac_cv_prog_AWK+set}" = set; then :
3495 $as_echo_n "(cached) " >&6
3497 if test -n "$AWK"; then
3498 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 test -z "$as_dir" && as_dir=.
3505 for ac_exec_ext in '' $ac_executable_extensions; do
3506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3507 ac_cv_prog_AWK="$ac_prog"
3508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 if test -n "$AWK"; then
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3520 $as_echo "$AWK" >&6; }
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523 $as_echo "no" >&6; }
3527 test -n "$AWK" && break
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3531 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3533 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3534 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3535 $as_echo_n "(cached) " >&6
3537 cat >conftest.make <<\_ACEOF
3540 @echo '@@@%%%=$(MAKE)=@@@%%%'
3542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3543 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3545 eval ac_cv_prog_make_${ac_make}_set=yes;;
3547 eval ac_cv_prog_make_${ac_make}_set=no;;
3551 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3553 $as_echo "yes" >&6; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3558 SET_MAKE="MAKE=${MAKE-make}"
3561 rm -rf .tst 2>/dev/null
3562 mkdir .tst 2>/dev/null
3563 if test -d .tst; then
3568 rmdir .tst 2>/dev/null
3570 DEPDIR="${am__leading_dot}deps"
3572 ac_config_commands="$ac_config_commands depfiles"
3575 am_make=${MAKE-make}
3576 cat > confinc << 'END'
3578 @echo this is the am__doit target
3581 # If we don't find an include directive, just comment out the code.
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3583 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3587 # First try GNU make style include.
3588 echo "include confinc" > confmf
3589 # Ignore all kinds of additional output from `make'.
3590 case `$am_make -s -f confmf 2> /dev/null` in #(
3591 *the\ am__doit\ target*)
3597 # Now try BSD make style include.
3598 if test "$am__include" = "#"; then
3599 echo '.include "confinc"' > confmf
3600 case `$am_make -s -f confmf 2> /dev/null` in #(
3601 *the\ am__doit\ target*)
3602 am__include=.include
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3611 $as_echo "$_am_result" >&6; }
3612 rm -f confinc confmf
3614 # Check whether --enable-dependency-tracking was given.
3615 if test "${enable_dependency_tracking+set}" = set; then :
3616 enableval=$enable_dependency_tracking;
3619 if test "x$enable_dependency_tracking" != xno; then
3620 am_depcomp="$ac_aux_dir/depcomp"
3624 if test "x$enable_dependency_tracking" != xno; then
3633 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3634 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3635 # is not polluted with repeated "-I."
3636 am__isrc=' -I$(srcdir)'
3637 # test to see if srcdir already configured
3638 if test -f $srcdir/config.status; then
3639 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3643 # test whether we have cygpath
3644 if test -z "$CYGPATH_W"; then
3645 if (cygpath --version) >/dev/null 2>/dev/null; then
3646 CYGPATH_W='cygpath -w'
3653 # Define the identity of the package.
3658 cat >>confdefs.h <<_ACEOF
3659 #define PACKAGE "$PACKAGE"
3663 cat >>confdefs.h <<_ACEOF
3664 #define VERSION "$VERSION"
3667 # Some tools Automake needs.
3669 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3672 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3675 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3678 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3681 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3683 # We need awk for the "check" target. The system "awk" is bad on
3685 # Always define AMTAR for backward compatibility. Yes, it's still used
3686 # in the wild :-( We should find a proper way to deprecate it ...
3689 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3694 depcc="$CC" am_compiler_list=
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3697 $as_echo_n "checking dependency style of $depcc... " >&6; }
3698 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3702 # We make a subdir and do the tests there. Otherwise we can end up
3703 # making bogus files that we don't know about and never remove. For
3704 # instance it was reported that on HP-UX the gcc test will end up
3705 # making a dummy file named `D' -- because `-MD' means `put the output
3709 # Copy depcomp to subdir because otherwise we won't find it if we're
3710 # using a relative directory.
3711 cp "$am_depcomp" conftest.dir
3713 # We will build objects and dependencies in a subdirectory because
3714 # it helps to detect inapplicable dependency modes. For instance
3715 # both Tru64's cc and ICC support -MD to output dependencies as a
3716 # side effect of compilation, but ICC will put the dependencies in
3717 # the current directory while Tru64 will put them in the object
3721 am_cv_CC_dependencies_compiler_type=none
3722 if test "$am_compiler_list" = ""; then
3723 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3726 case " $depcc " in #(
3727 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3730 for depmode in $am_compiler_list; do
3731 # Setup a source with many dependencies, because some compilers
3732 # like to wrap large dependency lists on column 80 (with \), and
3733 # we should not choose a depcomp mode which is confused by this.
3735 # We need to recreate these files for each test, as the compiler may
3736 # overwrite some of them when testing with obscure command lines.
3737 # This happens at least with the AIX C compiler.
3739 for i in 1 2 3 4 5 6; do
3740 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3741 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3742 # Solaris 8's {/usr,}/bin/sh.
3743 touch sub/conftst$i.h
3745 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3747 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3748 # mode. It turns out that the SunPro C++ compiler does not properly
3749 # handle `-M -o', and we need to detect this. Also, some Intel
3750 # versions had trouble with output in subdirs
3751 am__obj=sub/conftest.${OBJEXT-o}
3752 am__minus_obj="-o $am__obj"
3755 # This depmode causes a compiler race in universal mode.
3756 test "$am__universal" = false || continue
3759 # after this tag, mechanisms are not by side-effect, so they'll
3760 # only be used when explicitly requested
3761 if test "x$enable_dependency_tracking" = xyes; then
3767 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3768 # This compiler won't grok `-c -o', but also, the minuso test has
3769 # not run yet. These depmodes are late enough in the game, and
3770 # so weak that their functioning should not be impacted.
3771 am__obj=conftest.${OBJEXT-o}
3776 if depmode=$depmode \
3777 source=sub/conftest.c object=$am__obj \
3778 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3779 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3780 >/dev/null 2>conftest.err &&
3781 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3782 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3783 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3784 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3785 # icc doesn't choke on unknown options, it will just issue warnings
3786 # or remarks (even with -Werror). So we grep stderr for any message
3787 # that says an option was ignored or not supported.
3788 # When given -MP, icc 7.0 and 7.1 complain thusly:
3789 # icc: Command line warning: ignoring option '-M'; no argument required
3790 # The diagnosis changed in icc 8.0:
3791 # icc: Command line remark: option '-MP' not supported
3792 if (grep 'ignoring option' conftest.err ||
3793 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3794 am_cv_CC_dependencies_compiler_type=$depmode
3803 am_cv_CC_dependencies_compiler_type=none
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3808 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3809 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3812 test "x$enable_dependency_tracking" != xno \
3813 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3815 am__fastdepCC_FALSE='#'
3817 am__fastdepCC_TRUE='#'
3818 am__fastdepCC_FALSE=
3824 ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 if test -n "$ac_tool_prefix"; then
3833 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3834 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_prog_CC+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$CC"; then
3841 ac_cv_prog_CC="$CC" # Let the user override the test.
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 if test -n "$CC"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3863 $as_echo "$CC" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3871 if test -z "$ac_cv_prog_CC"; then
3873 # Extract the first word of "gcc", so it can be a program name with args.
3874 set dummy gcc; ac_word=$2
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$ac_ct_CC"; then
3881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir=.
3888 for ac_exec_ext in '' $ac_executable_extensions; do
3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890 ac_cv_prog_ac_ct_CC="gcc"
3891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3901 if test -n "$ac_ct_CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3903 $as_echo "$ac_ct_CC" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3909 if test "x$ac_ct_CC" = x; then
3912 case $cross_compiling:$ac_tool_warned in
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916 ac_tool_warned=yes ;;
3924 if test -z "$CC"; then
3925 if test -n "$ac_tool_prefix"; then
3926 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3927 set dummy ${ac_tool_prefix}cc; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if test "${ac_cv_prog_CC+set}" = set; then :
3931 $as_echo_n "(cached) " >&6
3933 if test -n "$CC"; then
3934 ac_cv_prog_CC="$CC" # Let the user override the test.
3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 test -z "$as_dir" && as_dir=.
3941 for ac_exec_ext in '' $ac_executable_extensions; do
3942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3943 ac_cv_prog_CC="${ac_tool_prefix}cc"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 if test -n "$CC"; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3956 $as_echo "$CC" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3965 if test -z "$CC"; then
3966 # Extract the first word of "cc", so it can be a program name with args.
3967 set dummy cc; ac_word=$2
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 $as_echo_n "checking for $ac_word... " >&6; }
3970 if test "${ac_cv_prog_CC+set}" = set; then :
3971 $as_echo_n "(cached) " >&6
3973 if test -n "$CC"; then
3974 ac_cv_prog_CC="$CC" # Let the user override the test.
3977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 test -z "$as_dir" && as_dir=.
3982 for ac_exec_ext in '' $ac_executable_extensions; do
3983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3985 ac_prog_rejected=yes
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 if test $ac_prog_rejected = yes; then
3997 # We found a bogon in the path, so make sure we never use it.
3998 set dummy $ac_cv_prog_CC
4000 if test $# != 0; then
4001 # We chose a different compiler from the bogus one.
4002 # However, it has the same basename, so the bogon will be chosen
4003 # first if we set CC to just the basename; use the full file name.
4005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4011 if test -n "$CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4013 $as_echo "$CC" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4021 if test -z "$CC"; then
4022 if test -n "$ac_tool_prefix"; then
4023 for ac_prog in cl.exe
4025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if test "${ac_cv_prog_CC+set}" = set; then :
4030 $as_echo_n "(cached) " >&6
4032 if test -n "$CC"; then
4033 ac_cv_prog_CC="$CC" # Let the user override the test.
4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir=.
4040 for ac_exec_ext in '' $ac_executable_extensions; do
4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 if test -n "$CC"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4055 $as_echo "$CC" >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4062 test -n "$CC" && break
4065 if test -z "$CC"; then
4067 for ac_prog in cl.exe
4069 # Extract the first word of "$ac_prog", so it can be a program name with args.
4070 set dummy $ac_prog; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 if test -n "$ac_ct_CC"; then
4077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4086 ac_cv_prog_ac_ct_CC="$ac_prog"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4097 if test -n "$ac_ct_CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4099 $as_echo "$ac_ct_CC" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4106 test -n "$ac_ct_CC" && break
4109 if test "x$ac_ct_CC" = x; then
4112 case $cross_compiling:$ac_tool_warned in
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4116 ac_tool_warned=yes ;;
4125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error "no acceptable C compiler found in \$PATH
4128 See \`config.log' for more details." "$LINENO" 5; }
4130 # Provide some information about the compiler.
4131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4134 for ac_option in --version -v -V -qversion; do
4135 { { ac_try="$ac_compiler $ac_option >&5"
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4144 if test -s conftest.err; then
4146 ... rest of stderr output deleted ...
4147 10q' conftest.err >conftest.er1
4148 cat conftest.er1 >&5
4149 rm -f conftest.er1 conftest.err
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4156 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4157 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4185 if test $ac_compiler_gnu = yes; then
4190 ac_test_CFLAGS=${CFLAGS+set}
4191 ac_save_CFLAGS=$CFLAGS
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4194 if test "${ac_cv_prog_cc_g+set}" = set; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_save_c_werror_flag=$ac_c_werror_flag
4198 ac_c_werror_flag=yes
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4212 if ac_fn_c_try_compile "$LINENO"; then :
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4227 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4243 if ac_fn_c_try_compile "$LINENO"; then :
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4254 $as_echo "$ac_cv_prog_cc_g" >&6; }
4255 if test "$ac_test_CFLAGS" = set; then
4256 CFLAGS=$ac_save_CFLAGS
4257 elif test $ac_cv_prog_cc_g = yes; then
4258 if test "$GCC" = yes; then
4264 if test "$GCC" = yes; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4271 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4272 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4273 $as_echo_n "(cached) " >&6
4275 ac_cv_prog_cc_c89=no
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4281 #include <sys/types.h>
4282 #include <sys/stat.h>
4283 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4284 struct buf { int x; };
4285 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4286 static char *e (p, i)
4292 static char *f (char * (*g) (char **, int), char **p, ...)
4297 s = g (p, va_arg (v,int));
4302 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4303 function prototypes and stuff, but not '\xHH' hex character constants.
4304 These don't provoke an error unfortunately, instead are silently treated
4305 as 'x'. The following induces an error, until -std is added to get
4306 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4307 array size at least. It's necessary to write '\x00'==0 to get something
4308 that's true only with -std. */
4309 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4311 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4312 inside strings and character constants. */
4314 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4316 int test (int i, double x);
4317 struct s1 {int (*f) (int a);};
4318 struct s2 {int (*f) (double a);};
4319 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4325 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4330 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4331 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4333 CC="$ac_save_CC $ac_arg"
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_cv_prog_cc_c89=$ac_arg
4337 rm -f core conftest.err conftest.$ac_objext
4338 test "x$ac_cv_prog_cc_c89" != "xno" && break
4340 rm -f conftest.$ac_ext
4345 case "x$ac_cv_prog_cc_c89" in
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4348 $as_echo "none needed" >&6; } ;;
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4351 $as_echo "unsupported" >&6; } ;;
4353 CC="$CC $ac_cv_prog_cc_c89"
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4355 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4357 if test "x$ac_cv_prog_cc_c89" != xno; then :
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4368 ac_cpp='$CPP $CPPFLAGS'
4369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4373 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4374 # On Suns, sometimes $CPP names a directory.
4375 if test -n "$CPP" && test -d "$CPP"; then
4378 if test -z "$CPP"; then
4379 if test "${ac_cv_prog_CPP+set}" = set; then :
4380 $as_echo_n "(cached) " >&6
4382 # Double quotes because CPP needs to be expanded
4383 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4386 for ac_c_preproc_warn_flag in '' yes
4388 # Use a header file that comes with gcc, so configuring glibc
4389 # with a fresh cross-compiler works.
4390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4391 # <limits.h> exists even on freestanding compilers.
4392 # On the NeXT, cc -E runs the code through the compiler's parser,
4393 # not just through cpp. "Syntax error" is here to catch this case.
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4397 # include <limits.h>
4399 # include <assert.h>
4403 if ac_fn_c_try_cpp "$LINENO"; then :
4406 # Broken: fails on valid input.
4409 rm -f conftest.err conftest.$ac_ext
4411 # OK, works on sane cases. Now check whether nonexistent headers
4412 # can be detected and how.
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4415 #include <ac_nonexistent.h>
4417 if ac_fn_c_try_cpp "$LINENO"; then :
4418 # Broken: success on invalid input.
4421 # Passes both tests.
4425 rm -f conftest.err conftest.$ac_ext
4428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4429 rm -f conftest.err conftest.$ac_ext
4430 if $ac_preproc_ok; then :
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4443 $as_echo "$CPP" >&6; }
4445 for ac_c_preproc_warn_flag in '' yes
4447 # Use a header file that comes with gcc, so configuring glibc
4448 # with a fresh cross-compiler works.
4449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4450 # <limits.h> exists even on freestanding compilers.
4451 # On the NeXT, cc -E runs the code through the compiler's parser,
4452 # not just through cpp. "Syntax error" is here to catch this case.
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4456 # include <limits.h>
4458 # include <assert.h>
4462 if ac_fn_c_try_cpp "$LINENO"; then :
4465 # Broken: fails on valid input.
4468 rm -f conftest.err conftest.$ac_ext
4470 # OK, works on sane cases. Now check whether nonexistent headers
4471 # can be detected and how.
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4474 #include <ac_nonexistent.h>
4476 if ac_fn_c_try_cpp "$LINENO"; then :
4477 # Broken: success on invalid input.
4480 # Passes both tests.
4484 rm -f conftest.err conftest.$ac_ext
4487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4488 rm -f conftest.err conftest.$ac_ext
4489 if $ac_preproc_ok; then :
4492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4494 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4495 See \`config.log' for more details." "$LINENO" 5; }
4499 ac_cpp='$CPP $CPPFLAGS'
4500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4506 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4507 if test "${ac_cv_path_GREP+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4510 if test -z "$GREP"; then
4511 ac_path_GREP_found=false
4512 # Loop through the user's path and test for each of PROGNAME-LIST
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4517 test -z "$as_dir" && as_dir=.
4518 for ac_prog in grep ggrep; do
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4521 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4522 # Check for GNU ac_path_GREP and select it if it is found.
4523 # Check for GNU $ac_path_GREP
4524 case `"$ac_path_GREP" --version 2>&1` in
4526 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4529 $as_echo_n 0123456789 >"conftest.in"
4532 cat "conftest.in" "conftest.in" >"conftest.tmp"
4533 mv "conftest.tmp" "conftest.in"
4534 cp "conftest.in" "conftest.nl"
4535 $as_echo 'GREP' >> "conftest.nl"
4536 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4537 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4538 as_fn_arith $ac_count + 1 && ac_count=$as_val
4539 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4540 # Best one so far, save it but keep looking for a better one
4541 ac_cv_path_GREP="$ac_path_GREP"
4542 ac_path_GREP_max=$ac_count
4544 # 10*(2^10) chars as input seems more than enough
4545 test $ac_count -gt 10 && break
4547 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4550 $ac_path_GREP_found && break 3
4555 if test -z "$ac_cv_path_GREP"; then
4556 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559 ac_cv_path_GREP=$GREP
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4564 $as_echo "$ac_cv_path_GREP" >&6; }
4565 GREP="$ac_cv_path_GREP"
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4569 $as_echo_n "checking for egrep... " >&6; }
4570 if test "${ac_cv_path_EGREP+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4574 then ac_cv_path_EGREP="$GREP -E"
4576 if test -z "$EGREP"; then
4577 ac_path_EGREP_found=false
4578 # Loop through the user's path and test for each of PROGNAME-LIST
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4583 test -z "$as_dir" && as_dir=.
4584 for ac_prog in egrep; do
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4587 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4588 # Check for GNU ac_path_EGREP and select it if it is found.
4589 # Check for GNU $ac_path_EGREP
4590 case `"$ac_path_EGREP" --version 2>&1` in
4592 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4595 $as_echo_n 0123456789 >"conftest.in"
4598 cat "conftest.in" "conftest.in" >"conftest.tmp"
4599 mv "conftest.tmp" "conftest.in"
4600 cp "conftest.in" "conftest.nl"
4601 $as_echo 'EGREP' >> "conftest.nl"
4602 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4604 as_fn_arith $ac_count + 1 && ac_count=$as_val
4605 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4606 # Best one so far, save it but keep looking for a better one
4607 ac_cv_path_EGREP="$ac_path_EGREP"
4608 ac_path_EGREP_max=$ac_count
4610 # 10*(2^10) chars as input seems more than enough
4611 test $ac_count -gt 10 && break
4613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4616 $ac_path_EGREP_found && break 3
4621 if test -z "$ac_cv_path_EGREP"; then
4622 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4625 ac_cv_path_EGREP=$EGREP
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4631 $as_echo "$ac_cv_path_EGREP" >&6; }
4632 EGREP="$ac_cv_path_EGREP"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4636 $as_echo_n "checking for ANSI C header files... " >&6; }
4637 if test "${ac_cv_header_stdc+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4655 if ac_fn_c_try_compile "$LINENO"; then :
4656 ac_cv_header_stdc=yes
4658 ac_cv_header_stdc=no
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 if test $ac_cv_header_stdc = yes; then
4663 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4670 $EGREP "memchr" >/dev/null 2>&1; then :
4673 ac_cv_header_stdc=no
4679 if test $ac_cv_header_stdc = yes; then
4680 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4687 $EGREP "free" >/dev/null 2>&1; then :
4690 ac_cv_header_stdc=no
4696 if test $ac_cv_header_stdc = yes; then
4697 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4698 if test "$cross_compiling" = yes; then :
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4705 #if ((' ' & 0x0FF) == 0x020)
4706 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4707 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4709 # define ISLOWER(c) \
4710 (('a' <= (c) && (c) <= 'i') \
4711 || ('j' <= (c) && (c) <= 'r') \
4712 || ('s' <= (c) && (c) <= 'z'))
4713 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4716 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4721 for (i = 0; i < 256; i++)
4722 if (XOR (islower (i), ISLOWER (i))
4723 || toupper (i) != TOUPPER (i))
4728 if ac_fn_c_try_run "$LINENO"; then :
4731 ac_cv_header_stdc=no
4733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4734 conftest.$ac_objext conftest.beam conftest.$ac_ext
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4740 $as_echo "$ac_cv_header_stdc" >&6; }
4741 if test $ac_cv_header_stdc = yes; then
4743 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4747 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4748 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4749 inttypes.h stdint.h unistd.h
4751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4752 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4754 eval as_val=\$$as_ac_Header
4755 if test "x$as_val" = x""yes; then :
4756 cat >>confdefs.h <<_ACEOF
4757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4766 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4767 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4774 if test "$MINIX" = yes; then
4776 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4779 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4782 $as_echo "#define _MINIX 1" >>confdefs.h
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4788 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4789 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4790 $as_echo_n "(cached) " >&6
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4795 # define __EXTENSIONS__ 1
4796 $ac_includes_default
4805 if ac_fn_c_try_compile "$LINENO"; then :
4806 ac_cv_safe_to_define___extensions__=yes
4808 ac_cv_safe_to_define___extensions__=no
4810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4813 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4814 test $ac_cv_safe_to_define___extensions__ = yes &&
4815 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4817 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4819 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4821 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4823 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4833 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4838 macro_version='2.2.7a'
4839 macro_revision='1.3134'
4853 ltmain="$ac_aux_dir/ltmain.sh"
4855 # Backslashify metacharacters that are still active within
4856 # double-quoted strings.
4857 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4859 # Same as above, but do not quote variable references.
4860 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4862 # Sed substitution to delay expansion of an escaped shell variable in a
4863 # double_quote_subst'ed string.
4864 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4866 # Sed substitution to delay expansion of an escaped single quote.
4867 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4869 # Sed substitution to avoid accidental globbing in evaled expressions
4870 no_glob_subst='s/\*/\\\*/g'
4872 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4873 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4874 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4877 $as_echo_n "checking how to print strings... " >&6; }
4878 # Test print first, because it will be a builtin if present.
4879 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4880 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4882 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4885 # Use this function as a fallback that always works.
4886 func_fallback_echo ()
4888 eval 'cat <<_LTECHO_EOF
4892 ECHO='func_fallback_echo'
4895 # func_echo_all arg...
4896 # Invoke $ECHO with all args, space-separated.
4903 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4904 $as_echo "printf" >&6; } ;;
4905 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4906 $as_echo "print -r" >&6; } ;;
4907 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4908 $as_echo "cat" >&6; } ;;
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4925 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4926 if test "${ac_cv_path_SED+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4930 for ac_i in 1 2 3 4 5 6 7; do
4931 ac_script="$ac_script$as_nl$ac_script"
4933 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4934 { ac_script=; unset ac_script;}
4935 if test -z "$SED"; then
4936 ac_path_SED_found=false
4937 # Loop through the user's path and test for each of PROGNAME-LIST
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_prog in sed gsed; do
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4946 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4947 # Check for GNU ac_path_SED and select it if it is found.
4948 # Check for GNU $ac_path_SED
4949 case `"$ac_path_SED" --version 2>&1` in
4951 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4954 $as_echo_n 0123456789 >"conftest.in"
4957 cat "conftest.in" "conftest.in" >"conftest.tmp"
4958 mv "conftest.tmp" "conftest.in"
4959 cp "conftest.in" "conftest.nl"
4960 $as_echo '' >> "conftest.nl"
4961 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4963 as_fn_arith $ac_count + 1 && ac_count=$as_val
4964 if test $ac_count -gt ${ac_path_SED_max-0}; then
4965 # Best one so far, save it but keep looking for a better one
4966 ac_cv_path_SED="$ac_path_SED"
4967 ac_path_SED_max=$ac_count
4969 # 10*(2^10) chars as input seems more than enough
4970 test $ac_count -gt 10 && break
4972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975 $ac_path_SED_found && break 3
4980 if test -z "$ac_cv_path_SED"; then
4981 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4989 $as_echo "$ac_cv_path_SED" >&6; }
4990 SED="$ac_cv_path_SED"
4993 test -z "$SED" && SED=sed
4994 Xsed="$SED -e 1s/^X//"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5007 $as_echo_n "checking for fgrep... " >&6; }
5008 if test "${ac_cv_path_FGREP+set}" = set; then :
5009 $as_echo_n "(cached) " >&6
5011 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5012 then ac_cv_path_FGREP="$GREP -F"
5014 if test -z "$FGREP"; then
5015 ac_path_FGREP_found=false
5016 # Loop through the user's path and test for each of PROGNAME-LIST
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5018 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5021 test -z "$as_dir" && as_dir=.
5022 for ac_prog in fgrep; do
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5025 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5026 # Check for GNU ac_path_FGREP and select it if it is found.
5027 # Check for GNU $ac_path_FGREP
5028 case `"$ac_path_FGREP" --version 2>&1` in
5030 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5033 $as_echo_n 0123456789 >"conftest.in"
5036 cat "conftest.in" "conftest.in" >"conftest.tmp"
5037 mv "conftest.tmp" "conftest.in"
5038 cp "conftest.in" "conftest.nl"
5039 $as_echo 'FGREP' >> "conftest.nl"
5040 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5041 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5042 as_fn_arith $ac_count + 1 && ac_count=$as_val
5043 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5044 # Best one so far, save it but keep looking for a better one
5045 ac_cv_path_FGREP="$ac_path_FGREP"
5046 ac_path_FGREP_max=$ac_count
5048 # 10*(2^10) chars as input seems more than enough
5049 test $ac_count -gt 10 && break
5051 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5054 $ac_path_FGREP_found && break 3
5059 if test -z "$ac_cv_path_FGREP"; then
5060 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5063 ac_cv_path_FGREP=$FGREP
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5069 $as_echo "$ac_cv_path_FGREP" >&6; }
5070 FGREP="$ac_cv_path_FGREP"
5073 test -z "$GREP" && GREP=grep
5093 # Check whether --with-gnu-ld was given.
5094 if test "${with_gnu_ld+set}" = set; then :
5095 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5101 if test "$GCC" = yes; then
5102 # Check if gcc -print-prog-name=ld gives a path.
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5104 $as_echo_n "checking for ld used by $CC... " >&6; }
5107 # gcc leaves a trailing carriage return which upsets mingw
5108 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5110 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5113 # Accept absolute paths.
5115 re_direlt='/[^/][^/]*/\.\./'
5116 # Canonicalize the pathname of ld
5117 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5118 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5119 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5121 test -z "$LD" && LD="$ac_prog"
5124 # If it fails, then pretend we aren't using GCC.
5128 # If it is relative, then search for the first ld in PATH.
5132 elif test "$with_gnu_ld" = yes; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5134 $as_echo_n "checking for GNU ld... " >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5137 $as_echo_n "checking for non-GNU ld... " >&6; }
5139 if test "${lt_cv_path_LD+set}" = set; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -z "$LD"; then
5143 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5144 for ac_dir in $PATH; do
5146 test -z "$ac_dir" && ac_dir=.
5147 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5148 lt_cv_path_LD="$ac_dir/$ac_prog"
5149 # Check to see if the program is GNU ld. I'd rather use --version,
5150 # but apparently some variants of GNU ld only accept -v.
5151 # Break only if it was the GNU/non-GNU ld that we prefer.
5152 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5153 *GNU* | *'with BFD'*)
5154 test "$with_gnu_ld" != no && break
5157 test "$with_gnu_ld" != yes && break
5164 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5169 if test -n "$LD"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5171 $as_echo "$LD" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5176 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5178 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5179 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5183 case `$LD -v 2>&1 </dev/null` in
5184 *GNU* | *'with BFD'*)
5185 lt_cv_prog_gnu_ld=yes
5188 lt_cv_prog_gnu_ld=no
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5193 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5194 with_gnu_ld=$lt_cv_prog_gnu_ld
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5205 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5206 if test "${lt_cv_path_NM+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$NM"; then
5210 # Let the user override the test.
5213 lt_nm_to_check="${ac_tool_prefix}nm"
5214 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5215 lt_nm_to_check="$lt_nm_to_check nm"
5217 for lt_tmp_nm in $lt_nm_to_check; do
5218 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5219 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5221 test -z "$ac_dir" && ac_dir=.
5222 tmp_nm="$ac_dir/$lt_tmp_nm"
5223 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5224 # Check to see if the nm accepts a BSD-compat flag.
5225 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5226 # nm: unknown option "B" ignored
5227 # Tru64's nm complains that /dev/null is an invalid object file
5228 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5229 */dev/null* | *'Invalid file or object type'*)
5230 lt_cv_path_NM="$tmp_nm -B"
5234 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5236 lt_cv_path_NM="$tmp_nm -p"
5240 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5241 continue # so that we can try to find one that supports BSD flags
5250 : ${lt_cv_path_NM=no}
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5254 $as_echo "$lt_cv_path_NM" >&6; }
5255 if test "$lt_cv_path_NM" != "no"; then
5258 # Didn't find any BSD compatible name lister, look for dumpbin.
5259 if test -n "$DUMPBIN"; then :
5260 # Let the user override the test.
5262 if test -n "$ac_tool_prefix"; then
5263 for ac_prog in dumpbin "link -dump"
5265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$DUMPBIN"; then
5273 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 DUMPBIN=$ac_cv_prog_DUMPBIN
5293 if test -n "$DUMPBIN"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5295 $as_echo "$DUMPBIN" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 test -n "$DUMPBIN" && break
5305 if test -z "$DUMPBIN"; then
5306 ac_ct_DUMPBIN=$DUMPBIN
5307 for ac_prog in dumpbin "link -dump"
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy $ac_prog; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5314 $as_echo_n "(cached) " >&6
5316 if test -n "$ac_ct_DUMPBIN"; then
5317 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5337 if test -n "$ac_ct_DUMPBIN"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5339 $as_echo "$ac_ct_DUMPBIN" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5346 test -n "$ac_ct_DUMPBIN" && break
5349 if test "x$ac_ct_DUMPBIN" = x; then
5352 case $cross_compiling:$ac_tool_warned in
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5356 ac_tool_warned=yes ;;
5358 DUMPBIN=$ac_ct_DUMPBIN
5362 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5364 DUMPBIN="$DUMPBIN -symbols"
5372 if test "$DUMPBIN" != ":"; then
5376 test -z "$NM" && NM=nm
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5384 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5385 if test "${lt_cv_nm_interface+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5388 lt_cv_nm_interface="BSD nm"
5389 echo "int some_variable = 0;" > conftest.$ac_ext
5390 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5391 (eval "$ac_compile" 2>conftest.err)
5392 cat conftest.err >&5
5393 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5394 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5395 cat conftest.err >&5
5396 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5397 cat conftest.out >&5
5398 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5399 lt_cv_nm_interface="MS dumpbin"
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5404 $as_echo "$lt_cv_nm_interface" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5407 $as_echo_n "checking whether ln -s works... " >&6; }
5409 if test "$LN_S" = "ln -s"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5411 $as_echo "yes" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5414 $as_echo "no, using $LN_S" >&6; }
5417 # find the maximum length of command line arguments
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5419 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5420 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5428 # On DJGPP, this test can blow up pretty badly due to problems in libc
5429 # (any single argument exceeding 2000 bytes causes a buffer overrun
5430 # during glob expansion). Even if it were fixed, the result of this
5431 # check would be larger than it should be.
5432 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5436 # Under GNU Hurd, this test is not required because there is
5437 # no limit to the length of command line arguments.
5438 # Libtool will interpret -1 as no limit whatsoever
5439 lt_cv_sys_max_cmd_len=-1;
5442 cygwin* | mingw* | cegcc*)
5443 # On Win9x/ME, this test blows up -- it succeeds, but takes
5444 # about 5 minutes as the teststring grows exponentially.
5445 # Worse, since 9x/ME are not pre-emptively multitasking,
5446 # you end up with a "frozen" computer, even though with patience
5447 # the test eventually succeeds (with a max line length of 256k).
5448 # Instead, let's just punt: use the minimum linelength reported by
5449 # all of the supported platforms: 8192 (on NT/2K/XP).
5450 lt_cv_sys_max_cmd_len=8192;
5454 # On MiNT this can take a long time and run out of memory.
5455 lt_cv_sys_max_cmd_len=8192;
5459 # On AmigaOS with pdksh, this test takes hours, literally.
5460 # So we just punt and use a minimum line length of 8192.
5461 lt_cv_sys_max_cmd_len=8192;
5464 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5465 # This has been around since 386BSD, at least. Likely further.
5466 if test -x /sbin/sysctl; then
5467 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5468 elif test -x /usr/sbin/sysctl; then
5469 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5471 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5473 # And add a safety zone
5474 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5475 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5479 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5480 lt_cv_sys_max_cmd_len=196608
5484 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5485 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5486 # nice to cause kernel panics so lets avoid the loop below.
5487 # First set a reasonable default.
5488 lt_cv_sys_max_cmd_len=16384
5490 if test -x /sbin/sysconfig; then
5491 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5492 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5497 lt_cv_sys_max_cmd_len=102400
5499 sysv5* | sco5v6* | sysv4.2uw2*)
5500 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5501 if test -n "$kargmax"; then
5502 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5504 lt_cv_sys_max_cmd_len=32768
5508 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5509 if test -n "$lt_cv_sys_max_cmd_len"; then
5510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5511 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5513 # Make teststring a little bigger before we do anything with it.
5514 # a 1K string should be a reasonable start.
5515 for i in 1 2 3 4 5 6 7 8 ; do
5516 teststring=$teststring$teststring
5518 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5519 # If test is not a shell built-in, we'll probably end up computing a
5520 # maximum length that is only half of the actual maximum length, but
5522 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5523 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5524 test $i != 17 # 1/2 MB should be enough
5527 teststring=$teststring$teststring
5529 # Only check the string length outside the loop.
5530 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5532 # Add a significant safety factor because C++ compilers can tack on
5533 # massive amounts of additional arguments before passing them to the
5534 # linker. It appears as though 1/2 is a usable value.
5535 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5542 if test -n $lt_cv_sys_max_cmd_len ; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5544 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5547 $as_echo "none" >&6; }
5549 max_cmd_len=$lt_cv_sys_max_cmd_len
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5561 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5562 # Try some XSI features
5565 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5567 && eval 'test $(( 1 + 1 )) -eq 2 \
5568 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5571 $as_echo "$xsi_shell" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5575 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5577 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5579 && lt_shell_append=yes
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5581 $as_echo "$lt_shell_append" >&6; }
5584 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5594 # test EBCDIC or ASCII
5595 case `echo X|tr X '\101'` in
5596 A) # ASCII based system
5597 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5598 lt_SP2NL='tr \040 \012'
5599 lt_NL2SP='tr \015\012 \040\040'
5601 *) # EBCDIC based system
5602 lt_SP2NL='tr \100 \n'
5603 lt_NL2SP='tr \r\n \100\100'
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5616 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5617 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5618 $as_echo_n "(cached) " >&6
5620 lt_cv_ld_reload_flag='-r'
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5623 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5624 reload_flag=$lt_cv_ld_reload_flag
5625 case $reload_flag in
5627 *) reload_flag=" $reload_flag" ;;
5629 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5632 if test "$GCC" = yes; then
5633 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5635 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5648 if test -n "$ac_tool_prefix"; then
5649 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5650 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$OBJDUMP"; then
5657 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir=.
5664 for ac_exec_ext in '' $ac_executable_extensions; do
5665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5666 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 OBJDUMP=$ac_cv_prog_OBJDUMP
5677 if test -n "$OBJDUMP"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5679 $as_echo "$OBJDUMP" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5687 if test -z "$ac_cv_prog_OBJDUMP"; then
5688 ac_ct_OBJDUMP=$OBJDUMP
5689 # Extract the first word of "objdump", so it can be a program name with args.
5690 set dummy objdump; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -n "$ac_ct_OBJDUMP"; then
5697 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5706 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5716 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5717 if test -n "$ac_ct_OBJDUMP"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5719 $as_echo "$ac_ct_OBJDUMP" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5725 if test "x$ac_ct_OBJDUMP" = x; then
5728 case $cross_compiling:$ac_tool_warned in
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5732 ac_tool_warned=yes ;;
5734 OBJDUMP=$ac_ct_OBJDUMP
5737 OBJDUMP="$ac_cv_prog_OBJDUMP"
5740 test -z "$OBJDUMP" && OBJDUMP=objdump
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5751 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5752 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5753 $as_echo_n "(cached) " >&6
5755 lt_cv_file_magic_cmd='$MAGIC_CMD'
5756 lt_cv_file_magic_test_file=
5757 lt_cv_deplibs_check_method='unknown'
5758 # Need to set the preceding variable on all platforms that support
5759 # interlibrary dependencies.
5760 # 'none' -- dependencies not supported.
5761 # `unknown' -- same as none, but documents that we really don't know.
5762 # 'pass_all' -- all dependencies passed with no checks.
5763 # 'test_compile' -- check by making test program.
5764 # 'file_magic [[regex]]' -- check by looking for files in library path
5765 # which responds to the $file_magic_cmd with a given extended regex.
5766 # If you have `file' or equivalent on your system and you're not sure
5767 # whether `pass_all' will *always* work, you probably want this one.
5771 lt_cv_deplibs_check_method=pass_all
5775 lt_cv_deplibs_check_method=pass_all
5779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5780 lt_cv_file_magic_cmd='/usr/bin/file -L'
5781 lt_cv_file_magic_test_file=/shlib/libc.so
5785 # func_win32_libid is a shell function defined in ltmain.sh
5786 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5787 lt_cv_file_magic_cmd='func_win32_libid'
5791 # Base MSYS/MinGW do not provide the 'file' command needed by
5792 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5793 # unless we find 'file', for example because we are cross-compiling.
5794 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5795 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5796 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5797 lt_cv_file_magic_cmd='func_win32_libid'
5799 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5800 lt_cv_file_magic_cmd='$OBJDUMP -f'
5805 # use the weaker test based on 'objdump'. See mingw*.
5806 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5807 lt_cv_file_magic_cmd='$OBJDUMP -f'
5810 darwin* | rhapsody*)
5811 lt_cv_deplibs_check_method=pass_all
5814 freebsd* | dragonfly*)
5815 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5818 # Not sure whether the presence of OpenBSD here was a mistake.
5819 # Let's accept both of them until this is cleared up.
5820 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5821 lt_cv_file_magic_cmd=/usr/bin/file
5822 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5826 lt_cv_deplibs_check_method=pass_all
5831 lt_cv_deplibs_check_method=pass_all
5835 lt_cv_deplibs_check_method=pass_all
5838 hpux10.20* | hpux11*)
5839 lt_cv_file_magic_cmd=/usr/bin/file
5842 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5843 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5846 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]'
5847 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5850 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5851 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5857 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5858 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5861 irix5* | irix6* | nonstopux*)
5863 *-32|*"-32 ") libmagic=32-bit;;
5864 *-n32|*"-n32 ") libmagic=N32;;
5865 *-64|*"-64 ") libmagic=64-bit;;
5866 *) libmagic=never-match;;
5868 lt_cv_deplibs_check_method=pass_all
5871 # This must be Linux ELF.
5872 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5873 lt_cv_deplibs_check_method=pass_all
5877 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5878 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5880 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5885 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5886 lt_cv_file_magic_cmd=/usr/bin/file
5887 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5891 lt_cv_deplibs_check_method=pass_all
5895 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5896 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5898 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5902 osf3* | osf4* | osf5*)
5903 lt_cv_deplibs_check_method=pass_all
5907 lt_cv_deplibs_check_method=pass_all
5911 lt_cv_deplibs_check_method=pass_all
5914 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5915 lt_cv_deplibs_check_method=pass_all
5919 case $host_vendor in
5921 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]'
5922 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5925 lt_cv_deplibs_check_method=pass_all
5928 lt_cv_file_magic_cmd='/bin/file'
5929 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5932 lt_cv_file_magic_cmd='/bin/file'
5933 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5934 lt_cv_file_magic_test_file=/lib/libc.so
5937 lt_cv_deplibs_check_method=pass_all
5940 lt_cv_deplibs_check_method=pass_all
5946 lt_cv_deplibs_check_method=pass_all
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5952 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5953 file_magic_cmd=$lt_cv_file_magic_cmd
5954 deplibs_check_method=$lt_cv_deplibs_check_method
5955 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5968 if test -n "$ac_tool_prefix"; then
5969 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5970 set dummy ${ac_tool_prefix}ar; ac_word=$2
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972 $as_echo_n "checking for $ac_word... " >&6; }
5973 if test "${ac_cv_prog_AR+set}" = set; then :
5974 $as_echo_n "(cached) " >&6
5976 if test -n "$AR"; then
5977 ac_cv_prog_AR="$AR" # Let the user override the test.
5979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 test -z "$as_dir" && as_dir=.
5984 for ac_exec_ext in '' $ac_executable_extensions; do
5985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5986 ac_cv_prog_AR="${ac_tool_prefix}ar"
5987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 if test -n "$AR"; then
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5999 $as_echo "$AR" >&6; }
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 $as_echo "no" >&6; }
6007 if test -z "$ac_cv_prog_AR"; then
6009 # Extract the first word of "ar", so it can be a program name with args.
6010 set dummy ar; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$ac_ct_AR"; then
6017 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_prog_ac_ct_AR="ar"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6037 if test -n "$ac_ct_AR"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6039 $as_echo "$ac_ct_AR" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6045 if test "x$ac_ct_AR" = x; then
6048 case $cross_compiling:$ac_tool_warned in
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6060 test -z "$AR" && AR=ar
6061 test -z "$AR_FLAGS" && AR_FLAGS=cru
6073 if test -n "$ac_tool_prefix"; then
6074 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6075 set dummy ${ac_tool_prefix}strip; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if test "${ac_cv_prog_STRIP+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6081 if test -n "$STRIP"; then
6082 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6088 test -z "$as_dir" && as_dir=.
6089 for ac_exec_ext in '' $ac_executable_extensions; do
6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 STRIP=$ac_cv_prog_STRIP
6102 if test -n "$STRIP"; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6104 $as_echo "$STRIP" >&6; }
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6112 if test -z "$ac_cv_prog_STRIP"; then
6114 # Extract the first word of "strip", so it can be a program name with args.
6115 set dummy strip; ac_word=$2
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 $as_echo_n "checking for $ac_word... " >&6; }
6118 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6119 $as_echo_n "(cached) " >&6
6121 if test -n "$ac_ct_STRIP"; then
6122 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 for ac_exec_ext in '' $ac_executable_extensions; do
6130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131 ac_cv_prog_ac_ct_STRIP="strip"
6132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6142 if test -n "$ac_ct_STRIP"; then
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6144 $as_echo "$ac_ct_STRIP" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147 $as_echo "no" >&6; }
6150 if test "x$ac_ct_STRIP" = x; then
6153 case $cross_compiling:$ac_tool_warned in
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6162 STRIP="$ac_cv_prog_STRIP"
6165 test -z "$STRIP" && STRIP=:
6172 if test -n "$ac_tool_prefix"; then
6173 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6174 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 $as_echo_n "checking for $ac_word... " >&6; }
6177 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6178 $as_echo_n "(cached) " >&6
6180 if test -n "$RANLIB"; then
6181 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6187 test -z "$as_dir" && as_dir=.
6188 for ac_exec_ext in '' $ac_executable_extensions; do
6189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6190 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 RANLIB=$ac_cv_prog_RANLIB
6201 if test -n "$RANLIB"; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6203 $as_echo "$RANLIB" >&6; }
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6206 $as_echo "no" >&6; }
6211 if test -z "$ac_cv_prog_RANLIB"; then
6212 ac_ct_RANLIB=$RANLIB
6213 # Extract the first word of "ranlib", so it can be a program name with args.
6214 set dummy ranlib; ac_word=$2
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6216 $as_echo_n "checking for $ac_word... " >&6; }
6217 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6218 $as_echo_n "(cached) " >&6
6220 if test -n "$ac_ct_RANLIB"; then
6221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6227 test -z "$as_dir" && as_dir=.
6228 for ac_exec_ext in '' $ac_executable_extensions; do
6229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6230 ac_cv_prog_ac_ct_RANLIB="ranlib"
6231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6241 if test -n "$ac_ct_RANLIB"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6243 $as_echo "$ac_ct_RANLIB" >&6; }
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 $as_echo "no" >&6; }
6249 if test "x$ac_ct_RANLIB" = x; then
6252 case $cross_compiling:$ac_tool_warned in
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6256 ac_tool_warned=yes ;;
6258 RANLIB=$ac_ct_RANLIB
6261 RANLIB="$ac_cv_prog_RANLIB"
6264 test -z "$RANLIB" && RANLIB=:
6271 # Determine commands to create old-style static archives.
6272 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6273 old_postinstall_cmds='chmod 644 $oldlib'
6274 old_postuninstall_cmds=
6276 if test -n "$RANLIB"; then
6279 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6282 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6285 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6290 lock_old_archive_extraction=yes ;;
6292 lock_old_archive_extraction=no ;;
6333 # If no C compiler was specified, use CC.
6336 # If no C compiler flags were specified, use CFLAGS.
6337 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6339 # Allow CC to be a program name with arguments.
6343 # Check for command to grab the raw symbol name followed by C symbol from nm.
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6345 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6346 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6347 $as_echo_n "(cached) " >&6
6350 # These are sane defaults that work on at least a few old systems.
6351 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6353 # Character class describing NM global symbol codes.
6354 symcode='[BCDEGRST]'
6356 # Regexp to match symbols that can be accessed directly from C.
6357 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6359 # Define system-specific variables.
6364 cygwin* | mingw* | pw32* | cegcc*)
6365 symcode='[ABCDGISTW]'
6368 if test "$host_cpu" = ia64; then
6369 symcode='[ABCDEGRST]'
6373 symcode='[BCDEGRST]'
6376 symcode='[BCDEGQRST]'
6387 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6395 # If we're using GNU nm, then use its standard symbol codes.
6396 case `$NM -V 2>&1` in
6397 *GNU* | *'with BFD'*)
6398 symcode='[ABCDGIRSTW]' ;;
6401 # Transform an extracted symbol line into a proper C declaration.
6402 # Some systems (esp. on ia64) link data and code symbols differently,
6403 # so use this general approach.
6404 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6406 # Transform an extracted symbol line into symbol name and symbol address
6407 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6408 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'"
6410 # Handle CRLF in mingw tool chain
6414 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6418 # Try without a prefix underscore, then with it.
6419 for ac_symprfx in "" "_"; do
6421 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6422 symxfrm="\\1 $ac_symprfx\\2 \\2"
6424 # Write the raw and C identifiers.
6425 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6426 # Fake it for dumpbin and say T for any non-static function
6427 # and D for any global variable.
6428 # Also find C++ and __fastcall symbols from MSVC++,
6429 # which start with @ or ?.
6430 lt_cv_sys_global_symbol_pipe="$AWK '"\
6431 " {last_section=section; section=\$ 3};"\
6432 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6433 " \$ 0!~/External *\|/{next};"\
6434 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6435 " {if(hide[section]) next};"\
6436 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6437 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6438 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6439 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6440 " ' prfx=^$ac_symprfx"
6442 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6445 # Check to see that the pipe works correctly.
6449 cat > conftest.$ac_ext <<_LT_EOF
6454 void nm_test_func(void);
6455 void nm_test_func(void){}
6459 int main(){nm_test_var='a';nm_test_func();return(0);}
6462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6463 (eval $ac_compile) 2>&5
6465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6466 test $ac_status = 0; }; then
6467 # Now try to grab the symbols.
6469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6470 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6473 test $ac_status = 0; } && test -s "$nlist"; then
6474 # Try sorting and uniquifying the output.
6475 if sort "$nlist" | uniq > "$nlist"T; then
6476 mv -f "$nlist"T "$nlist"
6481 # Make sure that we snagged all the symbols we need.
6482 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6483 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6484 cat <<_LT_EOF > conftest.$ac_ext
6490 # Now generate the symbol file.
6491 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6493 cat <<_LT_EOF >> conftest.$ac_ext
6495 /* The mapping between symbol names and symbols. */
6500 lt__PROGRAM__LTX_preloaded_symbols[] =
6502 { "@PROGRAM@", (void *) 0 },
6504 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6505 cat <<\_LT_EOF >> conftest.$ac_ext
6509 /* This works around a problem in FreeBSD linker */
6510 #ifdef FREEBSD_WORKAROUND
6511 static const void *lt_preloaded_setup() {
6512 return lt__PROGRAM__LTX_preloaded_symbols;
6520 # Now try linking the two files.
6521 mv conftest.$ac_objext conftstm.$ac_objext
6522 lt_save_LIBS="$LIBS"
6523 lt_save_CFLAGS="$CFLAGS"
6524 LIBS="conftstm.$ac_objext"
6525 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6527 (eval $ac_link) 2>&5
6529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6530 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6533 LIBS="$lt_save_LIBS"
6534 CFLAGS="$lt_save_CFLAGS"
6536 echo "cannot find nm_test_func in $nlist" >&5
6539 echo "cannot find nm_test_var in $nlist" >&5
6542 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6545 echo "$progname: failed program was:" >&5
6546 cat conftest.$ac_ext >&5
6548 rm -rf conftest* conftst*
6550 # Do not use the global_symbol_pipe unless it works.
6551 if test "$pipe_works" = yes; then
6554 lt_cv_sys_global_symbol_pipe=
6560 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6561 lt_cv_sys_global_symbol_to_cdecl=
6563 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6565 $as_echo "failed" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6568 $as_echo "ok" >&6; }
6592 # Check whether --enable-libtool-lock was given.
6593 if test "${enable_libtool_lock+set}" = set; then :
6594 enableval=$enable_libtool_lock;
6597 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6599 # Some flags need to be propagated to the compiler or linker for good
6603 # Find out which ABI we are using.
6604 echo 'int i;' > conftest.$ac_ext
6605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6606 (eval $ac_compile) 2>&5
6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609 test $ac_status = 0; }; then
6610 case `/usr/bin/file conftest.$ac_objext` in
6622 # Find out which ABI we are using.
6623 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6624 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625 (eval $ac_compile) 2>&5
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6628 test $ac_status = 0; }; then
6629 if test "$lt_cv_prog_gnu_ld" = yes; then
6630 case `/usr/bin/file conftest.$ac_objext` in
6632 LD="${LD-ld} -melf32bsmip"
6635 LD="${LD-ld} -melf32bmipn32"
6638 LD="${LD-ld} -melf64bmip"
6642 case `/usr/bin/file conftest.$ac_objext` in
6658 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6659 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6660 # Find out which ABI we are using.
6661 echo 'int i;' > conftest.$ac_ext
6662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6663 (eval $ac_compile) 2>&5
6665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6666 test $ac_status = 0; }; then
6667 case `/usr/bin/file conftest.o` in
6670 x86_64-*kfreebsd*-gnu)
6671 LD="${LD-ld} -m elf_i386_fbsd"
6674 case `/usr/bin/file conftest.o` in
6676 LD="${LD-ld} -m elf32_x86_64"
6679 LD="${LD-ld} -m elf_i386"
6683 powerpc64le-*linux*)
6684 LD="${LD-ld} -m elf32lppclinux"
6687 LD="${LD-ld} -m elf32ppclinux"
6690 LD="${LD-ld} -m elf_s390"
6693 LD="${LD-ld} -m elf32_sparc"
6699 x86_64-*kfreebsd*-gnu)
6700 LD="${LD-ld} -m elf_x86_64_fbsd"
6703 LD="${LD-ld} -m elf_x86_64"
6706 LD="${LD-ld} -m elf64lppc"
6709 LD="${LD-ld} -m elf64ppc"
6711 s390*-*linux*|s390*-*tpf*)
6712 LD="${LD-ld} -m elf64_s390"
6715 LD="${LD-ld} -m elf64_sparc"
6725 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6726 SAVE_CFLAGS="$CFLAGS"
6727 CFLAGS="$CFLAGS -belf"
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6729 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6730 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6731 $as_echo_n "(cached) " >&6
6734 ac_cpp='$CPP $CPPFLAGS'
6735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6750 if ac_fn_c_try_link "$LINENO"; then :
6751 lt_cv_cc_needs_belf=yes
6753 lt_cv_cc_needs_belf=no
6755 rm -f core conftest.err conftest.$ac_objext \
6756 conftest$ac_exeext conftest.$ac_ext
6758 ac_cpp='$CPP $CPPFLAGS'
6759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6765 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6766 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6767 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6768 CFLAGS="$SAVE_CFLAGS"
6772 # Find out which ABI we are using.
6773 echo 'int i;' > conftest.$ac_ext
6774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775 (eval $ac_compile) 2>&5
6777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778 test $ac_status = 0; }; then
6779 case `/usr/bin/file conftest.o` in
6781 case $lt_cv_prog_gnu_ld in
6782 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6784 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6796 need_locks="$enable_libtool_lock"
6800 rhapsody* | darwin*)
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$DSYMUTIL"; then
6810 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6830 if test -n "$DSYMUTIL"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6832 $as_echo "$DSYMUTIL" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6840 if test -z "$ac_cv_prog_DSYMUTIL"; then
6841 ac_ct_DSYMUTIL=$DSYMUTIL
6842 # Extract the first word of "dsymutil", so it can be a program name with args.
6843 set dummy dsymutil; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6847 $as_echo_n "(cached) " >&6
6849 if test -n "$ac_ct_DSYMUTIL"; then
6850 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 test -z "$as_dir" && as_dir=.
6857 for ac_exec_ext in '' $ac_executable_extensions; do
6858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6870 if test -n "$ac_ct_DSYMUTIL"; then
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6872 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6878 if test "x$ac_ct_DSYMUTIL" = x; then
6881 case $cross_compiling:$ac_tool_warned in
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6887 DSYMUTIL=$ac_ct_DSYMUTIL
6890 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6893 if test -n "$ac_tool_prefix"; then
6894 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6895 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6899 $as_echo_n "(cached) " >&6
6901 if test -n "$NMEDIT"; then
6902 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 test -z "$as_dir" && as_dir=.
6909 for ac_exec_ext in '' $ac_executable_extensions; do
6910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 NMEDIT=$ac_cv_prog_NMEDIT
6922 if test -n "$NMEDIT"; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6924 $as_echo "$NMEDIT" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6932 if test -z "$ac_cv_prog_NMEDIT"; then
6933 ac_ct_NMEDIT=$NMEDIT
6934 # Extract the first word of "nmedit", so it can be a program name with args.
6935 set dummy nmedit; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$ac_ct_NMEDIT"; then
6942 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir=.
6949 for ac_exec_ext in '' $ac_executable_extensions; do
6950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6962 if test -n "$ac_ct_NMEDIT"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6964 $as_echo "$ac_ct_NMEDIT" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6970 if test "x$ac_ct_NMEDIT" = x; then
6973 case $cross_compiling:$ac_tool_warned in
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6979 NMEDIT=$ac_ct_NMEDIT
6982 NMEDIT="$ac_cv_prog_NMEDIT"
6985 if test -n "$ac_tool_prefix"; then
6986 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if test "${ac_cv_prog_LIPO+set}" = set; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$LIPO"; then
6994 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir=.
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 LIPO=$ac_cv_prog_LIPO
7014 if test -n "$LIPO"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7016 $as_echo "$LIPO" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7024 if test -z "$ac_cv_prog_LIPO"; then
7026 # Extract the first word of "lipo", so it can be a program name with args.
7027 set dummy lipo; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$ac_ct_LIPO"; then
7034 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_ac_ct_LIPO="lipo"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7054 if test -n "$ac_ct_LIPO"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7056 $as_echo "$ac_ct_LIPO" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7062 if test "x$ac_ct_LIPO" = x; then
7065 case $cross_compiling:$ac_tool_warned in
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7074 LIPO="$ac_cv_prog_LIPO"
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}otool; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7083 $as_echo_n "(cached) " >&6
7085 if test -n "$OTOOL"; then
7086 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 OTOOL=$ac_cv_prog_OTOOL
7106 if test -n "$OTOOL"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7108 $as_echo "$OTOOL" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_OTOOL"; then
7118 # Extract the first word of "otool", so it can be a program name with args.
7119 set dummy otool; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7123 $as_echo_n "(cached) " >&6
7125 if test -n "$ac_ct_OTOOL"; then
7126 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135 ac_cv_prog_ac_ct_OTOOL="otool"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7146 if test -n "$ac_ct_OTOOL"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7148 $as_echo "$ac_ct_OTOOL" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_OTOOL" = x; then
7157 case $cross_compiling:$ac_tool_warned in
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7166 OTOOL="$ac_cv_prog_OTOOL"
7169 if test -n "$ac_tool_prefix"; then
7170 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7175 $as_echo_n "(cached) " >&6
7177 if test -n "$OTOOL64"; then
7178 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7184 test -z "$as_dir" && as_dir=.
7185 for ac_exec_ext in '' $ac_executable_extensions; do
7186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 OTOOL64=$ac_cv_prog_OTOOL64
7198 if test -n "$OTOOL64"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7200 $as_echo "$OTOOL64" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7208 if test -z "$ac_cv_prog_OTOOL64"; then
7209 ac_ct_OTOOL64=$OTOOL64
7210 # Extract the first word of "otool64", so it can be a program name with args.
7211 set dummy otool64; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7215 $as_echo_n "(cached) " >&6
7217 if test -n "$ac_ct_OTOOL64"; then
7218 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 test -z "$as_dir" && as_dir=.
7225 for ac_exec_ext in '' $ac_executable_extensions; do
7226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227 ac_cv_prog_ac_ct_OTOOL64="otool64"
7228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7238 if test -n "$ac_ct_OTOOL64"; then
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7240 $as_echo "$ac_ct_OTOOL64" >&6; }
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7246 if test "x$ac_ct_OTOOL64" = x; then
7249 case $cross_compiling:$ac_tool_warned in
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7255 OTOOL64=$ac_ct_OTOOL64
7258 OTOOL64="$ac_cv_prog_OTOOL64"
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7288 $as_echo_n "checking for -single_module linker flag... " >&6; }
7289 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7290 $as_echo_n "(cached) " >&6
7292 lt_cv_apple_cc_single_mod=no
7293 if test -z "${LT_MULTI_MODULE}"; then
7294 # By default we will add the -single_module flag. You can override
7295 # by either setting the environment variable LT_MULTI_MODULE
7296 # non-empty at configure time, or by adding -multi_module to the
7298 rm -rf libconftest.dylib*
7299 echo "int foo(void){return 1;}" > conftest.c
7300 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301 -dynamiclib -Wl,-single_module conftest.c" >&5
7302 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7303 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7305 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7306 lt_cv_apple_cc_single_mod=yes
7308 cat conftest.err >&5
7310 rm -rf libconftest.dylib*
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7315 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7317 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7318 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7319 $as_echo_n "(cached) " >&6
7321 lt_cv_ld_exported_symbols_list=no
7322 save_LDFLAGS=$LDFLAGS
7323 echo "_main" > conftest.sym
7324 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7336 if ac_fn_c_try_link "$LINENO"; then :
7337 lt_cv_ld_exported_symbols_list=yes
7339 lt_cv_ld_exported_symbols_list=no
7341 rm -f core conftest.err conftest.$ac_objext \
7342 conftest$ac_exeext conftest.$ac_ext
7343 LDFLAGS="$save_LDFLAGS"
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7347 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7349 $as_echo_n "checking for -force_load linker flag... " >&6; }
7350 if test "${lt_cv_ld_force_load+set}" = set; then :
7351 $as_echo_n "(cached) " >&6
7353 lt_cv_ld_force_load=no
7354 cat > conftest.c << _LT_EOF
7355 int forced_loaded() { return 2;}
7357 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7358 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7359 echo "$AR cru libconftest.a conftest.o" >&5
7360 $AR cru libconftest.a conftest.o 2>&5
7361 cat > conftest.c << _LT_EOF
7362 int main() { return 0;}
7364 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7365 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7367 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7368 lt_cv_ld_force_load=yes
7370 cat conftest.err >&5
7372 rm -f conftest.err libconftest.a conftest conftest.c
7373 rm -rf conftest.dSYM
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7377 $as_echo "$lt_cv_ld_force_load" >&6; }
7379 rhapsody* | darwin1.[012])
7380 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7382 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7383 darwin*) # darwin 5.x on
7384 # if running on 10.5 or later, the deployment target defaults
7385 # to the OS version, if on x86, and 10.4, the deployment
7386 # target defaults to 10.4. Don't you love it?
7387 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7388 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7389 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7391 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7393 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7397 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7398 _lt_dar_single_mod='$single_module'
7400 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7401 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7403 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7405 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7406 _lt_dsymutil='~$DSYMUTIL $lib || :'
7413 for ac_header in dlfcn.h
7415 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7417 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define HAVE_DLFCN_H 1
7440 # Check whether --enable-shared was given.
7441 if test "${enable_shared+set}" = set; then :
7442 enableval=$enable_shared; p=${PACKAGE-default}
7444 yes) enable_shared=yes ;;
7445 no) enable_shared=no ;;
7448 # Look at the argument we got. We use all the common list separators.
7449 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7450 for pkg in $enableval; do
7452 if test "X$pkg" = "X$p"; then
7471 # Check whether --enable-static was given.
7472 if test "${enable_static+set}" = set; then :
7473 enableval=$enable_static; p=${PACKAGE-default}
7475 yes) enable_static=yes ;;
7476 no) enable_static=no ;;
7479 # Look at the argument we got. We use all the common list separators.
7480 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7481 for pkg in $enableval; do
7483 if test "X$pkg" = "X$p"; then
7503 # Check whether --with-pic was given.
7504 if test "${with_pic+set}" = set; then :
7505 withval=$with_pic; pic_mode="$withval"
7511 test -z "$pic_mode" && pic_mode=default
7519 # Check whether --enable-fast-install was given.
7520 if test "${enable_fast_install+set}" = set; then :
7521 enableval=$enable_fast_install; p=${PACKAGE-default}
7523 yes) enable_fast_install=yes ;;
7524 no) enable_fast_install=no ;;
7526 enable_fast_install=no
7527 # Look at the argument we got. We use all the common list separators.
7528 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7529 for pkg in $enableval; do
7531 if test "X$pkg" = "X$p"; then
7532 enable_fast_install=yes
7539 enable_fast_install=yes
7552 # This can be used to rebuild libtool when needed
7553 LIBTOOL_DEPS="$ltmain"
7555 # Always use our own libtool.
7556 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7583 test -z "$LN_S" && LN_S="ln -s"
7598 if test -n "${ZSH_VERSION+set}" ; then
7599 setopt NO_GLOB_SUBST
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7603 $as_echo_n "checking for objdir... " >&6; }
7604 if test "${lt_cv_objdir+set}" = set; then :
7605 $as_echo_n "(cached) " >&6
7607 rm -f .libs 2>/dev/null
7608 mkdir .libs 2>/dev/null
7609 if test -d .libs; then
7612 # MS-DOS does not allow filenames that begin with a dot.
7615 rmdir .libs 2>/dev/null
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7618 $as_echo "$lt_cv_objdir" >&6; }
7619 objdir=$lt_cv_objdir
7625 cat >>confdefs.h <<_ACEOF
7626 #define LT_OBJDIR "$lt_cv_objdir/"
7634 # AIX sometimes has problems with the GCC collect2 program. For some
7635 # reason, if we set the COLLECT_NAMES environment variable, the problems
7636 # vanish in a puff of smoke.
7637 if test "X${COLLECT_NAMES+set}" != Xset; then
7639 export COLLECT_NAMES
7646 can_build_shared=yes
7648 # All known linkers require a `.a' archive for static linking (except MSVC,
7649 # which needs '.lib').
7652 with_gnu_ld="$lt_cv_prog_gnu_ld"
7655 old_CFLAGS="$CFLAGS"
7657 # Set sane defaults for various variables
7658 test -z "$CC" && CC=cc
7659 test -z "$LTCC" && LTCC=$CC
7660 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7661 test -z "$LD" && LD=ld
7662 test -z "$ac_objext" && ac_objext=o
7664 for cc_temp in $compiler""; do
7666 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7667 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7672 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7675 # Only perform the check for file, if the check method requires it
7676 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7677 case $deplibs_check_method in
7679 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7681 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7682 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7683 $as_echo_n "(cached) " >&6
7687 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7690 lt_save_MAGIC_CMD="$MAGIC_CMD"
7691 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7692 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7693 for ac_dir in $ac_dummy; do
7695 test -z "$ac_dir" && ac_dir=.
7696 if test -f $ac_dir/${ac_tool_prefix}file; then
7697 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7698 if test -n "$file_magic_test_file"; then
7699 case $deplibs_check_method in
7701 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7702 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7703 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7704 $EGREP "$file_magic_regex" > /dev/null; then
7709 *** Warning: the command libtool uses to detect shared libraries,
7710 *** $file_magic_cmd, produces output that libtool cannot recognize.
7711 *** The result is that libtool may fail to recognize shared libraries
7712 *** as such. This will affect the creation of libtool libraries that
7713 *** depend on shared libraries, but programs linked with such libtool
7714 *** libraries will work regardless of this problem. Nevertheless, you
7715 *** may want to report the problem to your system manager and/or to
7716 *** bug-libtool@gnu.org
7726 MAGIC_CMD="$lt_save_MAGIC_CMD"
7731 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7732 if test -n "$MAGIC_CMD"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7734 $as_echo "$MAGIC_CMD" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7744 if test -z "$lt_cv_path_MAGIC_CMD"; then
7745 if test -n "$ac_tool_prefix"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7747 $as_echo_n "checking for file... " >&6; }
7748 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7753 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7756 lt_save_MAGIC_CMD="$MAGIC_CMD"
7757 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7758 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7759 for ac_dir in $ac_dummy; do
7761 test -z "$ac_dir" && ac_dir=.
7762 if test -f $ac_dir/file; then
7763 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7764 if test -n "$file_magic_test_file"; then
7765 case $deplibs_check_method in
7767 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7768 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7769 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7770 $EGREP "$file_magic_regex" > /dev/null; then
7775 *** Warning: the command libtool uses to detect shared libraries,
7776 *** $file_magic_cmd, produces output that libtool cannot recognize.
7777 *** The result is that libtool may fail to recognize shared libraries
7778 *** as such. This will affect the creation of libtool libraries that
7779 *** depend on shared libraries, but programs linked with such libtool
7780 *** libraries will work regardless of this problem. Nevertheless, you
7781 *** may want to report the problem to your system manager and/or to
7782 *** bug-libtool@gnu.org
7792 MAGIC_CMD="$lt_save_MAGIC_CMD"
7797 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7798 if test -n "$MAGIC_CMD"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7800 $as_echo "$MAGIC_CMD" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803 $as_echo "no" >&6; }
7816 # Use C for the default configuration in the libtool script
7820 ac_cpp='$CPP $CPPFLAGS'
7821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7826 # Source file extension for C test sources.
7829 # Object file extension for compiled C test sources.
7833 # Code to be used in simple compile tests
7834 lt_simple_compile_test_code="int some_variable = 0;"
7836 # Code to be used in simple link tests
7837 lt_simple_link_test_code='int main(){return(0);}'
7845 # If no C compiler was specified, use CC.
7848 # If no C compiler flags were specified, use CFLAGS.
7849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7851 # Allow CC to be a program name with arguments.
7854 # Save the default compiler, since it gets overwritten when the other
7855 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7856 compiler_DEFAULT=$CC
7858 # save warnings/boilerplate of simple test code
7859 ac_outfile=conftest.$ac_objext
7860 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7861 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7862 _lt_compiler_boilerplate=`cat conftest.err`
7865 ac_outfile=conftest.$ac_objext
7866 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7867 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7868 _lt_linker_boilerplate=`cat conftest.err`
7873 ## There is no encapsulation within the following macros, do not change
7874 ## the running order or otherwise move them around unless you know exactly
7875 ## what you are doing...
7876 if test -n "$compiler"; then
7878 lt_prog_compiler_no_builtin_flag=
7880 if test "$GCC" = yes; then
7881 case $cc_basename in
7883 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7885 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7889 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7890 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7893 lt_cv_prog_compiler_rtti_exceptions=no
7894 ac_outfile=conftest.$ac_objext
7895 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7896 lt_compiler_flag="-fno-rtti -fno-exceptions"
7897 # Insert the option either (1) after the last *FLAGS variable, or
7898 # (2) before a word containing "conftest.", or (3) at the end.
7899 # Note that $ac_compile itself does not contain backslashes and begins
7900 # with a dollar sign (not a hyphen), so the echo should work correctly.
7901 # The option is referenced via a variable to avoid confusing sed.
7902 lt_compile=`echo "$ac_compile" | $SED \
7903 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7904 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7905 -e 's:$: $lt_compiler_flag:'`
7906 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7907 (eval "$lt_compile" 2>conftest.err)
7909 cat conftest.err >&5
7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911 if (exit $ac_status) && test -s "$ac_outfile"; then
7912 # The compiler can only warn and ignore the option if not recognized
7913 # So say no if there are warnings other than the usual output.
7914 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7915 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7916 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7917 lt_cv_prog_compiler_rtti_exceptions=yes
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7924 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7926 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7927 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7939 lt_prog_compiler_wl=
7940 lt_prog_compiler_pic=
7941 lt_prog_compiler_static=
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7944 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7946 if test "$GCC" = yes; then
7947 lt_prog_compiler_wl='-Wl,'
7948 lt_prog_compiler_static='-static'
7952 # All AIX code is PIC.
7953 if test "$host_cpu" = ia64; then
7954 # AIX 5 now supports IA64 processor
7955 lt_prog_compiler_static='-Bstatic'
7957 lt_prog_compiler_pic='-fPIC'
7963 # see comment about AmigaOS4 .so support
7964 lt_prog_compiler_pic='-fPIC'
7967 # FIXME: we need at least 68020 code to build shared libraries, but
7968 # adding the `-m68020' flag to GCC prevents building anything better,
7970 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7975 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7976 # PIC is the default for these OSes.
7979 mingw* | cygwin* | pw32* | os2* | cegcc*)
7980 # This hack is so that the source file can tell whether it is being
7981 # built for inclusion in a dll (and should export symbols for example).
7982 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7983 # (--disable-auto-import) libraries
7984 lt_prog_compiler_pic='-DDLL_EXPORT'
7987 darwin* | rhapsody*)
7988 # PIC is the default on this platform
7989 # Common symbols not allowed in MH_DYLIB files
7990 lt_prog_compiler_pic='-fno-common'
7994 # PIC is the default for Haiku.
7995 # The "-static" flag exists, but is broken.
7996 lt_prog_compiler_static=
8000 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8001 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8002 # sets the default TLS model and affects inlining.
8008 lt_prog_compiler_pic='-fPIC'
8014 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8015 # Instead, we relocate shared libraries at runtime.
8019 # Just because we use GCC doesn't mean we suddenly get shared libraries
8020 # on systems that don't support them.
8021 lt_prog_compiler_can_build_shared=no
8026 # QNX uses GNU C++, but need to define -shared option too, otherwise
8028 lt_prog_compiler_pic='-fPIC -shared'
8032 if test -d /usr/nec; then
8033 lt_prog_compiler_pic=-Kconform_pic
8038 lt_prog_compiler_pic='-fPIC'
8042 case $cc_basename in
8043 nvcc*) # Cuda Compiler Driver 2.2
8044 lt_prog_compiler_wl='-Xlinker '
8045 lt_prog_compiler_pic='-Xcompiler -fPIC'
8049 # PORTME Check for flag to pass linker flags through the system compiler.
8052 lt_prog_compiler_wl='-Wl,'
8053 if test "$host_cpu" = ia64; then
8054 # AIX 5 now supports IA64 processor
8055 lt_prog_compiler_static='-Bstatic'
8057 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8061 mingw* | cygwin* | pw32* | os2* | cegcc*)
8062 # This hack is so that the source file can tell whether it is being
8063 # built for inclusion in a dll (and should export symbols for example).
8064 lt_prog_compiler_pic='-DDLL_EXPORT'
8067 hpux9* | hpux10* | hpux11*)
8068 lt_prog_compiler_wl='-Wl,'
8069 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8076 lt_prog_compiler_pic='+Z'
8079 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8080 lt_prog_compiler_static='${wl}-a ${wl}archive'
8083 irix5* | irix6* | nonstopux*)
8084 lt_prog_compiler_wl='-Wl,'
8085 # PIC (with -KPIC) is the default.
8086 lt_prog_compiler_static='-non_shared'
8089 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8090 case $cc_basename in
8091 # old Intel for x86_64 which still supported -KPIC.
8093 lt_prog_compiler_wl='-Wl,'
8094 lt_prog_compiler_pic='-KPIC'
8095 lt_prog_compiler_static='-static'
8097 # icc used to be incompatible with GCC.
8098 # ICC 10 doesn't accept -KPIC any more.
8100 lt_prog_compiler_wl='-Wl,'
8101 lt_prog_compiler_pic='-fPIC'
8102 lt_prog_compiler_static='-static'
8104 # Lahey Fortran 8.1.
8106 lt_prog_compiler_wl='-Wl,'
8107 lt_prog_compiler_pic='--shared'
8108 lt_prog_compiler_static='--static'
8110 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8111 # Portland Group compilers (*not* the Pentium gcc compiler,
8112 # which looks to be a dead project)
8113 lt_prog_compiler_wl='-Wl,'
8114 lt_prog_compiler_pic='-fpic'
8115 lt_prog_compiler_static='-Bstatic'
8118 lt_prog_compiler_wl='-Wl,'
8119 # All Alpha code is PIC.
8120 lt_prog_compiler_static='-non_shared'
8122 xl* | bgxl* | bgf* | mpixl*)
8123 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8124 lt_prog_compiler_wl='-Wl,'
8125 lt_prog_compiler_pic='-qpic'
8126 lt_prog_compiler_static='-qstaticlink'
8129 case `$CC -V 2>&1 | sed 5q` in
8130 *Sun\ F* | *Sun*Fortran*)
8131 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8132 lt_prog_compiler_pic='-KPIC'
8133 lt_prog_compiler_static='-Bstatic'
8134 lt_prog_compiler_wl=''
8138 lt_prog_compiler_pic='-KPIC'
8139 lt_prog_compiler_static='-Bstatic'
8140 lt_prog_compiler_wl='-Wl,'
8148 lt_prog_compiler_pic='-KPIC'
8149 lt_prog_compiler_static='-Bstatic'
8153 # QNX uses GNU C++, but need to define -shared option too, otherwise
8155 lt_prog_compiler_pic='-fPIC -shared'
8158 osf3* | osf4* | osf5*)
8159 lt_prog_compiler_wl='-Wl,'
8160 # All OSF/1 code is PIC.
8161 lt_prog_compiler_static='-non_shared'
8165 lt_prog_compiler_static='-non_shared'
8169 lt_prog_compiler_pic='-KPIC'
8170 lt_prog_compiler_static='-Bstatic'
8171 case $cc_basename in
8173 lt_prog_compiler_wl='-Qoption ld ';;
8175 lt_prog_compiler_wl='-Wl,';;
8180 lt_prog_compiler_wl='-Qoption ld '
8181 lt_prog_compiler_pic='-PIC'
8182 lt_prog_compiler_static='-Bstatic'
8185 sysv4 | sysv4.2uw2* | sysv4.3*)
8186 lt_prog_compiler_wl='-Wl,'
8187 lt_prog_compiler_pic='-KPIC'
8188 lt_prog_compiler_static='-Bstatic'
8192 if test -d /usr/nec ;then
8193 lt_prog_compiler_pic='-Kconform_pic'
8194 lt_prog_compiler_static='-Bstatic'
8198 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8199 lt_prog_compiler_wl='-Wl,'
8200 lt_prog_compiler_pic='-KPIC'
8201 lt_prog_compiler_static='-Bstatic'
8205 lt_prog_compiler_wl='-Wl,'
8206 lt_prog_compiler_can_build_shared=no
8210 lt_prog_compiler_pic='-pic'
8211 lt_prog_compiler_static='-Bstatic'
8215 lt_prog_compiler_can_build_shared=no
8221 # For platforms which do not support PIC, -DPIC is meaningless:
8223 lt_prog_compiler_pic=
8226 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8230 $as_echo "$lt_prog_compiler_pic" >&6; }
8238 # Check to make sure the PIC flag actually works.
8240 if test -n "$lt_prog_compiler_pic"; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8242 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8243 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8246 lt_cv_prog_compiler_pic_works=no
8247 ac_outfile=conftest.$ac_objext
8248 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8249 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8250 # Insert the option either (1) after the last *FLAGS variable, or
8251 # (2) before a word containing "conftest.", or (3) at the end.
8252 # Note that $ac_compile itself does not contain backslashes and begins
8253 # with a dollar sign (not a hyphen), so the echo should work correctly.
8254 # The option is referenced via a variable to avoid confusing sed.
8255 lt_compile=`echo "$ac_compile" | $SED \
8256 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8257 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8258 -e 's:$: $lt_compiler_flag:'`
8259 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8260 (eval "$lt_compile" 2>conftest.err)
8262 cat conftest.err >&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 if (exit $ac_status) && test -s "$ac_outfile"; then
8265 # The compiler can only warn and ignore the option if not recognized
8266 # So say no if there are warnings other than the usual output.
8267 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8268 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8269 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8270 lt_cv_prog_compiler_pic_works=yes
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8277 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8279 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8280 case $lt_prog_compiler_pic in
8282 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8285 lt_prog_compiler_pic=
8286 lt_prog_compiler_can_build_shared=no
8297 # Check to make sure the static flag actually works.
8299 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8301 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8302 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8303 $as_echo_n "(cached) " >&6
8305 lt_cv_prog_compiler_static_works=no
8306 save_LDFLAGS="$LDFLAGS"
8307 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8308 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8309 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8310 # The linker can only warn and ignore the option if not recognized
8311 # So say no if there are warnings
8312 if test -s conftest.err; then
8313 # Append any errors to the config.log.
8314 cat conftest.err 1>&5
8315 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8316 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8317 if diff conftest.exp conftest.er2 >/dev/null; then
8318 lt_cv_prog_compiler_static_works=yes
8321 lt_cv_prog_compiler_static_works=yes
8325 LDFLAGS="$save_LDFLAGS"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8329 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8331 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8334 lt_prog_compiler_static=
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8344 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8345 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8346 $as_echo_n "(cached) " >&6
8348 lt_cv_prog_compiler_c_o=no
8349 $RM -r conftest 2>/dev/null
8353 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8355 lt_compiler_flag="-o out/conftest2.$ac_objext"
8356 # Insert the option either (1) after the last *FLAGS variable, or
8357 # (2) before a word containing "conftest.", or (3) at the end.
8358 # Note that $ac_compile itself does not contain backslashes and begins
8359 # with a dollar sign (not a hyphen), so the echo should work correctly.
8360 lt_compile=`echo "$ac_compile" | $SED \
8361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8363 -e 's:$: $lt_compiler_flag:'`
8364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8365 (eval "$lt_compile" 2>out/conftest.err)
8367 cat out/conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8371 # The compiler can only warn and ignore the option if not recognized
8372 # So say no if there are warnings
8373 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8374 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8375 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8376 lt_cv_prog_compiler_c_o=yes
8381 # SGI C++ compiler will create directory out/ii_files/ for
8382 # template instantiation
8383 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8384 $RM out/* && rmdir out
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8391 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8399 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8400 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8401 $as_echo_n "(cached) " >&6
8403 lt_cv_prog_compiler_c_o=no
8404 $RM -r conftest 2>/dev/null
8408 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8410 lt_compiler_flag="-o out/conftest2.$ac_objext"
8411 # Insert the option either (1) after the last *FLAGS variable, or
8412 # (2) before a word containing "conftest.", or (3) at the end.
8413 # Note that $ac_compile itself does not contain backslashes and begins
8414 # with a dollar sign (not a hyphen), so the echo should work correctly.
8415 lt_compile=`echo "$ac_compile" | $SED \
8416 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8417 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8418 -e 's:$: $lt_compiler_flag:'`
8419 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8420 (eval "$lt_compile" 2>out/conftest.err)
8422 cat out/conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8426 # The compiler can only warn and ignore the option if not recognized
8427 # So say no if there are warnings
8428 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8429 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8430 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8431 lt_cv_prog_compiler_c_o=yes
8436 # SGI C++ compiler will create directory out/ii_files/ for
8437 # template instantiation
8438 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8439 $RM out/* && rmdir out
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8446 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8451 hard_links="nottested"
8452 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8453 # do not overwrite the value of need_locks provided by the user
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8455 $as_echo_n "checking if we can lock with hard links... " >&6; }
8458 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8460 ln conftest.a conftest.b 2>&5 || hard_links=no
8461 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8463 $as_echo "$hard_links" >&6; }
8464 if test "$hard_links" = no; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8466 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8479 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8482 allow_undefined_flag=
8483 always_export_symbols=no
8485 archive_expsym_cmds=
8486 compiler_needs_object=no
8487 enable_shared_with_static_runtimes=no
8488 export_dynamic_flag_spec=
8489 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8490 hardcode_automatic=no
8492 hardcode_direct_absolute=no
8493 hardcode_libdir_flag_spec=
8494 hardcode_libdir_flag_spec_ld=
8495 hardcode_libdir_separator=
8497 hardcode_shlibpath_var=unsupported
8499 link_all_deplibs=unknown
8502 old_archive_from_new_cmds=
8503 old_archive_from_expsyms_cmds=
8504 thread_safe_flag_spec=
8505 whole_archive_flag_spec=
8506 # include_expsyms should be a list of space-separated symbols to be *always*
8507 # included in the symbol list
8509 # exclude_expsyms can be an extended regexp of symbols to exclude
8510 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8511 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8512 # as well as any symbol that contains `d'.
8513 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8514 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8515 # platforms (ab)use it in PIC code, but their linkers get confused if
8516 # the symbol is explicitly referenced. Since portable code cannot
8517 # rely on this symbol name, it's probably fine to never include it in
8518 # preloaded symbol tables.
8519 # Exclude shared library initialization/finalization symbols.
8520 extract_expsyms_cmds=
8523 cygwin* | mingw* | pw32* | cegcc*)
8524 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8525 # When not using gcc, we currently assume that we are using
8526 # Microsoft Visual C++.
8527 if test "$GCC" != yes; then
8532 # we just hope/assume this is gcc and not c89 (= MSVC++)
8542 # On some targets, GNU ld is compatible enough with the native linker
8543 # that we're better off using the native interface for both.
8544 lt_use_gnu_ld_interface=no
8545 if test "$with_gnu_ld" = yes; then
8548 # The AIX port of GNU ld has always aspired to compatibility
8549 # with the native linker. However, as the warning in the GNU ld
8550 # block says, versions before 2.19.5* couldn't really create working
8551 # shared libraries, regardless of the interface used.
8552 case `$LD -v 2>&1` in
8553 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8554 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8555 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8557 lt_use_gnu_ld_interface=yes
8562 lt_use_gnu_ld_interface=yes
8567 if test "$lt_use_gnu_ld_interface" = yes; then
8568 # If archive_cmds runs LD, not CC, wlarc should be empty
8571 # Set some defaults for GNU ld with shared library support. These
8572 # are reset later if shared libraries are not supported. Putting them
8573 # here allows them to be overridden if necessary.
8574 runpath_var=LD_RUN_PATH
8575 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8576 export_dynamic_flag_spec='${wl}--export-dynamic'
8577 # ancient GNU ld didn't support --whole-archive et. al.
8578 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8579 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8581 whole_archive_flag_spec=
8583 supports_anon_versioning=no
8584 case `$LD -v 2>&1` in
8585 *GNU\ gold*) supports_anon_versioning=yes ;;
8586 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8587 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8588 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8589 *\ 2.11.*) ;; # other 2.11 versions
8590 *) supports_anon_versioning=yes ;;
8593 # See if GNU ld supports shared libraries.
8596 # On AIX/PPC, the GNU linker is very broken
8597 if test "$host_cpu" != ia64; then
8601 *** Warning: the GNU linker, at least up to release 2.19, is reported
8602 *** to be unable to reliably create shared libraries on AIX.
8603 *** Therefore, libtool is disabling shared libraries support. If you
8604 *** really care for shared libraries, you may want to install binutils
8605 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8606 *** You will then need to restart the configuration process.
8615 # see comment about AmigaOS4 .so support
8616 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8617 archive_expsym_cmds=''
8620 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)'
8621 hardcode_libdir_flag_spec='-L$libdir'
8622 hardcode_minus_L=yes
8628 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8629 allow_undefined_flag=unsupported
8630 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8631 # support --undefined. This deserves some investigation. FIXME
8632 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638 cygwin* | mingw* | pw32* | cegcc*)
8639 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8640 # as there is no search path for DLLs.
8641 hardcode_libdir_flag_spec='-L$libdir'
8642 export_dynamic_flag_spec='${wl}--export-all-symbols'
8643 allow_undefined_flag=unsupported
8644 always_export_symbols=no
8645 enable_shared_with_static_runtimes=yes
8646 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8648 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8649 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8650 # If the export-symbols file already is a .def file (1st line
8651 # is EXPORTS), use it as is; otherwise, prepend...
8652 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8653 cp $export_symbols $output_objdir/$soname.def;
8655 echo EXPORTS > $output_objdir/$soname.def;
8656 cat $export_symbols >> $output_objdir/$soname.def;
8658 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8665 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8666 link_all_deplibs=yes
8671 hardcode_shlibpath_var=no
8672 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8673 export_dynamic_flag_spec='${wl}-E'
8674 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8675 # Instead, shared libraries are loaded at an image base (0x10000000 by
8676 # default) and relocated if they conflict, which is a slow very memory
8677 # consuming and fragmenting process. To avoid this, we pick a random,
8678 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8679 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8680 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8681 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'
8684 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8686 if test "$host_os" = linux-dietlibc; then
8687 case $cc_basename in
8688 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8691 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8692 && test "$tmp_diet" = no
8694 tmp_addflag=' $pic_flag'
8695 tmp_sharedflag='-shared'
8696 case $cc_basename,$host_cpu in
8697 pgcc*) # Portland Group C compiler
8698 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'
8699 tmp_addflag=' $pic_flag'
8701 pgf77* | pgf90* | pgf95* | pgfortran*)
8702 # Portland Group f77 and f90 compilers
8703 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'
8704 tmp_addflag=' $pic_flag -Mnomain' ;;
8705 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8706 tmp_addflag=' -i_dynamic' ;;
8707 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8708 tmp_addflag=' -i_dynamic -nofor_main' ;;
8709 ifc* | ifort*) # Intel Fortran compiler
8710 tmp_addflag=' -nofor_main' ;;
8711 lf95*) # Lahey Fortran 8.1
8712 whole_archive_flag_spec=
8713 tmp_sharedflag='--shared' ;;
8714 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8715 tmp_sharedflag='-qmkshrobj'
8717 nvcc*) # Cuda Compiler Driver 2.2
8718 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'
8719 compiler_needs_object=yes
8722 case `$CC -V 2>&1 | sed 5q` in
8723 *Sun\ C*) # Sun C 5.9
8724 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'
8725 compiler_needs_object=yes
8726 tmp_sharedflag='-G' ;;
8727 *Sun\ F*) # Sun Fortran 8.3
8728 tmp_sharedflag='-G' ;;
8730 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 if test "x$supports_anon_versioning" = xyes; then
8733 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8734 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8735 echo "local: *; };" >> $output_objdir/$libname.ver~
8736 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8739 case $cc_basename in
8740 xlf* | bgf* | bgxlf* | mpixlf*)
8741 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8742 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8743 hardcode_libdir_flag_spec=
8744 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8745 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8746 if test "x$supports_anon_versioning" = xyes; then
8747 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8748 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8749 echo "local: *; };" >> $output_objdir/$libname.ver~
8750 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8760 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8761 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8765 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8770 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8774 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8775 *** create shared libraries on Solaris systems. Therefore, libtool
8776 *** is disabling shared libraries support. We urge you to upgrade GNU
8777 *** binutils to release 2.9.1 or newer. Another option is to modify
8778 *** your PATH or compiler configuration so that the native linker is
8779 *** used, and then restart.
8782 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8783 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8784 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8790 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8791 case `$LD -v 2>&1` in
8792 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8796 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8797 *** reliably create shared libraries on SCO systems. Therefore, libtool
8798 *** is disabling shared libraries support. We urge you to upgrade GNU
8799 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8800 *** your PATH or compiler configuration so that the native linker is
8801 *** used, and then restart.
8806 # For security reasons, it is highly recommended that you always
8807 # use absolute paths for naming shared libraries, and exclude the
8808 # DT_RUNPATH tag from executables and libraries. But doing so
8809 # requires that you compile everything twice, which is a pain.
8810 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8811 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8812 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8822 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8825 hardcode_shlibpath_var=no
8829 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8831 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8838 if test "$ld_shlibs" = no; then
8840 hardcode_libdir_flag_spec=
8841 export_dynamic_flag_spec=
8842 whole_archive_flag_spec=
8845 # PORTME fill in a description of your system's linker (not GNU ld)
8848 allow_undefined_flag=unsupported
8849 always_export_symbols=yes
8850 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'
8851 # Note: this linker hardcodes the directories in LIBPATH if there
8852 # are no directories specified by -L.
8853 hardcode_minus_L=yes
8854 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8855 # Neither direct hardcoding nor static linking is supported with a
8857 hardcode_direct=unsupported
8862 if test "$host_cpu" = ia64; then
8863 # On IA64, the linker does run time linking by default, so we don't
8864 # have to do anything special.
8865 aix_use_runtimelinking=no
8866 exp_sym_flag='-Bexport'
8869 # If we're using GNU nm, then we don't want the "-C" option.
8870 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8871 # Also, AIX nm treats weak defined symbols like other global
8872 # defined symbols, whereas GNU nm marks them as "W".
8873 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8874 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'
8876 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8878 aix_use_runtimelinking=no
8880 # Test if we are trying to use run time linking or normal
8881 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8882 # need to do runtime linking.
8883 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8884 for ld_flag in $LDFLAGS; do
8885 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8886 aix_use_runtimelinking=yes
8893 exp_sym_flag='-bexport'
8894 no_entry_flag='-bnoentry'
8897 # When large executables or shared objects are built, AIX ld can
8898 # have problems creating the table of contents. If linking a library
8899 # or program results in "error TOC overflow" add -mminimal-toc to
8900 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8901 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8905 hardcode_direct_absolute=yes
8906 hardcode_libdir_separator=':'
8907 link_all_deplibs=yes
8908 file_list_spec='${wl}-f,'
8910 if test "$GCC" = yes; then
8911 case $host_os in aix4.[012]|aix4.[012].*)
8912 # We only want to do this on AIX 4.2 and lower, the check
8913 # below for broken collect2 doesn't work under 4.3+
8914 collect2name=`${CC} -print-prog-name=collect2`
8915 if test -f "$collect2name" &&
8916 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8918 # We have reworked collect2
8921 # We have old collect2
8922 hardcode_direct=unsupported
8923 # It fails to find uninstalled libraries when the uninstalled
8924 # path is not listed in the libpath. Setting hardcode_minus_L
8925 # to unsupported forces relinking
8926 hardcode_minus_L=yes
8927 hardcode_libdir_flag_spec='-L$libdir'
8928 hardcode_libdir_separator=
8932 shared_flag='-shared'
8933 if test "$aix_use_runtimelinking" = yes; then
8934 shared_flag="$shared_flag "'${wl}-G'
8938 if test "$host_cpu" = ia64; then
8939 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8940 # chokes on -Wl,-G. The following line is correct:
8943 if test "$aix_use_runtimelinking" = yes; then
8944 shared_flag='${wl}-G'
8946 shared_flag='${wl}-bM:SRE'
8951 export_dynamic_flag_spec='${wl}-bexpall'
8952 # It seems that -bexpall does not export symbols beginning with
8953 # underscore (_), so it is better to generate a list of symbols to export.
8954 always_export_symbols=yes
8955 if test "$aix_use_runtimelinking" = yes; then
8956 # Warning - without using the other runtime loading flags (-brtl),
8957 # -berok will link without error, but may produce a broken library.
8958 allow_undefined_flag='-berok'
8959 # Determine the default libpath from the value encoded in an
8961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h. */
8972 if ac_fn_c_try_link "$LINENO"; then :
8974 lt_aix_libpath_sed='
8975 /Import File Strings/,/^$/ {
8981 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8982 # Check for a 64-bit object if we didn't find anything.
8983 if test -z "$aix_libpath"; then
8984 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8987 rm -f core conftest.err conftest.$ac_objext \
8988 conftest$ac_exeext conftest.$ac_ext
8989 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8991 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8992 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"
8994 if test "$host_cpu" = ia64; then
8995 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8996 allow_undefined_flag="-z nodefs"
8997 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"
8999 # Determine the default libpath from the value encoded in an
9001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9002 /* end confdefs.h. */
9012 if ac_fn_c_try_link "$LINENO"; then :
9014 lt_aix_libpath_sed='
9015 /Import File Strings/,/^$/ {
9021 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9022 # Check for a 64-bit object if we didn't find anything.
9023 if test -z "$aix_libpath"; then
9024 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9027 rm -f core conftest.err conftest.$ac_objext \
9028 conftest$ac_exeext conftest.$ac_ext
9029 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9031 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9032 # Warning - without using the other run time loading flags,
9033 # -berok will link without error, but may produce a broken library.
9034 no_undefined_flag=' ${wl}-bernotok'
9035 allow_undefined_flag=' ${wl}-berok'
9036 if test "$with_gnu_ld" = yes; then
9037 # We only use this code for GNU lds that support --whole-archive.
9038 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9040 # Exported symbols can be pulled into shared objects from archives
9041 whole_archive_flag_spec='$convenience'
9043 archive_cmds_need_lc=yes
9044 # This is similar to how AIX traditionally builds its shared libraries.
9045 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'
9053 # see comment about AmigaOS4 .so support
9054 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9055 archive_expsym_cmds=''
9058 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)'
9059 hardcode_libdir_flag_spec='-L$libdir'
9060 hardcode_minus_L=yes
9066 export_dynamic_flag_spec=-rdynamic
9069 cygwin* | mingw* | pw32* | cegcc*)
9070 # When not using gcc, we currently assume that we are using
9071 # Microsoft Visual C++.
9072 # hardcode_libdir_flag_spec is actually meaningless, as there is
9073 # no search path for DLLs.
9074 hardcode_libdir_flag_spec=' '
9075 allow_undefined_flag=unsupported
9076 # Tell ltmain to make .lib files, not .a files.
9078 # Tell ltmain to make .dll files, not .so files.
9080 # FIXME: Setting linknames here is a bad hack.
9081 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9082 # The linker will automatically build a .lib file if we build a DLL.
9083 old_archive_from_new_cmds='true'
9084 # FIXME: Should let the user specify the lib program.
9085 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9086 fix_srcfile_path='`cygpath -w "$srcfile"`'
9087 enable_shared_with_static_runtimes=yes
9090 darwin* | rhapsody*)
9093 archive_cmds_need_lc=no
9095 hardcode_automatic=yes
9096 hardcode_shlibpath_var=unsupported
9097 if test "$lt_cv_ld_force_load" = "yes"; then
9098 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\"`'
9100 whole_archive_flag_spec=''
9102 link_all_deplibs=yes
9103 allow_undefined_flag="$_lt_dar_allow_undefined"
9104 case $cc_basename in
9105 ifort*) _lt_dar_can_shared=yes ;;
9106 *) _lt_dar_can_shared=$GCC ;;
9108 if test "$_lt_dar_can_shared" = "yes"; then
9109 output_verbose_link_cmd=func_echo_all
9110 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9111 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9112 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}"
9113 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}"
9122 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9123 hardcode_libdir_flag_spec='-L$libdir'
9124 hardcode_shlibpath_var=no
9127 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9128 # support. Future versions do this automatically, but an explicit c++rt0.o
9129 # does not break anything, and helps significantly (at the cost of a little
9132 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9133 hardcode_libdir_flag_spec='-R$libdir'
9135 hardcode_shlibpath_var=no
9138 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9140 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9142 hardcode_minus_L=yes
9143 hardcode_shlibpath_var=no
9146 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9147 freebsd* | dragonfly*)
9148 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9149 hardcode_libdir_flag_spec='-R$libdir'
9151 hardcode_shlibpath_var=no
9155 if test "$GCC" = yes; then
9156 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'
9158 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'
9160 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9161 hardcode_libdir_separator=:
9164 # hardcode_minus_L: Not really in the search PATH,
9165 # but as the default location of the library.
9166 hardcode_minus_L=yes
9167 export_dynamic_flag_spec='${wl}-E'
9171 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9172 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9174 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9176 if test "$with_gnu_ld" = no; then
9177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9178 hardcode_libdir_flag_spec_ld='+b $libdir'
9179 hardcode_libdir_separator=:
9181 hardcode_direct_absolute=yes
9182 export_dynamic_flag_spec='${wl}-E'
9183 # hardcode_minus_L: Not really in the search PATH,
9184 # but as the default location of the library.
9185 hardcode_minus_L=yes
9190 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9193 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9196 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9199 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9205 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9208 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9212 # Older versions of the 11.00 compiler do not understand -b yet
9213 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9215 $as_echo_n "checking if $CC understands -b... " >&6; }
9216 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9217 $as_echo_n "(cached) " >&6
9219 lt_cv_prog_compiler__b=no
9220 save_LDFLAGS="$LDFLAGS"
9221 LDFLAGS="$LDFLAGS -b"
9222 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9223 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9224 # The linker can only warn and ignore the option if not recognized
9225 # So say no if there are warnings
9226 if test -s conftest.err; then
9227 # Append any errors to the config.log.
9228 cat conftest.err 1>&5
9229 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9230 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9231 if diff conftest.exp conftest.er2 >/dev/null; then
9232 lt_cv_prog_compiler__b=yes
9235 lt_cv_prog_compiler__b=yes
9239 LDFLAGS="$save_LDFLAGS"
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9243 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9245 if test x"$lt_cv_prog_compiler__b" = xyes; then
9246 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9248 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9254 if test "$with_gnu_ld" = no; then
9255 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9256 hardcode_libdir_separator=:
9261 hardcode_shlibpath_var=no
9265 hardcode_direct_absolute=yes
9266 export_dynamic_flag_spec='${wl}-E'
9268 # hardcode_minus_L: Not really in the search PATH,
9269 # but as the default location of the library.
9270 hardcode_minus_L=yes
9276 irix5* | irix6* | nonstopux*)
9277 if test "$GCC" = yes; then
9278 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'
9279 # Try to use the -exported_symbol ld option, if it does not
9280 # work, assume that -exports_file does not work either and
9281 # implicitly export all symbols.
9282 save_LDFLAGS="$LDFLAGS"
9283 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 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'
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 LDFLAGS="$save_LDFLAGS"
9296 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'
9297 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'
9299 archive_cmds_need_lc='no'
9300 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9301 hardcode_libdir_separator=:
9303 link_all_deplibs=yes
9307 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9308 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9310 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9312 hardcode_libdir_flag_spec='-R$libdir'
9314 hardcode_shlibpath_var=no
9318 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9320 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9321 hardcode_libdir_separator=:
9322 hardcode_shlibpath_var=no
9329 if test -f /usr/libexec/ld.so; then
9331 hardcode_shlibpath_var=no
9332 hardcode_direct_absolute=yes
9333 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9334 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9335 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9336 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9337 export_dynamic_flag_spec='${wl}-E'
9340 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9341 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9342 hardcode_libdir_flag_spec='-R$libdir'
9345 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9346 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9356 hardcode_libdir_flag_spec='-L$libdir'
9357 hardcode_minus_L=yes
9358 allow_undefined_flag=unsupported
9359 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'
9360 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9364 if test "$GCC" = yes; then
9365 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9366 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'
9368 allow_undefined_flag=' -expect_unresolved \*'
9369 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'
9371 archive_cmds_need_lc='no'
9372 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9373 hardcode_libdir_separator=:
9376 osf4* | osf5*) # as osf3* with the addition of -msym flag
9377 if test "$GCC" = yes; then
9378 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9379 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'
9380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9382 allow_undefined_flag=' -expect_unresolved \*'
9383 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'
9384 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~
9385 $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'
9387 # Both c and cxx compiler support -rpath directly
9388 hardcode_libdir_flag_spec='-rpath $libdir'
9390 archive_cmds_need_lc='no'
9391 hardcode_libdir_separator=:
9395 no_undefined_flag=' -z defs'
9396 if test "$GCC" = yes; then
9398 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9400 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9402 case `$CC -V 2>&1` in
9405 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9406 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9407 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9411 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9412 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9413 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9417 hardcode_libdir_flag_spec='-R$libdir'
9418 hardcode_shlibpath_var=no
9420 solaris2.[0-5] | solaris2.[0-5].*) ;;
9422 # The compiler driver will combine and reorder linker options,
9423 # but understands `-z linker_flag'. GCC discards it without `$wl',
9424 # but is careful enough not to reorder.
9425 # Supported since Solaris 2.6 (maybe 2.5.1?)
9426 if test "$GCC" = yes; then
9427 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9429 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9433 link_all_deplibs=yes
9437 if test "x$host_vendor" = xsequent; then
9438 # Use $CC to link under sequent, because it throws in some extra .o
9439 # files that make .init and .fini sections work.
9440 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9442 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9444 hardcode_libdir_flag_spec='-L$libdir'
9446 hardcode_minus_L=yes
9447 hardcode_shlibpath_var=no
9451 case $host_vendor in
9453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9454 hardcode_direct=yes # is this really true???
9457 ## LD is ld it makes a PLAMLIB
9458 ## CC just makes a GrossModule.
9459 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9460 reload_cmds='$CC -r -o $output$reload_objs'
9464 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9468 runpath_var='LD_RUN_PATH'
9469 hardcode_shlibpath_var=no
9473 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9474 hardcode_shlibpath_var=no
9475 export_dynamic_flag_spec='-Bexport'
9479 if test -d /usr/nec; then
9480 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9481 hardcode_shlibpath_var=no
9482 runpath_var=LD_RUN_PATH
9483 hardcode_runpath_var=yes
9488 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9489 no_undefined_flag='${wl}-z,text'
9490 archive_cmds_need_lc=no
9491 hardcode_shlibpath_var=no
9492 runpath_var='LD_RUN_PATH'
9494 if test "$GCC" = yes; then
9495 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9498 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9503 sysv5* | sco3.2v5* | sco5v6*)
9504 # Note: We can NOT use -z defs as we might desire, because we do not
9505 # link with -lc, and that would cause any symbols used from libc to
9506 # always be unresolved, which means just about no library would
9507 # ever link correctly. If we're not using GNU ld we use -z text
9508 # though, which does catch some bad symbols but isn't as heavy-handed
9510 no_undefined_flag='${wl}-z,text'
9511 allow_undefined_flag='${wl}-z,nodefs'
9512 archive_cmds_need_lc=no
9513 hardcode_shlibpath_var=no
9514 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9515 hardcode_libdir_separator=':'
9516 link_all_deplibs=yes
9517 export_dynamic_flag_spec='${wl}-Bexport'
9518 runpath_var='LD_RUN_PATH'
9520 if test "$GCC" = yes; then
9521 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9522 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9530 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9531 hardcode_libdir_flag_spec='-L$libdir'
9532 hardcode_shlibpath_var=no
9540 if test x$host_vendor = xsni; then
9542 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9543 export_dynamic_flag_spec='${wl}-Blargedynsym'
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9550 $as_echo "$ld_shlibs" >&6; }
9551 test "$ld_shlibs" = no && can_build_shared=no
9553 with_gnu_ld=$with_gnu_ld
9570 # Do we need to explicitly link libc?
9572 case "x$archive_cmds_need_lc" in
9574 # Assume -lc should be added
9575 archive_cmds_need_lc=yes
9577 if test "$enable_shared" = yes && test "$GCC" = yes; then
9578 case $archive_cmds in
9580 # FIXME: we may have to deal with multi-command sequences.
9583 # Test whether the compiler implicitly links with -lc since on some
9584 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9585 # to ld, don't add -lc before -lgcc.
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9587 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9588 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9589 $as_echo_n "(cached) " >&6
9592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9595 (eval $ac_compile) 2>&5
9597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9598 test $ac_status = 0; } 2>conftest.err; then
9601 libobjs=conftest.$ac_objext
9603 wl=$lt_prog_compiler_wl
9604 pic_flag=$lt_prog_compiler_pic
9610 lt_save_allow_undefined_flag=$allow_undefined_flag
9611 allow_undefined_flag=
9612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9613 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9616 test $ac_status = 0; }
9618 lt_cv_archive_cmds_need_lc=no
9620 lt_cv_archive_cmds_need_lc=yes
9622 allow_undefined_flag=$lt_save_allow_undefined_flag
9624 cat conftest.err 1>&5
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9630 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9631 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9795 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9797 if test "$GCC" = yes; then
9799 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9800 *) lt_awk_arg="/^libraries:/" ;;
9803 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9804 *) lt_sed_strip_eq="s,=/,/,g" ;;
9806 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9807 case $lt_search_path_spec in
9809 # if the path contains ";" then we assume it to be the separator
9810 # otherwise default to the standard path separator (i.e. ":") - it is
9811 # assumed that no part of a normal pathname contains ";" but that should
9812 # okay in the real world where ";" in dirpaths is itself problematic.
9813 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9816 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9819 # Ok, now we have the path, separated by spaces, we can step through it
9820 # and add multilib dir if necessary.
9821 lt_tmp_lt_search_path_spec=
9822 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9823 for lt_sys_path in $lt_search_path_spec; do
9824 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9825 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9827 test -d "$lt_sys_path" && \
9828 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9831 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9832 BEGIN {RS=" "; FS="/|\n";} {
9835 for (lt_i = NF; lt_i > 0; lt_i--) {
9836 if ($lt_i != "" && $lt_i != ".") {
9837 if ($lt_i == "..") {
9840 if (lt_count == 0) {
9841 lt_foo="/" $lt_i lt_foo;
9848 if (lt_foo != "") { lt_freq[lt_foo]++; }
9849 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9851 # AWK program above erroneously prepends '/' to C:/dos/paths
9854 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9855 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9857 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9859 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9862 libname_spec='lib$name'
9870 shlibpath_overrides_runpath=unknown
9872 dynamic_linker="$host_os ld.so"
9873 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9874 need_lib_prefix=unknown
9875 hardcode_into_libs=no
9877 # when you set need_version to no, make sure it does not cause -set_version
9878 # flags to be left without arguments
9879 need_version=unknown
9884 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9885 shlibpath_var=LIBPATH
9887 # AIX 3 has no versioning support, so we append a major version to the name.
9888 soname_spec='${libname}${release}${shared_ext}$major'
9895 hardcode_into_libs=yes
9896 if test "$host_cpu" = ia64; then
9897 # AIX 5 supports IA64
9898 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9899 shlibpath_var=LD_LIBRARY_PATH
9901 # With GCC up to 2.95.x, collect2 would create an import file
9902 # for dependence libraries. The import file would start with
9903 # the line `#! .'. This would cause the generated library to
9904 # depend on `.', always an invalid library. This was fixed in
9905 # development snapshots of GCC prior to 3.0.
9907 aix4 | aix4.[01] | aix4.[01].*)
9908 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9910 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9917 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9918 # soname into executable. Probably we can add versioning support to
9919 # collect2, so additional links can be useful in future.
9920 if test "$aix_use_runtimelinking" = yes; then
9921 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9922 # instead of lib<name>.a to let people know that these are not
9923 # typical AIX shared libraries.
9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9926 # We preserve .a as extension for shared libraries through AIX4.2
9927 # and later when we are not doing run time linking.
9928 library_names_spec='${libname}${release}.a $libname.a'
9929 soname_spec='${libname}${release}${shared_ext}$major'
9931 shlibpath_var=LIBPATH
9938 # Since July 2007 AmigaOS4 officially supports .so libraries.
9939 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9943 library_names_spec='$libname.ixlibrary $libname.a'
9944 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9945 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'
9951 library_names_spec='${libname}${shared_ext}'
9952 dynamic_linker="$host_os ld.so"
9953 shlibpath_var=LIBRARY_PATH
9959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9960 soname_spec='${libname}${release}${shared_ext}$major'
9961 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9962 shlibpath_var=LD_LIBRARY_PATH
9963 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9964 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9965 # the default ld.so.conf also contains /usr/contrib/lib and
9966 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9967 # libtool to hard-code these into programs
9970 cygwin* | mingw* | pw32* | cegcc*)
9971 version_type=windows
9976 case $GCC,$host_os in
9977 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9978 library_names_spec='$libname.dll.a'
9979 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9980 postinstall_cmds='base_file=`basename \${file}`~
9981 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9982 dldir=$destdir/`dirname \$dlpath`~
9983 test -d \$dldir || mkdir -p \$dldir~
9984 $install_prog $dir/$dlname \$dldir/$dlname~
9985 chmod a+x \$dldir/$dlname~
9986 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9987 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9989 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9990 dlpath=$dir/\$dldll~
9992 shlibpath_overrides_runpath=yes
9996 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9997 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9999 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10002 # MinGW DLLs use traditional 'lib' prefix
10003 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10006 # pw32 DLLs use 'pw' prefix rather than 'lib'
10007 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10013 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10016 dynamic_linker='Win32 ld.exe'
10017 # FIXME: first we should search . and the directory the executable is in
10021 darwin* | rhapsody*)
10022 dynamic_linker="$host_os dyld"
10023 version_type=darwin
10026 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10027 soname_spec='${libname}${release}${major}$shared_ext'
10028 shlibpath_overrides_runpath=yes
10029 shlibpath_var=DYLD_LIBRARY_PATH
10030 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10032 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10033 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10041 soname_spec='${libname}${release}${shared_ext}$major'
10042 shlibpath_var=LD_LIBRARY_PATH
10045 freebsd* | dragonfly*)
10046 # DragonFly does not have aout. When/if they implement a new
10047 # versioning mechanism, adjust this.
10048 if test -x /usr/bin/objformat; then
10049 objformat=`/usr/bin/objformat`
10052 freebsd[23].*) objformat=aout ;;
10053 *) objformat=elf ;;
10056 version_type=freebsd-$objformat
10057 case $version_type in
10059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10064 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10068 shlibpath_var=LD_LIBRARY_PATH
10071 shlibpath_overrides_runpath=yes
10073 freebsd3.[01]* | freebsdelf3.[01]*)
10074 shlibpath_overrides_runpath=yes
10075 hardcode_into_libs=yes
10077 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10078 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10079 shlibpath_overrides_runpath=no
10080 hardcode_into_libs=yes
10082 *) # from 4.6 on, and DragonFly
10083 shlibpath_overrides_runpath=yes
10084 hardcode_into_libs=yes
10093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10094 soname_spec='${libname}${release}${shared_ext}$major'
10095 shlibpath_var=LD_LIBRARY_PATH
10096 hardcode_into_libs=yes
10103 dynamic_linker="$host_os runtime_loader"
10104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10105 soname_spec='${libname}${release}${shared_ext}$major'
10106 shlibpath_var=LIBRARY_PATH
10107 shlibpath_overrides_runpath=yes
10108 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10109 hardcode_into_libs=yes
10112 hpux9* | hpux10* | hpux11*)
10113 # Give a soname corresponding to the major version so that dld.sl refuses to
10114 # link against other versions.
10121 hardcode_into_libs=yes
10122 dynamic_linker="$host_os dld.so"
10123 shlibpath_var=LD_LIBRARY_PATH
10124 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10126 soname_spec='${libname}${release}${shared_ext}$major'
10127 if test "X$HPUX_IA64_MODE" = X32; then
10128 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10130 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10132 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10136 hardcode_into_libs=yes
10137 dynamic_linker="$host_os dld.sl"
10138 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10139 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10141 soname_spec='${libname}${release}${shared_ext}$major'
10142 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10143 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10147 dynamic_linker="$host_os dld.sl"
10148 shlibpath_var=SHLIB_PATH
10149 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10151 soname_spec='${libname}${release}${shared_ext}$major'
10154 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10155 postinstall_cmds='chmod 555 $lib'
10156 # or fails outright, so override atomically:
10157 install_override_mode=555
10164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10165 soname_spec='${libname}${release}${shared_ext}$major'
10166 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10167 shlibpath_var=LD_LIBRARY_PATH
10168 shlibpath_overrides_runpath=no
10169 hardcode_into_libs=yes
10172 irix5* | irix6* | nonstopux*)
10174 nonstopux*) version_type=nonstopux ;;
10176 if test "$lt_cv_prog_gnu_ld" = yes; then
10184 soname_spec='${libname}${release}${shared_ext}$major'
10185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10187 irix5* | nonstopux*)
10188 libsuff= shlibsuff=
10191 case $LD in # libtool.m4 will add one of these switches to LD
10192 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10193 libsuff= shlibsuff= libmagic=32-bit;;
10194 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10195 libsuff=32 shlibsuff=N32 libmagic=N32;;
10196 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10197 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10198 *) libsuff= shlibsuff= libmagic=never-match;;
10202 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10203 shlibpath_overrides_runpath=no
10204 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10205 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10206 hardcode_into_libs=yes
10209 # No shared lib support for Linux oldld, aout, or coff.
10210 linux*oldld* | linux*aout* | linux*coff*)
10214 # This must be Linux ELF.
10215 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10219 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10220 soname_spec='${libname}${release}${shared_ext}$major'
10221 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10222 shlibpath_var=LD_LIBRARY_PATH
10223 shlibpath_overrides_runpath=no
10225 # Some binutils ld are patched to set DT_RUNPATH
10226 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10227 $as_echo_n "(cached) " >&6
10229 lt_cv_shlibpath_overrides_runpath=no
10230 save_LDFLAGS=$LDFLAGS
10231 save_libdir=$libdir
10232 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10233 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10245 if ac_fn_c_try_link "$LINENO"; then :
10246 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10247 lt_cv_shlibpath_overrides_runpath=yes
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LDFLAGS=$save_LDFLAGS
10253 libdir=$save_libdir
10257 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10259 # This implies no fast_install, which is unacceptable.
10260 # Some rework will be needed to allow for fast_install
10261 # before this can be enabled.
10262 hardcode_into_libs=yes
10264 # Append ld.so.conf contents to the search path
10265 if test -f /etc/ld.so.conf; then
10266 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' ' '`
10267 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10270 # We used to test for /lib/ld.so.1 and disable shared libraries on
10271 # powerpc, because MkLinux only supported shared libraries with the
10272 # GNU dynamic linker. Since this was broken with cross compilers,
10273 # most powerpc-linux boxes support dynamic linking these days and
10274 # people can always --disable-shared, the test was removed, and we
10275 # assume the GNU/Linux dynamic linker is in use.
10276 dynamic_linker='GNU/Linux ld.so'
10283 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10285 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10286 dynamic_linker='NetBSD (a.out) ld.so'
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10289 soname_spec='${libname}${release}${shared_ext}$major'
10290 dynamic_linker='NetBSD ld.elf_so'
10292 shlibpath_var=LD_LIBRARY_PATH
10293 shlibpath_overrides_runpath=yes
10294 hardcode_into_libs=yes
10299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10300 shlibpath_var=LD_LIBRARY_PATH
10301 shlibpath_overrides_runpath=yes
10308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 soname_spec='${libname}${release}${shared_ext}$major'
10310 shlibpath_var=LD_LIBRARY_PATH
10311 shlibpath_overrides_runpath=no
10312 hardcode_into_libs=yes
10313 dynamic_linker='ldqnx.so'
10318 sys_lib_dlsearch_path_spec="/usr/lib"
10320 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10322 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10323 *) need_version=no ;;
10325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10326 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10327 shlibpath_var=LD_LIBRARY_PATH
10328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10330 openbsd2.[89] | openbsd2.[89].*)
10331 shlibpath_overrides_runpath=no
10334 shlibpath_overrides_runpath=yes
10338 shlibpath_overrides_runpath=yes
10343 libname_spec='$name'
10346 library_names_spec='$libname${shared_ext} $libname.a'
10347 dynamic_linker='OS/2 ld.exe'
10348 shlibpath_var=LIBPATH
10351 osf3* | osf4* | osf5*)
10355 soname_spec='${libname}${release}${shared_ext}$major'
10356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357 shlibpath_var=LD_LIBRARY_PATH
10358 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10359 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371 soname_spec='${libname}${release}${shared_ext}$major'
10372 shlibpath_var=LD_LIBRARY_PATH
10373 shlibpath_overrides_runpath=yes
10374 hardcode_into_libs=yes
10375 # ldd complains unless libraries are executable
10376 postinstall_cmds='chmod +x $lib'
10381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10382 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10383 shlibpath_var=LD_LIBRARY_PATH
10384 shlibpath_overrides_runpath=yes
10385 if test "$with_gnu_ld" = yes; then
10393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10394 soname_spec='${libname}${release}${shared_ext}$major'
10395 shlibpath_var=LD_LIBRARY_PATH
10396 case $host_vendor in
10398 shlibpath_overrides_runpath=no
10400 runpath_var=LD_RUN_PATH
10408 shlibpath_overrides_runpath=no
10409 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10415 if test -d /usr/nec ;then
10417 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10418 soname_spec='$libname${shared_ext}.$major'
10419 shlibpath_var=LD_LIBRARY_PATH
10423 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10424 version_type=freebsd-elf
10427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10428 soname_spec='${libname}${release}${shared_ext}$major'
10429 shlibpath_var=LD_LIBRARY_PATH
10430 shlibpath_overrides_runpath=yes
10431 hardcode_into_libs=yes
10432 if test "$with_gnu_ld" = yes; then
10433 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10435 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10438 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10442 sys_lib_dlsearch_path_spec='/usr/lib'
10446 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10451 shlibpath_var=LD_LIBRARY_PATH
10452 shlibpath_overrides_runpath=no
10453 hardcode_into_libs=yes
10458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10459 soname_spec='${libname}${release}${shared_ext}$major'
10460 shlibpath_var=LD_LIBRARY_PATH
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10468 $as_echo "$dynamic_linker" >&6; }
10469 test "$dynamic_linker" = no && can_build_shared=no
10471 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10472 if test "$GCC" = yes; then
10473 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10476 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10477 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10479 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10480 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10575 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10577 if test -n "$hardcode_libdir_flag_spec" ||
10578 test -n "$runpath_var" ||
10579 test "X$hardcode_automatic" = "Xyes" ; then
10581 # We can hardcode non-existent directories.
10582 if test "$hardcode_direct" != no &&
10583 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10584 # have to relink, otherwise we might link with an installed library
10585 # when we should be linking with a yet-to-be-installed one
10586 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10587 test "$hardcode_minus_L" != no; then
10588 # Linking always hardcodes the temporary library directory.
10589 hardcode_action=relink
10591 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10592 hardcode_action=immediate
10595 # We cannot hardcode anything, or else we can only hardcode existing
10597 hardcode_action=unsupported
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10600 $as_echo "$hardcode_action" >&6; }
10602 if test "$hardcode_action" = relink ||
10603 test "$inherit_rpath" = yes; then
10604 # Fast installation is not supported
10605 enable_fast_install=no
10606 elif test "$shlibpath_overrides_runpath" = yes ||
10607 test "$enable_shared" = no; then
10608 # Fast installation is not necessary
10609 enable_fast_install=needless
10617 if test "x$enable_dlopen" != xyes; then
10618 enable_dlopen=unknown
10619 enable_dlopen_self=unknown
10620 enable_dlopen_self_static=unknown
10627 lt_cv_dlopen="load_add_on"
10629 lt_cv_dlopen_self=yes
10632 mingw* | pw32* | cegcc*)
10633 lt_cv_dlopen="LoadLibrary"
10638 lt_cv_dlopen="dlopen"
10643 # if libdl is installed we need to link against it
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10645 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10646 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10647 $as_echo_n "(cached) " >&6
10649 ac_check_lib_save_LIBS=$LIBS
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_lib_dl_dlopen=yes
10672 ac_cv_lib_dl_dlopen=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10679 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10680 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10681 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10684 lt_cv_dlopen="dyld"
10686 lt_cv_dlopen_self=yes
10693 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10694 if test "x$ac_cv_func_shl_load" = x""yes; then :
10695 lt_cv_dlopen="shl_load"
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10698 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10699 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10700 $as_echo_n "(cached) " >&6
10702 ac_check_lib_save_LIBS=$LIBS
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10707 /* Override any GCC internal prototype to avoid an error.
10708 Use char because int might match the return type of a GCC
10709 builtin and then its argument prototype would still apply. */
10717 return shl_load ();
10722 if ac_fn_c_try_link "$LINENO"; then :
10723 ac_cv_lib_dld_shl_load=yes
10725 ac_cv_lib_dld_shl_load=no
10727 rm -f core conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10729 LIBS=$ac_check_lib_save_LIBS
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10732 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10733 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10734 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10736 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10737 if test "x$ac_cv_func_dlopen" = x""yes; then :
10738 lt_cv_dlopen="dlopen"
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10741 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10742 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS=$LIBS
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10765 if ac_fn_c_try_link "$LINENO"; then :
10766 ac_cv_lib_dl_dlopen=yes
10768 ac_cv_lib_dl_dlopen=no
10770 rm -f core conftest.err conftest.$ac_objext \
10771 conftest$ac_exeext conftest.$ac_ext
10772 LIBS=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10775 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10776 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10777 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10780 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10781 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10782 $as_echo_n "(cached) " >&6
10784 ac_check_lib_save_LIBS=$LIBS
10785 LIBS="-lsvld $LIBS"
10786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10789 /* Override any GCC internal prototype to avoid an error.
10790 Use char because int might match the return type of a GCC
10791 builtin and then its argument prototype would still apply. */
10804 if ac_fn_c_try_link "$LINENO"; then :
10805 ac_cv_lib_svld_dlopen=yes
10807 ac_cv_lib_svld_dlopen=no
10809 rm -f core conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
10811 LIBS=$ac_check_lib_save_LIBS
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10814 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10815 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10816 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10819 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10820 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10823 ac_check_lib_save_LIBS=$LIBS
10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10838 return dld_link ();
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 ac_cv_lib_dld_dld_link=yes
10846 ac_cv_lib_dld_dld_link=no
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LIBS=$ac_check_lib_save_LIBS
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10853 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10854 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10855 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10876 if test "x$lt_cv_dlopen" != xno; then
10882 case $lt_cv_dlopen in
10884 save_CPPFLAGS="$CPPFLAGS"
10885 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10887 save_LDFLAGS="$LDFLAGS"
10888 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10891 LIBS="$lt_cv_dlopen_libs $LIBS"
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10894 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10895 if test "${lt_cv_dlopen_self+set}" = set; then :
10896 $as_echo_n "(cached) " >&6
10898 if test "$cross_compiling" = yes; then :
10899 lt_cv_dlopen_self=cross
10901 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10902 lt_status=$lt_dlunknown
10903 cat > conftest.$ac_ext <<_LT_EOF
10904 #line 10904 "configure"
10905 #include "confdefs.h"
10914 # define LT_DLGLOBAL RTLD_GLOBAL
10917 # define LT_DLGLOBAL DL_GLOBAL
10919 # define LT_DLGLOBAL 0
10923 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10924 find out it does not work in some platform. */
10925 #ifndef LT_DLLAZY_OR_NOW
10927 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10930 # define LT_DLLAZY_OR_NOW DL_LAZY
10933 # define LT_DLLAZY_OR_NOW RTLD_NOW
10936 # define LT_DLLAZY_OR_NOW DL_NOW
10938 # define LT_DLLAZY_OR_NOW 0
10945 /* When -fvisbility=hidden is used, assume the code has been annotated
10946 correspondingly for the symbols needed. */
10947 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10948 void fnord () __attribute__((visibility("default")));
10951 void fnord () { int i=42; }
10954 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10955 int status = $lt_dlunknown;
10959 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10962 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10963 else puts (dlerror ());
10965 /* dlclose (self); */
10973 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10974 (eval $ac_link) 2>&5
10976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10977 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10978 (./conftest; exit; ) >&5 2>/dev/null
10980 case x$lt_status in
10981 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10982 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10983 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10986 # compilation failed
10987 lt_cv_dlopen_self=no
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10995 $as_echo "$lt_cv_dlopen_self" >&6; }
10997 if test "x$lt_cv_dlopen_self" = xyes; then
10998 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11000 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11001 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11004 if test "$cross_compiling" = yes; then :
11005 lt_cv_dlopen_self_static=cross
11007 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11008 lt_status=$lt_dlunknown
11009 cat > conftest.$ac_ext <<_LT_EOF
11010 #line 11010 "configure"
11011 #include "confdefs.h"
11020 # define LT_DLGLOBAL RTLD_GLOBAL
11023 # define LT_DLGLOBAL DL_GLOBAL
11025 # define LT_DLGLOBAL 0
11029 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11030 find out it does not work in some platform. */
11031 #ifndef LT_DLLAZY_OR_NOW
11033 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11036 # define LT_DLLAZY_OR_NOW DL_LAZY
11039 # define LT_DLLAZY_OR_NOW RTLD_NOW
11042 # define LT_DLLAZY_OR_NOW DL_NOW
11044 # define LT_DLLAZY_OR_NOW 0
11051 /* When -fvisbility=hidden is used, assume the code has been annotated
11052 correspondingly for the symbols needed. */
11053 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11054 void fnord () __attribute__((visibility("default")));
11057 void fnord () { int i=42; }
11060 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11061 int status = $lt_dlunknown;
11065 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11068 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11069 else puts (dlerror ());
11071 /* dlclose (self); */
11079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11080 (eval $ac_link) 2>&5
11082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11083 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11084 (./conftest; exit; ) >&5 2>/dev/null
11086 case x$lt_status in
11087 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11088 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11089 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11092 # compilation failed
11093 lt_cv_dlopen_self_static=no
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11101 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11104 CPPFLAGS="$save_CPPFLAGS"
11105 LDFLAGS="$save_LDFLAGS"
11110 case $lt_cv_dlopen_self in
11111 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11112 *) enable_dlopen_self=unknown ;;
11115 case $lt_cv_dlopen_self_static in
11116 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11117 *) enable_dlopen_self_static=unknown ;;
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11140 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11141 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11142 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11143 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11145 $as_echo "yes" >&6; }
11147 # FIXME - insert some real tests, host_os isn't really good enough
11150 if test -n "$STRIP" ; then
11151 striplib="$STRIP -x"
11152 old_striplib="$STRIP -S"
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11154 $as_echo "yes" >&6; }
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11157 $as_echo "no" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11178 # Report which library types will actually be built
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11180 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11182 $as_echo "$can_build_shared" >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11185 $as_echo_n "checking whether to build shared libraries... " >&6; }
11186 test "$can_build_shared" = "no" && enable_shared=no
11188 # On AIX, shared libraries and static libraries use the same namespace, and
11189 # are all built from PIC.
11192 test "$enable_shared" = yes && enable_static=no
11193 if test -n "$RANLIB"; then
11194 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11195 postinstall_cmds='$RANLIB $lib'
11200 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11201 test "$enable_shared" = yes && enable_static=no
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11206 $as_echo "$enable_shared" >&6; }
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11209 $as_echo_n "checking whether to build static libraries... " >&6; }
11210 # Make sure either enable_shared or enable_static is yes.
11211 test "$enable_shared" = yes || enable_static=yes
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11213 $as_echo "$enable_static" >&6; }
11220 ac_cpp='$CPP $CPPFLAGS'
11221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11239 ac_config_commands="$ac_config_commands libtool"
11244 # Only expand once:
11248 # The tests for host and target for $enable_largefile require
11253 # As the $enable_largefile decision depends on --enable-plugins we must set it
11254 # even in directories otherwise not depending on the $plugins option.
11258 for ac_header in dlfcn.h
11260 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
11262 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
11263 cat >>confdefs.h <<_ACEOF
11264 #define HAVE_DLFCN_H 1
11271 for ac_header in windows.h
11273 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
11275 if test "x$ac_cv_header_windows_h" = x""yes; then :
11276 cat >>confdefs.h <<_ACEOF
11277 #define HAVE_WINDOWS_H 1
11285 # Check whether --enable-plugins was given.
11286 if test "${enable_plugins+set}" = set; then :
11287 enableval=$enable_plugins; case "${enableval}" in
11290 if test "$maybe_plugins" != "yes" ; then
11291 as_fn_error "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
11295 plugins=$maybe_plugins
11299 if test "$plugins" = "yes"; then
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11301 $as_echo_n "checking for library containing dlopen... " >&6; }
11302 if test "${ac_cv_search_dlopen+set}" = set; then :
11303 $as_echo_n "(cached) " >&6
11305 ac_func_search_save_LIBS=$LIBS
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11324 for ac_lib in '' dl; do
11325 if test -z "$ac_lib"; then
11326 ac_res="none required"
11329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 ac_cv_search_dlopen=$ac_res
11334 rm -f core conftest.err conftest.$ac_objext \
11336 if test "${ac_cv_search_dlopen+set}" = set; then :
11340 if test "${ac_cv_search_dlopen+set}" = set; then :
11343 ac_cv_search_dlopen=no
11345 rm conftest.$ac_ext
11346 LIBS=$ac_func_search_save_LIBS
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11349 $as_echo "$ac_cv_search_dlopen" >&6; }
11350 ac_res=$ac_cv_search_dlopen
11351 if test "$ac_res" != no; then :
11352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11360 sparc-*-solaris*|i[3-7]86-*-solaris*)
11361 # On native 32bit sparc and ia32 solaris, large-file and procfs support
11362 # are mutually exclusive; and without procfs support, the bfd/ elf module
11363 # cannot provide certain routines such as elfcore_write_prpsinfo
11364 # or elfcore_write_prstatus. So unless the user explicitly requested
11365 # large-file support through the --enable-largefile switch, disable
11366 # large-file support in favor of procfs support.
11367 test "${target}" = "${host}" -a "x$plugins" = xno \
11368 && : ${enable_largefile="no"}
11372 # Check whether --enable-largefile was given.
11373 if test "${enable_largefile+set}" = set; then :
11374 enableval=$enable_largefile;
11377 if test "$enable_largefile" != no; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11380 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11381 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11382 $as_echo_n "(cached) " >&6
11384 ac_cv_sys_largefile_CC=no
11385 if test "$GCC" != yes; then
11388 # IRIX 6.2 and later do not support large files by default,
11389 # so use the C compiler's -n32 option if that helps.
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392 #include <sys/types.h>
11393 /* Check that off_t can represent 2**63 - 1 correctly.
11394 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11395 since some C++ compilers masquerading as C compilers
11396 incorrectly reject 9223372036854775807. */
11397 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11398 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11399 && LARGE_OFF_T % 2147483647 == 1)
11409 if ac_fn_c_try_compile "$LINENO"; then :
11412 rm -f core conftest.err conftest.$ac_objext
11414 if ac_fn_c_try_compile "$LINENO"; then :
11415 ac_cv_sys_largefile_CC=' -n32'; break
11417 rm -f core conftest.err conftest.$ac_objext
11421 rm -f conftest.$ac_ext
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11425 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11426 if test "$ac_cv_sys_largefile_CC" != no; then
11427 CC=$CC$ac_cv_sys_largefile_CC
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11431 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11432 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11433 $as_echo_n "(cached) " >&6
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438 #include <sys/types.h>
11439 /* Check that off_t can represent 2**63 - 1 correctly.
11440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11441 since some C++ compilers masquerading as C compilers
11442 incorrectly reject 9223372036854775807. */
11443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11445 && LARGE_OFF_T % 2147483647 == 1)
11455 if ac_fn_c_try_compile "$LINENO"; then :
11456 ac_cv_sys_file_offset_bits=no; break
11458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11461 #define _FILE_OFFSET_BITS 64
11462 #include <sys/types.h>
11463 /* Check that off_t can represent 2**63 - 1 correctly.
11464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11465 since some C++ compilers masquerading as C compilers
11466 incorrectly reject 9223372036854775807. */
11467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11469 && LARGE_OFF_T % 2147483647 == 1)
11479 if ac_fn_c_try_compile "$LINENO"; then :
11480 ac_cv_sys_file_offset_bits=64; break
11482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11483 ac_cv_sys_file_offset_bits=unknown
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11488 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11489 case $ac_cv_sys_file_offset_bits in #(
11492 cat >>confdefs.h <<_ACEOF
11493 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11498 if test $ac_cv_sys_file_offset_bits = unknown; then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11500 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11501 if test "${ac_cv_sys_large_files+set}" = set; then :
11502 $as_echo_n "(cached) " >&6
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11507 #include <sys/types.h>
11508 /* Check that off_t can represent 2**63 - 1 correctly.
11509 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11510 since some C++ compilers masquerading as C compilers
11511 incorrectly reject 9223372036854775807. */
11512 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11513 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11514 && LARGE_OFF_T % 2147483647 == 1)
11524 if ac_fn_c_try_compile "$LINENO"; then :
11525 ac_cv_sys_large_files=no; break
11527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530 #define _LARGE_FILES 1
11531 #include <sys/types.h>
11532 /* Check that off_t can represent 2**63 - 1 correctly.
11533 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11534 since some C++ compilers masquerading as C compilers
11535 incorrectly reject 9223372036854775807. */
11536 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11537 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11538 && LARGE_OFF_T % 2147483647 == 1)
11548 if ac_fn_c_try_compile "$LINENO"; then :
11549 ac_cv_sys_large_files=1; break
11551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11552 ac_cv_sys_large_files=unknown
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
11557 $as_echo "$ac_cv_sys_large_files" >&6; }
11558 case $ac_cv_sys_large_files in #(
11561 cat >>confdefs.h <<_ACEOF
11562 #define _LARGE_FILES $ac_cv_sys_large_files
11572 for ac_func in setmode
11574 ac_fn_c_check_func "$LINENO" "setmode" "ac_cv_func_setmode"
11575 if test "x$ac_cv_func_setmode" = x""yes; then :
11576 cat >>confdefs.h <<_ACEOF
11577 #define HAVE_SETMODE 1
11584 ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl bg eo ja sr hu"
11585 # If we haven't got the data from the intl directory,
11586 # assume NLS is disabled.
11595 if test -f ../intl/config.intl; then
11596 . ../intl/config.intl
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11599 $as_echo_n "checking whether NLS is requested... " >&6; }
11600 if test x"$USE_NLS" != xyes; then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11602 $as_echo "no" >&6; }
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11605 $as_echo "yes" >&6; }
11607 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11611 $as_echo_n "checking for catalogs to be installed... " >&6; }
11612 # Look for .po and .gmo files in the source directory.
11615 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11616 # If there aren't any .gmo files the shell will give us the
11617 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11619 case "$cat" in *\**)
11622 # The quadruple backslash is collapsed to a double backslash
11623 # by the backticks, then collapsed again by the double quotes,
11624 # leaving us with one backslash in the sed expression (right
11625 # before the dot that mustn't act as a wildcard).
11626 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11627 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11628 # The user is allowed to set LINGUAS to a list of languages to
11629 # install catalogs for. If it's empty that means "all of them."
11630 if test "x$LINGUAS" = x; then
11631 CATALOGS="$CATALOGS $cat"
11632 XLINGUAS="$XLINGUAS $lang"
11634 case "$LINGUAS" in *$lang*)
11635 CATALOGS="$CATALOGS $cat"
11636 XLINGUAS="$XLINGUAS $lang"
11641 LINGUAS="$XLINGUAS"
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11643 $as_echo "$LINGUAS" >&6; }
11657 if test -n "$ac_aux_dir"; then
11658 case "$ac_aux_dir" in
11659 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11660 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11663 if test -z "$MKINSTALLDIRS"; then
11664 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11670 $as_echo_n "checking whether NLS is requested... " >&6; }
11671 # Check whether --enable-nls was given.
11672 if test "${enable_nls+set}" = set; then :
11673 enableval=$enable_nls; USE_NLS=$enableval
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11679 $as_echo "$USE_NLS" >&6; }
11686 # Prepare PATH_SEPARATOR.
11687 # The user is always right.
11688 if test "${PATH_SEPARATOR+set}" != set; then
11689 echo "#! /bin/sh" >conf$$.sh
11690 echo "exit 0" >>conf$$.sh
11692 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11700 # Find out how to test for executable files. Don't use a zero-byte file,
11701 # as systems may use methods other than mode bits to determine executability.
11702 cat >conf$$.file <<_ASEOF
11706 chmod +x conf$$.file
11707 if test -x conf$$.file >/dev/null 2>&1; then
11708 ac_executable_p="test -x"
11710 ac_executable_p="test -f"
11714 # Extract the first word of "msgfmt", so it can be a program name with args.
11715 set dummy msgfmt; ac_word=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11717 $as_echo_n "checking for $ac_word... " >&6; }
11718 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11719 $as_echo_n "(cached) " >&6
11723 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11726 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11727 for ac_dir in $PATH; do
11729 test -z "$ac_dir" && ac_dir=.
11730 for ac_exec_ext in '' $ac_executable_extensions; do
11731 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11732 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11733 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11734 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11741 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11745 MSGFMT="$ac_cv_path_MSGFMT"
11746 if test "$MSGFMT" != ":"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11748 $as_echo "$MSGFMT" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11754 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11755 set dummy gmsgfmt; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757 $as_echo_n "checking for $ac_word... " >&6; }
11758 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11759 $as_echo_n "(cached) " >&6
11763 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11767 for as_dir in $PATH
11770 test -z "$as_dir" && as_dir=.
11771 for ac_exec_ext in '' $ac_executable_extensions; do
11772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11773 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11781 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11785 GMSGFMT=$ac_cv_path_GMSGFMT
11786 if test -n "$GMSGFMT"; then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11788 $as_echo "$GMSGFMT" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11791 $as_echo "no" >&6; }
11797 # Prepare PATH_SEPARATOR.
11798 # The user is always right.
11799 if test "${PATH_SEPARATOR+set}" != set; then
11800 echo "#! /bin/sh" >conf$$.sh
11801 echo "exit 0" >>conf$$.sh
11803 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11811 # Find out how to test for executable files. Don't use a zero-byte file,
11812 # as systems may use methods other than mode bits to determine executability.
11813 cat >conf$$.file <<_ASEOF
11817 chmod +x conf$$.file
11818 if test -x conf$$.file >/dev/null 2>&1; then
11819 ac_executable_p="test -x"
11821 ac_executable_p="test -f"
11825 # Extract the first word of "xgettext", so it can be a program name with args.
11826 set dummy xgettext; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11828 $as_echo_n "checking for $ac_word... " >&6; }
11829 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11830 $as_echo_n "(cached) " >&6
11832 case "$XGETTEXT" in
11834 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11837 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11838 for ac_dir in $PATH; do
11840 test -z "$ac_dir" && ac_dir=.
11841 for ac_exec_ext in '' $ac_executable_extensions; do
11842 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11843 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11844 (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
11845 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11852 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11856 XGETTEXT="$ac_cv_path_XGETTEXT"
11857 if test "$XGETTEXT" != ":"; then
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11859 $as_echo "$XGETTEXT" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11868 # Prepare PATH_SEPARATOR.
11869 # The user is always right.
11870 if test "${PATH_SEPARATOR+set}" != set; then
11871 echo "#! /bin/sh" >conf$$.sh
11872 echo "exit 0" >>conf$$.sh
11874 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11882 # Find out how to test for executable files. Don't use a zero-byte file,
11883 # as systems may use methods other than mode bits to determine executability.
11884 cat >conf$$.file <<_ASEOF
11888 chmod +x conf$$.file
11889 if test -x conf$$.file >/dev/null 2>&1; then
11890 ac_executable_p="test -x"
11892 ac_executable_p="test -f"
11896 # Extract the first word of "msgmerge", so it can be a program name with args.
11897 set dummy msgmerge; ac_word=$2
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11899 $as_echo_n "checking for $ac_word... " >&6; }
11900 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11901 $as_echo_n "(cached) " >&6
11903 case "$MSGMERGE" in
11905 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11908 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11909 for ac_dir in $PATH; do
11911 test -z "$ac_dir" && ac_dir=.
11912 for ac_exec_ext in '' $ac_executable_extensions; do
11913 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11914 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11915 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11922 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11926 MSGMERGE="$ac_cv_path_MSGMERGE"
11927 if test "$MSGMERGE" != ":"; then
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11929 $as_echo "$MSGMERGE" >&6; }
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11932 $as_echo "no" >&6; }
11936 if test "$GMSGFMT" != ":"; then
11937 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11938 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11941 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11943 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11948 if test "$XGETTEXT" != ":"; then
11949 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11950 (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
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11954 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11960 ac_config_commands="$ac_config_commands default-1"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11966 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11967 # Check whether --enable-maintainer-mode was given.
11968 if test "${enable_maintainer_mode+set}" = set; then :
11969 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11971 USE_MAINTAINER_MODE=no
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11975 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11976 if test $USE_MAINTAINER_MODE = yes; then
11977 MAINTAINER_MODE_TRUE=
11978 MAINTAINER_MODE_FALSE='#'
11980 MAINTAINER_MODE_TRUE='#'
11981 MAINTAINER_MODE_FALSE=
11984 MAINT=$MAINTAINER_MODE_TRUE
11988 GENINSRC_NEVER_TRUE=
11989 GENINSRC_NEVER_FALSE='#'
11991 GENINSRC_NEVER_TRUE='#'
11992 GENINSRC_NEVER_FALSE=
11997 for ac_header in sys/gmon_out.h
11999 ac_fn_c_check_header_mongrel "$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
12000 if test "x$ac_cv_header_sys_gmon_out_h" = x""yes; then :
12001 cat >>confdefs.h <<_ACEOF
12002 #define HAVE_SYS_GMON_OUT_H 1
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
12011 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
12012 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
12013 $as_echo_n "(cached) " >&6
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12017 #include <unistd.h>
12021 extern int getopt (int, char *const*, const char *);
12026 if ac_fn_c_try_compile "$LINENO"; then :
12027 gprof_cv_decl_getopt_unistd_h=yes
12029 gprof_cv_decl_getopt_unistd_h=no
12031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
12035 $as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
12036 if test $gprof_cv_decl_getopt_unistd_h = yes; then
12038 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
12042 # Some systems have fabs only in -lm, not in -lc.
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
12044 $as_echo_n "checking for library containing fabs... " >&6; }
12045 if test "${ac_cv_search_fabs+set}" = set; then :
12046 $as_echo_n "(cached) " >&6
12048 ac_func_search_save_LIBS=$LIBS
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12067 for ac_lib in '' m; do
12068 if test -z "$ac_lib"; then
12069 ac_res="none required"
12072 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 ac_cv_search_fabs=$ac_res
12077 rm -f core conftest.err conftest.$ac_objext \
12079 if test "${ac_cv_search_fabs+set}" = set; then :
12083 if test "${ac_cv_search_fabs+set}" = set; then :
12086 ac_cv_search_fabs=no
12088 rm conftest.$ac_ext
12089 LIBS=$ac_func_search_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
12092 $as_echo "$ac_cv_search_fabs" >&6; }
12093 ac_res=$ac_cv_search_fabs
12094 if test "$ac_res" != no; then :
12095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12101 # Set the 'development' global.
12102 . $srcdir/../bfd/development.sh
12104 # Default set of GCC warnings to enable.
12105 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
12107 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12113 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
12116 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
12121 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12127 $EGREP "^[0-4]$" >/dev/null 2>&1; then :
12130 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
12135 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
12136 WARN_WRITE_STRINGS=""
12137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 /* end confdefs.h. */
12141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12142 $EGREP "^[0-3]$" >/dev/null 2>&1; then :
12145 WARN_WRITE_STRINGS="-Wwrite-strings"
12150 # Check whether --enable-werror was given.
12151 if test "${enable_werror+set}" = set; then :
12152 enableval=$enable_werror; case "${enableval}" in
12153 yes | y) ERROR_ON_WARNING="yes" ;;
12154 no | n) ERROR_ON_WARNING="no" ;;
12155 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12160 # Disable -Wformat by default when using gcc on mingw
12163 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12164 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12170 # Enable -Werror by default when using gcc. Turn it off for releases.
12171 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
12172 ERROR_ON_WARNING=yes
12176 if test "${ERROR_ON_WARNING}" = yes ; then
12177 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12178 NO_WERROR="-Wno-error"
12181 if test "${GCC}" = yes ; then
12182 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12185 # Check whether --enable-build-warnings was given.
12186 if test "${enable_build_warnings+set}" = set; then :
12187 enableval=$enable_build_warnings; case "${enableval}" in
12188 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
12189 no) if test "${GCC}" = yes ; then
12192 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12193 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
12194 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
12195 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
12196 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12201 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12202 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12215 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12217 cat >confcache <<\_ACEOF
12218 # This file is a shell script that caches the results of configure
12219 # tests run on this system so they can be shared between configure
12220 # scripts and configure runs, see configure's option --config-cache.
12221 # It is not useful on other systems. If it contains results you don't
12222 # want to keep, you may remove or edit it.
12224 # config.status only pays attention to the cache file if you give it
12225 # the --recheck option to rerun configure.
12227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12229 # following values.
12233 # The following way of writing the cache mishandles newlines in values,
12234 # but we know of no workaround that is simple, portable, and efficient.
12235 # So, we kill variables containing newlines.
12236 # Ultrix sh set writes to stderr and can't be redirected directly,
12237 # and sets the high bit in the cache file unless we assign to the vars.
12239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12240 eval ac_val=\$$ac_var
12244 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12248 _ | IFS | as_nl) ;; #(
12249 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12250 *) { eval $ac_var=; unset $ac_var;} ;;
12256 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12257 *${as_nl}ac_space=\ *)
12258 # `set' does not quote correctly, so add quotes: double-quote
12259 # substitution turns \\\\ into \\, and sed turns \\ into \.
12262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12265 # `set' quotes correctly as required by POSIX, so do not add quotes.
12266 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12277 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12279 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12280 if test -w "$cache_file"; then
12281 test "x$cache_file" != "x/dev/null" &&
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12283 $as_echo "$as_me: updating cache $cache_file" >&6;}
12284 cat confcache >$cache_file
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12287 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12292 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12293 # Let make expand exec_prefix.
12294 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12296 DEFS=-DHAVE_CONFIG_H
12300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12301 # 1. Remove the extension, and $U if already installed.
12302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12303 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12304 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12305 # will be set to the directory where LIBOBJS objects are built.
12306 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12307 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12309 LIBOBJS=$ac_libobjs
12311 LTLIBOBJS=$ac_ltlibobjs
12314 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12315 as_fn_error "conditional \"AMDEP\" was never defined.
12316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12318 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12319 as_fn_error "conditional \"am__fastdepCC\" was never defined.
12320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12322 if test -n "$EXEEXT"; then
12324 am__EXEEXT_FALSE='#'
12326 am__EXEEXT_TRUE='#'
12330 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12331 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12334 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12335 as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
12336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12339 : ${CONFIG_STATUS=./config.status}
12341 ac_clean_files_save=$ac_clean_files
12342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12344 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12346 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12348 # Generated by $as_me.
12349 # Run this file to recreate the current configuration.
12350 # Compiler output produced by configure, useful for debugging
12351 # configure, is in config.log if it exists.
12354 ac_cs_recheck=false
12357 SHELL=\${CONFIG_SHELL-$SHELL}
12360 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12361 ## -------------------- ##
12362 ## M4sh Initialization. ##
12363 ## -------------------- ##
12365 # Be more Bourne compatible
12366 DUALCASE=1; export DUALCASE # for MKS sh
12367 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12370 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12371 # is contrary to our usage. Disable this feature.
12372 alias -g '${1+"$@"}'='"$@"'
12373 setopt NO_GLOB_SUBST
12375 case `(set -o) 2>/dev/null` in #(
12387 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12388 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12389 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12390 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12391 # Prefer a ksh shell builtin over an external printf program on Solaris,
12392 # but without wasting forks for bash or zsh.
12393 if test -z "$BASH_VERSION$ZSH_VERSION" \
12394 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12395 as_echo='print -r --'
12396 as_echo_n='print -rn --'
12397 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12398 as_echo='printf %s\n'
12399 as_echo_n='printf %s'
12401 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12402 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12403 as_echo_n='/usr/ucb/echo -n'
12405 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12406 as_echo_n_body='eval
12410 expr "X$arg" : "X\\(.*\\)$as_nl";
12411 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12413 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12415 export as_echo_n_body
12416 as_echo_n='sh -c $as_echo_n_body as_echo'
12418 export as_echo_body
12419 as_echo='sh -c $as_echo_body as_echo'
12422 # The user is always right.
12423 if test "${PATH_SEPARATOR+set}" != set; then
12425 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12426 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12433 # We need space, tab and new line, in precisely that order. Quoting is
12434 # there to prevent editors from complaining about space-tab.
12435 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12436 # splitting by setting IFS to empty value.)
12439 # Find who we are. Look in the path if we contain no directory separator.
12441 *[\\/]* ) as_myself=$0 ;;
12442 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12443 for as_dir in $PATH
12446 test -z "$as_dir" && as_dir=.
12447 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12453 # We did not find ourselves, most probably we were run as `sh COMMAND'
12454 # in which case we are not to be found in the path.
12455 if test "x$as_myself" = x; then
12458 if test ! -f "$as_myself"; then
12459 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12463 # Unset variables that we do not need and which cause bugs (e.g. in
12464 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12465 # suppresses any "Segmentation fault" message there. '((' could
12466 # trigger a bug in pdksh 5.2.14.
12467 for as_var in BASH_ENV ENV MAIL MAILPATH
12468 do eval test x\${$as_var+set} = xset \
12469 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12482 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12485 # as_fn_error ERROR [LINENO LOG_FD]
12486 # ---------------------------------
12487 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12488 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12489 # script with status $?, using 1 if that was 0.
12492 as_status=$?; test $as_status -eq 0 && as_status=1
12494 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12495 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12497 $as_echo "$as_me: error: $1" >&2
12498 as_fn_exit $as_status
12502 # as_fn_set_status STATUS
12503 # -----------------------
12504 # Set $? to STATUS, without forking.
12505 as_fn_set_status ()
12508 } # as_fn_set_status
12510 # as_fn_exit STATUS
12511 # -----------------
12512 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12516 as_fn_set_status $1
12522 # Portably unset VAR.
12525 { eval $1=; unset $1;}
12527 as_unset=as_fn_unset
12528 # as_fn_append VAR VALUE
12529 # ----------------------
12530 # Append the text in VALUE to the end of the definition contained in VAR. Take
12531 # advantage of any shell optimizations that allow amortized linear growth over
12532 # repeated appends, instead of the typical quadratic growth present in naive
12534 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12535 eval 'as_fn_append ()
12546 # as_fn_arith ARG...
12547 # ------------------
12548 # Perform arithmetic evaluation on the ARGs, and store the result in the
12549 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12550 # must be portable across $(()) and expr.
12551 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12552 eval 'as_fn_arith ()
12559 as_val=`expr "$@" || test $? -eq 1`
12564 if expr a : '\(a\)' >/dev/null 2>&1 &&
12565 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12571 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12572 as_basename=basename
12577 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12583 as_me=`$as_basename -- "$0" ||
12584 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12585 X"$0" : 'X\(//\)$' \| \
12586 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12588 sed '/^.*\/\([^/][^/]*\)\/*$/{
12602 # Avoid depending upon Character Ranges.
12603 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12604 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12605 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12606 as_cr_digits='0123456789'
12607 as_cr_alnum=$as_cr_Letters$as_cr_digits
12609 ECHO_C= ECHO_N= ECHO_T=
12610 case `echo -n x` in #(((((
12612 case `echo 'xy\c'` in
12613 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12615 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12622 rm -f conf$$ conf$$.exe conf$$.file
12623 if test -d conf$$.dir; then
12624 rm -f conf$$.dir/conf$$.file
12627 mkdir conf$$.dir 2>/dev/null
12629 if (echo >conf$$.file) 2>/dev/null; then
12630 if ln -s conf$$.file conf$$ 2>/dev/null; then
12632 # ... but there are two gotchas:
12633 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12634 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12635 # In both cases, we have to default to `cp -p'.
12636 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12638 elif ln conf$$.file conf$$ 2>/dev/null; then
12646 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12647 rmdir conf$$.dir 2>/dev/null
12652 # Create "$as_dir" as a directory, including parents if necessary.
12657 -*) as_dir=./$as_dir;;
12659 test -d "$as_dir" || eval $as_mkdir_p || {
12663 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12664 *) as_qdir=$as_dir;;
12666 as_dirs="'$as_qdir' $as_dirs"
12667 as_dir=`$as_dirname -- "$as_dir" ||
12668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12669 X"$as_dir" : 'X\(//\)[^/]' \| \
12670 X"$as_dir" : 'X\(//\)$' \| \
12671 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12672 $as_echo X"$as_dir" |
12673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12677 /^X\(\/\/\)[^/].*/{
12690 test -d "$as_dir" && break
12692 test -z "$as_dirs" || eval "mkdir $as_dirs"
12693 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12697 if mkdir -p . 2>/dev/null; then
12698 as_mkdir_p='mkdir -p "$as_dir"'
12700 test -d ./-p && rmdir ./-p
12704 if test -x / >/dev/null 2>&1; then
12705 as_test_x='test -x'
12707 if ls -dL / >/dev/null 2>&1; then
12714 if test -d "$1"; then
12720 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12721 ???[sx]*):;;*)false;;esac;fi
12725 as_executable_p=$as_test_x
12727 # Sed expression to map a string onto a valid CPP name.
12728 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12730 # Sed expression to map a string onto a valid variable name.
12731 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12735 ## ----------------------------------- ##
12736 ## Main body of $CONFIG_STATUS script. ##
12737 ## ----------------------------------- ##
12739 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12742 # Save the log message, to keep $0 and so on meaningful, and to
12743 # report actual input values of CONFIG_FILES etc. instead of their
12744 # values after options handling.
12746 This file was extended by gprof $as_me 2.26.51, which was
12747 generated by GNU Autoconf 2.64. Invocation command line was
12749 CONFIG_FILES = $CONFIG_FILES
12750 CONFIG_HEADERS = $CONFIG_HEADERS
12751 CONFIG_LINKS = $CONFIG_LINKS
12752 CONFIG_COMMANDS = $CONFIG_COMMANDS
12755 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12760 case $ac_config_files in *"
12761 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12764 case $ac_config_headers in *"
12765 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12770 # Files that config.status was made for.
12771 config_files="$ac_config_files"
12772 config_headers="$ac_config_headers"
12773 config_commands="$ac_config_commands"
12777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12779 \`$as_me' instantiates files and other configuration actions
12780 from templates according to the current configuration. Unless the files
12781 and actions are specified as TAGs, all are instantiated by default.
12783 Usage: $0 [OPTION]... [TAG]...
12785 -h, --help print this help, then exit
12786 -V, --version print version number and configuration settings, then exit
12787 -q, --quiet, --silent
12788 do not print progress messages
12789 -d, --debug don't remove temporary files
12790 --recheck update $as_me by reconfiguring in the same conditions
12791 --file=FILE[:TEMPLATE]
12792 instantiate the configuration file FILE
12793 --header=FILE[:TEMPLATE]
12794 instantiate the configuration header FILE
12796 Configuration files:
12799 Configuration headers:
12802 Configuration commands:
12805 Report bugs to the package provider."
12808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12810 gprof config.status 2.26.51
12811 configured by $0, generated by GNU Autoconf 2.64,
12812 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12814 Copyright (C) 2009 Free Software Foundation, Inc.
12815 This config.status script is free software; the Free Software Foundation
12816 gives unlimited permission to copy, distribute and modify it."
12823 test -n "\$AWK" || AWK=awk
12826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12827 # The default lists apply if the user does not specify any file.
12833 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12834 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12845 # Handling of the options.
12846 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12848 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12849 $as_echo "$ac_cs_version"; exit ;;
12850 --debug | --debu | --deb | --de | --d | -d )
12852 --file | --fil | --fi | --f )
12855 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12857 as_fn_append CONFIG_FILES " '$ac_optarg'"
12858 ac_need_defaults=false;;
12859 --header | --heade | --head | --hea )
12862 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12864 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12865 ac_need_defaults=false;;
12867 # Conflict between --help and --header
12868 as_fn_error "ambiguous option: \`$1'
12869 Try \`$0 --help' for more information.";;
12870 --help | --hel | -h )
12871 $as_echo "$ac_cs_usage"; exit ;;
12872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12873 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12876 # This is an error.
12877 -*) as_fn_error "unrecognized option: \`$1'
12878 Try \`$0 --help' for more information." ;;
12880 *) as_fn_append ac_config_targets " $1"
12881 ac_need_defaults=false ;;
12887 ac_configure_extra_args=
12889 if $ac_cs_silent; then
12891 ac_configure_extra_args="$ac_configure_extra_args --silent"
12895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12896 if \$ac_cs_recheck; then
12897 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12899 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12900 CONFIG_SHELL='$SHELL'
12901 export CONFIG_SHELL
12906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12910 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12911 ## Running $as_me. ##
12917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12921 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12924 # The HP-UX ksh and POSIX shell print the target directory to stdout
12925 # if CDPATH is set.
12926 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12928 sed_quote_subst='$sed_quote_subst'
12929 double_quote_subst='$double_quote_subst'
12930 delay_variable_subst='$delay_variable_subst'
12931 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12932 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12933 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12934 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12935 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12936 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12937 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12938 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12939 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12940 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12941 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12942 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12943 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12944 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12945 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12946 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12947 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12948 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12949 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12950 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12951 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12952 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12953 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12954 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12955 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12956 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12957 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12958 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12959 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12960 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12961 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12962 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12963 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12964 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12965 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12966 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12967 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12968 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12969 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12970 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12971 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12972 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12973 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12974 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12975 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12976 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12977 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12978 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12979 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"`'
12980 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12981 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12982 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12983 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12984 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12985 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12986 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12987 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12988 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12989 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12990 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12991 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12992 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12993 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12994 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12995 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12996 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12997 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12998 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12999 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13000 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13001 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13002 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13003 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13004 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13005 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13006 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13007 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13008 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13009 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13010 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13011 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13012 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13013 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13014 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13015 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13016 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13017 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13018 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13019 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13020 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13021 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13022 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13023 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13024 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13025 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13026 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13027 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13028 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13029 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13030 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13031 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13032 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13033 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13034 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13035 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13036 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13037 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13038 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13039 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13040 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13041 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13042 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13043 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13044 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13045 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13046 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13047 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13048 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13049 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13050 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13053 LTCFLAGS='$LTCFLAGS'
13054 compiler='$compiler_DEFAULT'
13056 # A function that is used when there is no print builtin or printf.
13057 func_fallback_echo ()
13059 eval 'cat <<_LTECHO_EOF
13064 # Quote evaled strings.
13078 deplibs_check_method \
13087 lt_cv_sys_global_symbol_pipe \
13088 lt_cv_sys_global_symbol_to_cdecl \
13089 lt_cv_sys_global_symbol_to_c_name_address \
13090 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13091 lt_prog_compiler_no_builtin_flag \
13092 lt_prog_compiler_wl \
13093 lt_prog_compiler_pic \
13094 lt_prog_compiler_static \
13095 lt_cv_prog_compiler_c_o \
13103 export_dynamic_flag_spec \
13104 whole_archive_flag_spec \
13105 compiler_needs_object \
13107 allow_undefined_flag \
13108 no_undefined_flag \
13109 hardcode_libdir_flag_spec \
13110 hardcode_libdir_flag_spec_ld \
13111 hardcode_libdir_separator \
13116 variables_saved_for_relink \
13118 library_names_spec \
13120 install_override_mode \
13124 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13125 *[\\\\\\\`\\"\\\$]*)
13126 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13129 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13134 # Double-quote double-evaled strings.
13135 for var in reload_cmds \
13136 old_postinstall_cmds \
13137 old_postuninstall_cmds \
13139 extract_expsyms_cmds \
13140 old_archive_from_new_cmds \
13141 old_archive_from_expsyms_cmds \
13143 archive_expsym_cmds \
13145 module_expsym_cmds \
13146 export_symbols_cmds \
13149 postuninstall_cmds \
13151 sys_lib_search_path_spec \
13152 sys_lib_dlsearch_path_spec; do
13153 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13154 *[\\\\\\\`\\"\\\$]*)
13155 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13158 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13163 ac_aux_dir='$ac_aux_dir'
13164 xsi_shell='$xsi_shell'
13165 lt_shell_append='$lt_shell_append'
13167 # See if we are running on zsh, and set the options which allow our
13168 # commands through without removal of \ escapes INIT.
13169 if test -n "\${ZSH_VERSION+set}" ; then
13170 setopt NO_GLOB_SUBST
13176 TIMESTAMP='$TIMESTAMP'
13182 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13183 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13185 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13186 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13187 LINGUAS="${LINGUAS-%UNSET%}"
13192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13194 # Handling of arguments.
13195 for ac_config_target in $ac_config_targets
13197 case $ac_config_target in
13198 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13199 "gconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
13200 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13201 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13202 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13203 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13205 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13210 # If the user did not use the arguments to specify the items to instantiate,
13211 # then the envvar interface is used. Set only those that are not.
13212 # We use the long form for the default assignment because of an extremely
13213 # bizarre bug on SunOS 4.1.3.
13214 if $ac_need_defaults; then
13215 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13216 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13217 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13220 # Have a temporary directory for convenience. Make it in the build tree
13221 # simply because there is no reason against having it here, and in addition,
13222 # creating and moving files from /tmp can sometimes cause problems.
13223 # Hook for its removal unless debugging.
13224 # Note that there is a small window in which the directory will not be cleaned:
13225 # after its creation but before its name has been assigned to `$tmp'.
13229 trap 'exit_status=$?
13230 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13232 trap 'as_fn_exit 1' 1 2 13 15
13234 # Create a (secure) tmp directory for tmp files.
13237 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13238 test -n "$tmp" && test -d "$tmp"
13241 tmp=./conf$$-$RANDOM
13242 (umask 077 && mkdir "$tmp")
13243 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13245 # Set up the scripts for CONFIG_FILES section.
13246 # No need to generate them if there are no CONFIG_FILES.
13247 # This happens for instance with `./config.status config.h'.
13248 if test -n "$CONFIG_FILES"; then
13251 ac_cr=`echo X | tr X '\015'`
13252 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13253 # But we know of no other shell where ac_cr would be empty at this
13254 # point, so we can use a bashism as a fallback.
13255 if test "x$ac_cr" = x; then
13256 eval ac_cr=\$\'\\r\'
13258 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13259 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13262 ac_cs_awk_cr=$ac_cr
13265 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13270 echo "cat >conf$$subs.awk <<_ACEOF" &&
13271 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13273 } >conf$$subs.sh ||
13274 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13275 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13277 for ac_last_try in false false false false false :; do
13278 . ./conf$$subs.sh ||
13279 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13281 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13282 if test $ac_delim_n = $ac_delim_num; then
13284 elif $ac_last_try; then
13285 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13287 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13290 rm -f conf$$subs.sh
13292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13293 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13297 s/^/S["/; s/!.*/"]=/
13307 s/\(.\{148\}\).*/\1/
13309 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13314 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13321 s/\(.\{148\}\).*/\1/
13323 s/["\\]/\\&/g; s/^/"/; s/$/"/
13327 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13332 ' <conf$$subs.awk | sed '
13337 ' >>$CONFIG_STATUS || ac_write_fail=1
13338 rm -f conf$$subs.awk
13339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13341 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13342 for (key in S) S_is_set[key] = 1
13348 nfields = split(line, field, "@")
13350 len = length(field[1])
13351 for (i = 2; i < nfields; i++) {
13353 keylen = length(key)
13354 if (S_is_set[key]) {
13356 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13357 len += length(value) + length(field[++i])
13368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13369 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13370 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13373 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13374 || as_fn_error "could not setup config files machinery" "$LINENO" 5
13377 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13378 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13379 # trailing colons and then remove the whole line if VPATH becomes empty
13380 # (actually we leave an empty line to preserve line numbers).
13381 if test "x$srcdir" = x.; then
13382 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13383 s/:*\$(srcdir):*/:/
13384 s/:*\${srcdir}:*/:/
13386 s/^\([^=]*=[ ]*\):*/\1/
13392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13393 fi # test -n "$CONFIG_FILES"
13395 # Set up the scripts for CONFIG_HEADERS section.
13396 # No need to generate them if there are no CONFIG_HEADERS.
13397 # This happens for instance with `./config.status Makefile'.
13398 if test -n "$CONFIG_HEADERS"; then
13399 cat >"$tmp/defines.awk" <<\_ACAWK ||
13403 # Transform confdefs.h into an awk script `defines.awk', embedded as
13404 # here-document in config.status, that substitutes the proper values into
13405 # config.h.in to produce config.h.
13407 # Create a delimiter string that does not exist in confdefs.h, to ease
13408 # handling of long lines.
13410 for ac_last_try in false false :; do
13411 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13412 if test -z "$ac_t"; then
13414 elif $ac_last_try; then
13415 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13417 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13421 # For the awk script, D is an array of macro values keyed by name,
13422 # likewise P contains macro parameters if any. Preserve backslash
13423 # newline sequences.
13425 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13427 s/.\{148\}/&'"$ac_delim"'/g
13430 s/^[ ]*#[ ]*define[ ][ ]*/ /
13437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13439 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13444 D["\1"]=" \3\\\\\\n"\\/p
13446 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13451 s/.\{148\}/&'"$ac_delim"'/g
13456 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13459 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13461 ' <confdefs.h | sed '
13462 s/'"$ac_delim"'/"\\\
13463 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13466 for (key in D) D_is_set[key] = 1
13469 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13471 split(line, arg, " ")
13472 if (arg[1] == "#") {
13476 defundef = substr(arg[1], 2)
13479 split(mac1, mac2, "(") #)
13481 prefix = substr(line, 1, index(line, defundef) - 1)
13482 if (D_is_set[macro]) {
13483 # Preserve the white space surrounding the "#".
13484 print prefix "define", macro P[macro] D[macro]
13487 # Replace #undef with comments. This is necessary, for example,
13488 # in the case of _POSIX_SOURCE, which is predefined and required
13489 # on some systems where configure will not decide to define it.
13490 if (defundef == "undef") {
13491 print "/*", prefix defundef, macro, "*/"
13499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13500 as_fn_error "could not setup config headers machinery" "$LINENO" 5
13501 fi # test -n "$CONFIG_HEADERS"
13504 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13509 :[FHLC]) ac_mode=$ac_tag; continue;;
13511 case $ac_mode$ac_tag in
13513 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13514 :[FH]-) ac_tag=-:-;;
13515 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13532 -) ac_f="$tmp/stdin";;
13533 *) # Look for the file first in the build tree, then in the source tree
13534 # (if the path is not absolute). The absolute path cannot be DOS-style,
13535 # because $ac_f cannot contain `:'.
13539 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13541 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13543 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13544 as_fn_append ac_file_inputs " '$ac_f'"
13547 # Let's still pretend it is `configure' which instantiates (i.e., don't
13548 # use $as_me), people would be surprised to read:
13549 # /* config.h. Generated by config.status. */
13550 configure_input='Generated from '`
13551 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13553 if test x"$ac_file" != x-; then
13554 configure_input="$ac_file. $configure_input"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13556 $as_echo "$as_me: creating $ac_file" >&6;}
13558 # Neutralize special characters interpreted by sed in replacement strings.
13559 case $configure_input in #(
13560 *\&* | *\|* | *\\* )
13561 ac_sed_conf_input=`$as_echo "$configure_input" |
13562 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13563 *) ac_sed_conf_input=$configure_input;;
13567 *:-:* | *:-) cat >"$tmp/stdin" \
13568 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13573 ac_dir=`$as_dirname -- "$ac_file" ||
13574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13575 X"$ac_file" : 'X\(//\)[^/]' \| \
13576 X"$ac_file" : 'X\(//\)$' \| \
13577 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13578 $as_echo X"$ac_file" |
13579 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13583 /^X\(\/\/\)[^/].*/{
13596 as_dir="$ac_dir"; as_fn_mkdir_p
13600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13602 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13603 # A ".." for each directory in $ac_dir_suffix.
13604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13605 case $ac_top_builddir_sub in
13606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13610 ac_abs_top_builddir=$ac_pwd
13611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13612 # for backward compatibility:
13613 ac_top_builddir=$ac_top_build_prefix
13616 .) # We are building in place.
13618 ac_top_srcdir=$ac_top_builddir_sub
13619 ac_abs_top_srcdir=$ac_pwd ;;
13620 [\\/]* | ?:[\\/]* ) # Absolute name.
13621 ac_srcdir=$srcdir$ac_dir_suffix;
13622 ac_top_srcdir=$srcdir
13623 ac_abs_top_srcdir=$srcdir ;;
13624 *) # Relative name.
13625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13626 ac_top_srcdir=$ac_top_build_prefix$srcdir
13627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13639 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13640 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13642 ac_MKDIR_P=$MKDIR_P
13644 [\\/$]* | ?:[\\/]* ) ;;
13645 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13650 # If the template does not know about datarootdir, expand it.
13651 # FIXME: This hack should be removed a few years after 2.60.
13652 ac_datarootdir_hack=; ac_datarootdir_seen=
13663 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13664 *datarootdir*) ac_datarootdir_seen=yes;;
13665 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13667 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13670 ac_datarootdir_hack='
13671 s&@datadir@&$datadir&g
13672 s&@docdir@&$docdir&g
13673 s&@infodir@&$infodir&g
13674 s&@localedir@&$localedir&g
13675 s&@mandir@&$mandir&g
13676 s&\\\${datarootdir}&$datarootdir&g' ;;
13680 # Neutralize VPATH when `$srcdir' = `.'.
13681 # Shell code in configure.ac might set extrasub.
13682 # FIXME: do we really want to maintain this feature?
13683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13684 ac_sed_extra="$ac_vpsub
13687 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13689 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13690 s|@configure_input@|$ac_sed_conf_input|;t t
13691 s&@top_builddir@&$ac_top_builddir_sub&;t t
13692 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13693 s&@srcdir@&$ac_srcdir&;t t
13694 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13695 s&@top_srcdir@&$ac_top_srcdir&;t t
13696 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13697 s&@builddir@&$ac_builddir&;t t
13698 s&@abs_builddir@&$ac_abs_builddir&;t t
13699 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13700 s&@INSTALL@&$ac_INSTALL&;t t
13701 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13702 $ac_datarootdir_hack
13704 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13705 || as_fn_error "could not create $ac_file" "$LINENO" 5
13707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13711 which seems to be undefined. Please make sure it is defined." >&5
13712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13713 which seems to be undefined. Please make sure it is defined." >&2;}
13717 -) cat "$tmp/out" && rm -f "$tmp/out";;
13718 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13720 || as_fn_error "could not create $ac_file" "$LINENO" 5
13726 if test x"$ac_file" != x-; then
13728 $as_echo "/* $configure_input */" \
13729 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13730 } >"$tmp/config.h" \
13731 || as_fn_error "could not create $ac_file" "$LINENO" 5
13732 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13734 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13737 mv "$tmp/config.h" "$ac_file" \
13738 || as_fn_error "could not create $ac_file" "$LINENO" 5
13741 $as_echo "/* $configure_input */" \
13742 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13743 || as_fn_error "could not create -" "$LINENO" 5
13745 # Compute "$ac_file"'s index in $config_headers.
13748 for _am_header in $config_headers :; do
13749 case $_am_header in
13750 $_am_arg | $_am_arg:* )
13753 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13756 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13757 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13758 X"$_am_arg" : 'X\(//\)[^/]' \| \
13759 X"$_am_arg" : 'X\(//\)$' \| \
13760 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13761 $as_echo X"$_am_arg" |
13762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13766 /^X\(\/\/\)[^/].*/{
13778 s/.*/./; q'`/stamp-h$_am_stamp_count
13781 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13782 $as_echo "$as_me: executing $ac_file commands" >&6;}
13787 case $ac_file$ac_mode in
13788 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13789 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13790 # are listed without --file. Let's play safe and only enable the eval
13791 # if we detect the quoting.
13792 case $CONFIG_FILES in
13793 *\'*) eval set x "$CONFIG_FILES" ;;
13794 *) set x $CONFIG_FILES ;;
13799 # Strip MF so we end up with the name of the file.
13800 mf=`echo "$mf" | sed -e 's/:.*$//'`
13801 # Check whether this is an Automake generated Makefile or not.
13802 # We used to match only the files named `Makefile.in', but
13803 # some people rename them; so instead we look at the file content.
13804 # Grep'ing the first line is not enough: some people post-process
13805 # each Makefile.in and add a new line on top of each file to say so.
13806 # Grep'ing the whole file is not good either: AIX grep has a line
13807 # limit of 2048, but all sed's we know have understand at least 4000.
13808 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13809 dirpart=`$as_dirname -- "$mf" ||
13810 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13811 X"$mf" : 'X\(//\)[^/]' \| \
13812 X"$mf" : 'X\(//\)$' \| \
13813 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13819 /^X\(\/\/\)[^/].*/{
13835 # Extract the definition of DEPDIR, am__include, and am__quote
13836 # from the Makefile without running `make'.
13837 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13838 test -z "$DEPDIR" && continue
13839 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13840 test -z "am__include" && continue
13841 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13842 # When using ansi2knr, U may be empty or an underscore; expand it
13843 U=`sed -n 's/^U = //p' < "$mf"`
13844 # Find all dependency output files, they are included files with
13845 # $(DEPDIR) in their names. We invoke sed twice because it is the
13846 # simplest approach to changing $(DEPDIR) to its actual value in the
13848 for file in `sed -n "
13849 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13850 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13851 # Make sure the directory exists.
13852 test -f "$dirpart/$file" && continue
13853 fdir=`$as_dirname -- "$file" ||
13854 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13855 X"$file" : 'X\(//\)[^/]' \| \
13856 X"$file" : 'X\(//\)$' \| \
13857 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13858 $as_echo X"$file" |
13859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13863 /^X\(\/\/\)[^/].*/{
13876 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13877 # echo "creating $dirpart/$file"
13878 echo '# dummy' > "$dirpart/$file"
13885 # See if we are running on zsh, and set the options which allow our
13886 # commands through without removal of \ escapes.
13887 if test -n "${ZSH_VERSION+set}" ; then
13888 setopt NO_GLOB_SUBST
13891 cfgfile="${ofile}T"
13892 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13895 cat <<_LT_EOF >> "$cfgfile"
13898 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13899 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13900 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13901 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13903 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13904 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13905 # Written by Gordon Matzigkeit, 1996
13907 # This file is part of GNU Libtool.
13909 # GNU Libtool is free software; you can redistribute it and/or
13910 # modify it under the terms of the GNU General Public License as
13911 # published by the Free Software Foundation; either version 2 of
13912 # the License, or (at your option) any later version.
13914 # As a special exception to the GNU General Public License,
13915 # if you distribute this file as part of a program or library that
13916 # is built using GNU Libtool, you may include this file under the
13917 # same distribution terms that you use for the rest of that program.
13919 # GNU Libtool is distributed in the hope that it will be useful,
13920 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13921 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13922 # GNU General Public License for more details.
13924 # You should have received a copy of the GNU General Public License
13925 # along with GNU Libtool; see the file COPYING. If not, a copy
13926 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13927 # obtained by writing to the Free Software Foundation, Inc.,
13928 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13931 # The names of the tagged configurations supported by this script.
13934 # ### BEGIN LIBTOOL CONFIG
13936 # Which release of libtool.m4 was used?
13937 macro_version=$macro_version
13938 macro_revision=$macro_revision
13940 # Whether or not to build shared libraries.
13941 build_libtool_libs=$enable_shared
13943 # Whether or not to build static libraries.
13944 build_old_libs=$enable_static
13946 # What type of objects to build.
13949 # Whether or not to optimize for fast installation.
13950 fast_install=$enable_fast_install
13952 # Shell to use when invoking shell scripts.
13955 # An echo program that protects backslashes.
13959 host_alias=$host_alias
13963 # The build system.
13964 build_alias=$build_alias
13968 # A sed program that does not truncate output.
13971 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13972 Xsed="\$SED -e 1s/^X//"
13974 # A grep program that handles long lines.
13980 # A literal string matcher.
13983 # A BSD- or MS-compatible name lister.
13986 # Whether we need soft or hard links.
13989 # What is the maximum length of a command?
13990 max_cmd_len=$max_cmd_len
13992 # Object file suffix (normally "o").
13995 # Executable file suffix (normally "").
13998 # whether the shell understands "unset".
14001 # turn spaces into newlines.
14004 # turn newlines into spaces.
14007 # An object symbol dumper.
14008 OBJDUMP=$lt_OBJDUMP
14010 # Method to check whether dependent libraries are shared objects.
14011 deplibs_check_method=$lt_deplibs_check_method
14013 # Command to use when deplibs_check_method == "file_magic".
14014 file_magic_cmd=$lt_file_magic_cmd
14018 AR_FLAGS=$lt_AR_FLAGS
14020 # A symbol stripping program.
14023 # Commands used to install an old-style archive.
14025 old_postinstall_cmds=$lt_old_postinstall_cmds
14026 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14028 # Whether to use a lock for old archive extraction.
14029 lock_old_archive_extraction=$lock_old_archive_extraction
14034 # LTCC compiler flags.
14035 LTCFLAGS=$lt_CFLAGS
14037 # Take the output of nm and produce a listing of raw symbols and C names.
14038 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14040 # Transform the output of nm in a proper C declaration.
14041 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14043 # Transform the output of nm in a C name address pair.
14044 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14046 # Transform the output of nm in a C name address pair when lib prefix is needed.
14047 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14049 # The name of the directory that contains temporary libtool files.
14052 # Used to examine libraries when file_magic_cmd begins with "file".
14053 MAGIC_CMD=$MAGIC_CMD
14055 # Must we lock files when doing compilation?
14056 need_locks=$lt_need_locks
14058 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14059 DSYMUTIL=$lt_DSYMUTIL
14061 # Tool to change global to local symbols on Mac OS X.
14064 # Tool to manipulate fat objects and archives on Mac OS X.
14067 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14070 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14071 OTOOL64=$lt_OTOOL64
14073 # Old archive suffix (normally "a").
14076 # Shared library suffix (normally ".so").
14077 shrext_cmds=$lt_shrext_cmds
14079 # The commands to extract the exported symbol list from a shared archive.
14080 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14082 # Variables whose values should be saved in libtool wrapper scripts and
14083 # restored at link time.
14084 variables_saved_for_relink=$lt_variables_saved_for_relink
14086 # Do we need the "lib" prefix for modules?
14087 need_lib_prefix=$need_lib_prefix
14089 # Do we need a version for libraries?
14090 need_version=$need_version
14092 # Library versioning type.
14093 version_type=$version_type
14095 # Shared library runtime path variable.
14096 runpath_var=$runpath_var
14098 # Shared library path variable.
14099 shlibpath_var=$shlibpath_var
14101 # Is shlibpath searched before the hard-coded library search path?
14102 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14104 # Format of library name prefix.
14105 libname_spec=$lt_libname_spec
14107 # List of archive names. First name is the real one, the rest are links.
14108 # The last name is the one that the linker finds with -lNAME
14109 library_names_spec=$lt_library_names_spec
14111 # The coded name of the library, if different from the real name.
14112 soname_spec=$lt_soname_spec
14114 # Permission mode override for installation of shared libraries.
14115 install_override_mode=$lt_install_override_mode
14117 # Command to use after installation of a shared archive.
14118 postinstall_cmds=$lt_postinstall_cmds
14120 # Command to use after uninstallation of a shared archive.
14121 postuninstall_cmds=$lt_postuninstall_cmds
14123 # Commands used to finish a libtool library installation in a directory.
14124 finish_cmds=$lt_finish_cmds
14126 # As "finish_cmds", except a single script fragment to be evaled but
14128 finish_eval=$lt_finish_eval
14130 # Whether we should hardcode library paths into libraries.
14131 hardcode_into_libs=$hardcode_into_libs
14133 # Compile-time system search path for libraries.
14134 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14136 # Run-time system search path for libraries.
14137 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14139 # Whether dlopen is supported.
14140 dlopen_support=$enable_dlopen
14142 # Whether dlopen of programs is supported.
14143 dlopen_self=$enable_dlopen_self
14145 # Whether dlopen of statically linked programs is supported.
14146 dlopen_self_static=$enable_dlopen_self_static
14148 # Commands to strip libraries.
14149 old_striplib=$lt_old_striplib
14150 striplib=$lt_striplib
14153 # The linker used to build libraries.
14156 # How to create reloadable object files.
14157 reload_flag=$lt_reload_flag
14158 reload_cmds=$lt_reload_cmds
14160 # Commands used to build an old-style archive.
14161 old_archive_cmds=$lt_old_archive_cmds
14163 # A language specific compiler.
14166 # Is the compiler the GNU compiler?
14169 # Compiler flag to turn off builtin functions.
14170 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14172 # How to pass a linker flag through the compiler.
14173 wl=$lt_lt_prog_compiler_wl
14175 # Additional compiler flags for building library objects.
14176 pic_flag=$lt_lt_prog_compiler_pic
14178 # Compiler flag to prevent dynamic linking.
14179 link_static_flag=$lt_lt_prog_compiler_static
14181 # Does compiler simultaneously support -c and -o options?
14182 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14184 # Whether or not to add -lc for building shared libraries.
14185 build_libtool_need_lc=$archive_cmds_need_lc
14187 # Whether or not to disallow shared libs when runtime libs are static.
14188 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14190 # Compiler flag to allow reflexive dlopens.
14191 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14193 # Compiler flag to generate shared objects directly from archives.
14194 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14196 # Whether the compiler copes with passing no objects directly.
14197 compiler_needs_object=$lt_compiler_needs_object
14199 # Create an old-style archive from a shared archive.
14200 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14202 # Create a temporary old-style archive to link instead of a shared archive.
14203 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14205 # Commands used to build a shared archive.
14206 archive_cmds=$lt_archive_cmds
14207 archive_expsym_cmds=$lt_archive_expsym_cmds
14209 # Commands used to build a loadable module if different from building
14210 # a shared archive.
14211 module_cmds=$lt_module_cmds
14212 module_expsym_cmds=$lt_module_expsym_cmds
14214 # Whether we are building with GNU ld or not.
14215 with_gnu_ld=$lt_with_gnu_ld
14217 # Flag that allows shared libraries with undefined symbols to be built.
14218 allow_undefined_flag=$lt_allow_undefined_flag
14220 # Flag that enforces no undefined symbols.
14221 no_undefined_flag=$lt_no_undefined_flag
14223 # Flag to hardcode \$libdir into a binary during linking.
14224 # This must work even if \$libdir does not exist
14225 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14227 # If ld is used when linking, flag to hardcode \$libdir into a binary
14228 # during linking. This must work even if \$libdir does not exist.
14229 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14231 # Whether we need a single "-rpath" flag with a separated argument.
14232 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14234 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14235 # DIR into the resulting binary.
14236 hardcode_direct=$hardcode_direct
14238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14239 # DIR into the resulting binary and the resulting library dependency is
14240 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14241 # library is relocated.
14242 hardcode_direct_absolute=$hardcode_direct_absolute
14244 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14245 # into the resulting binary.
14246 hardcode_minus_L=$hardcode_minus_L
14248 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14249 # into the resulting binary.
14250 hardcode_shlibpath_var=$hardcode_shlibpath_var
14252 # Set to "yes" if building a shared library automatically hardcodes DIR
14253 # into the library and all subsequent libraries and executables linked
14255 hardcode_automatic=$hardcode_automatic
14257 # Set to yes if linker adds runtime paths of dependent libraries
14258 # to runtime path list.
14259 inherit_rpath=$inherit_rpath
14261 # Whether libtool must link a program against all its dependency libraries.
14262 link_all_deplibs=$link_all_deplibs
14264 # Fix the shell variable \$srcfile for the compiler.
14265 fix_srcfile_path=$lt_fix_srcfile_path
14267 # Set to "yes" if exported symbols are required.
14268 always_export_symbols=$always_export_symbols
14270 # The commands to list exported symbols.
14271 export_symbols_cmds=$lt_export_symbols_cmds
14273 # Symbols that should not be listed in the preloaded symbols.
14274 exclude_expsyms=$lt_exclude_expsyms
14276 # Symbols that must always be exported.
14277 include_expsyms=$lt_include_expsyms
14279 # Commands necessary for linking programs (against libraries) with templates.
14280 prelink_cmds=$lt_prelink_cmds
14282 # Specify filename containing input files.
14283 file_list_spec=$lt_file_list_spec
14285 # How to hardcode a shared library path into an executable.
14286 hardcode_action=$hardcode_action
14288 # ### END LIBTOOL CONFIG
14294 cat <<\_LT_EOF >> "$cfgfile"
14295 # AIX sometimes has problems with the GCC collect2 program. For some
14296 # reason, if we set the COLLECT_NAMES environment variable, the problems
14297 # vanish in a puff of smoke.
14298 if test "X${COLLECT_NAMES+set}" != Xset; then
14300 export COLLECT_NAMES
14307 ltmain="$ac_aux_dir/ltmain.sh"
14310 # We use sed instead of cat because bash on DJGPP gets confused if
14311 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14312 # text mode, it properly converts lines to CR/LF. This bash problem
14313 # is reportedly fixed, but why not run on old versions too?
14314 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14315 || (rm -f "$cfgfile"; exit 1)
14319 cat << \_LT_EOF >> "$cfgfile"
14321 # func_dirname file append nondir_replacement
14322 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14323 # otherwise set result to NONDIR_REPLACEMENT.
14327 */*) func_dirname_result="${1%/*}${2}" ;;
14328 * ) func_dirname_result="${3}" ;;
14332 # func_basename file
14335 func_basename_result="${1##*/}"
14338 # func_dirname_and_basename file append nondir_replacement
14339 # perform func_basename and func_dirname in a single function
14341 # dirname: Compute the dirname of FILE. If nonempty,
14342 # add APPEND to the result, otherwise set result
14343 # to NONDIR_REPLACEMENT.
14344 # value returned in "$func_dirname_result"
14345 # basename: Compute filename of FILE.
14346 # value retuned in "$func_basename_result"
14347 # Implementation must be kept synchronized with func_dirname
14348 # and func_basename. For efficiency, we do not delegate to
14349 # those functions but instead duplicate the functionality here.
14350 func_dirname_and_basename ()
14353 */*) func_dirname_result="${1%/*}${2}" ;;
14354 * ) func_dirname_result="${3}" ;;
14356 func_basename_result="${1##*/}"
14359 # func_stripname prefix suffix name
14360 # strip PREFIX and SUFFIX off of NAME.
14361 # PREFIX and SUFFIX must not contain globbing or regex special
14362 # characters, hashes, percent signs, but SUFFIX may contain a leading
14363 # dot (in which case that matches only a dot).
14366 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14367 # positional parameters, so assign one to ordinary parameter first.
14368 func_stripname_result=${3}
14369 func_stripname_result=${func_stripname_result#"${1}"}
14370 func_stripname_result=${func_stripname_result%"${2}"}
14376 func_opt_split_opt=${1%%=*}
14377 func_opt_split_arg=${1#*=}
14384 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14385 *) func_lo2o_result=${1} ;;
14389 # func_xform libobj-or-source
14392 func_xform_result=${1%.*}.lo
14395 # func_arith arithmetic-term...
14398 func_arith_result=$(( $* ))
14402 # STRING may not start with a hyphen.
14405 func_len_result=${#1}
14410 *) # Bourne compatible functions.
14411 cat << \_LT_EOF >> "$cfgfile"
14413 # func_dirname file append nondir_replacement
14414 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14415 # otherwise set result to NONDIR_REPLACEMENT.
14418 # Extract subdirectory from the argument.
14419 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14420 if test "X$func_dirname_result" = "X${1}"; then
14421 func_dirname_result="${3}"
14423 func_dirname_result="$func_dirname_result${2}"
14427 # func_basename file
14430 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14434 # func_stripname prefix suffix name
14435 # strip PREFIX and SUFFIX off of NAME.
14436 # PREFIX and SUFFIX must not contain globbing or regex special
14437 # characters, hashes, percent signs, but SUFFIX may contain a leading
14438 # dot (in which case that matches only a dot).
14439 # func_strip_suffix prefix name
14443 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14444 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14449 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14450 my_sed_long_arg='1s/^-[^=]*=//'
14455 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14456 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14462 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14465 # func_xform libobj-or-source
14468 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14471 # func_arith arithmetic-term...
14474 func_arith_result=`expr "$@"`
14478 # STRING may not start with a hyphen.
14481 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14487 case $lt_shell_append in
14489 cat << \_LT_EOF >> "$cfgfile"
14491 # func_append var value
14492 # Append VALUE to the end of shell variable VAR.
14500 cat << \_LT_EOF >> "$cfgfile"
14502 # func_append var value
14503 # Append VALUE to the end of shell variable VAR.
14514 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14515 || (rm -f "$cfgfile"; exit 1)
14517 mv -f "$cfgfile" "$ofile" ||
14518 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14523 for ac_file in $CONFIG_FILES; do
14524 # Support "outfile[:infile[:infile...]]"
14526 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14528 # PO directories have a Makefile.in generated from Makefile.in.in.
14529 case "$ac_file" in */Makefile.in)
14530 # Adjust a relative srcdir.
14531 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14532 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
14533 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14534 # In autoconf-2.13 it is called $ac_given_srcdir.
14535 # In autoconf-2.50 it is called $srcdir.
14536 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14537 case "$ac_given_srcdir" in
14538 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14539 /*) top_srcdir="$ac_given_srcdir" ;;
14540 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
14542 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14543 rm -f "$ac_dir/POTFILES"
14544 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14545 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14546 POMAKEFILEDEPS="POTFILES.in"
14547 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14548 # on $ac_dir but don't depend on user-specified configuration
14550 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14551 # The LINGUAS file contains the set of available languages.
14552 if test -n "$OBSOLETE_ALL_LINGUAS"; then
14553 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
14555 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14556 # Hide the ALL_LINGUAS assigment from automake.
14557 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14558 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14560 # The set of available languages was given in configure.ac.
14561 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14563 case "$ac_given_srcdir" in
14565 *) srcdirpre='$(srcdir)/' ;;
14571 for lang in $ALL_LINGUAS; do
14572 POFILES="$POFILES $srcdirpre$lang.po"
14573 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14574 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14575 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14577 # CATALOGS depends on both $ac_dir and the user's LINGUAS
14578 # environment variable.
14580 if test -n "$ALL_LINGUAS"; then
14581 for presentlang in $ALL_LINGUAS; do
14583 if test "%UNSET%" != "$LINGUAS"; then
14584 desiredlanguages="$LINGUAS"
14586 desiredlanguages="$ALL_LINGUAS"
14588 for desiredlang in $desiredlanguages; do
14589 # Use the presentlang catalog if desiredlang is
14590 # a. equal to presentlang, or
14591 # b. a variant of presentlang (because in this case,
14592 # presentlang can be used as a fallback for messages
14593 # which are not translated in the desiredlang catalog).
14594 case "$desiredlang" in
14595 "$presentlang"*) useit=yes;;
14598 if test $useit = yes; then
14599 INST_LINGUAS="$INST_LINGUAS $presentlang"
14604 if test -n "$INST_LINGUAS"; then
14605 for lang in $INST_LINGUAS; do
14606 CATALOGS="$CATALOGS $lang.gmo"
14609 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14610 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"
14611 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14612 if test -f "$f"; then
14614 *.orig | *.bak | *~) ;;
14615 *) cat "$f" >> "$ac_dir/Makefile" ;;
14630 ac_clean_files=$ac_clean_files_save
14632 test $ac_write_fail = 0 ||
14633 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14636 # configure is writing to config.log, and then calls config.status.
14637 # config.status does its own redirection, appending to config.log.
14638 # Unfortunately, on DOS this fails, as config.log is still kept open
14639 # by configure, so config.status won't be able to write to it; its
14640 # output is simply discarded. So we exec the FD to /dev/null,
14641 # effectively closing config.log, so it can be properly (re)opened and
14642 # appended to by config.status. When coming back to configure, we
14643 # need to make the FD available again.
14644 if test "$no_create" != yes; then
14646 ac_config_status_args=
14647 test "$silent" = yes &&
14648 ac_config_status_args="$ac_config_status_args --quiet"
14650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14653 # would make configure fail if this is the last instruction.
14654 $ac_cs_success || as_fn_exit $?
14656 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14658 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}